it's too big. i think its possible to make one with a an ATiny85 or something. You have I/0 lines, so you hook one up to the sensor, and the other 2 you make pwm motor controllers. If you have something like if white turn left and if black turn right, then it will follow the line appropriately. the code is simple and beautiful ;D.
@JOBGG16 This project had didactical purposes and it came with 8 pre-installed applications. The line follower is only one of them (in fact, the simplest but very attractive). It can also sing (speaker on board), dance, drive DC and/or stepper motors (installed on the platform) - speed and direction control, operate as and/or simulate an incremental and/or decremental counter, and so on. And all output signals can be viewed on the LED's or on a LED display. This is why I chose an ATtiny2313
@alinadelina I've seen somebody do "singig" with an 85 and dancing should be able to work with the same motor controller. Driving the LED display now might be harder, seing that you are allready using all 4 I/0 ports, but you could use a counter and a 7 segment driver attatched to the 7 segment display, even though incremental/decremental counting might be impossible. still nice build though
@JOBGG16 Oups, i mistook the 85 for having 4I/0 pins...it does not....it has 6, so it should be possible to realize playing audio (though not high quality audio), dance, drive DC motors, simulate a counter and follow a line. Still a great robot though.
I didn't use pwm on timer 1. Because the project had didactical purposes only, I created my own pwm, using internal clock source signal. This means I played with duty cycle for a signal of 1MHz.
it's too big. i think its possible to make one with a an ATiny85 or something. You have I/0 lines, so you hook one up to the sensor, and the other 2 you make pwm motor controllers. If you have something like if white turn left and if black turn right, then it will follow the line appropriately. the code is simple and beautiful ;D.
JOBGG16 7 months ago
@JOBGG16 This project had didactical purposes and it came with 8 pre-installed applications. The line follower is only one of them (in fact, the simplest but very attractive). It can also sing (speaker on board), dance, drive DC and/or stepper motors (installed on the platform) - speed and direction control, operate as and/or simulate an incremental and/or decremental counter, and so on. And all output signals can be viewed on the LED's or on a LED display. This is why I chose an ATtiny2313
alinadelina 7 months ago
@JOBGG16 And thank you for your feed-back.
alinadelina 7 months ago
@alinadelina I've seen somebody do "singig" with an 85 and dancing should be able to work with the same motor controller. Driving the LED display now might be harder, seing that you are allready using all 4 I/0 ports, but you could use a counter and a 7 segment driver attatched to the 7 segment display, even though incremental/decremental counting might be impossible. still nice build though
JOBGG16 7 months ago
@JOBGG16 Oups, i mistook the 85 for having 4I/0 pins...it does not....it has 6, so it should be possible to realize playing audio (though not high quality audio), dance, drive DC motors, simulate a counter and follow a line. Still a great robot though.
JOBGG16 6 months ago
Nice :D
ahmedamer777 10 months ago
what pwm mode do you use on timer1 to set the speed? I can't :|
djhesit8 1 year ago
I didn't use pwm on timer 1. Because the project had didactical purposes only, I created my own pwm, using internal clock source signal. This means I played with duty cycle for a signal of 1MHz.
alinadelina 1 year ago
GREAT!! 5/5
knabbers 2 years ago
Very COol...I like it...
Could you share "HOW TO DO"?
jast83 3 years ago