arduino for kids
So let’s get straight into the action to make breadboard Ben. I use the following components: an arduino nano 2 photo resistors and two 10k ohm resistors to continuous rotation. Servos, some acrylic, a caster wheel to model aeroplane, wheels a breadboard, some breadboard jumper cables and some batteries, one for the Arduino and one for the servos. Now the first thing I needed to do was work out exactly how all the components on breadboard Ben were going to be placed. So you can see now that I’m actually lining up the servos and the breadboard against the acrylic plate and seeing just about how wide it is and how thick sorry how wide I need to cut the acrylic. So once I’ve got the approximate size for that. I just get the ruler and Mark a straight line, so I can cut it out on this little electric saw. I have so that’s about the rough idea of how I want to have it so I’m, not sure what this tool is called, as I inherited it from my grandfather, but it’s really good for cutting acrylic and other thin material like that. So all I have to do is just cut out the bit of acrylic, that I’m going to use for the body and then I’m going to give it a light sand on the rotary sander. So, just to make sure that the cut was nice and straight so I’m, just using the guide there to make sure it’s at perpendicular going like that, then once I think it’s straight enough, I’ll start rounding off the corners now that’s, because this robots actually going to Be used to help teach kids robotics at high school and that I teach so I’m actually just rounding off all the corners just to reduce the amount of possible injuries they can occur.
So, as you can see, they just burring off the edges, making it nice and smooth once that’s done I’m, just making sure that everything fits nicely there. The wheels that I’m going to be using they’re, actually model aeroplane, wheels and I’ve screwed on the servo horn attachments. So they’re just really nice, nice and spongy. So just pull the pull the protective coating off of the acrylic on both sides. You can see it’s, really nice yellowy color. The protective coating is just on there to stop the acrylic from getting scratched and things like that. But we don’t need that anymore. Now. It’S, which has what I’m using to attach everything to the actual body, is double sided phone tape, it’s very sticky, it’s, a kind of like a temporary fix it’s, not as permanent as hot glue and it’s. Just quick and easy to put things together and I’m doing one this really to be an absolute permanent robot build but it’s strong enough to stay together. But if I do want to pull it apart, it will come apart. So I’ve just joined the two servers together and then I tape them onto the acrylic, like that. Those do the wheels to make sure that there was enough clearance and now I’m just pushing it firmly to make sure that that tape is holding it onto the acrylic body. Now this is that that’s, the cost of all I’m going to be using. So again, the same process just get the double sided phone tape put it on to the cast over the top press.
It down firmly just peel off the layer there to reveal the C key stuff and then just press it onto the acrylic plate. So I just have to make sure that everything is right: height, press it, nice and firmly just double check to make sure it’s going to stay on there and it seems to be working really well, it’s, a good height good, build. You know it’s a bit of a cleanup there now I’m, actually going to attach the breadboard to the body using a Velcro, sticky, velcro things so just put two little velcro tabs on the robot body and then two velcro tabs on the actual breadboard and that’s. So that they can actually pull the breadboard off if they want to work on the circuitry and then once they’ve done, they can just stick it back on there’s no need for it’s, not permanent, there’s, no need for undoing screws or anything else like that. It’S really quick and easy, and you can see there that’s, basically what the robot is going to look like there. So I just have to press firmly just make sure that the velcro – and that is the velcro – is less strong than the double sided foam tape. So once that’s all done, I grab the Arduino Nano place that into the breadboard and that’s just that’s. What the brain were going to be using for this build so it’s really good on the breadboard. It just fits in nice and just fit.
Has a nice form factor compared to the r20? You know with a breadboard and I’m using this breadboard just to give them a lot of space to do things like whatever they want to. So I just stuck a 4.8 volt rechargeable battery pack on the bottom there and that’s going to be used to power the servos. Now now, what I’m going to do is actually hook up the light circuit, so you can see I’ve got two photo resistors and two 10 10k ohm resistors, and basically, what this is doing is if you watch one of my previous video is called the analog input Tutorial on lights, winner, you’ll see that I’m actually effectively creating a voltage divider, which output the output output voltage depends on the amount of light. So using these photo resistors in line with these resistors will give you a value of 0 to 5 volts, and you can hook these straight up to the analog pins on the Arduino and get a reading of 0 to 100 to 3 and we’ll use this valley. To determine which area is either brighter or darker and the robot can react accordingly, so I’m, just tying all of the 5 volt and ground together and then connecting them to the fire bottom ground on the Arduino. I actually ran out of power switches so I’m, just using a 9 volt battery with some breadboard jumper cables and I’m. Just gon na push that into the voltage in pin on the Arduino, so I’m, just typing up some code now I’m, only going through it very quickly as I’ve covered most of this in my tutorials, but I thought I’d show you just to give you an idea Of how I would code and how I do things together, you know I’m, not a professional I’ll.
Do it my own way, it’s, definitely not to professional standards, but this is just the way I do things I use voice for movement, because then I can easily change them and if I am using lots of movement actions inside the main code, I don’t have to Go through and change them all, so that makes a lot a lot easier as well and again, if you want to change this code, it’s much easier for you to as well, and I also include the light, follow and light avoid movement options in there and you Can comment out either one or the other to get it to do whatever you want it to do so now, I’m, just connecting the servers up to the actual breadboard here so I’m, eight and nine for the left and right and then what you’ll want to do Is to connect them to a separate kind of ground and voltage supply rail then connect the batteries voltage out to the voltage in on the servos and the ground to the ground and then the ground of each of these to the ground on the Arduino. So once I have uploaded the test code, I’m, just kind of wire in everything properly again and you’ll – see that I’ve actually got my phone’s flashlight and it’s using the light avoid, and that was just a test to make sure that everything was working properly. So, after a cold beverage and some more testing, I found the wheels kept coming off.
So to fix this, I actually took off the servo horns and placed a screw between the servo horn in the wheel, so the screw head was got other, so the screw thread was coming out, the other end and that’s so that it can be threaded into the Actual shaft on the actual servo and that’s to hold the wheel on properly there. So you can see that right there and that will is not going to come off anymore, so it’s, a nice firm, snug fit and once you’ve done that just do it to the other one as well. It’S the same process just push it through screw it back. On then place it onto the servo shaft pen screw it on, like that, you can see that it has got a nice shape to what Eric and it looks quite good. I, like the yellow so once that’s all done and start the testing again. So you can see here I got my phone again and I plug in the voltage out of the battery into the voltage in of the Arduino Nano and now it’s doing the same routine before the light avoid routine and it just continuously move away from my phone. Now all I’ve done now is just uploaded. The light follow code, I’m, actually I’ve actually turned the lights off in my room and the light that you see is actually coming from the flashlight on my phone and you’ll see it moving around that or wherever I move.
The phone it will move towards the phone because that’s, where the source of light is coming from and just swap pans there move around and you can see it works quite well, and thanks to that difference variable. It means that it also moves a lot straighter in some areas as well and it’s, not always joking around. So I thought it worked quite well and I can’t wait to give it to the heads of the kids and let them build it themselves and see how they go with it.
arduino for kids Video
[mam_video id=qZ48VK7ErL0]
[mam_tag id=3747]
arduino for kids news
-
Posted on Monday October 07, 2019
Tech Valley Center of Gravity announces new classes Troy Record … Continue Reading » -
Posted on Saturday September 21, 2019
IoT Safe Keeps Latchkey Kids’ Phones On Lockdown Hackaday … Continue Reading » -
Posted on Wednesday September 18, 2019
Stevi’s Coding for Kids program teaches essential skills Ravalli Republic … Continue Reading »
arduino for kids Social
🔬 Now that you’ve gotten your feet wet, dive into the kit and enjoy all nine experiments. Order yours today: http://bit.ly/2MnQ7fr
සිංහලෙන් : Programming Arduino With Scratch (Pictoblox) For Kids & Beginners (⭐️English version will be released on 9th October)
https://t.co/2w8gTPEtVW
#Arduino #Scratch
https://t.co/2w8gTPEtVW
https://www.pinterest.com/pin/35465915794474667/
https://www.pinterest.com/pin/35465915794474666/
https://www.pinterest.com/pin/35465915794474664/
what do you do with the code where do you paste it
There is a software called Arduino, the codes can be uploaded using that.
Where to connect the battery
thanks I made this for my 8 year old sister she realy liked and it inspired her to use arduino
the tool you inherited is called a threat saw
you eluded to a section of the code that allowed the bot to move less jerky.I will be writing locomotion code shortly and would like to read as many examples as I can. Your robot seems well thought out and I’m sure the code will be too. Please post a link where that code can be found.
sir please post a link where that code can be found this can be our guide to our project
What you call “a void” is a function. Void is the return type of the function.
Whats the first component name?
Probably you are referring to photoresistors
wow, i built a bot identical to your’s except i use two cheap $2 ebay yellow motor gearbox and diy a H-Bridge driver & direction control.
hey, can i use any other resistor besides the blue one’s that have the same value of 10k
10k resisters are 10k resisters
I am your Biggest fan . can we use motor sheild for this robot
Can I use an Arduino Uno instead of an Arduino Nano?
can u send me the codes please T_T
hi sir
could u please update ur links because they do not work
Dishant Sehgal the content is no longer available, this was made three years ago I’m afraid.
alright fine, but I am just having problem understanding the circuit, when you placed the ldrs and started putting the 10k ohm resistors, where did u put them?
and oh if u can, could u like make a new schematic following the video again?
sorry for the trouble but the resolution is really bad for me. and even if it takes time, I have till tomorrow 12:00 pm in the afternoon. thnx btw I live in cambodia sooo yea.
Make sure to subscribe to see more cool robots!
what code? python ? c++?
Can you show it’s circuit diagram and code you used?
Why did you write the moveLeft() and moveRight() methods at the same time inside of the ” if(rightValue > leftValue)” code ? It is kind of confusing because it can damage the motor driver and even the robot itself after some time for sure. And the website link you gave is not working too. Shortly, your robot can go forward while following the light source; but if the light comes behind of the robot, then it cannot go backward.
attache please your coding to make it work.