Litmer: DS1302 driver output test
This is how the test program output looks like:Note signle spike on LED channel, it is for separation between time init and actual time read. I have not connected rtc chip, so there are all zeroes...
View ArticleLitmer: DS1302 driver works
Just tested my code with DS1302 chip. EEPROM have init byte, if it set to 0x01 then mcu will write time to rtc chip and then set this byte to 0. Next bytes is init hour and minutes values.Output from...
View ArticleLitmer: 8 seconds watchdog with power-down sleep mode
Played with power-down sleep mode. It's very low power consumption mode, cpu is not running. Then played with watchdog timer. Set it to 8 seconds with prescaler and enabled interrupt. So every 8...
View ArticleLitmer: lights pwm and time compare
Finished yesterday with software PWM driver to slowly turn lights on and off. Time compare changed in watchdog inteerupt. Now if current time is betweend on and off then on state forced. It's usfull...
View ArticleLitmer: PCB design
The project is already done actualy. The Litmer timer works now in my chicken coop controlling lights inside coop, emulating sunrise and sunset with pwm. This is how pcb design looks like. It's pretty...
View ArticleLitmer: finished device
I took pictures of finished working device. I have removed 12v regulator from circuit because my main power changed from 14.4V power adapter to 12V lead-acid battery. So I don't need this regulator...
View ArticleTI LaunchPad project
A week or so ago I've recieved TI LaunchPad kits for experiments. It's pretty cheap kit, just $4.30. Contains 2 MSP430 line mcus both with 2kb flash, just like my favorite tiny Atmel AVR mcus.It's time...
View ArticleTI LaunchPad project code name Duothermo
I selected some parts for this project. MCU is MSP430G2231 which have internal temperature sensor (MSP430G2211 does not have ADC). DS18B20 1-wire digital temperature sensor as secondary sensor. 74HC595...
View ArticleDuothermo: sensor lost
I somehow accidental lost my DS18B20 sensor, maybe threw away in garbage bin with some garbage from my table.So I have to found some new sensor or fall back to single sensor mode, but I need to measure...
View ArticleDuothermo: sensor back but changed to LM335
Mystically found my DS18B20 sensor in TI LaunchPad box :) But I already started to work with LM335 analog sensor. Connected it to LaunchPad VCC and A1 channel of ADC10.While ADC10 clock source is set...
View ArticleAnother temperature related project
While Duothermo project is frozen I started working on new one. It's a very simple thermostat project. I need it to keep temperature in chicken coop with help of 12V fan heater running on battery....
View ArticleOBD-II USB adapter to Bluetooth adapter hack
Hi. Yes, I was pretty busy or lazy to write something. There was not interesting projects. The last one was a battery backup switcher, it switches power source to battery when mains go down. Based on...
View ArticleNokia accessory as a CB radio external speaker hack
I thought it's nice to have a backup speaker for CB radio in a car. When I saw old Nokia BHF-3 handfree which is not in use, I start thinking how to hack it.I desoldered phone connector, opened the...
View ArticleLamp 10W Power LED Retrofit
I had a small side-project about power leds.Received some 10W (advertized) warm and cool white leds. Yeah, it's bright! And hot too.Then got some cheapo 10W constant current led drivers, which should...
View ArticleDiode fail
Two cheapo 10W led drivers, which I hacked (see previous post) to supply 1A current, just died. They make high frequency noise now. Checked components and found that output diode has failed. Diode is...
View ArticleEndless servo mod
Just a little endless mod for my GWS Sail Winch S125 6T servo, which is used to move automatic door in my chicken coop. This servo has 6 turns and this is enough to open the door, but I did this mod...
View ArticleTI LaunchPad Shield pcb template
Yes, it is a TI LaunchPad shield pcb design template I've made in Eagle for future projects.It has two sizes wide and narrow and you can cut opening to show LaunchPad leds.The source is at...
View ArticleDIY 9-18 series leds constant current driver
When my desk lamp died I decided it's time to upgrade it to led desk lamp.I have several 8mm straw hat leds which are laying around unused for too long. So I thought to put those into lamp mod. Then I...
View ArticleDesk lamp leds retrofit with diy constant current driver
Continuing my previous post about diy constant current boost driver for 9 leds in series, here is a mod for my burned out desk lamp.I've designed new schematics with 4 mosfets in parallel, because this...
View ArticleTI LaunchPad with OLED
Have not time til this week to play with my little OLED display which I won in Seeed Studio lottery last year.Connected it to TI LaunchPad. Made a little library to control it. Pixels addressing is a...
View Article