Reading serial monitor in bluepill using esp8266

Anything not related to STM32
Post Reply
peeknot
Posts: 24
Joined: Thu Dec 14, 2017 3:08 pm

Reading serial monitor in bluepill using esp8266

Post by peeknot » Thu Feb 01, 2018 2:18 pm

Im using node mcu v3 in arduino ide , is there any code snippet for reading the serial monitor from bluepill to node?

Bluepill Node Mcu
PB10(TX)----->RX
GND----------->GND


or any idea how to do it? thanks for the answers

User avatar
mrburnette
Posts: 2216
Joined: Mon Apr 27, 2015 12:50 pm
Location: Greater Atlanta
Contact:

Re: Reading serial monitor in bluepill using esp8266

Post by mrburnette » Thu Feb 01, 2018 9:53 pm

The easiest way to test is with a USB-serial module and a PC.

It is very close to Arduino in implementation. Just remember that unless you implement flow-control, the basic approach is just to buffer and at high speeds, your buffer could overflow unless you ensure you are polling the status often enough.

http://arduino-esp8266.readthedocs.io/en/latest/

This may be relevant: https://forum.arduino.cc/index.php?topic=333118.0

I read the keyboard over USB for a NodeMCU here: https://www.hackster.io/rayburne/oui-ou ... 66-323ae4

Ray

UPDATE: http://robotic-controls.com/learn/ardui ... munication

User avatar
zoomx
Posts: 567
Joined: Mon Apr 27, 2015 2:28 pm
Location: Mt.Etna, Italy

Re: Reading serial monitor in bluepill using esp8266

Post by zoomx » Fri Feb 02, 2018 8:27 am


Post Reply