Hi!
How long does the Bot work whith this giant power-reserve?
Hm.
best regards, Tobi
Druckbare Version
Hi!
How long does the Bot work whith this giant power-reserve?
Hm.
best regards, Tobi
Hi, nice Bot!
Mfg.techboy
Hello,Zitat:
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
Hello,Zitat:
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?
Hello,
Here :arrow: www.conrad.com :-$Zitat:
Zitat von solo
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
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