Light Sensing with a CdS (LDR)

A Cadmium Sulfide (CdS) sensor is a Light Dependent Resistor (LDR). It is a resistor that reduces resistance when hit with light. The more light, the lower the resistance. The Arduino is ideal for monitoring one of these sensors, and

Read More »

Arduino 1.0 upgrades

We have been going through our old sketches, making sure they are Arduino 1.0 friendly. Most of the sketches are, and we have been upgrading any libraries that were not. Please check frequently as we post new upgrades. This weekend

Read More »

Dallas DS18B20 Temperature Chip

We previously addressed this great temperature sensor (http://arduinotronics.blogspot.com/2010/11/ds18b20-digital-thermometer.html), and have built many projects around it including thermostats and process controls. Unfortunately, the new Arduino 1.0 software upgrade did not work with the older One Wire and Dallas Temperature Libraries. Never

Read More »

MOSFET Control

We have covered MOSFET control before, But here we are taking the previous PWM sketch (no code changes), and replacing the Arduino driven LED with a MOSFET and 3 high brightness LED’s powered by an external 12v supply. This could

Read More »

Controlling a LED Brightness

Building on the previous post, where we learned how to read a potentiometer, we now use that information to control the brightness of a LED. Using Pulse Width Modulation (PWM), we send the full 5 volts to the LED and

Read More »

Reading a potentiometer

Reading a potentiometer is a simple thing to do. Connect a 3 leg potentiometer to your Arduino. The middle leg connects to a analog port. We used analog 3. the two outer legs connect to 5v and Gnd, respectively. Insert

Read More »

Archives