Netduino home hardware projects downloads community

Jump to content


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

GDSever

Member Since 30 Sep 2010
Offline Last Active Feb 17 2015 02:59 AM
-----

#6835 Etched my first shield PCB...

Posted by GDSever on 02 January 2011 - 04:32 PM

http://fullnet.com/~tomg/gooteepc.htm

Where I started when trying the toner-transfer stuff. My biggest problem is I don't have a laser jet at home, so I had to print them at work, bring them home, try out the process, and hope I didn't mess them up. The iteration process got very tedious and annoying, so I looked for a way I could use my inkjet instead - another reason for me switching to the photo-resist method.

http://www.ladyada.n...nhouseetch.html

Great site and vendor, good info on photo-resist PCB process. It's pretty much how I do it, except I don't use the thousand-dollar equipment. Looks like she uses tracing paper - I actually purchased transparency sheets that work with my inkjet. I lay the transparency ontop of the board with a clear piece of picture glass ontop to hold it flat, and use standard fluorescent lights (not UV) about 6" above the board for a few minutes to expose them.

http://www.electrics...co.uk/pcbs.html - Few pictures, but good info.
http://www.circuitsp...itml/icOid/3802 - Where I last bought my presensitized PCBs
http://www.newark.com - Where I buy most things these days


#6121 Save Custom Settings

Posted by GDSever on 15 December 2010 - 12:59 PM

There are plenty of easy-to-use EEPROMs out there that work with the Netduino. I've got experience with the 24LC16B (if you only need 256 bytes of storage) and 24LC256 (32K?), and up to 8 of those can be used on a single I2C bus. I am sure there are plenty of other EEPROMs that would work as well... Might be worth considering. You're only giving up 2 analog pins, and you could easily add some back using expander chips if that became an issue.


#6090 I2C Devices using the I2CBus class

Posted by GDSever on 14 December 2010 - 10:33 PM

Attached below are some classes I've been working on for the past couple of weeks. The code uses the ever-popular I2CBus class (FusionWare.SPOT.Hardware namespace) to allow multiple I2C devices on the same bus to be instantiated without having to repeatedly create and destroy them. All code has been prototyped and proven to work using a Netduino and the SparkFun protoshield.

Included classes are:

  • Microchip MCP23008 and MCP23016 digital I/O expanders
  • 24LCXXX family of EEPROMs (24LC16B and 24LC256 were specifically tested)
  • DS1307 based on code written by stacyh3 on this thread (just modified to use the I2CBus class).

The example program is currently set up to test one device at a time (by commenting / uncommenting which is being tested), however there is no reason why multiple devices couldn't be used off the same I2C bus - it's just not that easy to come up with a generic example that would apply to everyone.

Feel free to use / expand. You should be able to drop just the device .CS file (and the I2CBus.cs file) into whatever project and start using them, with the exception of the DS1307 clock that uses multiple files.

[edit]ZIP file was replaced with a newer version. The EEPROM class has been generalized and cleaned up, and the MCP230XX module now includes support for the MCP23017 digital I/O expander.[/edit]

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.