New lower price for Axon II ($78) and Axon Mote ($58).
0 Members and 1 Guest are viewing this topic.
It is possible to use camera and image recognition to recognize T junctions. As path is known in advance, You can define where to turn when junction is approached.
Simpler approach would be to use IR Emitter/Detector sensors. Sensors on the rear of the robot would ensure that bot is on the track and sensors on the front side would be used for junction detection.
QuoteSimpler approach would be to use IR Emitter/Detector sensors. Sensors on the rear of the robot would ensure that bot is on the track and sensors on the front side would be used for junction detection.How pls explain and i am using parallax quick start board Spin code...
I still don't follow You as first You asked something related to if statements and now You are talking about PID.
code was working well on first attempt mean 1st loop ..after continuing second loop it forget the condition and run on previous value.
It is something like this:-VAR BYTE A ' DECLARING A VARIABLE NAMEPUB LINE A:=INA[16..20] '16 17 18 19 20 AS INPUTS PINSDIRA[16..22]:= % 0000011 ' 0 FOR INPUTS 1 FOR % FOR BINARY DIGIT CASE A 00100: OUTA[21..22] ' MOVE STRAIGHT 00010: OUTA ' MOVE RIGHTLIKE THIS............................................
please help me to design a good mechanical structure which don't exceed 24cm x 24cm.
VAR BYTE A ' DECLARING A VARIABLE NAMEPUB LINE DIRA[16..22]:= %0000011 ' 0 FOR INPUTS 1 FOR % FOR BINARY DIGIT REPEAT A := INA[16..20] '16 17 18 19 20 AS INPUTS PINS CASE A %00100: OUTA[21..22] := %11 ' MOVE STRAIGHT %00010: OUTA := 0 ' MOVE RIGHT
Robot in the image above is 240mm x 240mm, so it fits the specs. It is driven by 4 motors (servos), so some feedback is necessary to make sure all 4 wheels keep the same speed. What sort of drive do You have in mind yourself? Is it the one You've sketched?
Code: [Select]VAR BYTE A ' DECLARING A VARIABLE NAMEPUB LINE DIRA[16..22]:= %0000011 ' 0 FOR INPUTS 1 FOR % FOR BINARY DIGIT REPEAT A := INA[16..20] '16 17 18 19 20 AS INPUTS PINS CASE A %00100: OUTA[21..22] := %11 ' MOVE STRAIGHT %00010: OUTA := 0 ' MOVE RIGHTI have got it from here http://forums.parallax.com/showthread.php?135399-How-to-make-alogrith-for-a-artificial-intelligence-line-follower.&p=1046929#post1046929
The sketch is drawn by me the robot size can be small also but not exceed.....I am using 2 motors only given in above link.
This code is different from what You've posted before. In this one I see the loop in which pin is checked constantly.
Well, if You have rough sketch already - then start working on dimensions and material of the robot. Using CAD software would help You big time.
Yes, off course these are right code.....
OK, I am new to CAD please tell any link to download and start it as i am Electrical and Electronics student....
and will this 2 motors will be alright??
If this is the right code, why did You post wrong code before?
I don't know weight of Your bot and radius of it's wheels, hence i cannot know.
I have give the link of motor in above post it has images of motor and tire and battery also.the size of Tyre is 6cm diameter and .5cm width...
OK, so wheel radius is 3cm, however, I still don't know weight of the robot to answer the question about motor suitability.
the total wt. will be around 500-800gm i think.
Motor seller states that motors are rated @ 375rpm
The 375 RPM is of no load so it will decrease.....
if the speed create a problem we will add some series resistance, etc....
please give me a good design so that today i can ordered it in my local market ( they don't make robot only boxes of etc uses)
One more question how should i charge my lithium battery, i have not buy any ready made charger for it.
You cannot charge Li-Ion battery without a proper charger. Charging Li-Ion without setting something on fire is art in its own right. Charging single Li-Ion cell is relatively difficult, when it comes to battery packs, one has to employ witchcraft Grin So, either You have to buy ready made charger, or be really competent in electronics to build one Yourself.