how to send temperature readings from nodemcu to raspberrypi wirelessly and store it in a database. Can somebody provide me with a tutorial. Thanks
You need to use MQTT protocol to send data to raspberry pi from nodemcu. On raspberry pi python script will subscribe to mqtt topic where data is received and can be stored into database.
Related
I'm doing a project in which I have to constantly monitor the acceleration, gyroscope and heart pulse rate and based on that I have to send location info to particular numbers. Apart from this, I have to send the pulse rate & location info to Google firebase.
Components required:
Arduino Uno
GPS Module
GSM Module
Accelerometer/Gyroscope sensor
ESP8266 01 WIFI Module
Pulse Oximeter sensor
I'm new to Arduino environment. I don't know if I can use all these peripherals simultaneously. Can you please let me know.
Thanks in advance
Arduino Uno has
2(SDK,scl) for I2C
1 spi,
1 UART
most of the above module supports I2C. you can connect multiple slaves to the single master.
you can make Arduino as a master and others as slave
I'm new to Arduino.
I have 4 Arduino boards separated by long distance. I wanted to make connections between all of them so, for example if one sensor connected to Arduino board number 1 (for example) was triggered it will send to all other 3 boards some kind of notification to do action on other boards. I intended to use Ethernet shield but wondered what is the best mode to use when configuring Ethernet Shields with Arduino and how to configure them to do so . I hope you understand. Thank you in advance.
On Arduino with a networking shield you can start an EthernetServer or WiFiServer. See ChatServer example of the Ethernet library.
On other Arduino with a networking shield you create an EthernetClient (or WiFiClient) and connect it to IP address of the server. Then everything you print to client's Client will be send to server's Client returned by server.available().
You can test the server with a Telnet client.
I have a Temp sensor connected to my arduino uno sending its data to the serial monitor e.g
16c
How can I send the data from the serial monitor to a local webserver so that i could access the temp from a internet browser?
In the setup I use with my arduino I am using NodeJS SerialPort module to listen to signals of my arduino with a motion sensor. To serve the signal data to the web in real time, I use the socket.io module for NodeJS. You can find quite a lot about this on the internet, for example this tutorial which is somewhat close to what I use.
http://www.codeproject.com/Articles/389676/Arduino-and-the-Web-using-NodeJS-and-SerialPort
I want to receive rssi signal and UUID from iBeacon to Bluno which the Arduino board has BLE.
there are some questions for this.
Are there any solutions to receive UUID and rssi from BLE to BLE?
Is it possible to communicate two BLE device each other?
I want some sites to reference for this problem.
I also need to connect bluno with AR.Drone. Could you give me some advices for this?
thank you for your help
The Bluno has the ability to act as an iBeacon (transmitter), but it doesn't have the ability to receive iBeacon announcements and pass these to the Arduino.
BLE devices can communicate and can receive UUIDs and RSSIs, but it depends on the capability of the device and the interfaces it exposes. An iOS device, for example, exposes a very sophisticated BLE API. The Bluno board does not. It exposes a "serial port" to the Arduino and maps send/receive data to a set of BLE GATT characteristics. A pair of Bluno devices can be configured to act as a wireless serial link, or software on a computer or mobile device can exchange data with the Arduino via the bluetooth stack.
There is an AT command that will return the rssi of the paired device, but the documentation isn't clear as to whether this is available to the Arduino or only via the USB connection to a computer.
The best reference (such as it is) for the Bluno specifically, seems to be the DFRobot Wiki
I doubt you will be able to connect to the AR.Drone using Bluetooth Low Energy directly from a Bluno doesn't have Bluetooth LE. In theory you could connect another Bluno to the USB port on the AR.Drone and write software, but it would be simpler to get a WiFi shield for an Arduino and use the WiFi networking that is built in to the AR.Drone
How can i connect Xbee s1(having zigbee) as end device to a board running as zigbee co-ordinator?
As i am unable to connect one Xbee device (s1) to coordinator (zigbee) running over board.
I think XBee S1 does not have ZigBee protocol (as far as I know). XBee S1 uses 802.15.4 protocol to communicate with other device (module) and can not talk to other ZigBee device(s). But, anyway, to connect to other XBee S1 and doing simple sending and receiving data, you can configure them with XCTU.
Series 1 xbee's can't load the Zigbee firmware as mentioned. You need to go into XCTU and load either 802.15.4 or Digimesh. I recommend Digimesh. Then just set them to broadcast and it should work. Otherwise for unicast communication you have to set the destination address of the transmitting xbee to the serial number of the receiving xbee (which is on the back of the xbee or you can read it from XCTU after pressing the 'read' button while having the xbee attached.