Tech Posts

I am a professional software developer (specialising in web applications), I aim to write and post here a number of easy to read blog posts with topics broadly relating to computers and software. I may aim to write for teachers, giving suggestions for class ideas or giving class demonstrations.

The Learning Line Follower

Mar 1 2020

Be warned, this tale is a tragedy. For Christmas, my father bought me an Arduino robot kit with 4 wheels some eyes and ears. It came with light (and sonar) sensors. I decided to conduct supervised learning with a Markov chain model. Two front light sensor point vertically down, reading the grounds ability to reflect infrared light. The kit came with black tape to lay on the floor. I aimed to teach the robot to follow the line, programming it to remember 1KB: a weighted guess at a set of movements given the last two things it saw (input reads).