Monday, 4 January 2016

Droidbot #1 - Concept & 1st prototype

Hello world,
In the next few articles I'm going to write about building a robot.
This will contain the SW code for controlling it, the electrical schematic and mechanical design.

The idea was to build a simple robot, with two wheels each powered by a DC gear motor.
This are controlled by a Texas Instrument development board (Tiva TM4C123G Launch Pad) that has a Cortex M4 MCU.
In the initial phase the direction of movement will be given by a light source for going forward & left or right and a sound source for going backward.

For forward motion, left or right direction a photo resistor (light sensor) will be used in a wheatstone bridge. Connected to an amplifier will drive the input pin of the uController.

For backward motion, a microphones output is RC filtered and connected to an amplifier. The analog output of it will be used in the uControllers analog comparator, so that when the analog input is larger than a defined value, the motors will spin backward.

A first prototype I already built for the ending project of an online course.
Which you can check out here.

For the software I used the Energia IDE, which is great if you're a hobbies and don't want to get in details with the SW development, which is NOT my case :)

So I decided to re-write the whole software in C, apply the techniques and knowledge I gained on my workplace, make the SW modular, re-usable, real time... some of the main requirements in a professional embedded system.

In the next video will show the functioning of this initial prototype.


In the next articles I will describe each functionality in part with SW code and electrical schematic.
Stay tuned :)

No comments:

Post a Comment