Yahoo Groups archive

AVR-Chat

Index last updated: 2026-04-28 22:41 UTC

Message

GP2D02 + ATmega32

2006-08-31 by katraven1

Hey guys, me again =P

I've been spending the last couple of days trying to get one ex-Sharp 
infrared sensor to communicate wif my ATmega32. It's jst connected to 
the OC0 pin on PORTB generating a pwm to read a signal and the output 
of the sensor to one of the other IO pins, similar as used on the 
Dilberts (thx Larry!)

However, as the output of the sensor is in serial, I can't quite get 
the timing right to read it properly...

I've read the previous post which converts code for the BSII to C 
(http://groups.yahoo.com/group/AVR-Chat/message/7190) but I'm not 
quite sure how to build on top of that...

*boggled yet again....

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.