-->
Page 1 of 1

Connect NodeMcu to arduino

PostPosted: Wed Feb 17, 2016 10:55 pm
by Peter23
I'm doing a school project which is a wearable device that can detect fall of elderly people. using accelerometer sensor with ardunio board. and once a fall is detected so the device can send a warning message to web server.
My Question:-
how I can connect nodemcu and arduino board so when the fall is detected i can send a warning message to webserver using nodemcu ?

Re: Connect NodeMcu to arduino

PostPosted: Sat Feb 20, 2016 8:02 am
by bobcroft
Peter, you do not need to use an Arduino you can connect the accelerometer to the ESP directly. If the accelerometer is a 5 volt device you will need level shifters to match the 5 volt to the 3.3 volt inputs of the ESP. The other issue will be the power source because the ESP uses a considerable amount of current when transmitting. A rechargeable LIPO would be worth looking into.
I do not use nodeMCU myself as I prefer the esp/Arduino method of coding the ESP. However, what you want to do should be possible in nodeMCU particularly if the accelerometer is an I2C device