The nodeMCU has integrated wifi. No wiring required.
The info you provided will be useful since I have a UNO and a Nano that both need wifi added. I have several 8266 wifi boards that I was planning to use for that.
Other ideas?
The nodeMCU has integrated wifi. No wiring required.
The info you provided will be useful since I have a UNO and a Nano that both need wifi added. I have several 8266 wifi boards that I was planning to use for that.
Other ideas?
Arduino IDE ver 1.8.2
MySensors ver 2.1.1
Board nodeMCU 8266 12E
I've just been able to compile the GatewaySerial example and load it onto a nodeMCU. It is running but I really don't know how to interpret the serial monitor output.
Here is what I see. What is it trying to tell me?
MCO:BGN:INIT GW,CP=RNNGE--,VER=2.1.1
0;255;3;0;9;TSF:LRT:OK
0;255;3;0;9;TSM:INIT
0;255;3;0;9;TSF:WUR:MS=0
0;255;3;0;9;!TSM:INIT:TSP FAIL
0;255;3;0;9;TSM:FAIL:CNT=1
0;255;3;0;9;TSM:FAIL:PDT
0;255;3;0;9;TSM:FAIL:RE-INIT
0;255;3;0;9;TSM:INIT
0;255;3;0;9;!TSM:INIT:TSP FAIL
0;255;3;0;9;TSM:FAIL:CNT=2
0;255;3;0;9;TSM:FAIL:PDT
chg_A3:-180
0;255;3;0;9;TSM:FAIL:RE-INIT
0;255;3;0;9;TSM:INIT
0;255;3;0;9;!TSM:INIT:TSP FAIL
0;255;3;0;9;TSM:FAIL:CNT=3
0;255;3;0;9;TSM:FAIL:PDT
0;255;3;0;9;TSM:FAIL:RE-INIT
0;255;3;0;9;TSM:INIT
0;255;3;0;9;!TSM:INIT:TSP FAIL
0;255;3;0;9;TSM:FAIL:CNT=4
0;255;3;0;9;TSM:FAIL:PDT
chg_A3:0
0;255;3;0;9;TSM:FAIL:RE-INIT
0;255;3;0;9;TSM:INIT
0;255;3;0;9;!TSM:INIT:TSP FAIL
0;255;3;0;9;TSM:FAIL:CNT=5
0;255;3;0;9;TSM:FAIL:PDT
chg_A3:-180
0;255;3;0;9;TSM:FAIL:RE-INIT
0;255;3;0;9;TSM:INIT
0;255;3;0;9;!TSM:INIT:TSP FAIL
0;255;3;0;9;TSM:FAIL:CNT=6
0;255;3;0;9;TSM:FAIL:PDT
Well,you got me to thinking about this. I guess that loading of the libs is what used to get the .H files in the right place and telling the compiler that they exist. So I decided why not try it even though there is no lib folder. I took the whole mysensors 2.1.1 folder and told the library manager to add it. No errors. I then went into the library manager and it said 2.1.1 was in fact installed. Loaded up GatewaySerial and it compiled fine with board of UNO, Nano and nodeMCU.
Loaded it onto a nodeMCU and it is running. In the serial monitor I can see messages from the board. It is indicating some problem with initialization but that is another thread.
I really, really thank you for giving me some ideas.
Ultimately I'm trying to add some adruino sensor devices to my HomeSeer system. There is a mysensors plugin for HomeSeer. That is a multi step process but getting a cleanly compiled program to run on a wifi enabled device is a major step. Hopefully the nodeMCU will work out as well as it looks. Next step is to get the mysensors plugin installed in HomeSeer and get everybody to talk to each other.
Thanks for the input @mfalkvidd
In mysensors 2.1.1, there is no library folder. Apparently all the libs were incorporated into the core starting with ver 2.0
Not sure how to do the equivalent to what you say in 2.+.
In the examples that come with mysensors 2.1.1 there are a couple of 8266 gateways. I can get none of them to compile.
Right now I am just trying to get a clean compile. The MySensors.h file is in the MySensors root directory.
Thanks for responding.
I am trying to build a serial gateway to interface with HomeSeer. There will be several additional nodes that will have various sensors such as motion and temp/humidity.
I used the serial controller project under the build tab.
https://www.mysensors.org/build/serial_gateway
I have used a UNO instead of a Nano. I am trying to compile the GatewaySerial project in the mysensors 2.1.1. example folder. No changes.
When I compile, I get the errors as listed in the first post.
New to Arduino. I'm trying to create a serial gateway. I have a genuine UNO with a 8266 WIFI. Hopefully wired correctly. I did it per the MySensors serial gateway video.
I've downloaded Arduino IDE ver 1.8.2 and MySensors ver 2.1.1. I can compile the Arduino example blink and it loads and runs fine. When I try to compile GatewaySerial I get errors. I suspect I don't have things in the right place. Hopefully the errors below will be something that is just a common mistake.
Any help is greatly appreciated.
=================================================
WARNING: Category '' in library UIPEthernet is not valid. Setting to 'Uncategorized'
C:\Program Files (x86)\Arduino\MySensors archive\MySensors -2.1.1\MySensors-master\examples\GatewaySerial\GatewaySerial.ino:84:23: fatal error: MySensors.h: No such file or directory
#include <MySensors.h>
^
compilation terminated.