Skip to content

Instantly share code, notes, and snippets.

@maasencioh
Created August 11, 2016 02:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save maasencioh/051f765dd8ffbb1b90c937da1b19c7a7 to your computer and use it in GitHub Desktop.
Save maasencioh/051f765dd8ffbb1b90c937da1b19c7a7 to your computer and use it in GitHub Desktop.

Installing JS into a Huzzah ESP8266 and run a Telegram bot in there

Installing Espruino

The first thing that will be needed is the drivers, so you will need to run:

$ pip install pyserial
$ pip2 install esptool

When you have them you should download the Espruino firmware, and install the Espruino version for ESP8266.

$ ls /dev/tty.*
$ esptool.py --port /dev/tty.usbserial-A9QH9ZB3 --baud 460800 write_flash \
  --flash_freq 80m --flash_mode qio --flash_size 32m \
  0x0000 "boot_v1.4(b1).bin" 0x1000 espruino_esp8266_user1.bin 0x37E000 blank.bin
$ screen /dev/tty.usbserial-A9QH9ZB3 115200
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment