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

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

Post by Skyone » Fri Aug 11, 2006 6:10 am

Search digikey for a digital potentiometer under IC's. There are 1400 matches I think. Those are some none-PIC choices!

User avatar
timmeh87
Senior Member
Posts:3047
Joined:Mon Nov 14, 2005 10:19 pm
Location:Ontario, Canada

Post by timmeh87 » Fri Aug 11, 2006 7:36 am

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"

User avatar
blackbox_dev
Senior Member
Posts:1906
Joined:Sun Jan 15, 2006 5:19 pm
Location:Formerly known as iam7805

Post by blackbox_dev » Fri Aug 11, 2006 7:41 am

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...

User avatar
*o*
Senior Member
Posts:3765
Joined:Fri Apr 08, 2005 10:40 pm
Location:sydney, australia

Post by *o* » Fri Aug 11, 2006 4:24 pm

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#%@

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

Post by Skyone » Fri Aug 11, 2006 7:11 pm

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.

User avatar
codeman
Posts:314
Joined:Mon Aug 15, 2005 2:29 pm
Contact:

Post by codeman » Fri Aug 11, 2006 8:56 pm

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

User avatar
*o*
Senior Member
Posts:3765
Joined:Fri Apr 08, 2005 10:40 pm
Location:sydney, australia

Post by *o* » Sat Aug 12, 2006 1:17 am

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#%@

User avatar
timmeh87
Senior Member
Posts:3047
Joined:Mon Nov 14, 2005 10:19 pm
Location:Ontario, Canada

Post by timmeh87 » Sat Aug 12, 2006 10:29 am

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"

User avatar
*o*
Senior Member
Posts:3765
Joined:Fri Apr 08, 2005 10:40 pm
Location:sydney, australia

Post by *o* » Sat Aug 12, 2006 4:38 pm

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#%@

User avatar
*o*
Senior Member
Posts:3765
Joined:Fri Apr 08, 2005 10:40 pm
Location:sydney, australia

Post by *o* » Mon Aug 14, 2006 5:18 am

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