Pages: [1]   Go Down
Author Topic: Serial Comm  (Read 468 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 1
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hello, I want to send sensor output to my PC via Arduino board and upload it to a database or server... as far as i know hyperlink or serial monitor only helps us to see the serial results from the Arduino.... but can i take those data to store them in a database? please help smiley Thank you...
Logged

Poole, Dorset, UK
Offline Offline
Edison Member
*
Karma: 52
Posts: 2366
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Of course, Yes. But you do need some software on the PC to doit. But that of course is nothing to do with the Arduino.

Mark
Logged

Offline Offline
Faraday Member
**
Karma: 100
Posts: 5950
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

 You' re posting on the wrong forum.
Logged

Arduino UNOs, Pro-Minis, ATMega328, ATtiny85, LCDs, MCP4162, keypads,
DS18B20s,74c922,nRF24L01, RS232, SD card, RC fixed wing, quadcopter

nr Bundaberg, Australia
Offline Offline
Tesla Member
***
Karma: 129
Posts: 8589
Scattered showers my arse -- Noah, 2348BC.
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Most terminal programs allow you to log/save the data. If you send it from the Arduino in say CSV format (Comma Separated Values) you can read that directly with a DB program.

______
Rob
Logged

Rob Gray aka the GRAYnomad www.robgray.com

Offline Offline
Faraday Member
**
Karma: 100
Posts: 5950
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Add serial prints to the serial monitor and capture it with a terminal capture program and use that text file to create the CSV file.
Logged

Arduino UNOs, Pro-Minis, ATMega328, ATtiny85, LCDs, MCP4162, keypads,
DS18B20s,74c922,nRF24L01, RS232, SD card, RC fixed wing, quadcopter

Global Moderator
Dallas
Online Online
Shannon Member
*****
Karma: 209
Posts: 13021
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset


Thread moved.
Logged

UK
Offline Offline
Tesla Member
***
Karma: 134
Posts: 7614
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

This demo shows communication between PC and Arduino using Python. You could extend the Python program to save data in a database.

...R
Logged

Pages: [1]   Go Up
Jump to: