-->
Page 1 of 3

ESP8266 based digital wireless system for electric guitar

PostPosted: Sat May 09, 2015 11:01 am
by wzab
Hi,
Some time ago I have published the wireless system for electric guitar based on ATmega microcontrollers, RFM70 radio modules and CS5343 ADC: http://wzab.cba.pl/STARE/wireless_guitar_system/index.html

It seems to me, that ESP8266 may be used instead of ATmega88 and RFM70 in the transmitter, eliminating also the need of dedicated receiver (as the sound and control data will be transferred via WiFi to the computer running the virtual guitar processor/amplifier).
Of course TCP over WiFi network will introduce certain (fluctuating) delay, but alsa_in module can easily filter it out at cost of certain latency (I've already tested it, checking possibility of building of such a system with Raspberry Pi: https://github.com/wzab/raspberry-pi-guitar-system-v1 ).

The ESP8266 can provide much better audio buffering capabilities than ATmega88, and use much less power then Raspberry Pi. It can also handle switches/potentiometers via I2C or SPI connected DIO and ADC chips.
However before attempting to implement such a system, I'd like to know if there is any good documentation about using of I2S capabilities of ESP8266?

I'll appreciate any sugestions and comments,
Regards,
Wojtek

Re: ESP8266 based digital wireless system for electric guita

PostPosted: Thu May 21, 2015 5:09 am
by tytower
I'd like to know if there is any good documentation about using of I2S capabilities of ESP8266?
I'll appreciate any sugestions and comments,


Me too . If you have the ESP-12 module with 16 pins then GPIO 2 addressed in code as pin 2 works OK . The I2C pins are supposed to be set by Wire.begin(PinSDA,PinSCL) but thats why I post here so I can follow your thread and maybe someone can tell us both

The chip is also working 4 times faster than an arduino ATMega 328P

See it mentioned here
https://github.com/esp8266/Arduino

Re: ESP8266 based digital wireless system for electric guita

PostPosted: Thu May 21, 2015 9:14 am
by martinayotte
Beware that I2C and I2S are two completely different things ...

Re: ESP8266 based digital wireless system for electric guita

PostPosted: Thu May 21, 2015 3:26 pm
by tytower
My Mistake -Didn't know that