arduino official starter kit


Of course, the four sensors you can pick up the Arduino starter kit in the Maker Shed let’s get started. Okay, the first thing I’m going to do. Do simple illustration of what I’ll be making today start off with a completed proto shield kind of looks like this. Has a series of female headers on it on the bottom here and then there’s two sets on the top we’re going to only be concerned with pins number thirteen, twelve, eleven, ten and nine over here and pin number two here and then right on this part of It you’re going to see there’s a ground it’s, a bunch of female headers that you can plug into. So this is your Arduino actually it’s. The Arduino proto shield and the first thing we’re going to do is hook up five LEDs. These LEDs are going to represent how much pressure were exerting on the force sensor. So here’s, your LEDs and LEDs have two leads coming out of them a short and the long. The short lead is the negative long lead is the positive first thing: we’re going to do is we’re going to connect all these negative leads together on the breadboard, and once we do that we’re going to connect them into the ground of the Arduino. The next thing we’re going to do we’re going to use pins 9, 10, 11, 12 and 13 and we’re going to hook up the LEDs. To those so let’s say this is going to be LED number 9.

I forget we’re going to put resistors in between all the positives and the pins, another resistor that’s, 10, 11, 12 and the final one is 13. So now the Arduino can control these five LEDs. Next thing, we’re going to do is we’re going to add the force sensor. Force sensor has a bunch of lines on it here and has a plastic tab coming off of it, and you can see inside that tab, two lines running down it, and then it has two pins at the bottom. Basically all you have to do for that. One is again: here’s pin two we’re going to run this line with a resistor to pin 2 and we’re going to run the other one into the ground. That’S it when we press on this pressure sensor, you’re doing, is going to read the signal and it’s going to light up the appropriate LEDs kind of like a little bar graph, so let’s get started. Okay, let’s get started building it. The first thing you’re going to do is the kit comes with a bunch LEDs and start with the red ones and then we’ll move on to the green ones, and I want these to lay flat on the breadboard. So what I’m going to do is with some needle nose pliers. I know, then, that end up I’m going to grab it right about here, I’m, going to bend these down now notice that the the positive pin, which is the longer one on the right hand side.

I bend those down then, when I go to insert it into the breadboard and insert it right here, you see that stick straight up kind of sits nicely on the board. I do that a lot with my projects, mainly, is because I don’t want to trim down the leads and I’m just prototyping at this point, so the less soldering and cutting and everything the better. So what I did was, I went ahead and pre bent all my other ones and I’m going to just insert them into the board, so there’s, all the LEDs. All the bottom leads are the positive, that’s, positive, positive, positive, positive and all the tops are negative. So basically, you’ve got a positive, negative, positive, negative, positive, negative. The way up, it doesn’t really matter where you put them on the board, but we’re going to put them on this half of the board, the lower half so that we can connect them all up to the pins here. Pin 13 is right here: 12. 11. 10. 9 and that’s penny, which we’re not using so according to our diagram that I drew earlier, we want to connect the positive of this led to the 13. The way we’re going to do that is we’re, going to use a resistor that I’ve already trimmed and we’re going to put one end into 13 and the other one right into the board. Really simple, again: we’re going to skip the next next one – and I should guess mention this right now, these on the ball, these rails on the breadboard are connected together.

So all these rows, this, the electricity, is going to flow down here into the resistor and into the board. So these are all connected this way they are not connected this way. So basically, we want to find the next LED positive and we want to put that into pin 12 and the positive side of that one. I just follow suit number ten and the final one is 9 that green. So now all they’re positives are hooked up pretty easy. Ok, now we’re going to connect all the negative leads from the LEDs to the ground so I’m, going to take these tiny little jumpers that I made from some bits of wire and connect. Remember this runs down here, connect the negative jumping over the positive rail over to the negative of this one, and we just keep doing that all the way up. Now we connect the negative from here over to the negative of this one and again the negative here up. Okay, now all our negative leads are connected. All we have to do is attach the negative here to here, but before we do that, I want to go ahead and install the pressure sensor and I’ll. Show you why I want to do that first. So what I’m going to do is push the two pins in there and you see that’s kind of a long tail on it. What I’m going to do is with an extra piece of wire I’m, going to connect that negative over the sensor into the ground, which is right there and what’s kind of cool is it holds this down now all we have to do hope these two pins up.

If you remember from the diagram, one of them which we’re going to use the resistor again it’s included in the kit, goes to pin two in there and the other one is going to go to the ground rail. Again I got a little jumper there. You go. The wiring is all done now. All we have to do is upload the code and see if it works. Hopefully it does. Okay got my laptop here right in the Arduino environment. Let’S go ahead and plug this in and you can see. I have the blink sketch demo already hooked up. Let me kill some of the lights here, little dark, but I think it’s better see the LEDs. Okay. All I did was plug in the USB port and I’m going to go ahead and upload the sketch okay, the sketch was uploaded, you can see all the lights are lit and let’s see what happens. If you press pressure sensor and it works very sensitive, you can tweak the code to make it less sensitive. You can make it so that there are none of them are lit and when you press it they light up. This is kind of the opposite. They’Re all lit when you press it, they go out, see if I can get it halfway.


arduino official starter kit Video







arduino official starter kit news








arduino official starter kit Social






Want to keep an eye on things? Design your own remote-controlled surveillance robot.
safe image.php?d=AQADPMe3SpSWy3ye&w=720&h=720& deee 45b5 bc27 b8c68d6f471d2fdsc 0064 Nsdya7mAld - arduino official starter kit

In Distrelec Group’s upcoming webinar, Arduino CISO Gianluca Varisco will provide a detailed understanding on why the future and success of the IoT is in the “security of things.” Register now!

🗓️ Thursday, October 10th
🕓 4pm CET

safe image.php?d=AQAPrRJWmvzVlvFw&w=720&h=720& Distrelec webinar 400X300 - arduino official starter kit
default profile normal - arduino official starter kit
Mon Jun 24 13:38:55 +0000 2019

RT @davidnburgess: Just want to give another big shoutout to @Elegoo_Official for sending over their #Arduino Basic Starter Kit recently!…

lI1VUK  normal - arduino official starter kit
Sat May 26 09:11:15 +0000 2018

RT @davidnburgess: Just want to give another big shoutout to @Elegoo_Official for sending over their #Arduino Basic Starter Kit recently!…










(Visited 9 times, 1 visits today)

About The Author

You might be interested in

Comment (29)

  1. “Let me just turn off the lights”… *click* *click* *click* *click* *click* *click* *click* *click* *click* *click* *click* *click*  Hmm It’s a little dark except for those lights that are still on…. Oh well it’s OK now I guess.

  2. stupid question: Why don’t you need the 5 v or 3.3 v pins?  
    I am a beginner.  I am really confused about the difference between 5 v pin and the digital pin.  If the digital pin can provide power to light the led, why do you need the 5 v or 3.3 pin.

    1. @Pengfei Zheng The pin has 5V (or 3.3v) constantly, but a digital pin only has 5V if you switch it on in code. Some things need power constantly, such as an LCD screen, so you use the 5v pin.

  3. */

    // Here are the constants that we define prior to the program running

    int forcePin = 2; // select the input pin for the force sensor
    int val = 0; // variable to store the value coming in from the sensor

    int led1=9; // defines “led1” as the number 9
    int led2=10; // defines “led2” as the number 10
    int led3=11; // defines “led3” as the number 11
    int led4=12; // defines “led4” as the number 12
    int led5=13; // defines “led5” as the number 13

    // End of constant definitions

    void setup() //run one time when the Arduino first powers up
    Serial.begin(9600); //starts serial communication, only used for debgugging

    pinMode(led1, OUTPUT); // remeber led1 = pin 9, this statement sets pin 9 to output only
    pinMode(led2, OUTPUT); // remeber led2 = pin 10, this statement sets pin 10 to output only
    pinMode(led3, OUTPUT); // remeber led3 = pin 11, this statement sets pin 11 to output only
    pinMode(led4, OUTPUT); // remeber led4 = pin 12, this statement sets pin 12 to output only
    pinMode(led5, OUTPUT); // remeber led5 = pin 13, this statement sets pin 13 to output only

    void loop() {val = analogRead(forcePin); // read the value from the sensor

    Serial.println(val,DEC); // print the value “val” of the sensor (used for debugging)

    if (val>250){ //if the value is maxed out or greater than 250
    // aternative code for the following —–for (i=1; i<6; i=i++); digitalwrite(led[i],HIGH) digitalWrite(led5,HIGH); // turns on all 5 LEDs digitalWrite(led4,HIGH); digitalWrite(led3,HIGH); digitalWrite(led2,HIGH); digitalWrite(led1,HIGH); delay(100); //slight delay to minimize flickering } else{ digitalWrite(led5,LOW); //turn off all 5 LEDs digitalWrite(led4,LOW); digitalWrite(led3,LOW); digitalWrite(led2,LOW); digitalWrite(led1,LOW); } if (val>=175 && val< =250){ //if value is between 100 and 175 digitalWrite(led4,HIGH); //turns on 4 LEDs digitalWrite(led3,HIGH); digitalWrite(led2,HIGH); digitalWrite(led1,HIGH); delay(100); //slight delay to minimize flickering } else{ digitalWrite(led4,LOW); //turns off 4 LEDs digitalWrite(led3,LOW); digitalWrite(led2,LOW); digitalWrite(led1,LOW); } if (val>=100 && val< =175){ //if value is between 100 and 175 digitalWrite(led3,HIGH); //turns on 3 LEDs digitalWrite(led2,HIGH); digitalWrite(led1,HIGH); delay(100); //slight delay to minimize flickering } else{ digitalWrite(led3,LOW); // you get the picture.... digitalWrite(led2,LOW); digitalWrite(led1,LOW); } if (val>=25 && val< =100){ digitalWrite(led2,HIGH); digitalWrite(led1,HIGH); delay(100); //slight delay to minimize flickering } else{ digitalWrite(led2,LOW); digitalWrite(led1,LOW); } if (val>=0 && val<=25){ digitalWrite(led1,HIGH); delay(100); //slight delay to minimize flickering } else{ digitalWrite(led1,LOW); } }

  4. I am doing a project like the one shown here. I want music to play also when pressure or motion is applied. What other parts will I need to make this happen?

  5. Did you insert the resistors in 9-13 for a specific reason or just for the convenience of space or for another reason? I literally know nothing of arduino and coding but want to get hooked.


Your email address will not be published. Required fields are marked *