In this Istructables I'm gonna to give you a few tips about prototyping using Arduino.

I have used a prototyping shield to build my projects, and I've realized that most of the times that's not the best option.

Step 1: Use a Potentiometer and Buttons Instead of Sensors

Using a sensor must be a task apart from build your "main code".

Most of the sensor works almost the same way: it's a voltage signal, or a digital signal.

When you are writing your program, avoid using sensors to do it. Instead use push buttons and potentiometers to simulate the sensor.

This way, if you find a bug in your code, you know the problem is really in the code and not in the sensor.

Other good thing about it is that you can exactly control the "sensor value". Like, many times I had to turn on a cooler next to the temperature sensor to make the temperature go down and see how my program would react to it. Using a potentiometer can do that only by changing its resistance value.

You can worry about the sensor later.

<p>What are the resistor values you are using? I tried to see but i haven't figured out.</p>
<p>Hi, I'm using 270 ohms for the LEDs.</p>
nice and useful idea. thank you

About This Instructable



Bio: Hi. I'm about to get my bachelor's degree in physics and I’m currently involved in research projects at the university.
More by William_19:Arduino easy prototyping tips Dinosaur model Arduino USB communication - Processing program 
Add instructable to: