Hacking Stage 2

Stage 2: find uses for picmicro’s control

Now that I have the control of Robosapien using the PICmicro I’m going to look at some uses.

PICmicro stores “programs” (even when power is off)
Disconnect toe, heel and finger switches from PCB and route them through PICmicro to give more inputs (as these are simply switches wired in parallel)
Add different sensors, e.g:
IR-proximity detectors, UltraSonic Rangefinders, Light Dependant Resistors (LDRs), voice-activation (well not on a PIC obvoiusly).
Add more outputs, e.g:
LEDs gallore, LCD (so you know what PICmicro/Robosapien is up to), text-to-speech transducer (SP03) (see photos below).

I’m sure I’ve missed a few ideas out.

At this stage I tested a few devices, namely the SP03 (text-to-speech) and an LCD. Below are some photos of the various experiments.

Photos


Robosapien with LCD connected to prototype board. The LCD was used to display the received IR code but gave me an idea which I’m working on just now, Robosapien Alarm Clock.


I have successfully attached the SP03 Speech synthesizer to the robosapien and can control it from my PIC using I2C (2-wire interface). In the photo you can see a 9V (PP3) battery and a connector hanging from the breadboard. Attached to the connector is a piece of stripboard with a 5v regulator, this supplies the power to the SP03.


Robosapien with LCD attached. (Never tested it, just wired it up)


Robosapien with current prototype board taped to back. Notice that there are now 4 wires to the board. These are VCC, GND, IR-OUT (to PCB) and IRIN (from receiver in head).


Close up of current prototype board. Notice that there are now 4 wires to the board. These are VCC, GND, IR-OUT (to PCB) and IRIN (from receiver in head).

Downloads

  • robosap.inc – The include file (txt document)
  • rs-3.asm – A very simple example of how it is used (txt document)

Links

Leave a Reply

Your email address will not be published. Required fields are marked *