tyggerjai: (Default)
[personal profile] tyggerjai
Is that you don't start at the start.

For my electronically inclined readers. One of the things we do at work is hire out big lamps with lampshades. At the moment, they use standard globes. This is so very 20th century, and I've convinced them LEDs would be better. In the first case, a simple R/G/B lamp that can be switched between R, G, and B, with a button, so it's client proof. I know enough to know that what I need here is a shift register, and a momentary button hooked up to the clock line. Easy enough, even debouncing the button. What I *don't* get is how to initialise the shift register. I need something that brings the data-in to the first bit high when the thing is powered up, but never again. I think :) I could presumably do something very complex that brings the first bit high if none of the other bits are high, but that seems ... complex. Is there something hinky with capacitors or transistors that everyone who actually knows about this stuff already knows about? It seems like electronics 101, but the web seems unhelpful.

[Update: Hm. http://www.play-hookey.com/digital/experiments/rtl_monostable.html looks promising. It's almost as complex as the rest of the circuit, but never mind :)]
sol.
.

(no subject)

Date: 2006-03-28 03:01 pm (UTC)
From: [identity profile] ltempt.livejournal.com
I've noticed a similar thing - nobody uses simple logic components anymore now that one can buy a really simple PIC for $2. Everything is so PIC-centric.

At least it makes development easier.

(no subject)

Date: 2006-03-28 11:58 pm (UTC)
From: [identity profile] tyggerjai.livejournal.com
And PICs are the expensive option. The Atmel stuff is even cheaper.

Welcome to the future! I have a couple of baby atmels sitting around, maybe that is the best answer ....

sol.
.

Profile

tyggerjai

Прекрасное Далеко

Слышу голос из Прекрасного Далека
Он зовет меня в прекрасные края
Слышу голос голос спрашивает строго
А сегодня что для завтра сделал я

Expand Cut Tags

No cut tags