ESP8266 Web Server POST Requests With JSON Data In Arduino IDE (Mac OSX and Windows)
Vložit
- čas přidán 12. 07. 2024
- • Your support helps me post videos more frequently:
/ acrobotic
www.paypal.me/acrobotic
buymeacoff.ee/acrobotic
BTC: 1ZpLvgETofMuzCaKoq5XJZKSwe5UNkwLM
==========
• Find me on:
/ acrobotic
/ acrobotic
/ acrobotic
==========
• My shops:
acrobotic.com/shop
amazon.com/shops/acrobotic
==========
• Description:
In this video I show you how to send data to, and process it on, a web server running on the ESP8266. I start with the web server code that was set up in another video ( • ESP8266 Web Server Ste... ), and add a route where to send the data. When the JSON-formatted data is received, it's sent to a callback function, which processes it and extracts the included parameters. The JSON-formatted data specifies the pan and tilt of a servo-powered USB camera mount. I go over the process, step-by-step, of how to write code using the Arduino IDE.
One of the most common tasks when using the ESP8266 is setting it up as a device that connects to a network and responds to traffic on it (i.e., a web server). I wanted to show you, in detail, how to take things further by using the web server to receive custom data formatted in JSON and included inside of a POST request.
==========
• Project parts:
ACROBOTIC Development Board for ESP8266:
acrobotic.com/products/acr-00018
amzn.to/2dAZ1mW (affiliate)
ACROBOTIC Pan and Tilt USB Camera Mount:
acrobotic.com/products/acs-00008
==========
• Project code:
Firmware for the Arduino IDE:
github.com/acrobotic/Ai_Tips_...
Install curl (Mac and Windows):
curl.haxx.se/download.html
==========
• Tutorials:
Detailed guide for getting started with the ESP8266 Development Board:
learn.acrobotic.com/tutorials/...
==========
• Music:
Jason Shaw (audionautix.com/). Creative Commons License 3.0.
==========
#ESP8266 #Arduino #Tutorial - Věda a technologie