Arduino Easy Prototyping Tips

4,075

151

8

Introduction: Arduino Easy Prototyping Tips

About: Hi. I'm about to get my bachelor's degree in physics and I’m currently involved in research projects at the university.

Hi.

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.

Step 2: Use LEDs Instead of Relays

Realys are big! Use leds to simulate then.

Most of the time, if you can control a led, you can control a relay.

Step 3: Have a Small Breadboard Always Ready

In light of what we said in the previous steps, we shall build a "ready to go breadboard".

I have tried to use the prototyping shield from Arduino, but I found it way to small.

I bought this breadboard and build the circuit showed in the photos. Notice that I got 2 potentiometers (x and y), 3 leds and 3 push buttons.

I keep this breadboard always like this and most of the time it suffices for prototyping and coding.

I always keep a few wires in hand as well.

With this breadboard I rarely need tools like pliers, screwdrivers, etc... Of course, as you prototype passes the coding phase you will need to build your boards, test your sensors, etc... But till then, My work got cleaner and more organized.

Be the First to Share

    Recommendations

    • The 1000th Contest

      The 1000th Contest
    • Battery Powered Contest

      Battery Powered Contest
    • Hand Tools Only Challenge

      Hand Tools Only Challenge

    8 Discussions

    0
    William_19
    William_19

    Reply 1 year ago

    Heyy Polarbilly. Thanks for the comment!

    0
    JohnShute
    JohnShute

    1 year ago on Step 3

    Very good ideas to make trouble shooting easier, Thanks

    0
    William_19
    William_19

    Reply 1 year ago

    Hey JohnS390. Thanks for the nice comment.

    0
    EduardoF67
    EduardoF67

    4 years ago

    What are the resistor values you are using? I tried to see but i haven't figured out.

    0
    William_19
    William_19

    Reply 4 years ago

    Hi, I'm using 270 ohms for the LEDs.

    0
    Nukeita
    Nukeita

    4 years ago

    nice and useful idea. thank you

    0
    William_19
    William_19

    Reply 4 years ago

    Thanks!