Skip navigation

Smarter Life

10 Posts authored by: ajkahl
Firstly I just want to thank those that have contributed to and been involved with the organisation of this competition, there has been some really interesting content posted over the last few months.   As far as my project goes I'm pretty happy with where it has ended up, I have a solid hardware design and a bunch of clean code to progress the whole thing from. In my final post for the comp I want to give and overview and summary of where things are at, and hint at where they might go in ...
It's been a while since my last update, I've taken a little break over new year, I did however find some time to write some code. It's pretty much all done bar managing the charging state and some power saving. I've taken my time to do this properly with a clean HPL layer and enough abstraction to make tuning easy.     The video shows a few different things, first the light coming on in vertical (rear light) mode after some 'movement'. Then it turns off after a timeout, with the lam ...
PCAs, Psoc hardware design   I received the proto boards a few days ago, I've assembled one as a shield for the pioneer kit (in the process testing out my new IR reflow oven which worked really well). I've populated my 'Plan A' design and so far code-wise it's all looking pretty good.     Over the next few weeks I'll be building up the code base in a more formal fashion, bringing in all the bits and pieces I've already tested and getting stuck in to the behaviour and power mana ...
Hi all, it seems there's been a bunch of action amongst the projects on PCB design so I thought I'd run with the crowd...     Over the weekend I put together the schematics and layout for this 2-layer prototype shield. It's a little bit quick and dirty but this PCB will allow me to put together a full demo and gives me a bunch of alternatives to my current design choices should they hit any unforeseen technical hitches. I've added 4 channels of PWM driven LEDs in PLCC4/4 and 0805 pac ...
Accelerometers   I've been playing around with a few different configurations of accelerometer, for this project I need:     - 3-axis, potentially deriving from this a general movement indicator (threshold), accelerating/braking, tap gestures (for changing flash modes etc) - Very low power, I have to be able to pick up a general movement indicator reasonably quickly, say within a few seconds, while in the lowest power mode of the light (standby, no light on). Although I probably ...
setLED(uint8 R, uint8 G, uint8 B)   I've been mucking around with these guys while in search of an elegant LED solution for my light, http://www.adafruit.com/datasheets/WS2812.pdf     They are reasonably well known in the arduino/wearable electronics community and there's some assembler code floating about to drive them on an AVR. The reason assembler is needed is that they are a driver and RGB LED in a single package, controlled by a single manchester-esque encoded data stream ...
Light Sensing     Hi all, here's a quick demo of a photodiode coupled to one of the psoc4 internal op-amps, in turn driving PWM'd LED. I've gone for the photodiode circuit for simplicity and small component size. It's also very low on power, essentially only drawing the light current of the diode itself, it's always good to deal with active power at a low level rather than rely purely on code-side power managment. Even though the sample rate and time (DC) of the light sensor will be ...
I received the pioneer kit the other day, it was all pretty quick and easy in terms of getting sample projects up and running so that's great. I'm thinking I'll probably spin a shield with a bunch of hardware options on it to create a solid platform for developing code-wise functionality, there's nothing worse than fighting a fragile hardware when doing that sort of stuff.   On the hardware front I've been selecting a bunch of components for the various functions, some I'm pretty confident ...
Hi all,   I don't yet have the dev kit, but I've been familiarising myself with creator, and checking out a bunch of datasheet and apps notes on psoc.   I've also broken my project down into bunch of hardware/firmware blocks and working out what the IO spread needs to be.   - LEDs and drive - Piezo and drive - Ambient light sensing - 3-axis accelerometer measurement - battery/charge system - touch/proximity - magnet detection   Once all of these are in place the will ...
Hi all, below is a description of my entry in the challenge.   A set and forget bicycle safety light that would require no input from the user other than maintenance (namely battery charging). The light would automatically manage active/inactive state, a number of active states (moving, stationary et al), low battery alerting, and could also be manually controlled.   Production hardware might include:   - PSoC4 - Analog light sensor - 2 or 3 axis accelerometer - PWM'd multiple LED ...