Hi, nice Bot!
Mfg.techboy
Hi!
How long does the Bot work whith this giant power-reserve?
Hm.
best regards, Tobi
http://www.tobias-schlegel.de
"An AVR can solve (almost) every problem" - ts
Hi, nice Bot!
Mfg.techboy
Error is your friend!
Hello,Zitat von tobimc
I’m not exactly sure but I think it is around 1,25 hours.
Greetings,
H.J. Windt
Hi!
Ah! not bad, not bad.
Are these bearings of the two motors directly screwed (mounted ??) onto the plastic?
best regards Tobi
http://www.tobias-schlegel.de
"An AVR can solve (almost) every problem" - ts
Hello,Zitat von tobimc
The bearings are held in place with bearing blocks and the bearing blocks are mounted to the plastic using M3 rings, nuts and bolts.
Greetings,
H.J. Windt
Yes its a nice one! Where did u get the Catweasel from?
o00o----'(_)'----o00o
------------------------
mfg Solo
Hello,
HereZitat von solo
www.conrad.com
![]()
Greetings,
H.J. Windt
Hello,
I have not had very much time to work on my bot but I was able to make some short videos.
The “Just Run” video shows the bot using a program to just ride around without hitting anything.
https://www.roboternetz.de/phpBB2/dl...le&file_id=287
The “Wall Hugger” video shows the bot using another program making the bot follow a wall on its right side trying to keep a certain distance from the wall.
https://www.roboternetz.de/phpBB2/dl...le&file_id=288
Greetings,
H.J. Windt
HI
This is very good!
You implimated the PWM (Pulse Width Modultaion ?? ) very well!
How do you calculate the radien in the wall-following-algorithm, and how do you convert them into PWM?
have fun,
Tobi
http://www.tobias-schlegel.de
"An AVR can solve (almost) every problem" - ts
Hello,
The drive motors are connected to an MD22 (dual motor driver) and the C-Control communicates with the MD22 via my E-I2C bus.
To control the motors the controller sends 3 bytes of information to the MD22 control registers (of course the address and command bytes ex. are also sent) and the MD22 does the rest.
The bytes send are speed1 (drive speed right), speed2 (drive speed left) and acceleration.
Speeds control the direction and speeds of the motors:
0 = fast reverse…….128 = stop……..255 = fast forward
Acceleration controls the pull up time:
0 = pull up fast……………………….255 = pull up slowly.
The Wall Hugger program only uses 3 scan angles and 4 movement directions:
Scan angles:
Forward scan (front): Stepper motor at position 50/ fire and read the SRF08
Corner scan (front right): Stepper motor at position 35/ fire and read the SRF08
Side scan (right side): Stepper motor at position 20/ fire and read the SRF08
Movement directions:
Turn left
Bear left
Forward
Bear right
No calculations are done, its just a few IF THEN’s and a few subroutines, but it would be very interesting to try calculation instead of the IF THEN’s .
Here is also a portion of the Wall Hugger code.
Greetings,Code:#start #front_scan steppermotor_start_position = 50 : gosub steppermotor_control gosub get_srf08_range if srf08_actual_range < 45 then goto turn_left #corner_scan steppermotor_start_position = 35 : gosub steppermotor_control gosub get_srf08_range if srf08_actual_range < 45 then goto turn_left if srf08_actual_range < 55 then goto bear_left #side_scan steppermotor_start_position = 20 : gosub steppermotor_control gosub get_srf08_range if srf08_actual_range < 45 then goto bear_left if srf08_actual_range < 55 then goto forward goto bear_right #turn_left drive_speed_right = 150 drive_speed_left = 106 drive_acceleration = 255 gosub set_md22_speeds goto start #bear_left drive_speed_right = 170 drive_speed_left = 144 drive_acceleration = 255 gosub set_md22_speeds goto start #forward drive_speed_right = 160 drive_speed_left = 160 drive_acceleration = 255 gosub set_md22_speeds goto start #bear_right drive_speed_left = 170 drive_speed_right = 144 drive_acceleration = 255 gosub set_md22_speeds goto start
H.J. Windt
Lesezeichen