Netduino home hardware projects downloads community

Jump to content

The Netduino forums have been replaced by new forums at This site has been preserved for archival purposes only and the ability to make new accounts or posts has been turned off.


Member Since 05 Aug 2010
Offline Last Active Jul 09 2015 02:21 PM

#1735 Serialization

Posted by stacyh3 on 03 September 2010 - 12:23 PM

I don't think Serialization is available on any of the .net platforms (Netduino or Fez). Besides, for a microcontroller serialization is SLOW.

Slow depends on the application don't you think? For my application it's okay it it's a bit slow. I need to deserialize once at startup and then the intervals between serialization are pretty long - on the order of minutes to hours.

In any case, if people are using the emulator, be aware that Reflection.Serialize and Reflection.Deserialize work fine, but they appear not to be in the Netduino firmware. This is not a major problem for me since I just implemented my own code for what I need, but it's good to know what's there and what's not.

#1366 DS1307 Real Time Clock

Posted by stacyh3 on 26 August 2010 - 10:15 PM

Attached is some code for using the DS1307 Real Time Clock chip via the I2C bus. The code includes a simple test application. Nothing facny, but it works. It also shows the use of extension methods which are pretty handy. The code comments include instructions on connecting the DS1307. Also, I scavanged an old ribbon cable and soldered one end to the SparkFun breakout board for the clock chip. I added pins to the other end to make is easy to use for prototyping. I figured that when I mounted this into a project box, it would be handy as well since it will allow easy access to the backup battery. Enjoy! Stacy

Attached Files

home    hardware    projects    downloads    community    where to buy    contact Copyright © 2016 Wilderness Labs Inc.  |  Legal   |   CC BY-SA
This webpage is licensed under a Creative Commons Attribution-ShareAlike License.