Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Categories > Robotics Chat


Robotics Chat Specific to discussions about robots and the making of.

Reply
 
Tools
Old 23rd October 2003, 01:46 AM   #1
Default Need help on black curved line tracking robot in

Hello friends,

can anybody help me on the coding in VHDL for a line tracking robot for a curved black line? it has lynxmotion sensors which produce low on detecting black surface.

Thanks![/b]
sunny0070 is offline  
Old 23rd October 2003, 03:26 PM   #2
Default

Are you going to design an FPGA or an ASIC to do this? It seems like a much easier problem to solve in software (though I can see where a finite state machine might work).
crust is offline  
Old 23rd October 2003, 04:01 PM   #3
Default

hello crust

i will be using FPGA with the help of Altera Flex Chip.

thanks
sunny0070 is offline  
Old 23rd October 2003, 11:49 PM   #4
Default

How do you plan to do this? Are you going to use a finite state machine in your VHDL? In any case, perhaps you should post the logic that you plan to use -- Such as, if my right sensor hits the black line, I turn left -- and so on. If you are going to use one sensor, it is a bit more complex, though a good example of an FSM. For instance, with a single sensor, you will run over the black line and into the white. The question is "Which way to turn?" You can imagine in such a system the vehicle will zig-zag back and forth over the line as it moves forward. So if you make the black->white transistion, you can look at the last turn that you made and turn in the opposite direction on this iteration.
crust is offline  
Old 24th October 2003, 04:24 AM   #5
Default

hello crust,

i have 3 sensors. if leftsensor=1(hits white surface) turn right, if rightsensor=1 turn left and if centresensor=0 keep on going straight.

i am not using fsm...but just trying to code it following this logic.

thanks
sunny
sunny0070 is offline  
Old 27th October 2003, 04:43 AM   #6
Default

Ok, that makes sounds reasonable. It would be helpful to provide a description of the mechanics of your system. For instance, is it a platform with two independently driven wheels in the center of the left and right side? Or is it like a car with articulating front wheels and non-articulating rear wheels? The first seems easier to implement using your logic.
crust is offline  
Reply

Thread Tools
Display Modes




All times are GMT. The time now is 06:11 AM.


Electronic Circuits  |  Learning Electronics
eXTReMe Tracker