Post topics, source code that relate to the Arduino Platform

User avatar
By tytower
#20733 Devkit appears to need NodeMCU and Lua - don't know anything about that. The Arduino is programmed with the Arduino IDE which writes code in C++ ,compiles with gcc+ and writes to the board with AVRDude.

My recommendation get some standard chips .See the wiki above for wiring . Wire everything up to the chip . Use Arduino IDE only to program it with, program in the wiki for send to Thingspeak .

Alternatively work out what parts of the devkit board you can use exactly as the chip and wire to them . Should be the same . No Arduino needed unless you want to feed in more IO pins than the devkit board has.
User avatar
By HermannSW
#20740 You may want to look how easy it was to connect 3.3V Arduino Pro Mini and ESP8266-01 allowing to telnet wirelessly through ESP into bitlash command shell running on Arduino:
http://www.esp8266.com/viewtopic.php?f=8&t=3460#p19759

Especially I learned about "Serial" and "Serial1" in Arduino ESP8266 IDE "Examples -> ESP8266 WiFi -> WiFiTelnetToSerial" (no NodeMCU in that scenario).

Wireless telnet into NodeMCU and controlling 5V motor controller (not Arduino) via 2 lines can be found here:
http://www.esp8266.com/viewtopic.php?f=13&t=3582

Hermann.
User avatar
By minhchau_1304
#50896
deze wrote:Hi,
I have a NodeMCU board (yellow, v0.9, 05/12/2014 release) and an Arduino Mega.
Can someone help please, how to connect the NodeMCU to the Arduino. I searched for hours by google, but didn't find the correct pin description about connect the board to Arduino.
The NodeMCU board is in AP mode. In "standalone" mode (connect only with USB to the PC) works fine. The IP adress has a respond in browser. ("Hello from ESP8266" :) ) In this case I used NodeMCU lua firmware with init.lua, but I got the same result with simply Arduino webserver code. (Standalone works in both case)

I had tried
devkit lower rigth corner 3.3V - Breadboard power supply 3.3V
devkit lower rigth corner GND - Breadboard power supply GND (Common with Arduino GND)
devkit RX - Arduino TX
devkit TX - Arduino RX

I didn't found the CH_PD pin on devkit, maybe the "EN" pin same as the CH_PD in other modules? What should I do to work together these devices?
I would like to measure and show the sensor values connected on Arduino Mega, (maybe on Thingspeak) and control the Mega GPIO pins.

Sorry for my bad english, I hope you will understand :)


Hi. My situation now is like what you have been experienced.
I'm trying to connect my Mega board and ESP NodeMCU, but nothing works.
Have you found out the solution for your problem yet?
If yes, please share it to me!
Thanks you.