Neural Network Robot With Arduino
HTML-код
- Опубликовано: 3 июл 2024
- Get your own ORP chassis and support the project: kck.st/3HF9Pyz
Running artificial neural networks on Arduino is not a simple task but machine learning is so popular nowadays and can be used for so many cool things that I decided to give it a try! Here you can see my experiments with neural networks and Arduino!
LCSC Electronics: lcsc.com/?href=nikodembartnik...
Arduino kit: amzn.to/3Si1zLt
Ultrasonic Sensor: amzn.to/3rXlPaJ
Servo: amzn.to/3tNZFbm
Arduino: amzn.to/49bLjBV
Motor: amzn.to/40cXv14
Artificial Neural Network code: bit.ly/2gteKFk
Sean's video: • Arduino Neural Network...
My gear:
Camera: amzn.to/3VdbfGH
Lens: amzn.to/44nY2z0
Better lens: amzn.to/424iuCX
Tripod: amzn.to/3Nh2Cca
3D printer: bit.ly/43SS7S5
Label printer: amzn.to/3oW55yn
Headphones: amzn.to/3LDTXz6
Speakers: amzn.to/3nl34eJ
Oscilloscope: amzn.to/3HmGMjN
Lab bench power supply: amzn.to/3HpotdD
Soldering station: amzn.to/3Vd39xH
Instagram: nikodembartnik
#robot #arduino #neuralnetwork Наука
Support my projects on Patreon → www.patreon.com/nikodembartnik
Please make more content of that kind 😊😊😊😊😊😊
THATS AMAZING at least for me
Can you see my project one time🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻😥😥😥😥😓
where is the github code
Pleas expriment code
How much ram does this have??
the first test did not work because it was scared first time in the world you know
Makes sense
Yeah, we should give it a little bit of time to let it adapt to the humans
And here I am just trying my best to make a blinking led
😂😂
😂😂iam trying to just connect wire
Same 😂
🖕🖕🖕🖕🤭🤭🤣🤣🤣😂😂😂🤣🤣😂🤣🤣
@@RDKCREATIONS :0
In case you want to extend this project, I have few suggestions:
Use Webots simulator to simulate your robot, that way you can train the neural net and see the output on your computer itself and try out various environment tests, before running it on actual robot itself.
second, if your neural network works differently the next time you train it, use fixed set of initial weights, typically done by using "random seed" or just save the initial weights in a file and load it again the next time you train.
Very good. The working montages added extra quality to the video.
I love to see the fails, it makes me feel better about my issues.
Steve Washick it makes it more realistic
Wanted to say that a couple times already but always forgot in the end. Your Cardboard Explanations are top notch Dude! Very very well made and easy to understand for younger folks especially i think.
Thanks, those take a lot of work to make them, but outcome is amazing!
Can somebody show me what you guys mean by these cardboard explanations
@@ValleyMustang The way he explains stuff with cardboard cut outs and scribbles on it style. for example minute 0:50 onwards.
Bro do you know where is schematics
Ciekawy projekt 👍 siedzi się godzinami i walczy z problemami ale jak w końcu zadziała to jaka radość 😁
That's VERY COOL !!! 😎
Great job, Sir.
Just great, congrats. I want to try it too.
Hey Nikodem,
since you were speaking about something with more computing power and mentioned the RasPi: There is the Corel Dev Board available. This has a tensor processing unit and this makes it very powerful for neural networks. It runs models about 25 times faster then on a good CPU and costs about 150 Euro.
This might be worth checking out for you, you can even do object detection/classification and other CNN stuff.
Best regards
Very interesting episode! Thanks!
Keep it up lad, Nice video
...
Good job, keep making cool videos
WOW! Thanks Massimo! :D
Great work!
Really cool and awesome 👍👌💪
1-train the neural network on your computer, then copy its weights to Arduino (train in computer, implement in Arduino)
2-check neurona library, on the developer's website there's a browser based playground
Well done buddy..!!!
Just a suggestion for the sensor, I think you should try out a lidar or laser sensor, since at a certain angle, the ultrasonic sensor tends to send back false data.
Or use 3 static sensors instead of 1 on a servo :)
I have had trouble with the ultrasonic sensors, I sometimes get bogus short readings from them, due to the wide detection cone and echos from the floor itself. I started experimenting with taking three readings and accepting the highest value I got. This smoothed things out. Also, I suggest you make the robot move a little slower, allowing more time to take the readings.
One challenge I would love to take would be to take the basic car you have there, rip off the ultrasonic sensor, throw in a gyroscope, and make it accept commands like "turn to x degrees" and "forward", and so on. These commands would be coming from a second Arduino that controls all the sensors (SoftwareSerial communications.) Once you have a base driveable vehicle that can drive a straight line and turn to any heading, construct another Arduino or RPi system that senses the surroundings and issues commands to the drive system.
Молодчина, Никодим )
Você é muito novo, com toda certeza terá muito tempo para implementar suas ideias em redes neurais.. Parabéns pelo vídeo!!!
Great Job, Loved the experiment! The only reason for it not working with great accuracy could be a small dataset, which is the backbone of a neural network.
Increase the data set by simply providing left, right , center values and which direction the bot should move ,in a csv file.
However that seems unnecessary here, as the problem can be solved with simple if else statements .
Nevertheless , nice video. Best of luck !
"Could be done with an if statement", " the problem is that the robot is on" hahaha very funny, nice content
I've built basically the same thing, the only difference is, is I let the sensor take a reading from left and right then position the sensor forward, which is its default position and determine which direction to move towards where the object is farthest away. When it detects it's getting close, it stops, looks left and right and does the same thing again. Therefore the sensor is always looking forward whilst moving, and only looking left and right when it's stopped which is when it's gotten too close to something.
Nice video!
you're so good!
good job brother.Thanak you
good job and idea
Niko this is an excellent project... the trainning in NN is very sloooow in general... also i recomend to use supervised learning... what is that? Simulate the input and output of the NN to train the weights... another recommendation is that for sensors fix is better due to noise... place them like 30 degrees... simulate input and output as desired... train the NN... Enjoy!! Cheers
I had a dream about this, then today it was in my recommended
Beautiful
A Pi-Zero would be a much better option for this, have a look at Sipeed MAIX too.
greatings
from mexico
Good video, now I am motivated to do something.....
Agradable, me gustaría ver proyectos similares con Arduino y explicados a nivel de código, gracias.
Use three ultrasonic sensors because you can get three inputs(distances) at the same time. As an example , if it takes one second to get distance of one side, in your robot it will take three seconds for three sides. but when you use three sensors it will take one second for all three sides. I have ddeveloped one and I used three sensors + back sensor . It is working fine
Good work buddy..
Thanks!
Please create more robots of that kind 😊😊😊😊
congratulation !!!
5:58 to 6:22
perfect MacBook air advertisement
maybe
Bad computer lol
Dobry film ziomek
awesome
Good job, it's an interesting video. In order for your robot to learn you will have to integrate Q-learninge and not base you on a dataset. Your robot will learn with a system of reward
So cool
Awesome video but my spidy senses were detecting misaligned picture frames in the background but I like that :), chaos is needed in this line of work. I will definitely try this AI robot kit out. Good project.
Po akcencie poznałem że to Polska XD
Pozdrawiam, mega robocik :D
You are my hero...
Great work mate but you should minimize the speed of motors and servo. And next time use the " interrupt ". It's more easier.
Ok, this is really cool. Never thought something like a neural network is possible on a low power device like an Arduino.
Running a trained net is not a big deal
Bro , is it possible to get your mail or any other source to contact you. I got a great project in my mind but actually i’m stuck at a point.
wow cool 😮
Great job! Is this project open source, where can I see the source code?
Dobra robota,no wiesz robot-a
I really like your content. Can you tell me what kind of battery you used for the car? Also, what kind of DC bench power supply are you using? Thanks!
Thumbs up bro!
Of course this experiment could be better if you use other platform, but you've used Arduino (understanding this limitations) I think the result is very cool... Well done mate!!
Slow down the sensor swing, if it is looking for a return signal after sending out a pulse, the echo might be missed. :-))
It would be cool to see if you can get a simple machine learning program on a raspberry pi!
When I first saw the title vs. the video length I was perplex: talking about neural networks in 10 minutes... On top of it you use arduino.. hummm. That should be a big challenge I thought. Then you made a pretty good demonstration of a good methodology, embedding that library and eventually seeking a better one which led you to an almost success. Congrats!
I'm happy as well because your background matches mine regarding serious coding backed by some maths. Looks like Poland takes advantage of its past ties with the USSR and their scientific education which relies heavily on maths. (Obama said that american students lack that solid basis). Anyway, We've implemented on a RaspberryPi 3B a machine learning using google tensorflow (there are decent tutorials about it on youtube for those in a hurry, and google provides straight-forward applications too). It works flawlessly and we intend to build a robot like yours. I do think that it's pretty hard to dive into details when it comes to explain neural networks to a large audience. It could be really boring for some people ;) Your animation may help
Last word: 10 minutes to explain what you've really done to make your robot respond properly, is really, really too short. It may frustrate some of us. It's a pity. But I'm looking forward to watching better documented AI applications at a slower pace ;) Thank you Nikodem!
I try to keep my videos rather short and entertaining :) I know sometimes it's hard to explain stuff really well in 10 minutes, but if you want perfect explanation of NN there is already a lot of great videos on youtube about that. I also don't know enough about them to make such video :)
@@nikodembartnik you're a honest guy.
Am a simple man...
I see NN,I click,I subscribe and I like
7:11 - How did you shoot timelapse like this?
❤great job
Thanks!
For Ai which programming language should i start with?
Write the node weights to eeprom. Pretty cool project !
Thanks! Yes, that would be a good idea :)
Can you give us the modified code!!
Where can I get the modified code?
Here is and idea.
If you make a game that are a virtual representation of the "car". Then you can an random generated "labyrinth" and put a neural network in multiple cars and use an Genetic Algorithm instead.
That makes it faster to lean and you don't have to monitory it. Plus you make the genetic algorithm a powerful computer instead off the arduino. Like a said just an i idea, really liked it video.
Keep it up!
Hum but with which training data do you train your model ?
very good video though!
That robot was like my life without a purpouse, and being told just don't make a mistake.
Is it even viable to train a NN in this way (without it taking for ages)? I'm convinced that it is the processing power that is limiting you, but it is that you do it in real time. What I would attempt to do is to make a computer simlation of the car movement and sensors and train that simulated car.
The problem is not in the arduino he is enough powerful the problem is in the code
Did you won any competition on instructables?
nice !!!!
Great video brother. Only thing is I wish that I could see hir you implemented the sensors and the motors in the sketch. Please I kinda want to build something similar with more sensors, but don't know how to link the NN in my project. Help 🙏🙏🙏
Nice
Great
I am currently making a Raspberry pi robot and I have a webcam on it. It is convenient because you can use great Python libraries like Tensorflow and Keras to make Neural Networks.
I've posted a comment without reading yours. Tensorflow + Keras wrapped in python = terrific combo
The nice thing of this approach is the you get to learn how those NNs work starting from scratch. All thise frameworks are great but they abrstract a lot of what is going on underneath. This project is great fro learning the basics a bit like when you blink an LED to learn the basics of microcontrollers
Can you also make a arduino program for data glasses
What software you use for code block arduino?
so finally I got something to do 👀, what I will do now is , I have same ultrasonic sensor and something similar moving bot, i will try something new ,thanks buddy 👍
8:33 - 8:39
Robot : Go Stupid...
Go Crazy.....
Make sensors in 8 sides and increase their range and it will be perfect also slow the speed
I didn't realize how it get input and create output to control this robot, im just a beginer :D, could u explain it more clearly,plz?
Test out side of home...you r getting reflection from wall...so robot is rotating in all direction..or set range of detection of sensor
I thought it was only me who put a piece of tape on the webcam. haha
nice
Just use 3 sensors, so it would not have any delay
Can you provide the code?
Bro what's the background music...?
which pc do u have?
This project can be completed with just if conditions. how neural networks are making this project different?
What can be the expense of this project
where can i get full program with execution hardware output arduino ex. go turn right ,left ect. because your code program just to training NN weight data
HAHAHHAHA it's really fun bro HAHAHAH
How the neural network algorithm to be inserted in to the arduino board
8:11 This is what i wanted to make
One month ago
I understand your feelings. Today I try to code color shorting machine from 12.30am to 8.00pm still I not succeed 😢.
hey may u tell me about that How To insert coding in robort??
Could you please share the code modified? I am very interested in working with it with my students but cannot finish the project.Thanks and good job