electronics questions

Do you have a technical question that doesn't really fit a specific console? Want some general info on electronics, hacking, making cookies, etc? Here's the place to ask! Go nuts.

Moderator: Moderators

Skyone
Moderator
Posts: 6390
Joined: Tue Nov 29, 2005 8:35 pm
Location: it is a mystery
Contact:

Post by Skyone »

Search digikey for a digital potentiometer under IC's. There are 1400 matches I think. Those are some none-PIC choices!
timmeh87
Senior Member
Posts: 3047
Joined: Mon Nov 14, 2005 10:19 pm
Location: Ontario, Canada

Post by timmeh87 »

the digital pots i looked at still need a not-so-simple timing regimen to adjust them. like 2 or 3 wire serial interface and stuff. but maybe they have some simpler ones...
Image

"Linux is only free if your time is worthless"
blackbox_dev
Senior Member
Posts: 1906
Joined: Sun Jan 15, 2006 5:19 pm
Location: Formerly known as iam7805

Post by blackbox_dev »

http://www.aaroncake.net/circuits/volume.htm

This is meant to replace the pot in an audio control, but you could probably use it for your purposes.
I'd imagine right now you wish you were a cuttlefish...
*o*
Senior Member
Posts: 3765
Joined: Fri Apr 08, 2005 10:40 pm
Location: sydney, australia

Post by *o* »

the digital volume control looks to have a good interface, but how deos it work? is it effectively a pot controlled but buttons? if so is there anyway to hook it up to a 555 to make it control the 555?
Penn & Teller wrote:It's BULLS#%@
Skyone
Moderator
Posts: 6390
Joined: Tue Nov 29, 2005 8:35 pm
Location: it is a mystery
Contact:

Post by Skyone »

The volume controller is like a pot, which is a variable resistor. Put that in place of a resistor in the 555 circuit and it will adjust the timer.
codeman
Posts: 314
Joined: Mon Aug 15, 2005 2:29 pm

Post by codeman »

PICs are awesome, so you'll probably end up buying/making a programmer eventually, so why not now? What are the details of the functionality you want and i can tell you how hard it would be to do with a PIC
What I have shown you is reality. What you remember, that is the illusion.

"Say, what does this button do?"

All the dishes rattle in the cupboards when the elephants arrive
*o*
Senior Member
Posts: 3765
Joined: Fri Apr 08, 2005 10:40 pm
Location: sydney, australia

Post by *o* »

ok here is what i want:

a button that turns on a small 12v pum and begins 32 leds strobing at 60hz

one buton which increases the strobing by 1hz

on button which decreases the strobing by 1hz

the first button when pressed while on turns whole system off

possible?

btw does anyone know of any easy/cheap PIC programmers i could build myself?
Penn & Teller wrote:It's BULLS#%@
timmeh87
Senior Member
Posts: 3047
Joined: Mon Nov 14, 2005 10:19 pm
Location: Ontario, Canada

Post by timmeh87 »

you could do that with a pic easier than pie.

i highly reccomend finding a pic that has a 4 or 8 mhz internal oscillator, its so much easier than having to worry about a separate osc. and caps.

also, spending the 40 or so bucks to get a usb ICD2 or something similar is well worth the investment if you plan to use pics often.

http://www.sparkfun.com/commerce/produc ... ducts_id=6

theres a random cheapish one i found, but you can definitely go cheaper. the one i am using is just a tiny bare board.
Image

"Linux is only free if your time is worthless"
*o*
Senior Member
Posts: 3765
Joined: Fri Apr 08, 2005 10:40 pm
Location: sydney, australia

Post by *o* »

ill see if anywhere sells them nearby then ill have a browse of the internet later.

thanks for the help guys
Penn & Teller wrote:It's BULLS#%@
*o*
Senior Member
Posts: 3765
Joined: Fri Apr 08, 2005 10:40 pm
Location: sydney, australia

Post by *o* »

Here is V1 of the circuit R1 and C are yet to be calculated:

Image

Does anyone think this will work?
Penn & Teller wrote:It's BULLS#%@
Post Reply