View Full Version : Solution for this SBC that gets data from a MCU and saves it to db

12-03-2010, 02:03 PM
Hello there.

I want to place this single-board computer (SBC) in a car running from the battery. it draws circa 1/4 - 1 W, so it could run from the battery in my car for about 2 months before needing recharging: http://www.embeddedarm.com/documentation/ts-7260-datasheet.pdf

What I want to do is to stream environmental data from PIC18 MCU and save it to a mysql db on the SBC along with a UNIX timestamp, say every 100ms.

How do I do this the easiest? I have years of programming experience in php, and some with the C18 compiler for the PIC18 and c++.


Kind regards,

12-04-2010, 10:03 AM
This depends on how the PIC is going to send the data to your SBC. Does the SBC or the PIC determine the time to transmit the data?

What is the method of data transmission? Serial? USB? Ethernet? Some other method?

Does the SBC need to do any data manipulation before storing the data?