Hi,
I am planning to build a custom circuit board for a homemade server I am building. It's a standard computer, and will run linux.
I have access to build proper PCBs at the local college, and I live in the UK - So I usually buy parts from Rapid Electronics, Maplin, or CPC.
Okay, so I was looking at the PICAXE controllers, (www.picaxe.co.uk) and they look pretty good. I want to do the following things with a picaxe chip, and if you can help me out with guides, circuit layouts, ideas, products, etc.
- Connect it to the ATX +5v standby power line so it is powered all the time the PC is plugged in.
- Have it light a tri-colour led orange (both green and red connected) all the time it is recieving power, and that an optoisolator connected to the mobos power header will be connected up to make the LED go green when the computer is on.... so basically, that bit runs in the background all the time looping, and it would work something like this:
(made up code language)
- Have a key switch connected to it, which will control a red LED and an opto-isolator which is cutting into the mobo's power button circuit. code something like (runs in loop all the time):
so, which PICAXE controller and external parts do you think I'll need? I think probably one of the 18X series would be enough.
Thanks,
computer
I am planning to build a custom circuit board for a homemade server I am building. It's a standard computer, and will run linux.
I have access to build proper PCBs at the local college, and I live in the UK - So I usually buy parts from Rapid Electronics, Maplin, or CPC.
Okay, so I was looking at the PICAXE controllers, (www.picaxe.co.uk) and they look pretty good. I want to do the following things with a picaxe chip, and if you can help me out with guides, circuit layouts, ideas, products, etc.
- Connect it to the ATX +5v standby power line so it is powered all the time the PC is plugged in.
- Have it light a tri-colour led orange (both green and red connected) all the time it is recieving power, and that an optoisolator connected to the mobos power header will be connected up to make the LED go green when the computer is on.... so basically, that bit runs in the background all the time looping, and it would work something like this:
(made up code language)
Code:
if mobopowerheader is off, then light the green and the red output
else, if mobopowerheader is on, then light the green output
Code:
if keyswitch is on, then light the red LED and cut the power to the opto, so it stops the computer from being booted
else, if keyswitch is off, then don't light the red led, and allow power to boot the computer
so, which PICAXE controller and external parts do you think I'll need? I think probably one of the 18X series would be enough.
Thanks,
computer