Arm Mbed OS support forum

P2P Communication LPC1768 w/ ESP8266

So I have been researching this topic for the past week and finally I’ve came here as a last resort. I have a NXP LPC1768 that I want to be able to send a signal out to another microcontroller, Arduino nano, via these ESP8266 WiFi modules, Newark PN:68Y0156, I have.

I think I just need to find a general method for setting the up this in a slave-master configuration, but I could be wrong.
So far from what I have seen there is a way to connect directly to the transceiver through the 1768 but I saw the 1768 only supports a baud rate of 9600, while the 8266 requires 115200. Is there any way I can change this to be able to configure it?
Also I have seen about 10 different ways of wiring up the 8266 to the 1768, what is the best way of doing this?

1 Like

Hello,

Both APIs BufferedSerial and UnbufferedSerial have method for change the default baud rate.

About the wiring. I think you need to choose one according to current application/module and with /without flow control.

BR, Jan

1 Like

yes, something that should be the same. Camel case was the original style guideline, now its mixed more and more with snake case :frowning:

1 Like

ye :slight_smile:

Just for info…


2 Likes

Also is good to know something about the power consumption of the ESP8266-01. In this article you can find information about a current spike during WIFI is starting.
Probably because of that power consumption I had a trouble. ESP was not working when was powered directly from Nucleo’s (F303k8) 3v3 (3v3 voltage regulator has the output 500mA). Solution can be some external capacitor or external power supply.

BR, Jan

1 Like