Tracked Robot Update: Ultrasonic, Line Sensor and Shell with SMAC 802.15.4
Join the DZone community and get the full member experience.
Join For Freethe frdm-kl25z tracked robot from my earlier post has gone trough several upgrades:
it features now a line sensor for line following, remote control and command line shell support through 802.15.4 plus an ultrasonic sensor .
the ieee802.15.4 transceiver card is now integrated with an adapter card on top of the frdm-kl25z . the adapter card makes the connection for the ieee802.15.4, line sensor array and ultrasonic hc-sr04 sensor. an arduino proto shield is used for mechanical connectivity plus exposure of the frdm-kl25z reset button.
the pololu tracks worked well on carpet, but not good enough on other surfaces. to improve the grip of the tracks on different surfaces, i have mounted pads on the tracks.
the motors generated substantial noise, and adding the usual capacitors to the motor terminals was not enough. i ended up mounting an extra grounded shield which then suppressed the noise:
the codewarrior for mcu10.4 project implements a lot of functionality with the use of processor expert components:
the project features now a radio module which allows to send commands to the robot: the radio module implements a wireless gateway to the robot.
with
radio send
a string is sent to the robot.
with
radio send stdin
a command can be sent to the standard input i/o channel of the robot. the robot is using standard input, output and error channels. this makes it easy to send and receive commands and status messages to and from the robot.
with the platform.h header file, the project can be configured. for example to add line following , maze solving or acting as a remote controlled robot .
summary
with this i have an autonomous robot based on the frdm-kl25z board and a chassis from pololu. it performs line following and maze solving, and can be controlled by a remote shell or controller unit (e.g. with an accelerometer). i plan to add at least one servo motor so the ultrasonic sensor can scan the surroundings. then it is just a small step to solve a maze built up with walls instead of lines
.
the sources for the codewarrior for mcu10.4 project are available on github here .
happy roboting
Published at DZone with permission of Erich Styger, DZone MVB. See the original article here.
Opinions expressed by DZone contributors are their own.
Comments