ARDUINO UNO send data to MySQL using USB PORT How ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

ARDUINO UNO send data to MySQL using USB PORT How ?

Is there any way to send or store data from arduino uno to MYSQL database using the usb port itself ? is there any library or connector i can use ?

29th Jul 2018, 6:36 AM
John Nehry C. Dedoro
John Nehry C. Dedoro - avatar
3 Answers
+ 1
for that you need to program a driver for your USB port to make your computer understand the Arduino, then you need a program to get that data from USB and send an ajax request to your local server then your local server will save that data in your database. as you can see it's really unnecessary to do all these steps just connect your Arduino to internet and send the ajax request directly
29th Jul 2018, 10:16 PM
Sepehr Azizi
Sepehr Azizi - avatar
+ 1
you can easily use processing or nodejs as an'intermediary between your serial data and the database
23rd Aug 2018, 2:47 PM
seamiki
seamiki - avatar
0
up for this question
29th Jul 2018, 10:31 PM
John Nehry C. Dedoro
John Nehry C. Dedoro - avatar