Valkee with 08m

ForceMan

New Member
Hello,

If you do not know what Valkee is, http://www.valkee.com/uk/

The price is ~180 euros and it's basically just two leds, so I decided to build one my self.

I used 08 protoboard, old earphones and a battery case from DX.

Time and power can be adjusted with trimmers. When the time is up, it shut down the white power leds and makes a sound & lights a red led.
I know that sleep is not accurate, but I dont think you die or get cancer if you get few mins of extra light :) (personally I don't think it has any effect, but this is now a big thing there and I made it for present). Two sleeps gives a time between 0-20 min, and official recommendation is 4-12 minutes.

I thought I had 08 chip, but it turned out to be 08m when I programmed the chip, therefore my piezo is not in the tune pin. It was not worth to resolder everything, eventhough it is the season :)

Thanks to PICAXE the project was again very easy.

valkee08.jpg
I used 2k trimmers, but VSM only had 1k pots.
valkee08m.jpg

Code:
main:
	let dirs = 00010101
	'0 red led
	'1 adcin
	'2 white leds
	'3 empty
	'4 piezo

	readadc 1,b0
	
	high 2
	
	sleep b0
	sleep b0
	
	low 2
	high 0
	sound 4,(120,50,80,50,120,50)

sleepp:
	sleep 65535
	goto sleepp
 
Top