gaetan dufourcq írta:
I was develloping my OS on a motherboard integrated in a standard PC case,
with standart supply. Now my OS is ready and I wish embedded the system.
So I would like to know how can I do to use a battery (12V) in place of the
power supply. In fact I wish have the same interface as the notepad's one
with power meter and Low level Battery alerts etc.
Can somenone help me?
First for running from battery: it seems that you would run from 12V DC,
so for instance, a car DC/DC converter could be a solution for you (can
be found at
www.morex.com.tw).
Secondly, what "motherboard integrated in standard PC case" means in
terms of power supply connector? Is it classic AT stlye (two identical
size, one row connectors) or ATX style (20 or 24 pins, two rows
connector)? The DC/DC converter mentioned above has ATX connector,
however with a small cable it can be transformed to AT style (you will
not make use of the 3.3V and the 5VSB signals and you have to short the
power_on pin to GND to make it work. It may sound weird for first read,
ut it is not a big deal at the end). Find more on power connectors here:
AT:
http://www.hardwarebook.net/connector/pc/motherboardpower.html
ATX:
http://www.hardwarebook.net/connector/power/atxpower.html
Things you have to manage: charging your battery (especially when your
equipment is turned on) and measuring its status (I don't have now any
easy solution for that in mind - just an idea to make use of a small
circuit that operates 8 LEDs to measure a car battery and use the LEDs
as input signals of your printer port's data bus; writing a small app
that reads the data bus of the printer port continuously will provide
you a 8 steps linear scale of your battery status --> after reading it
seems very difficult, it is just for brainstorming)
Even I was not able to provide end-to-end solution for your problem, I
hope the above could help you at least where to start.
Regards,
Karoly