Go Down

Topic: How to interface my micro controller with ESP8266MOD usinf i2c? (Read 329 times) previous topic - next topic

DanielKirubakaran

Jan 16, 2019, 07:05 am Last Edit: Jan 16, 2019, 07:09 am by DanielKirubakaran
Hi,
    i am working  with Hifive1 micro controller , i dont have more UART peripherals in my MCU.I want to do a project using ESP8266MOD wifi chip.My question is ,since i have i2c and spi peripherals in my MCu can i interface it with wifi module? My aim is to read and write data from cloud.I am new to cloud application programming.Kindly help me out.

pylon

Quote
My question is ,since i have i2c and spi peripherals in my MCu can i interface it with wifi module?
This is possible as the ESP8266 is a complete MCU with an integrated Wifi transceiver. But you have to build your own sketch to load onto the ESP and probably the biggest problem is that (to my knowledge) the ESP8266 isn't able to be slave in either the I2C or SPI bus systems. The communication might get quite complicated if the communication has to be initiated always by the ESP.

I would try to free an UART on the MCU for that communication or use an SPI-UART module to add another serial interface to your main processor.

DanielKirubakaran

I must thank you much because i was trying to do a biometric attendance system using  fingerprint sensor project but due to unavailability of Softwareserial library for my MCU(HIFIVE1) the project was dropped at the end, since i have only 1 UART that too allocated for flash code and debug,I was unaware of this SPI to UART module.I hope i can continue that project aswell.Very helpful.Thank you once again.

Go Up