Navigate Select ESC Close

Write POST Data to Server with Arduino Uno with WiFi

2019-07-12 Science & Technology
84.6k
1.3k
83
Eli the Computer Guy
Eli the Computer Guy
1.1m subscribers

Unlock all features

FREE: Get instant access to 10 AI summaries, chats, or transcripts per day.

Description

Find code and diagrams at: https://www.elithecomputerguy.com/2019/07/write-post-data-to-server-with-arduino-uno-with-wifi/ This project shows you how to send data to a server with POST from an Arduino Uno with WiFi and to have the server parse the data using a PHP script. Functional Parts in the Project: Arduino Uno – https://store.arduino.cc/usa/arduino-uno-rev3 Breadboard Kit – https://amzn.to/2Xih5ei 560 Piece Jumper Wire Kit – https://amzn.to/2MsCLjL Analog Temperature Sensor – https://amzn.to/2Rkkl3k

Top Comments (10)

@ricardoramirez3084 2020-02-22

The information on your website and in the video was instrumental in helping me post data from the Arduino Uno WiFi Rev 2 to a website. One problem I struggled with was an error in the php code line 3 or $tempF = $_POST["temp"];. I was having problems so I started checking the error logs in my FTP application and found the following: Undefined index: temp. I changed line 3 to the following: $tempF = $_POST['temp'];. Maybe this problem is server specific. Just wanted to post this to help anyone encountering the same problem.

7
@darren_bassett 2020-02-09

Many thanks for this. This has really helped me out. I tip my hat to you, sir.

6 4 replies
@Cameramorphic 2019-07-15

Great series! I like how these concepts you show are gradually getting more sophisticated! It would be very cool if you could expand on this in a future video, because at the moment only the most recent temperature is stored in the HTML file, whereas saving to a file would also allow for logging previous temperatures. As I'm planning on building an RFID based workplace login/logout tracker, it would be great to just transmit the ID and let the PHP script log it to a HTML with timecode and other info, ideally in a (styled) table of some sort.

2 1 replies
@artemyevtushenko8722 2020-02-09

Great content! Will an interrupt function break the WiFi connection?

2
@raybright5805 2020-01-24

Great tutorial ... Now did you do a followup on GET data from the server - couldn't see it on your site

1
@okekekennedy2785 2019-11-29

Thanks man I've really been learning a lot from your videos.

1
@Paul_Burns 2022-02-28

Thanks for making the time to teach me. Great video. Super approachable.

0
@kma-devcircuit 2020-08-17

Thanks man I've been searching this for a long time now really Thanks

0
@smarty1064 2021-11-13

This guy is a Legend, when i started learning computer classes back in 2009 i saw some of his videos! A legend indeed!

0
@robboss4036 2020-06-30

Just starting out with arduino and was wondering: is it able to run a script that makes your computer go to a link

0

Unlock the Data Inside
Turn Videos into Knowledge

  • Get FREE 10/day: transcripts, summaries, chats
  • Chat with videos, export text & PDF
  • $1 free API credit for RAG, chatbots & research

Free forever plan • All features unlocked

App screenshot