My Robosapien Hacking | Robosapien Alarm Clock - software
This page has moved, click here to be redirected.
<[ Hack page 3 ] - [ RS Circuit Diag ]>
Stage 3: Robosapien Alarm Clock
This page details the software running on the hardware described on the previous page, namely two PICmicros and an LCD panel integrated into my robosapien, which combined constitutes my Robosapien Alarm Clock.
Running on one PIC, which connects to the LCD display by 6 pins and to the second PICmicro by 2 pins, is code modified from Thomas Langewouters' alarm clock. This simplified making the robosapien alarm clock greatly as I don't think I could have written the code for an accurate clock.
Running on the second PIC is code to receive the robosapien IR protocol from the remote control and passes it directly to the robosapien unless the S> (sonic program) button is pressed. When the S> button is pressed second PIC diverts the IR code to the clock PIC to allow setting of the clock and the alarm.
Downloads
- clockv2.jal - the code to display the clock on the LCD
- racv2.jal - the code for the second pic
- saplib2.jal - pic-to-robosapien and remote-to-pic communications
- sapcommands.jal - list of constants used to name each of the remote buttons (this makes it easier to read/write routines)
- I'm not going to post the code for my pic-to-pic communication as it is rather ugly and still doesn't work 100%.
Related Links
- Picmicro Alarm Clock
- Home of (vintage) JAL - programming language I used for this project
- www.robosapien.tk
- www.hackaday.com
- www.aibohack.com/robosap/
- home.comcast.net/~tomhandley/rs/rs.html - Tom Thandley's BX24 experiments
Disclaimer
Except where noted otherwise these Photographs are licenced under a Creative Commons Licence.
Robosapien, Robosapien V2 & Roboquad are trademarks or registered trademarks of WowWee Group Limited.
I accept no responsibility or liability for anything you do. You may dismantle, alter or modify your Robosapien/RobosapienV2/Roboquad at your own risk.