Power Control ver 2.2

Start Up PCB

 

Linkes from this page:

PCB

 

 

Updated 21 September  2008

Hardware
Hardware
Additional features
from ver 1.4
Additional features


Software
Code Download
Jumper Config

 

SDCC app note      Application note on how to change from Kiel to SDCC. ( Not everything is found here)
SDCC Manual        The SDCC Manual
SDCC forum     
      I got the Port to SDCC sorted here... (interrupt prototypes has to be in main.c)
Silabs               Download Silicon Laboratories evaluation kit IDE

C8051F006           The chip spec. 
C8051F006 Shortform
8051F005 dev kit   Spec of development kit
Product Selector

Hardware

Apart from the gyro and GPS receiver included in this hardware there are also more 6 outputs instead of 4, and 3 inputs instead of one.

There is also a Melexis chip for the IBus interface.

Additional Features from ver 1.4

This software has some added features

Boot time, shutdown time, on-time without ignition etc can be configured via IBus interface.

extern void setBootTime(unsigned char secs);                     // default 48s
extern void setDelayOff(unsigned char secs);                      // default 30s
extern void setMaxTimeNoIgnition(unsigned char minutes);    // default 30
extern void setShutDowntime(unsigned char secs);              // default 17s

Format is {0x80, 0x04, 0x7F, ss, xx, cc}
// ss is time 1..4
// xx is new time in secs or minutes
// cc is xor sum

 

IBus messages about direction and speed will be translated into pulses sent to GPS module.

In 2.1 pressing eject button will turn system on just as on-button if pressed when system is off. The reason for this is that I want the CD detection as well as the green position LED's to go on every time lid is open. (And it is also a way of avoiding the lid to stay open for ever...)

In version 2.0 the code is close to 7kB. 

RAM used is just over 200 bytes.

 

Code download

Version 2.2 now complete. Boot2.2