Taking sensor's data from Arduino

General discussions and questions abound development of code with MicroPython that is not hardware specific.
Target audience: MicroPython Users.
Post Reply
mechine
Posts: 3
Joined: Mon Aug 19, 2019 5:42 am

Taking sensor's data from Arduino

Post by mechine » Mon Sep 02, 2019 5:47 am

How can i take sensor's data from Arduino with esp8266 and save it.

ThomasChr
Posts: 120
Joined: Sat Nov 25, 2017 7:50 am

Re: Taking sensor's data from Arduino

Post by ThomasChr » Tue Sep 03, 2019 6:06 am

Simply use one of your favorite buses to communicate between Arduino and Pyboard, those are: SPI, I2C or UART
All differ in functionality and speed. So you need to have your requirements in mind.

And when you got the data it's your decision how to save it. On an ESP8266 sending the data over WiFi comes to mind first, maybe using HTTP Requests or MQTT. Of course that means you need to have a server (with a harddrive?) to receive the data and save it permanently.
The ESP8266 can also save the data byitself on a SD Card.

Without knowing your exact wishes and requirements we can't tell you what to do.

Thomas

Post Reply