Connect to SQL Server from Microcontroller (Arduino or Fez with .Net Micro Framework)

Tim picture Tim · Sep 16, 2010 · Viewed 19.9k times · Source

I'm looking for examples, tutorials, or just "this+this+this should work" for reading from and writing to a SQL server (2008) from a microcontroller such as the Arduino board. I've also looked at (and will probably go with) devices with the .Net Micro Framework such as the Fez Cobra. The Micro Framework does not include ADO. I'm sure this is going to involve some XML, but I can't figure out which technology to further investigate. I do not want to have an PC application to serve as a go-between.

Thanks!

Answer

joshperry picture joshperry · Sep 16, 2010

Honestly, I would make a thin service that would sit in-front of your database and use something lightweight like protobuf to get the data into your micro.

I doubt you'll be able to implement TDS in the limited power and memory of an AVR.