Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.
Also, wiring up a whole bunch of components, switching them out because something didn't work right, recalculating, etc, is less doable and FAR more risky to my brain. If I want to crank something out real quick, I prototype on the MCUs. Then, if I want something (a lot) cheaper, I would then move it to the analog world. Well, probably not, but you get my point. Again with the religion.

I think I agree with you, in theory, though in practice, I have learned a LOT by breadboarding. It's fun to prototype circuits with physical parts -- it feels like the next step up from LEGO. In practice it's probably much more practical, faster, and cheaper to write code for an MCU and then just modify the code until the project works. But (I think) it's more fun to physically plug and unplug different components.

I was one of those kids that played with LEGO since I was about 5 years old, and when I was about 12, I got a Radio Shack electronics kit (with the little sproingy terminals). I knew what a multivibrator was long before I knew what an actual vibr-- *ahem*. Anyways. One of my favourite projects was also one of the most expensive and impractical: I breadboarded a digital clock entirely out of discrete TTL chips. A 555 timer for the 1 Hz oscillator, driving a series of counters and flip flops, driving a set of 7447 decoders that in turn drove a set of 7-segment LEDs. The thing consumed so much power that it killed a set of AA batteries in about 45 minutes. But boy, did I learn a lot doing it!

I confess that I've never actually managed to start experimenting with MCU's. I keep meaning to, but I've had far too many other projects on the go... but participating in this thread has awoken my inner geek, and perhaps it's time to buy an Arduino or Basic Stamp board...
 
It's fun to prototype circuits with physical parts -- it feels like the next step up from LEGO.

Sounds like you might enjoy an FPGA kit too. They are more expensive than the MCU kits, but you can basically build up complex logic circuits till the cows come home. They're physical parts, just teeny tiny ones. :p

Something like this: http://www.sparkfun.com/products/8595 (EDIT: or this http://www.digilentinc.com/Products/Detail.cfm?NavPath=2,400,790&Prod=BASYS2)

B
 
Now I just have to find a good 9-12 setting switch which isnt too big. The few ive ordered ended up being really big.

I found a nice tiny one, but its continuous and not stopped, which would be nice. Its not so much the size, but the thickness from mount to beginning of the pins on bottom. Anything less than 1/2" seems to be hard.
 
Ok a little more progress and this does involve programming.

Looks like I am gonna try a hex rotary switch to a PIC controller which will run a darlington type driver for a set period time. The driver turns the magnet on/off.

Basic newb question...what now? I believe i could use an 8 pin PIC but how to program it and honestly, how complicated would such code be?

Read HEX position when power is applied to circuit, understand setting equals a time value for the output running the driver of the magnet.
 
I believe i could use an 8 pin PIC but how to program it and honestly, how complicated would such code be?

Shouldn't be very hard at all, but you will need to get a "starter kit" from somewhere that will let you program it. If you are staying low volume and don't want to make your own PCB you'll need to identify the pre-existing board you want to use and select the right programmer for that.

I'd go for an SPI compatible hex rotary switch myself as it could simplify some of the code.

B
 
After programming the PIC, wiring it to the switch, any resistors, all that I can do on a blank breadboard.

This looks like a programmer I could use... http://www.sparkfun.com/products/9667

Is programming it as "simple" as reading input on a pin or 3, understanding what of 10 (or whatever) positions the switch is at, and then writing code to output power along other pins?
 
After programming the PIC, wiring it to the switch, any resistors, all that I can do on a blank breadboard.

This looks like a programmer I could use... http://www.sparkfun.com/products/9667

Is programming it as "simple" as reading input on a pin or 3, understanding what of 10 (or whatever) positions the switch is at, and then writing code to output power along other pins?

At that price, I'd get one of these full kits: DV164121 or DV64120 from Microchip Direct. You get training materials as well and could probably even use their $24 board as your deliverable (build your driver in the breadboard region on the eval kit PCB.

B
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.