Kits are not bad at all. At least with a kit you have a known working platform and limited hardware bugs. You can then focus on the software side and give it some decent AI.
The code for that is to scan from left to right, take the average of the left side and the average of the right side and whichever is greater, is the side it will aim for. It then turns that direction, pinging along the way until it finds a distance > or = the average of that side.
Wow, did that even make sense? If not I can always post the code somewhere. It's not pretty but it worked. I hate BASIC, but it was a good intro into microcontrollers.
be careful with that tamiya gearbox, mine stripped out really quickly on carpet..
mulletcar 1 year ago
that is awsome how can i make one of these
bomerman104 2 years ago
i like the scanning sensors. nice job
pimpinparrott 2 years ago
Thanks for the comment.
Kits are not bad at all. At least with a kit you have a known working platform and limited hardware bugs. You can then focus on the software side and give it some decent AI.
lithium76 3 years ago
The code for that is to scan from left to right, take the average of the left side and the average of the right side and whichever is greater, is the side it will aim for. It then turns that direction, pinging along the way until it finds a distance > or = the average of that side.
Wow, did that even make sense? If not I can always post the code somewhere. It's not pretty but it worked. I hate BASIC, but it was a good intro into microcontrollers.
lithium76 3 years ago
Too cool - love the scanning sonar, very fun to watch! :)
shimniok 4 years ago
nice work where did u get the kit
legomindstormbuilder 4 years ago
It's not a kit. This was put together using a BASIC Stamp 2 for the micro controller, and everything else was pieced together.
lithium76 4 years ago