Date: Saturday, February 08 @ 06:19:55 EST
This endtas design bug is a 'world's first'. As i searched the net, i didn't see a similar one, that runs with one chip only.
I've named i as the 'onechipbug'. As you can see from the photo below, there is only one chip on it. Well i can sense you are thinking that there should be any other bug-robots in the universe with one chip only too. Yes there is. And the nearest example is the probug. It has got one pic 16f84 chip. But many other components also, transistors, diodes, capacitors, resistors etc.
That is what Onechipbug's difference is. There is no component on the bug apart from the microcontroller.
I've built the bug by using the PIC 16F627 microcontroler that doesn't need any external components to run. The DC motors are directly driven by output pins of the controller and the feeler sensors are connected to two inputs of it. I've written a short asm program for onechipbug so that now it has the functions of our robug kit and even some more functions.
It is now able to sense obstacles with its feelers, backs up and goes its way by turning the opposite direction of the collision.
Later i've added a buzzer. And some sound effect subroutines. Added a button to switch between running modes. The buzzer can be seen at the pic as the holed cylindirical thing between the pic and one of the motors.
I've made a rear wheel by using a small bead. At the sides of the bead, you can see the on-off switch and the mode change buttons. The pic micro has still two pins left idle. One is an only input one, and the other can be programmed either input or output. Two other sensors can be mounted to this pins. A light sensor maybe, or a magnetic reed relay etc.
By the help of these two sensors, the bug can sense light-dark as well as a magnetic source such as a small magnet etc. It may wander around in well lit environments searching for its magnetic food may be? Or a battery-charging port signed with a magnet line etc. In dark environments it may simply sleep, producing sleeping sounds periodically etc.
The article goes on with some more info and two detail photos.
The detail photo of the front part of our bug. As you see there is no other component apart from the pic microcontroller.
The circuit paths constructed of solder blobs. A very small and simple circuitry consisting of connecting wires only. I've tried to arrange the program and I/O configuration of the pic to keep its circuitry as simple as possible with shortest wiring.
1chipbug circuit schematic
1chipbug circuit asm source code