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

  1. #1
    Registered User
    Join Date
    Dec 2010
    Posts
    1

    Solution for this SBC that gets data from a MCU and saves it to db

    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/documenta...-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++.

    Thanks.

    Kind regards,
    Marius

  2. #2
    Registered User
    Join Date
    May 2010
    Posts
    4,632
    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?


    Jim

Popular pages Recent additions subscribe to a feed