Maker Pro
Maker Pro

Can someone check a circuit for me please

L

Larry Green

Jan 1, 1970
0
Active8 said:
On Tue, 21 Oct 2003 17:45:31 -0400, Larry Green said,
Snip

on the 'F628A, RB7-RB4 can be used as interrupts for the switches. you
can also set the weak pullup on those pins and set them to trigger the
interrupt on a falling edge ao that grounding them causes an interrupt.

this way, you don't have to poll the inputs to test for a switch press
and you don't have to debounce. adebounce is usually accomplished by
ignoring pulses after the first for say 50ms. now you have to leave the
interrupt flag set for 50ms IIRC or the switch bounce will trigger
another int.

Hmmm...........ok......thanks for that info Mike, with the above info and
the info provided by Bryon I am now seriously considering this as an option.
My preliminary logic flow chart for the program calls for a polling of each
switch in turn to detect if one has been pressed. I will have to go back to
the multitude of data files I now have on this chip to see which outputs are
able to be used as interupts in this manner. It might make the programming a
whole lot easier (did I mention this is my first attempt at programming a
PIC........there is nothing like jumping in with both feet!)
those pins someone told you to tie high... thats osc in and /mclr. you
don't want the clock in or the /mclr floating. as for setting i/o pins
as output. you don't want them as floating inputs, either. TTL *and*
CMOS inputs are commonly grounded to keep the gates from oscillating,
but setting these i/o pins as outs eliminates the need to tie them to a
reference.

HTH,

Yes it does and thanks, I will connect those pins to the supply rails and
make a note to set the unused pins to outs where applicable.

Thanks,

Larry
 
L

Larry Green

Jan 1, 1970
0
Byron A Jeff said:
-
--> On Tue, 21 Oct 2003 12:43:13 -0400, the renowned "Larry Green"
->
-> >Hi Folks,
-
-Snip
- Snip

-
->
-> Tie RA7 and RA5 to ground or Vdd, set the other unused port pins to be
-> outputs.
-
-Did you mean to +5V or Vdd or did you mean to ground or Vss???

Yes. Spehro was saying to tie them to either rail, and it didn't matter
which one you choose.

Ok...I have it now!.......;-)
- I am confused
-here. I will make all unused pins 'outputs' in the program when I get to
-that stage.

Right.

- Do these need to be connected to ground too

[Think of the Duke Brothers in "Trading Places" when Eddie Murphy asks if
he can break anything else...]


NOOOOOO!!!!!!!!

If for any reason those outputs become +5 you smoke the chip!

ROFL........ok....point taken.......I just had one of those 'DOH!!' moments
as I read that up ^^^^ there! That will teach me to engage brain before
putting typing fingers into gear!
- or is it ok to leave
-them unconnected once they are set as outputs?

They must be unconnected. The only exception is if you use pullup/pulldown
reisistors, and with you battery application, you don't want to do that.

Ok.......now I have it sorted..........once again thanks for the help.

Larry
 
A

Active8

Jan 1, 1970
0
On 21 Oct 2003 18:56:23 -0400, Byron A Jeff said,
-On Tue, 21 Oct 2003 15:51:55 -0400, Larry Green said,
-> Yes the 9V is a battery (PP3 type). The device has to be portable and self
-> contained. There are a couple of reasons I chose that option , I was hoping
-> that the drain would be low enough to give a long life (and I may have to
-> re-visit those resistor values on the push buttons) and they are readily
-> available and not too difficult to connect (trying to avoid reverse polarity
-> ...KISS.......the diode protection is a back up!) plus I was hoping for +5V
-> for quite a while before the voltage dropped too low for operation. I had
-> looked at AA 1.5V battery holders but could only find 2 or 4 cell options
-> and that added to the weight of the project. Would 4.5V be enough to drive
-> the circuit (I know the 16F818 is a low power chip) or would the batteries
-> die too quickly?
->
->
-NiCd batts are very lightweight compared to primary cells.

And with a 1.25V output voltage 4 of them would be 5V! And it could be
rechargable too!

BAJ
right.

since you're here. i'm going to blast a 628A tonight. randy shipped my
order the day he got it.

i built a FULAVP - Friggin' Ugly Little Any Voltage Programmer. it'll
need some refining, but it'll do HVP/LVP and ICSP.

the HDW checked out using tait's FPP and i have a PWM PGM coded for the
first test. FULAVP was just a ULAVP, but i slapped it together with the
wrong gender of DB connector with the board shoved between the rows of
solder cup terms. it ended up with an "F" prefix. next VER gets an
etched board and a PC mount connector. it will be some type of AVP.

brs,
-mike - master of alphabet soup for a moment.
 
A

Active8

Jan 1, 1970
0
The particular pins I mention CANNOT be made into outputs, so I
suggest you tie them to either supply rail.

but if he goes to the 628 which was mentioned as an alternative, RA7
*can* be an out. i don't know the 818, yet.
If a pin *can* become an output, it's better to either leave them open
and set them as outputs early on in the program or tie them to a
supply rail through individual resistors (but that's a bit anal for a
hobby circuit).

or anything using a battery. the other option is to enable the weak
pull-up since the TRIS registers default to inputs on POR. i guess
either way it's an instruction word.

brs,
mike
 
F

Frank Buss

Jan 1, 1970
0
Larry Green said:
Ok......so are we looking at something like a LM2576 here (see the
following url for spec. sheet)

http://www.national.com/ds/LM/LM2576.pdf

Another nice chip, which I plan to use in my next commecial project, is the
MAX756 (perhaps someone has any comments on it?):

http://www.maxim-ic.com/quick_view2.cfm/qv_pk/1167

I've read somewhere that it needs 1.2 V at startup, so with 2 x 1.5 V
batteries you don't have any problems. And you can use rechargable
batteries; with a final discharging voltage of 0.9 V per battery you'll
have at least 1.8 V.
 
B

Byron A Jeff

Jan 1, 1970
0
-
-> -Snip
-> -[And snip even more]
-
-And snipped again
[The snipping continues]

-> -> Also is the 9V a battery? Using a 7805 to regulate is quite wasteful.
-It
-> -> would be better to either power using 3 1.5V alkalines, or to switch to
-> -> something like Roman Black's ultra efficient, ultra cheap, switching
-> -> power supply: http://www.romanblack.com/smps.htm
-> -
-> -Yes the 9V is a battery (PP3 type). The device has to be portable and
-self
-> -contained. There are a couple of reasons I chose that option , I was
-hoping
-> -that the drain would be low enough to give a long life (and I may have to
-> -re-visit those resistor values on the push buttons)
->
-> A cheap power saving trick is use a PIC I/O pin as the power source to
-your
-> switches. Then tie the anode of a diode and a resistor for each switch.
-> Something like this (need a fixed width font to view)

+------------------- PIC I/O pin
|
PIC I/O pin --+---->|----/\/\/\/\/\---------+------/ -------GND
|
| +------------------- PIC I/O pin
| |
+---->|---/\/\/\/\/\----------+------/ -------GND
|
| +------------------- PIC I/O pin
| |
+---->|-----/\/\/\/\/\--------+------/ -------GND

-> Here's how it works: The I/O pin on the left supplies +5V to the circuit
-when
-> on. You can ground it or tri-state it to turn it off. When it's on the PIC
-> supplies a 4.4V (5V-diode drop) signal to the input inputs on the right
-via
-> the resistors. So if no switches are on, each will read a one.
-> Now if a switch is on then it will ground the I/O pin that it is connected
-to.
-> The diodes prevent one switch from affecting the others. So while it adds
-> 3 diodes to the circuit, you eliminate the constant power draw that using
-> a pullup resistor for each switch will create.
-
-OK.......but would I need to do that as the push buttons are of the
-momentary type and will only be 'active' for a split second?

Yes. Buttons are pushed by human beings. That means that even if they
are momentary, they will be 'on' for a significant amount of time, like
milliseconds relative to the operating frequency of the PIC. I can guarantee
you that if you only check the buttons once every 2mS, you'll never miss
a button press. But if in checking you only use one tenth of 1 percent of
the power, you'll enjoy significant savings.
It is not as if
-they are going to be turned on for any length of time. Once the pin has gone
-high there is no need to continue holding the button.

I understand. But the amount of time that you hold the button is significant
relative to the amount of time required to check it. In short while it seems
like a short time to the user, it's an eternity for the PIC application.

-> [SNIP SNIP]

-> -I had
-> -looked at AA 1.5V battery holders but could only find 2 or 4 cell options
-> -and that added to the weight of the project. Would 4.5V be enough to
-drive
-> -the circuit (I know the 16F818 is a low power chip) or would the
-batteries
-> -die too quickly?
->
-> Yes 4.5V would be enough to drive it. However the voltage will drop off.
-6V
-> regulated down to 5 with a switching regulator would give you more overall
-> power.
->
-
-Ok......so are we looking at something like a LM2576 here (see the following
-url for spec. sheet)

That's a possibility. I believe in my first post I pointed you to Roman
Black's 2 transistor SwitchMode Power Supply which performs the same type
of regulation as the LM2576 (BTW the LM2574 in a 8 pin DIP may be a better
choice as you clearly won't need more than 500ma current draw), but with
ubiquitous, inexpensive parts.

-
-http://www.national.com/ds/LM/LM2576.pdf
-
-although the cost may go up going this way as the regulator and auxiliary
-components cost more than the 7805 but then again the savings in batteries
-would probably make up the difference in a short space of time. I suppose
-that switching to 4 x 1.5 AA batteries could also mean that rechargeable
-NiMH batteries could be a possibility too.

Or NiCads.

BAJ
 
T

Tim Hubberstey

Jan 1, 1970
0
Frank said:
Why? It doesn't flow any current through the LED on reverse voltage.

Because 9V exceeds the typical absolute maximum reverse voltage for an
LED so current WILL flow and the LED may be damaged.
But I
would suggest to connect the LED after the 7805, because then the light
doesn't change with lower battery voltage.

But what if he wants the LED brightness to vary with battery voltage as
a measure of battery health?
 
L

Larry Green

Jan 1, 1970
0
Byron A Jeff said:
-
-> -Snip
-> -[And snip even more]
-
-And snipped again
[The snipping continues]
and yet more snipping
->
-> A cheap power saving trick is use a PIC I/O pin as the power source to
-your
-> switches. Then tie the anode of a diode and a resistor for each switch.
-> Something like this (need a fixed width font to view)

+------------------- PIC I/O pin
|
PIC I/O pin --+---->|----/\/\/\/\/\---------+------/ -------GND
|
| +------------------- PIC I/O pin
| |
+---->|---/\/\/\/\/\----------+------/ -------GND
|
| +------------------- PIC I/O pin
| |
+---->|-----/\/\/\/\/\--------+------/ -------GND

-> Here's how it works: The I/O pin on the left supplies +5V to the circuit
-when
-> on. You can ground it or tri-state it to turn it off. When it's on the PIC
-> supplies a 4.4V (5V-diode drop) signal to the input inputs on the right
-via
-> the resistors. So if no switches are on, each will read a one.
-> Now if a switch is on then it will ground the I/O pin that it is connected
-to.
-> The diodes prevent one switch from affecting the others. So while it adds
-> 3 diodes to the circuit, you eliminate the constant power draw that using
-> a pullup resistor for each switch will create.
-
-OK.......but would I need to do that as the push buttons are of the
-momentary type and will only be 'active' for a split second?

Yes. Buttons are pushed by human beings. That means that even if they
are momentary, they will be 'on' for a significant amount of time, like
milliseconds relative to the operating frequency of the PIC. I can guarantee
you that if you only check the buttons once every 2mS, you'll never miss
a button press. But if in checking you only use one tenth of 1 percent of
the power, you'll enjoy significant savings.

-they are going to be turned on for any length of time. Once the pin has gone
-high there is no need to continue holding the button.

I understand. But the amount of time that you hold the button is significant
relative to the amount of time required to check it. In short while it seems
like a short time to the user, it's an eternity for the PIC application.

Ok.......I understand your thinking and I agree with you, even a few
milliseconds are going to seem like an eon to the the chip. Now, in the
example up there ^^^ somewhere you suggest running the switches from an
output pin on the PIC. Does this mean that I will now have to poll those
inputs in the same way I was planning on polling the inputs anyway in the
original plan?

i.e. something along these lines.......

Start Conditions

1. Load start up registers
2. Check PB1 status if low call PB1 routine
3. Check PB2 status if low call PB2 routine
4. Check PB3 status if low call PB3 routine
5. Goto step 2

or will the PIC 'know' that a pin has gone low when the input pin goes from
high to low? Unfortunately I am only just beginning with PICs and I am still
not fully conversant with just what they are capable of (but that will come
with time and experimentation.........hopefully!) Can I also use the same
diodes and resistors (i.e. 1N4002 and 10k) that I had in the original (and
now much changed diagram) or will I now have to recalculate for new values
of each? My thinking here is that if I have to buy parts in 10's, 20's etc I
may as well use them up....lol.
-> [SNIP SNIP]

-> -I had
-> -looked at AA 1.5V battery holders but could only find 2 or 4 cell options
-> -and that added to the weight of the project. Would 4.5V be enough to
-drive
-> -the circuit (I know the 16F818 is a low power chip) or would the
-batteries
-> -die too quickly?
->
-> Yes 4.5V would be enough to drive it. However the voltage will drop off.
-6V
-> regulated down to 5 with a switching regulator would give you more overall
-> power.
->
-
-Ok......so are we looking at something like a LM2576 here (see the following
-url for spec. sheet)

That's a possibility. I believe in my first post I pointed you to Roman
Black's 2 transistor SwitchMode Power Supply which performs the same type
of regulation as the LM2576 (BTW the LM2574 in a 8 pin DIP may be a better
choice as you clearly won't need more than 500ma current draw), but with
ubiquitous, inexpensive parts.

I have looked at Roman Black's page and I really like that option, small
neat and does the job, however, I noticed that all his examples have higher
input voltages than my 4.5-6V that I am looking at now. I checked out all
his site and could not find a contact link to ask him if his circuit would
work on such a low input voltage. I am hoping that it will as that will keep
the costs down and still conserve energy/battery life. I have also looked at
switching out the LEDs in my original design to flashing ones to save yet
more power!

Thanks for your great help Bryon (and all the others), I really appreciate
it as I struggle to get this rusty brain of mine back up to speed.

Larry
 
W

Walter Harley

Jan 1, 1970
0
Larry Green said:
I have looked at Roman Black's page and I really like that option, small
neat and does the job, however, I noticed that all his examples have higher
input voltages than my 4.5-6V that I am looking at now. I checked out all
his site and could not find a contact link to ask him if his circuit would
work on such a low input voltage.

It won't, at least not without modifications. The input voltage has to be
higher than the zener voltage, which is 5.6V. (Simply reducing the zener
voltage might work but I haven't thought it through yet.)
 
S

Spehro Pefhany

Jan 1, 1970
0
Because 9V exceeds the typical absolute maximum reverse voltage for an
LED so current WILL flow and the LED may be damaged.

No significant current will flow with typical garden-variety green
LEDs- >30V breakdown is what I typically see, and if current did flow,
the power dissipation would be limited by the series resistor to
something like 50mW worst-case.
But what if he wants the LED brightness to vary with battery voltage as
a measure of battery health?

Sure.

Best regards,
Spehro Pefhany
 
L

Larry Green

Jan 1, 1970
0
Walter Harley said:
It won't, at least not without modifications. The input voltage has to be
higher than the zener voltage, which is 5.6V. (Simply reducing the zener
voltage might work but I haven't thought it through yet.)
OK.....thanks for the information.

Larry
 
B

Byron A Jeff

Jan 1, 1970
0
-
--> In article <[email protected]>,
-> -
-> -> -Snip
-> -> -[And snip even more]
-> -
-> -And snipped again
-> [The snipping continues]
->
-and yet more snipping
-
-> ->
-> -> A cheap power saving trick is use a PIC I/O pin as the power source to
-> -your
-> -> switches. Then tie the anode of a diode and a resistor for each switch.
-> -> Something like this (need a fixed width font to view)
->
-> +------------------- PIC I/O
-pin
-> |
-> PIC I/O pin --+---->|----/\/\/\/\/\---------+------/ -------GND
-> |
-> | +------------------- PIC I/O
-pin
-> | |
-> +---->|---/\/\/\/\/\----------+------/ -------GND
-> |
-> | +------------------- PIC I/O
-pin
-> | |
-> +---->|-----/\/\/\/\/\--------+------/ -------GND
->
-> -> Here's how it works: The I/O pin on the left supplies +5V to the
-circuit
-> -when
-> -> on. You can ground it or tri-state it to turn it off. When it's on the
-PIC
-> -> supplies a 4.4V (5V-diode drop) signal to the input inputs on the right
-> -via
-> -> the resistors. So if no switches are on, each will read a one.
-> -> Now if a switch is on then it will ground the I/O pin that it is
-connected
-> -to.
-> -> The diodes prevent one switch from affecting the others. So while it
-adds
-> -> 3 diodes to the circuit, you eliminate the constant power draw that
-using
-> -> a pullup resistor for each switch will create.
-> -
-> -OK.......but would I need to do that as the push buttons are of the
-> -momentary type and will only be 'active' for a split second?
->
-> Yes. Buttons are pushed by human beings. That means that even if they
-> are momentary, they will be 'on' for a significant amount of time, like
-> milliseconds relative to the operating frequency of the PIC. I can
-guarantee
-> you that if you only check the buttons once every 2mS, you'll never miss
-> a button press. But if in checking you only use one tenth of 1 percent of
-> the power, you'll enjoy significant savings.
->
-> > It is not as if
-> -they are going to be turned on for any length of time. Once the pin has
-gone
-> -high there is no need to continue holding the button.
->
-> I understand. But the amount of time that you hold the button is
-significant
-> relative to the amount of time required to check it. In short while it
-seems
-> like a short time to the user, it's an eternity for the PIC application.
-
-Ok.......I understand your thinking and I agree with you, even a few
-milliseconds are going to seem like an eon to the the chip. Now, in the
-example up there ^^^ somewhere you suggest running the switches from an
-output pin on the PIC.

Yes. That's the I/O pin on the left side of the circuit.

- Does this mean that I will now have to poll those
-inputs in the same way I was planning on polling the inputs anyway in the
-original plan?

Yes except that you turn the I/O pin high before you check and turn it low
afterwards.

-
-i.e. something along these lines.......
-
- Start Conditions
-
- 1. Load start up registers

1a. Turn Left I/O pin high.
1b. Read in all three button I/O values into a temp register
1c. Turn Left I/O pin either low or off (change to an input).

- 2. Check PB1 status if low call PB1 routine
- 3. Check PB2 status if low call PB2 routine
- 4. Check PB3 status if low call PB3 routine
- 5. Goto step 2
-
-or will the PIC 'know' that a pin has gone low when the input pin goes from
-high to low?

No you have to check it. Someone else suggested using the weak pullups and
possible the change interrupt on PORTB. But even a weak pullup will suck
down battery power.

- Unfortunately I am only just beginning with PICs and I am still
-not fully conversant with just what they are capable of (but that will come
-with time and experimentation.........hopefully!) Can I also use the same
-diodes and resistors (i.e. 1N4002 and 10k) that I had in the original (and
-now much changed diagram) or will I now have to recalculate for new values
-of each? My thinking here is that if I have to buy parts in 10's, 20's etc I
-may as well use them up....lol.

No the 10K and the 1N4002 are fine.

-
->
-> -> [SNIP SNIP]
->
-> -> -I had
-> -> -looked at AA 1.5V battery holders but could only find 2 or 4 cell
-options
-> -> -and that added to the weight of the project. Would 4.5V be enough to
-> -drive
-> -> -the circuit (I know the 16F818 is a low power chip) or would the
-> -batteries
-> -> -die too quickly?
-> ->
-> -> Yes 4.5V would be enough to drive it. However the voltage will drop
-off.
-> -6V
-> -> regulated down to 5 with a switching regulator would give you more
-overall
-> -> power.
-> ->
-> -
-> -Ok......so are we looking at something like a LM2576 here (see the
-following
-> -url for spec. sheet)
->
-> That's a possibility. I believe in my first post I pointed you to Roman
-> Black's 2 transistor SwitchMode Power Supply which performs the same type
-> of regulation as the LM2576 (BTW the LM2574 in a 8 pin DIP may be a better
-> choice as you clearly won't need more than 500ma current draw), but with
-> ubiquitous, inexpensive parts.
->
-
-I have looked at Roman Black's page and I really like that option, small
-neat and does the job, however, I noticed that all his examples have higher
-input voltages than my 4.5-6V that I am looking at now. I checked out all
-his site and could not find a contact link to ask him if his circuit would
-work on such a low input voltage. I am hoping that it will as that will keep
-the costs down and still conserve energy/battery life. I have also looked at
-switching out the LEDs in my original design to flashing ones to save yet
-more power!

not sure. Roman's dropped off the face of the earth. No one has heard from
him in a public online venue in almost a year.

-
-Thanks for your great help Bryon (and all the others), I really appreciate
-it as I struggle to get this rusty brain of mine back up to speed.

No problem.

BAJ
 
A

Active8

Jan 1, 1970
0
On 22 Oct 2003 18:29:20 -0400, Byron A Jeff said,

-
-i.e. something along these lines.......
-
- Start Conditions
-
- 1. Load start up registers

1a. Turn Left I/O pin high.
1b. Read in all three button I/O values into a temp register
1c. Turn Left I/O pin either low or off (change to an input).

- 2. Check PB1 status if low call PB1 routine
- 3. Check PB2 status if low call PB2 routine
- 4. Check PB3 status if low call PB3 routine
- 5. Goto step 2
-
-or will the PIC 'know' that a pin has gone low when the input pin goes from
-high to low?

No you have to check it. Someone else suggested using the weak pullups and
possible the change interrupt on PORTB. But even a weak pullup will suck
down battery power.
ahem...

- Unfortunately I am only just beginning with PICs and I am still
-not fully conversant with just what they are capable of (but that will come
-with time and experimentation.........hopefully!) Can I also use the same
-diodes and resistors (i.e. 1N4002 and 10k) that I had in the original (and
-now much changed diagram) or will I now have to recalculate for new values
-of each? My thinking here is that if I have to buy parts in 10's, 20's etc I
-may as well use them up....lol.

No the 10K and the 1N4002 are fine.
couple of things.

Byron, does your reader display quoted text in a different color? mine
does, except when it quotes you. it can handle ">"s but not "-". it's
really a hard read even without quote colors :-( please change that.

anyway.

the 200uA weak pullup corresponds to a 25k resistor compared to the
540uA you'd get with the 10k Rs in series with the diodes. it can be
turned off almost as fast as the polling bit can. figure steps 1a thru
1c, above take almost as long as switching to RP1, clearing /RBPU, and
going back to page0 and changing INTCON. you'd have to do it twice,
though ;-( checking the switches in the int handler is the same. more on
that in a second.

so that's 200uA x 8 bits = 1.6mA compared to 1.62mA for only three
switches.

using an interrupt also frees up the polling I/O line - the one that
drives the diodes.

nontheless, the above circuit is a good idea. kind of like that 16 key
with 4 i/o lines trick. maybe the number of i/o lines could be reduced
via the same concept.

brs,
mike
 
B

big_al

Jan 1, 1970
0
Byron A Jeff put finger to keyboard and remarked here...
... or to switch to something like Roman Black's ultra
efficient, ultra cheap, switching power supply:
http://www.romanblack.com/smps.htm

Byron, the romanblack site seems to have dropped totally
off of the Internet.

I was able to recover the text of smps.htm from Google's
cache but, alas, none of the images. Google shows a
number of sites that linked to the original romanblack
page but none that mirror it.

Is there any chance you have the images and could post
them to alt.binaries.schematics.electronic?

Or do you know of any sites that mirror the romanblack
regulator circuit?

Cheers,
Alan
 
R

Roy J. Tellason

Jan 1, 1970
0
big_al said:
Byron A Jeff put finger to keyboard and remarked here...


Byron, the romanblack site seems to have dropped totally
off of the Internet.

That's funny, as I was just able to access it within the past few
minutes...

But this is why I save local copies of lots of stuff. :)
I was able to recover the text of smps.htm from Google's
cache but, alas, none of the images. Google shows a
number of sites that linked to the original romanblack
page but none that mirror it.

Is there any chance you have the images and could post
them to alt.binaries.schematics.electronic?

Or do you know of any sites that mirror the romanblack
regulator circuit?

It may be that your inability to access the site was a temporary matter? Or
perhaps it was a failure in the nameserver that you're using, and this is
why I didn't have any trouble. In any case, the site was there for me...
 
L

Larry Green

Jan 1, 1970
0
big_al said:
Byron A Jeff put finger to keyboard and remarked here...


Byron, the romanblack site seems to have dropped totally
off of the Internet.

I was able to recover the text of smps.htm from Google's
cache but, alas, none of the images. Google shows a
number of sites that linked to the original romanblack
page but none that mirror it.

Is there any chance you have the images and could post
them to alt.binaries.schematics.electronic?

Or do you know of any sites that mirror the romanblack
regulator circuit?

Cheers,
Alan
I found it here......... http://www.romanblack.com/

HTH,

Larry
 
A

Active8

Jan 1, 1970
0
I found it here......... http://www.romanblack.com/

HTH,

Larry
if that switcher does to your circuits what his EE Draw did to my
monitor you'll be lucky. all it did was send my monitor into power
suspend after displaying some scary shit that i'm sure a cheap
monitor would have hated.

ctrl-c didn't seem to help but the three-finger salute woke up the
monitor.

well, i guess the switcher's been tested harder than his software
:)

oh, it's for 600x800 res. gee, i never wrote a GUI that needed a
low res. just GUIs that need more real estate and never one that
put the monitor to sleep. guy must be a DOS or BIOS programmer.
using real-mode interrupts is dangerous these days.

brs,
mike
 
L

Larry Green

Jan 1, 1970
0
Active8 said:
if that switcher does to your circuits what his EE Draw did to my
monitor you'll be lucky. all it did was send my monitor into power
suspend after displaying some scary shit that i'm sure a cheap
monitor would have hated.

ctrl-c didn't seem to help but the three-finger salute woke up the
monitor.

well, i guess the switcher's been tested harder than his software
:)

oh, it's for 600x800 res. gee, i never wrote a GUI that needed a
low res. just GUIs that need more real estate and never one that
put the monitor to sleep. guy must be a DOS or BIOS programmer.
using real-mode interrupts is dangerous these days.
Hmmmmmm...........strange....... it loads just fine here at 1024 x 768 and
high res.

Larry
 
A

Active8

Jan 1, 1970
0
Hmmmmmm...........strange....... it loads just fine here at 1024 x 768 and
high res.

Larry
i'm at 1280x1024 with a matrox card. 500MB ram and 20 winders open.
oh well. the thing only draws boxes anyway, right?

mike
 
L

Larry Green

Jan 1, 1970
0
Hi Folks,

Many thanks to those who responded to my initial request as it certainly
helped me in the right direction. After a lot of thought and many enquiries
with manufacturers I decided not to go with the 9V battery and linear
regulator in an effort to conserve energy (this is a battery powered project
after all). My latest design uses a charge pump in the power supply line,
flashing LEDs in place of the 'static' ones and I took Bryon's advice and
ran the push buttons from an output on the PIC.

The new circuit can be found at the address below.....

http://www3.sympatico.ca/larry.green/circuit_diagram_v3.gif

If anyone sees any errors please shout up as I am still rusty at this after
many years away from the hobby. I was a little concerned with the
connections for the 10uF cap between pins 2 and 8 on the charge pump. My
electronic theory failed me (rusty brain syndrome) and I wasn't sure if I
have it right or if the cap and pin 8 could both be connected diectly to
ground (i.e. the line from pin 4). The caps will be SM type and the entire
circuit will be mounted on a 'surf board' which in turn will be attached to
the vero board the main circuit will be built on. There is not a lot of room
for mounting on the 'surf board' so placement is going to be a key factor.

If it helps the data sheet for the charge pump can be found here........

http://www.microchip.com/download/lit/pline/analog/power/charpump/21752a.pdf

Their example of a battery powered circuit is shown at the top of page 12.

Once I have this finally sorted out I can turn my hand to writing the
program for it and no doubt I will have more questions then.

Thanks for looking.

Larry Green VE3YET
 
Top