go_away

Author Topic: [TUTORIAL] I2C 101  (Read 2643 times)

0 Members and 1 Guest are viewing this topic.

Offline rgcustodioTopic starter

  • Robot Overlord
  • ****
  • Posts: 217
  • Helpful? 0
  • Use "Search" and ye might find answers!
[TUTORIAL] I2C 101
« on: June 10, 2007, 09:08:43 PM »
Hello,

I have a draft I2C tutorial in the member's page:
http://www.societyofrobots.com/member_tutorials/node/35


It includes several sample applications for a real time clock, a compass, a servo controller, and an I/O expander. These samples were tested with an ATmega8, and Procyon avrlib is required to build the code. The samples don't actually do much, but it shows how you can interface to a device. The servo controller test code is "more" usable. It has a simple user driven UI ("press this button to do this") that exercises the servo controller and the servo itself. The I/O expander sample is coupled with the servo controller sample. The sample adds commands to toggle the LED connected to port6 and port7 of the PCF8575.

Since its a draft there could be errors in the text. Kindly inform me of the error/s so that I can update the tutorial. General comments also welcome (ie formatting, too technical, too boring, too simple, too complex, code not commented, need schematics, need more pictures)

- Rommel
« Last Edit: June 11, 2007, 08:58:27 AM by rgcustodio »
The best thing one can do when it's raining is to let it rain. - H. W. Longfellow

understanding is the path to enlightenment

 


Get Your Ad Here