Categories
- animatronics (12)
- apple (11)
- arduino (179)
- art (41)
- articles (121)
- artificial intelligence (11)
- automation (421)
- avr (205)
- bitcoin (3)
- breadboard (9)
- cameras (57)
- cars (26)
- cell phones (28)
- clothing mods (21)
- console mods (26)
- dangerous (94)
- desktop mods (24)
- embedded (5)
- flying things (54)
- fpga (22)
- gaming creations (108)
- interface (225)
- internet (17)
- laptop mods (6)
- lasers (22)
- linux (7)
- magnetic (3)
- medical (12)
- microcontrollers (51)
- misc projects (152)
- msp (12)
- music (124)
- pic (90)
- projects (23)
- pyroedu (76)
- raspberry pi (26)
- robots (312)
- security (36)
- sensors (307)
- software (200)
- solar (19)
- stamp (9)
- tools (149)
- tutorials (98)
- Uncategorized (45)
- usb (44)
- wireless (256)
Sponsors
Build Like A Pyro!
Find many of the parts used on this site at our favorite online electronics shop
justDIY: LEDs As Sensors
Posted February 25, 2012 by Chris
“Each slave normally runs in a infinite loop, sampling the LED sensors as fast as it can and storing their values in a memory buffer. When a polling request is received from the master, an interrupt is generated which branches out of the sampling loop. I2C commands are pretty complex on paper, but merely a matter of setting and clearing bits in the digital world, so at 20mHz the pic handles them with lightning speed.”
Leave a Reply
Currently Hot
Automate Your Life With Cron
learn how to use cron for computer automation
Web Scraping For Weather Updates
learn how to use php to scrape the web
Creating A Web Server In Linux
learn how to make a lamp web server in linux
Stepper Motor Control With A stepRocker TMCM-1110
learn how a commercial stepper motor controller works
Arduino To PIC Wireless Proximity Motor Control
control a motor with a distance sensor wirelessly
Animatronics
Recent Articles
Arduino DDS Shield
build your own arduino based analog signal generator
A Digital Multimeter In Review (Tenma 72-7735)
learn about your typical digital multimeter in review
The PIC Annoy PCB
build something to annoy your co-workers
Automate Your Life With Cron
learn how to use cron for computer automation
Web Scraping For Weather Updates
learn how to use php to scrape the web
Creating A Web Server In Linux
learn how to make a lamp web server in linux
Stepper Motor Control With A stepRocker TMCM-1110
learn how a commercial stepper motor controller works
Arduino To PIC Wireless Proximity Motor Control
control a motor with a distance sensor wirelessly
PIC to Arduino Wireless Communication via XBee
use xbee to make a pic wirelessly talk to an arduino
Motor Control via Infrared Distance Sensor
control a motor simply by waving your hand
