Chip with simple program for Toy

On Tue, 31 May 2005 12:51:54 -0700, robbbbbby wrote:

hello everybody
i learnt from the forum that it is probably easiest to implement a LED
bargraph by means of an LM39xx... However, are there some manufacturers
that offer a broad range of LED-line designs? for example the number of
LEDs, the size and shape of LEDs, the colours and so on?
thanks a lot for your advise..
have a good day.
rob
http://www.google.com/search?q=bar+graph+led+array

Have Fun!
Rich
 
"Rich Grise" <richgrise@example.net> wrote in message
news:pan.2005.06.03.16.42.19.55037@example.net...
Problem is, that's not a programmer. It's a cable. To make a programmer,
you need both the development board, or actual programmer, and the
applicable software driver, which the seller gives a list of, but
no indication that any of it is included.
Are you sure? I've seen lots of AVR programmers that look just like that.
The protocol is bit-banged on the parallel port pins, so the interface
circuitry is hardly anything and it fits inside the db25 shell. See for
example

http://www.olimex.com/dev/avr-pg2b.html

at 10 USD each, and I know that one works.

Jonathan
 
robbbbbby wrote:
hello everybody
i learnt from the forum that it is probably easiest to implement a LED
bargraph by means of an LM39xx... However, are there some
manufacturers that offer a broad range of LED-line designs? for
example the number of LEDs, the size and shape of LEDs, the colours
and so on?
For hobbyist use the choice may be a bit more limited (though you can build
your own bar in discrete leds of many shapes, sizes & colours).

Some 2-20 led bar modules
http://www.rapidelectronics.co.uk/rkmain.asp?PAGEID=80008 and they'll all
stack for longer bars.

Note there are other bargraph ICs as shown on the page, a lot cheaper than a
3914/5/6 if you only want a 5-high..
 
"petrus bitbyter" <pieterkraltlaatditweg@enditookhccnet.nl> wrote in message
news:429ce532$0$154$3a628fcd@reader2.nntp.hccnet.nl...
"Patrick" <pdebella@aol.com> schreef in bericht
news:1117555926.885143.109690@g44g2000cwa.googlegroups.com...
Hello!

I was wondering if anyone has or knows where I can find a simple, cheap
current sensing circuit that I could use to sense AC currents. I am
currently working on a power control project that will monitor 120 VAC
outlets with a total maximum current of 15 amps. We are currently
working with a current sensor that outputs an AC voltage (actually a
varying DC voltage since it does not drop below zero) from an AC input
current from 0-50A. When the input current is zero the output is about
2.5V. At the full rated input current of 50 amps the sensor output has
a peak voltage swing of about 2.5V which ranges from zero to 5V at the
full 50 amps (swings around the 2.5V q-point).

The current sensor works great, but the problem is that we need to find
out what the actual current is and this poses somewhat of a challenge
since the output of the sensor is a varying DC (sinusoidal) voltage.
We've tried some software techniques to capture the peaks, but it takes
up too much processor time and is therefore not feasible.

Anyone have any ideas or circuits I might be able to try? Any help
will be greatly appreciated.

Patrick


Patrick,

What about the electronic skills of your team? A capacitor is enough to
separate DC from AC although it might be a huge one for 50/60Hz. If that's
not applicable a simple opamp suffices to subtract the 2.5VDC from the
signal leaving the AC-part for further processing. Of course you can find
complete measuring systems on the net. Tektronix sells some great ones but
I bet they are pretty expensive in relation to your budget. Current
sensing devices with Hall effect sensors often has a half Vs offset. So if
you buy one you will have the same problem. AMPLOC makes them for
instance. Some of them however have integrated electronics to remove the
offset.

petrus bitbyter
dragging up my limited analog knowledge ...
how about demodulating the signal, and smoothing/processing the resultant dc
level ?
- use a second ac signal as a reference, using it to control a two-way
analog mux, using that to route either the true or inverse (via inverting
opamp) ac signal.
No doubt there are suitable circuits available on web.
hth
Neil
 
Patrick wrote:
Hello!

I was wondering if anyone has or knows where I can find a simple, cheap
current sensing circuit that I could use to sense AC currents. I am
currently working on a power control project that will monitor 120 VAC
outlets with a total maximum current of 15 amps. We are currently
working with a current sensor that outputs an AC voltage (actually a
varying DC voltage since it does not drop below zero) from an AC input
current from 0-50A. When the input current is zero the output is about
2.5V. At the full rated input current of 50 amps the sensor output has
a peak voltage swing of about 2.5V which ranges from zero to 5V at the
full 50 amps (swings around the 2.5V q-point).

The current sensor works great, but the problem is that we need to find
out what the actual current is and this poses somewhat of a challenge
since the output of the sensor is a varying DC (sinusoidal) voltage.
We've tried some software techniques to capture the peaks, but it takes
up too much processor time and is therefore not feasible.

Anyone have any ideas or circuits I might be able to try? Any help
will be greatly appreciated.

Patrick
I'm not sure I understand your problem. However, take a look at the
AD636. It is a device which will give you a DC output equal to the RMS
value of a waveform. Thus, pass the 2.5V through a capacitor, then run
it into this thingy. You'll need to calibrate it, but it should give you
a good view of the current when coupled with your current sensor.

---
Regards,
Bob Monsen
 
nik-andrejchikov@yandex.ru wrote:
[ÎÉŢĹÇĎ Ď ÜĚĹËÔŇĎÎÉËĹ]

ń ÄŐÍÁŔ ×Ů ×Ů×ĹŰÉ×ÁĹÔ Ë ÎĹĐŇÁ×ÉĚŘÎĎĘ ÇŇŐĐĐĹ. üÔÁ ÇŇŐĐĐÁ Ď ÜĚĹËÔŇĎÎÉËĹ É
ŢĚĹÎŮ ÔĎĚŘËĎ ÇĎ×ĎŇŃÔ ÁÎÇĚÉĘÓËŐŔ ŃÚŮË.
 
Rich Grise wrote:

Problem is, that's not a programmer. It's a cable. To make a
programmer, you need both the development board, or actual
programmer, and the applicable software driver, which the seller
gives a list of, but no indication that any of it is included.
It is not just a cable, It is a cable, a few resistors, a
d-sub-connector, and a connector for the processor board.

It is enough hardware to program an AVR processor.

It is so easy to build that there is no reason to buy one.

The schematic is widespread and well known by AVR users. For example if
you download the BASIC programming program and look in its help file,
there are schematics for this "cable".

The connector used at the processor end is, of course, up to yourself
to choose. The most lightweight solution is no connector at all. Just
solder the wires to the processor circuit during the programming. This
solution takes a minimum of board space on the processor board you are
building/programming.

It is correct to call this "cable" a programmer, as it is the only
hardware necessary.
The programmer software is free to get from the manufacturer and users
of AVR processors.


--
Roger J.
 
"Chris" <cfoley1064@yahoo.com> wrote in message
news:1117843865.974772.181170@g47g2000cwa.googlegroups.com...
.--------------.
| ACS750 |
| |
| |
| |
| |
| | 1N5817 To high Z-in uC ADC
| |\ |
| -| >---o----->|-o----o---
| |/ | | |
| | --- .-.
| | --- | |
| | 0.1uF | | |1M
| | | '-'
'--------------' | |
| |
=== ===
GND GND
Will the leakage through the big power Schottky be a problem here? The
current through the diode is going to be very small, microamps. The
datasheet for the 1N5817 says that the reverse leakage current is around 100
uA at 4 V though. My simulation doesn't rectify; the diode drop is
negligible, in both directions... (but of course it works fine with a 1N4148
or something, or I guess you could make C bigger and R smaller).

I think R*C should be bigger anyways, because with a not-leaky diode there's
still about 0.3 V of ripple on the output for a 1 V amplitude input. I think
the ripple is roughly given by

dV/dT*T = (I/C)/f
= ((Vout/R)/C)/f
= Vout/(R*C*f)
= 3/(1meg*0.1u*60) = 0.5 V which is kind of close

(assuming that the current through R is constant, and assuming that the
capacitor spends almost all the cycle discharging and hardly any time
charging)

Jonathan
 
Patrick wrote:
Hello!

I was wondering if anyone has or knows where I can find a simple, cheap
current sensing circuit that I could use to sense AC currents. I am
currently working on a power control project that will monitor 120 VAC
outlets with a total maximum current of 15 amps. We are currently
working with a current sensor that outputs an AC voltage (actually a
varying DC voltage since it does not drop below zero) from an AC input
current from 0-50A. When the input current is zero the output is about
2.5V. At the full rated input current of 50 amps the sensor output has
a peak voltage swing of about 2.5V which ranges from zero to 5V at the
full 50 amps (swings around the 2.5V q-point).

The current sensor works great, but the problem is that we need to find
out what the actual current is and this poses somewhat of a challenge
since the output of the sensor is a varying DC (sinusoidal) voltage.
We've tried some software techniques to capture the peaks, but it takes
up too much processor time and is therefore not feasible.

Anyone have any ideas or circuits I might be able to try? Any help
will be greatly appreciated.

Patrick
I know people are tired of hearing me ask, but "What are you trying to
accomplish?"
If you have a purely resistive load and a pure voltage sinewave, you can
measure about any parameter of the current waveform and know all the rest.

Problem is that most applications are not even close to that ideal.
In most cases, you have to actually measure the parameter of interest.
Some typical parameters might be peak, average, RMS values. Phase
may or may not be important.

If it's a current sine wave and you can determine the zero crossing
with a comparator and you know the frequency, you know exactly were
the peaks are and you can sample there.

If it's not a current sine wave, you can peak detect and subtract off
the 2.5V either with an op-amp or software.

What do you want to do about noise?
How fast do you need your loop response?

All comes back to, "what do you really want to know about this current
waveform?"
mike


--
Return address is VALID but some sites block emails
with links. Delete this sig when replying.
..
Wanted, PCMCIA SCSI Card for HP m820 CDRW.
FS 500MHz Tek DSOscilloscope TDS540 Make Offer
Wanted 12" LCD for Compaq Armada 7770MT.
Bunch of stuff For Sale and Wanted at the link below.
MAKE THE OBVIOUS CHANGES TO THE LINK
ht<removethis>tp://www.geocities.com/SiliconValley/Monitor/4710/
 
Chris wrote:
Patrick wrote:

Hello!

I was wondering if anyone has or knows where I can find a simple, cheap
current sensing circuit that I could use to sense AC currents. I am
currently working on a power control project that will monitor 120 VAC
outlets with a total maximum current of 15 amps. We are currently
working with a current sensor that outputs an AC voltage (actually a
varying DC voltage since it does not drop below zero) from an AC input
current from 0-50A. When the input current is zero the output is about
2.5V. At the full rated input current of 50 amps the sensor output has
a peak voltage swing of about 2.5V which ranges from zero to 5V at the
full 50 amps (swings around the 2.5V q-point).

The current sensor works great, but the problem is that we need to find
out what the actual current is and this poses somewhat of a challenge
since the output of the sensor is a varying DC (sinusoidal) voltage.
We've tried some software techniques to capture the peaks, but it takes
up too much processor time and is therefore not feasible.

Anyone have any ideas or circuits I might be able to try? Any help
will be greatly appreciated.

Patrick


Hi, Patrick. From your description, I would guess you might have an
Allegro ACS750SCA-050, which has a zero ohm current shunt and attached
Hall effect circuit to detect current going through the shunt. When no
current is going through the shunt, its output is Vcc/2, or 2.5V. When
current is going through the shunt, a voltage is superimposed on this
DC level of +/-40 mV per amp up to +/-50 amps (which gives an amplifier
output of 0.5V to 4.5V). It has a -3dB response at AC current up to
13KHz, and a combined guaranteed accuracy of +/-2% at room temperature.
<snip suggestion>

I agree that a simple scheme may work properly. One thing to factor into
the discussion is that a microprocessor pin is a good way to zero a peak
detector. He can use a shottky diode and cap, like you suggest, but skip
the drain resistor. Before each sample, just use another pin to drain
the cap. Then, make the pin an input, wait a few cycles, and take the
reading.

Another thing to consider is that some micro ADCs want fairly low input
impedance; the PIC 12 and 16 series, for example, want 10k.

Yet another issue is that this won't get him the right value if that
2.5V center voltage drifts around. He can fix that by using a big cap to
make the 5VAC signal be centered at zero. Then, his answer will be
between 0 and 2.5V, minus the drop of the diode.

If he wants to add a couple of cheap opamps, he can eliminate that diode
drop as well by building a simple peak detector. However, that will
involve more external hardware.

None of this really works, however, if the current isn't a sine wave.

---
Regards,
Bob Monsen
 
julian814@hotmail.com wrote:

The only other thing I'd like to know for now is of a good source for
conductive epoxy. I have an old ZX81 computer with a bad membrane
keypad, and I'd like to see if I could make another. Seems the keypads
are hard to come by these days.

Thanks for any advice!
I have a ZX Spectrum, bought 1984.

The keyboard gave up a long time ago.

I built a matrix of wires, the horizontal ones lifted up by small
pieces of foam plastic, from a table tennis racket, by the way.

Under it all I placed a picture of the keyboard somehow, so I could
orient myself.
Each contact point between a horisontal and vertical wire is a key on
the keyboard.
When I touch a wire I push it down one millimeter so it comes into
contact with the wire under it.

The rubber pads lift the wire again if I don't push it down too hard,
so it works quite well. Occasionally I need to move a wire when it gets
stuck but it is good enough for playing a little with this old museum
piece.

The first thing you need is a big picture of the keyboard.
I have a vague memory that I cut a picture of the keyboard into
horisontal strips and moved them slightly in relation to each other, so
the pictures of the keys would fit better into a perpendicular matrix.
The key rows on the Spectrum are placed diagonally over each other.

Attach the picture to a base plate, wood or metal, or pcb board
material.

Lay out bare copper wires in a matrix, fix them with glue and prop up
the horisontal wire between each key with some flexible material.


--
Roger J.
 
quadran@telenet.be wrote:
I want to make some io interface which can read/write 64 bitpatterns
from/to the LPT port. The FIFO must be synchronized
on clock signals TXC and RXC.

SENDING DATA TO LPT:
minimum 64bit memory (to store x datapatterns) FIFO System
*********************
=TXC=======>* byte1-8 (1) *======>TX 8*8bytes LPT PC PORT
* byte1-8 (2) *
* byte1-8 (3) *
DEVICE * byte1-8 (4) *
* byte1-8 (5) *
* byte1-8 (6) *
=TX=64BITS=>* byte1-8 (7) *
*********************

RECEIVING DATA TO LPT:
minimum 64bit memory (to store x datapatterns) FIFO System
*********************
RXC========* byte1-8 (1) *<=====>RX 8*8bytes LPT PC PORT
* byte1-8 (2) *
* byte1-8 (3) *
DEVICE * byte1-8 (4) *
* byte1-8 (5) *
* byte1-8 (6) *
RX=64BITS==* byte1-8 (7) *
*********************

The TXC and RXC is a 25kHz 10% duty cycle TTL block wave

Please help me out with info and partnumbers...

Kind regards, Geert De Coninck, Belgium
As I understand your question, you're not searching for a fifo, but a
Serial/Parallel Shift register like the 74164 and a
Parallel/Serial-Shift register like the 74165.


HTH,
Mark Van Borm
 
PYCTAM wrote:
Hi,

I want to use a ERICSSON T10s board (from disassambled phone with LCD)
in one of my projects. How can I powering up the board? I couldn't do
it by powering up through connector on the board without its battery.

Sincerely,
Rustam Bogubaev
You can't power it up via the connector, but you can when using the
battery-contacts. There's also another possibility by means of a
resistor (approx. 1K) between the T-contact of the battery and Ground.
That way the phone "thinks" there is a battery.


HTH,
Mark Van Borm
 
ShamShoon wrote:

Hello there,
In the book "Fundamentals of Electric Circuits" by Alexander/Sadiku,
the text says that "A loop is said to be independent if it contains at
least one branch which is not part of any other independent loop", I
find this definition misleading, since in the example on the previous
page there's a circuit that has a voltage source and a resistance in
series and those in parallel with a resistor, in parallel with another
resistor, and then in parallel with a current source.
If we apply the definition to the current source and voltage source,
we
get two independent loops one on the right and one on the left,
however
the middle loop shares its two elements (the two parallel resistors),
with both loops, yet it's still independent, which shows that the
definition is not accurate. I found it hard to find a definition of an
independent loop.

Any ideas? Am i missing something?
1
+-----+-----+-----+
| | | |
V R R I
| | | |
R | | |
| | | |
+-----+-----+-----+
2
?

Has been ages and ages, but I would say that 1 and 2 are both branches
that don't belong to the left and the right loops.

--
John MexIT: http://johnbokma.com/mexit/
personal page: http://johnbokma.com/
Experienced programmer available: http://castleamber.com/
Happy Customers: http://castleamber.com/testimonials.html
 
"ShamShoon" <mhelshou@yahoo.com> wrote in message news:1117989523.499267.103060@g47g2000cwa.googlegroups.com...
Hello there,
Hi.
In the book "Fundamentals of Electric Circuits" by Alexander/Sadiku,
the text says that "A loop is said to be independent if it contains at
least one branch which is not part of any other independent loop",
That is a commonly accepted definition.

I find this definition misleading, since in the example on the previous
page there's a circuit that has a voltage source and a resistance in
series and those in parallel with a resistor, in parallel with another
resistor, and then in parallel with a current source.
That description mentions three resistances. Yet below
you mention "the two parallel resistors". I get all three
in parallel from the above description. For discussion, I
propose the following diagram. (View with fixed-width font.)

B1 B12 B2
.--------o--------o-------o-------.
| | | | |
/+\ .-. .-. .-. / \
( ) | | | | | | ( | )
Es \-/ R1| | R3| | R2| | Is \^/
| '-' '-' '-' |
| | | | |
'--------o--------o-------o-------'

If we apply the definition to the current source and voltage source, we
get two independent loops one on the right and one on the left, however
the middle loop shares its two elements (the two parallel resistors),
with both loops, yet it's still independent, which shows that the
definition is not accurate.
Using the above diagram so we can refer to resistors easily,
and pretending R3 does not exist, one set of independed loops is:
(Es B1 R1), (R1 B12 R2), (R2 B2 Is).
Another set would be:
(Es B1 B12 R2), (Is B2 B12 R1), (R1 B12 R2).
Another set would be:
(Es B1 B12 B2 Is), (Es B1 R1), (Is B2 R2).
There are a few more. (factorial(3) altogether)

Let's consider just the first set, which is the one you
appear to find confusing.
The (Es B1 R1) loop is at least one independent loop.
The (R1 B12 R2) loop is independent because it contains at
least one branch (B12 or R2) which is not part of any other
independent loop.
The (R2 B2 Is) loop is independent because it contains at
least one branch (B2 or Is) which is not part of any other
independent loop.
There are no more because all the possible branches
have been included in the loops already listed.

Let's consider the members in the order that leaves
you wondering about the definition.
The (Es B1 R1) loop is at least one independent loop.
The (R2 B2 Is) loop is independent because it contains at
least one branch (Is, B2 or R2) which is not part of any
other independent loop.
The (R1 B12 R2) loop is independent because it contains
at least one branch (B12) which is not part of any other
independent loop.

I found it hard to find a definition of an independent loop.
You found the definition you quoted.

Any ideas? Am i missing something?
Apparently, you have mssed the presence of branch
B12. Branches B1 and B2 are redundant with Es
and Is, so you can eliminate them from consideration.
But branch B12 is not uniquely associated with any
circuit element, so you can eliminate it only if you are
willing to forget what a branch is.

Another clue to your difficulty is this: The order I
first elaborated satisfies the definition even if the B?
branches are left out. Yet the order you mentioned
does not when the B? branches are left out. So it
must be the case that branches and circuit elements
are not the same thing.

--
--Larry Brasfield
email: donotspam_larry_brasfield@hotmail.com
Above views may belong only to me.
 
Larry Brasfield wrote:

"ShamShoon" <mhelshou@yahoo.com> wrote in message
news:1117989523.499267.103060@g47g2000cwa.googlegroups.com...
Hello there,
Hi.
In the book "Fundamentals of Electric Circuits" by Alexander/Sadiku,
the text says that "A loop is said to be independent if it contains
at least one branch which is not part of any other independent loop",

That is a commonly accepted definition.

I find this definition misleading, since in the example on the
previous page there's a circuit that has a voltage source and a
resistance in series and those in parallel with a resistor, in
parallel with another resistor, and then in parallel with a current
source.

That description mentions three resistances. Yet below
you mention "the two parallel resistors".
Yup, the 1st one is "voltage source and a resistance in series"

e.g.:

+-----+-----+-----+
| | | |
V R R I
| | | |
R | | |
| | | |
+-----+-----+-----+


--
John MexIT: http://johnbokma.com/mexit/
personal page: http://johnbokma.com/
Experienced programmer available: http://castleamber.com/
Happy Customers: http://castleamber.com/testimonials.html
 
"John Bokma" <john@castleamber.com> wrote in message
news:Xns966C8D28DD283castleamber@130.133.1.4...
Larry Brasfield wrote:
"ShamShoon" <mhelshou@yahoo.com> wrote in message
news:1117989523.499267.103060@g47g2000cwa.googlegroups.com...
....
I find this definition misleading, since in the example on the
previous page there's a circuit that has a voltage source and a
resistance in series and those in parallel with a resistor, in
parallel with another resistor, and then in parallel with a current
source.

That description mentions three resistances. Yet below
you mention "the two parallel resistors".

Yup, the 1st one is "voltage source and a resistance in series"

e.g.:

+-----+-----+-----+
| | | |
V R R I
| | | |
R | | |
| | | |
+-----+-----+-----+
That's certainly a more sensible way to interpret those words.

--
--Larry Brasfield
email: donotspam_larry_brasfield@hotmail.com
Above views may belong only to me.
 
Larry Brasfield wrote:

"John Bokma" <john@castleamber.com> wrote in message
news:Xns966C8D28DD283castleamber@130.133.1.4...
Larry Brasfield wrote:
"ShamShoon" <mhelshou@yahoo.com> wrote in message
news:1117989523.499267.103060@g47g2000cwa.googlegroups.com...
...
I find this definition misleading, since in the example on the
previous page there's a circuit that has a voltage source and a
resistance in series and those in parallel with a resistor, in
parallel with another resistor, and then in parallel with a current
source.

That description mentions three resistances. Yet below
you mention "the two parallel resistors".

Yup, the 1st one is "voltage source and a resistance in series"

e.g.:

+-----+-----+-----+
| | | |
V R R I
| | | |
R | | |
| | | |
+-----+-----+-----+

That's certainly a more sensible way to interpret those words.
I had to read it a few times, and draw it on paper :)

--
John MexIT: http://johnbokma.com/mexit/
personal page: http://johnbokma.com/
Experienced programmer available: http://castleamber.com/
Happy Customers: http://castleamber.com/testimonials.html
 
On Thu, 02 Jun 2005 23:02:00 +0100, Terry Pinnell
<terrypinDELETE@THESEdial.pipex.com> wrote:

John Fields <jfields@austininstruments.com> wrote:

I've posted a schematic for you at alt.binaries.schematics.electronic
under "Random ON/OFF Timer Circuit".

Nice stuff! I'm hoping the OP will ask you for some narrative, as it
would save me a lot of time <g>.
---
You're in luck! He did, so I posted the circuit description and a
corrected schematic (sigh...) to abse.

--
John Fields
Professional Circuit Designer
 
Hello Bob,

The modern Shure units have tone code squelch. When the mike is "muted"
there is no pop or noise. There will be noise possibly when its first
turned on. You should be be looking at the ULX series in SHure.
Tone squelch is a great concept but even without it isn't such a big
deal to design it "pop free". I had an FM radio that never popped. It
looks at the noise content on the audio signal to determine squelch
action. I wonder why the wireless mikes couldn't do that.

When I repaired radios I sometimes looked at the schematics to see why
they popped. Usually the designers didn't fully study the DC levels.
There cannot be any DC shift or cap charge/discharge when the squelch
kicks in. Other times they ignored the charge injection of the FET path
used for muting.

Regards, Joerg

http://www.analogconsultants.com
 

Welcome to EDABoard.com

Sponsor

Back
Top