Robot auto recharge
Hi, First i had to thank to Tracy Allen and Mike Green and all poeple here to help me·finish my project. Robot auto recharge· used· Bs2 and Bs2e stamp···used infrared led·and Ping sonar··to localed the charger so
the Robot can recharge·by itseft ,
here the link
http://www.youtube.com/watch?v=UknQt8r0sRE
Post Edited (Tomvn) : 5/8/2010 4:49:03 AM GMT
the Robot can recharge·by itseft ,
here the link
http://www.youtube.com/watch?v=UknQt8r0sRE
Post Edited (Tomvn) : 5/8/2010 4:49:03 AM GMT
Comments
Jax
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
If a robot has a screw then it must be romoved and hacked into..
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
When the going gets weird, the weird turn pro. -- HST
1uffakind.com/robots/povBitMapBuilder.php
1uffakind.com/robots/resistorLadder.php
now the pic here
Post Edited (Tomvn) : 5/8/2010 4:46:46 AM GMT
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
"puff"...... Smile, there went another one.
Post Edited (Tomvn) : 5/7/2010 2:36:46 AM GMT
i just draw simple but exactly what i have done my robot and charger
the robot· had more than that it have the· temperature sensor sound module and bluetooth module·but i dont had much time to draw everything
the picture·below is the ir detector sensor· on robot and ir led sensor at three led light at· charger
now· schematics and code all here.
Post Edited (Tomvn) : 5/8/2010 4:54:54 AM GMT
I'm looking at your code that measures the voltage using the RCTIME command listed below:
battery_statu:
LOW 8 'low pin 8
RCTIME 8,0,rct ' measure volt--
LOW 8
Vx=Cn1 / rct + Cn2
RETURN
I'm not sure what cap your using for this but should you not bring Pin 8 back to HIGH for recharging the cap for further measurements? Just trying to understand how you can continue to use this command when the cap is discharged. I did not see any command in the program to bring this pin back to high for a recharge. Please explain this for me. Thanks Tomyn
BTW: Great codding!!
Jax
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
If a robot has a screw then it must be romoved and hacked into..
i used 0,01uf cap , the code i got from Tracy Allen bog here the link he can explain better than me.
http://www.emesystems.com/BS2rct.htm#B_voltage
Post Edited (Tomvn) : 5/9/2010 5:54:50 AM GMT
Main:
GOSUB checkeyes
IF RESULT =1 OR RESULT =0 THEN GOTO BUG ' if vr has no signal stop program
IF result <= 1100 THEN GOTO EYELEFT
IF result >= 2300 THEN GOTO eyeright
GOTO eyeright
GOTO MAIN
BUG:
DEBUG "bug found in VR READINGS = ", DEC RESULT,CR ' if signal loss stop routine
STOP
checkeyes: ' checking the VR location
HIGH 7 'use pin 7 to Discharge the cap circuit
PAUSE 1 'for 1 ms.
RCTIME 7, 1, Result 'Measure RC charge time. convert analog to digital
LOW 7 ' Recharge the cap for next round
RETURN
Jax
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
If a robot has a screw then it must be romoved and hacked into..
what you gone to do with the eye movement , tracking the people?
Beautifully crafted robot! I was just wondering what you used for the robot frame? Aluminum channels from a hardware store or an actual erector set of some kind?
Cheers!
R.K.