colorchord/embedded8266/README.md

34 lines
1.5 KiB
Markdown
Raw Normal View History

2015-07-27 09:34:00 +02:00
#ESP8266 ColorChord
2015-07-29 07:54:49 +02:00
## WARNING THIS IS UNDER CONSTRUCTION
2015-07-27 09:34:00 +02:00
(based off of ESP8266 I2S WS2812 Driver)
2015-07-27 09:34:00 +02:00
This project is based off of the I2S interface for the mp3 player found here:
https://github.com/espressif/esp8266_mp3_decoder/
If you want more information about the build environment, etc. You should
2018-11-16 23:40:02 +01:00
check out the regular WS2812 driver, found here: https://github.com/cnlohr/esp8266ws2812i2s
2015-07-27 09:34:00 +02:00
WARNING: This subproject is very jankey! It's about stable, but I don't think it's quite there yet.
## Hardware Connection
Unfortunately the I2S Out (WS2812 in) pin is the same as RX1 (pin 25), which means if you are programming via the UART, it'll need to be unplugged any time you're testing. The positive side of this is that it is a pin that is exposed on most ESP8266 breakout boards.
The audio data is taken from TOUT, but must be kept between 0 and 1V.
## Notes
./makeconf.inc has a few variables that Make uses for building and flashing the firmware.
Most notably the location of the toolchain for the esp8266/85 on your system.
You should edit them according to your preferences or better add `export ESP_ROOT='/path/to/the/esp-open-sdk'` to your bashrc.
If you have problems with burning the firmware or transfering page data over network (`make netburn` or `make netweb`), you should try uncommenting
OPTS += -DVERIFY_FLASH_WRITE
in `makeconf.inc`. This way the esp checks if the flash is written correctly.
Especially with some ESP-01 modules there has been a problem with the flash
not being written correctly.