Hi All,
I think this might be a very interesting topic for all robot builders
I have build a prototype robot with 2 DC motors controlled by a dual H-bridge controlled by I2C
http://www.robot-electronics.co.uk/htm/md22tech.htm
I2C control is quite easy, i use the turn mode
The robot needs to follow a buried wire with 100 khz RF, as buried wire detector I build the following circuit
http://www.philohome.com/sensors/filoguide.htm
Has anyone a code example on how to do the PID control and eventually additional filtering and hysteresis ? starting from the deteted
DC voltage on the ADC
I think the control will be quite the same as the line following robots (black line)
Maybe we can start a code discusion with examples here, so everyone can learn and share little pieces of code ?
Cheers
Bookmarks