resistor

connect a soft potentiometer

How to make (and connect) a soft potentiometer using Arduino

This instructable will tell you how to make and connect a soft potentiometer to a microcontroller, in particular we will connect it to a Lilypad Arduino. In our case soft potentiometer means a potentiometer made of a textile conductive ribbon. What you need: 1. soft conductive textile ribbon. The important thing here is that the …

How to make (and connect) a soft potentiometer using Arduino Read More »

Arduino while loop (1)

How to use a while loop to calibrate the value of an analog sensor using Arduino

Sometimes you want everything in the program to stop while a given condition is true. You can do this using a while loop. This example shows how to use a while loop to calibrate the value of an analog sensor. In the main loop, the sketch below reads the value of a photoresistor on analog pin 0 and …

How to use a while loop to calibrate the value of an analog sensor using Arduino Read More »

Arduino SD Cards and Datalogging

Arduino SD Cards and Datalogging

This is my first in a series of more advanced Arduino tutorials. Now that we’ve covered the basics in tutorials 1-10 (you have watched them all right!?), it’s time to start pursuing some more complex projects! In this episode, we’ll utilize an SD card shield from cooking-hacks.com to create a datalogger. First, I’ll walk you through the process of reading from, …

Arduino SD Cards and Datalogging Read More »

Arduino String Instrument

Arduino String Instrument

Sure you can use LDR’s, potentiometers and buttons to generate sounds, but what about strings? When I began thinking about an Arduino string instrument, I realized what I wanted to create was a soft potentiometer.  I found my inspiration from Hannah Perner-Wilson’s Fabric Potentiometer http://www.kobakant.at/DIY/?p=543. Step 1: Parts [box color=”#985D00″ bg=”#FFF8CB” font=”verdana” fontsize=”14 ” radius=”20 ” …

Arduino String Instrument Read More »

Measure RPM Optical Tachometer

Measure RPM – Optical Tachometer using Arduino

This Instructable will show you how to make a Portable Digital Optical Tachometer using an Arduino Uno. This project is inspired from This instructable and is an enhanced version of it with an LCD display and a modified code. Instead of a slotted sensor , it has a reflection based sensor. So : 1. You don’t have to worry about the …

Measure RPM – Optical Tachometer using Arduino Read More »

Potentiometer or variable resistor control LED Code (1)

Potentiometer or variable resistor control LED Code using Arduino

The if() statement is the most basic of all programming control structures. It allows you to make something happen or not depending on whether a given condition is true or not. It looks like this: if (someCondition) { // do stuff if the condition is true } [Get Code] There is a common variation called if-else that looks like …

Potentiometer or variable resistor control LED Code using Arduino Read More »