Chip with simple program for Toy

"John Fields" <jfields@austininstruments.com> schreef in bericht
news:asari1huban1675d311qo85na5o71ivkiv@4ax.com...
On Sat, 17 Sep 2005 18:09:58 -0500, John Fields
jfields@austininstruments.com> wrote:


Aaarrghhh!!!

I forgot the fourth LED, and the 7555's RESET is negative true...

7555
+-------+
+--|TH OUT|O-+
| |___ _| |
+-O|DIS R|O----Vcc
| +-------+ | Vcc
| | Vcc |
+----[POT]<---+ +-----+ | [100K]
| | | _| | |
| 1M | +----|D Q| | |
| | | | _| | |
[1ľF] +------|> S|O------+----+
| | | | _| | | |
| | | +--|Q R|O--+ | [0.1ľF]
| | | | +-----+ | | |
| | | | HC74/2 | | GND
+-[<LED]--[R]-----+ | |
| | | | | |
| | | | +-----+ | |
| | | +--|D | | |
| | | | _| | |
| +------|> S|O------+
| | | | _| | |
| | | +--|Q R|O--+ |
| | | | +-----+ | |
| | | | HC74/2 | |
+-[<LED]--[R]-----+ | |
| | | | | |
| | | | +-----+ | |
| | | +--|D | | |
| | | | _| | |
| +------|> S|O--+ |
| | | | _| | |
| | | +--|Q R|O------+
| | | | +-----+ | |
| | | | HC74/2 | |
+-[<LED]--[R]-----+ | |
| | | | | |
| | | | +-----+ | |
| | | +--|D | | |
| | | | _| | |
| +-|----|> S|O--+ |
| | | _| |
+-[<LED]--[R]---+----|Q R|O------+
| +-----+
GND HC74/2

Also, a better way to run the LEDs would be off of the Q's. The
starting (and running) sequence could be made the same as if they
were being driven by the Q's by complementing the SETs and RESETs,
but there'd no LED loads on the Q's and, consequently, no problem
with logic input thresholds being load dependent.

Wire it up the way it's shown and if you have problems with it, post
back and I'll be happy to help you get it right.

---
More problems.

HC74's aren't supposed to run on 9V, so you'd have to use something
like a 78L05 to get that 9V down to 5V if you used HCMOS, and
recalculate the LED series R's.

--
John Fields
Professional Circuit Designer

Once you have a 555 clock running you can hook up an old CD4013B like drawn
below. This type of components runs on power supplies from 3 to 20V. Of
course you have at least one problem left as these type of components can
sink only a few mA of current. So your LEDs will be pretty dim or you have
to use high efficiency LEDs. The series resistors can also be much lower
then calculated as the outputs have an internal resistor inside. The best
thing you can do is using an extra IC, a CD4050B. This one contains six
buffers which are able to sink enough current to drive a LED.


Vcc 3-20V +-----+-----+-----+-----
| | | |
.-. .-. .-. .-.
| | | | | | | |
| | | | | | | |
'-' '-' '-' '-'
| | | |
| | | |
V V V V
- - - -
| | | |
| | | |
| +--------+ |
| | | |
| | +--------------+
.----. | | .---- | |
+-----|D0 Q|---+--|-----|D1 Q|---+ |
| | _| | | _| |
| +--|> Q|o-----+ +--|> Q|o-----+
| | '----' | '----' |
| | CD4013B(a) | CD4013B(b) |
Clock | | | |
----------+-----------------+ |
| |
+-----------------------------------+
created by Andy´s ASCII-Circuit v1.24.140803 Beta www.tech-chat.de

petrus bitbyter
 
On Sun, 18 Sep 2005 23:22:03 +0200, "petrus bitbyter"
<pieterkraltlaatditweg@enditookhccnet.nl> wrote:


Once you have a 555 clock running you can hook up an old CD4013B like drawn
below. This type of components runs on power supplies from 3 to 20V. Of
course you have at least one problem left as these type of components can
sink only a few mA of current. So your LEDs will be pretty dim or you have
to use high efficiency LEDs. The series resistors can also be much lower
then calculated as the outputs have an internal resistor inside. The best
thing you can do is using an extra IC, a CD4050B. This one contains six
buffers which are able to sink enough current to drive a LED.


Vcc 3-20V +-----+-----+-----+-----
| | | |
.-. .-. .-. .-.
| | | | | | | |
| | | | | | | |
'-' '-' '-' '-'
| | | |
| | | |
V V V V
- - - -
| | | |
| | | |
| +--------+ |
| | | |
| | +--------------+
.----. | | .---- | |
+-----|D0 Q|---+--|-----|D1 Q|---+ |
| | _| | | _| |
| +--|> Q|o-----+ +--|> Q|o-----+
| | '----' | '----' |
| | CD4013B(a) | CD4013B(b) |
Clock | | | |
----------+-----------------+ |
| |
+-----------------------------------+
---
Ah, yes... the quadrature encoder! Good one! It didn't even cross
my mind. I must be slipping...


--
John Fields
Professional Circuit Designer
 
Hi I would have used a 555 with a binary up down counter.
"John Fields" <jfields@austininstruments.com> wrote in message
news:dh7ti15gi1i9ll5d9kmbrgvbbnsljbpejb@4ax.com...
On Sun, 18 Sep 2005 23:22:03 +0200, "petrus bitbyter"
pieterkraltlaatditweg@enditookhccnet.nl> wrote:


Once you have a 555 clock running you can hook up an old CD4013B like
drawn
below. This type of components runs on power supplies from 3 to 20V. Of
course you have at least one problem left as these type of components can
sink only a few mA of current. So your LEDs will be pretty dim or you have
to use high efficiency LEDs. The series resistors can also be much lower
then calculated as the outputs have an internal resistor inside. The best
thing you can do is using an extra IC, a CD4050B. This one contains six
buffers which are able to sink enough current to drive a LED.


Vcc 3-20V +-----+-----+-----+-----
| | | |
.-. .-. .-. .-.
| | | | | | | |
| | | | | | | |
'-' '-' '-' '-'
| | | |
| | | |
V V V V
- - - -
| | | |
| | | |
| +--------+ |
| | | |
| | +--------------+
.----. | | .---- | |
+-----|D0 Q|---+--|-----|D1 Q|---+ |
| | _| | | _| |
| +--|> Q|o-----+ +--|> Q|o-----+
| | '----' | '----' |
| | CD4013B(a) | CD4013B(b) |
Clock | | | |
----------+-----------------+ |
| |
+-----------------------------------+

---
Ah, yes... the quadrature encoder! Good one! It didn't even cross
my mind. I must be slipping...


--
John Fields
Professional Circuit Designer
 
On Mon, 19 Sep 2005 14:35:02 GMT, "eric" <ericgundersen1@mchsi.com>
wrote:

Hi I would have used a 555 with a binary up down counter.
---
To do what?

--
John Fields
Professional Circuit Designer
 
I want to write datasheet for a product.
Is there any software support typical datasheet writing?
First they ask for a specialized IC for the slightest little thing and
now the same for writing- sort of pathetic.
 
"John Fields" <jfields@austininstruments.com> schreef in bericht
news:dh7ti15gi1i9ll5d9kmbrgvbbnsljbpejb@4ax.com...
On Sun, 18 Sep 2005 23:22:03 +0200, "petrus bitbyter"
pieterkraltlaatditweg@enditookhccnet.nl> wrote:


Once you have a 555 clock running you can hook up an old CD4013B like
drawn
below. This type of components runs on power supplies from 3 to 20V. Of
course you have at least one problem left as these type of components can
sink only a few mA of current. So your LEDs will be pretty dim or you have
to use high efficiency LEDs. The series resistors can also be much lower
then calculated as the outputs have an internal resistor inside. The best
thing you can do is using an extra IC, a CD4050B. This one contains six
buffers which are able to sink enough current to drive a LED.


Vcc 3-20V +-----+-----+-----+-----
| | | |
.-. .-. .-. .-.
| | | | | | | |
| | | | | | | |
'-' '-' '-' '-'
| | | |
| | | |
V V V V
- - - -
| | | |
| | | |
| +--------+ |
| | | |
| | +--------------+
.----. | | .---- | |
+-----|D0 Q|---+--|-----|D1 Q|---+ |
| | _| | | _| |
| +--|> Q|o-----+ +--|> Q|o-----+
| | '----' | '----' |
| | CD4013B(a) | CD4013B(b) |
Clock | | | |
----------+-----------------+ |
| |
+-----------------------------------+

---
Ah, yes... the quadrature encoder! Good one! It didn't even cross
my mind. I must be slipping...


--
John Fields
Professional Circuit Designer
And You call yourself a Professional Circuit Designer???
Ok, most of the time we have solutions that are not suitable for a beginner
(PIC 10F series?).

Alexander
A.C.E. (Applied Communications Engineer)
 
On Mon, 19 Sep 2005 17:42:01 +0200, "Alexander"
<electricdummy@hotmail.com> wrote:

"John Fields" <jfields@austininstruments.com> schreef in bericht
news:dh7ti15gi1i9ll5d9kmbrgvbbnsljbpejb@4ax.com...
On Sun, 18 Sep 2005 23:22:03 +0200, "petrus bitbyter"
pieterkraltlaatditweg@enditookhccnet.nl> wrote:


Once you have a 555 clock running you can hook up an old CD4013B like
drawn
below. This type of components runs on power supplies from 3 to 20V. Of
course you have at least one problem left as these type of components can
sink only a few mA of current. So your LEDs will be pretty dim or you have
to use high efficiency LEDs. The series resistors can also be much lower
then calculated as the outputs have an internal resistor inside. The best
thing you can do is using an extra IC, a CD4050B. This one contains six
buffers which are able to sink enough current to drive a LED.


Vcc 3-20V +-----+-----+-----+-----
| | | |
.-. .-. .-. .-.
| | | | | | | |
| | | | | | | |
'-' '-' '-' '-'
| | | |
| | | |
V V V V
- - - -
| | | |
| | | |
| +--------+ |
| | | |
| | +--------------+
.----. | | .---- | |
+-----|D0 Q|---+--|-----|D1 Q|---+ |
| | _| | | _| |
| +--|> Q|o-----+ +--|> Q|o-----+
| | '----' | '----' |
| | CD4013B(a) | CD4013B(b) |
Clock | | | |
----------+-----------------+ |
| |
+-----------------------------------+

---
Ah, yes... the quadrature encoder! Good one! It didn't even cross
my mind. I must be slipping...


--
John Fields
Professional Circuit Designer

And You call yourself a Professional Circuit Designer???
---
Yes, of course. Why shouldn't I?
---

Ok, most of the time we have solutions that are not suitable for a beginner
(PIC 10F series?).
---
Sounds vaguely patronizing. What do you mean?

--
John Fields
Professional Circuit Designer
 
"John Fields" <jfields@austininstruments.com> schreef in bericht
news:eek:vuti1lvo8g52oq97laus98nucrmvt8c8j@4ax.com...
On Mon, 19 Sep 2005 17:42:01 +0200, "Alexander"
electricdummy@hotmail.com> wrote:


"John Fields" <jfields@austininstruments.com> schreef in bericht
news:dh7ti15gi1i9ll5d9kmbrgvbbnsljbpejb@4ax.com...
On Sun, 18 Sep 2005 23:22:03 +0200, "petrus bitbyter"
pieterkraltlaatditweg@enditookhccnet.nl> wrote:


Once you have a 555 clock running you can hook up an old CD4013B like
drawn
below. This type of components runs on power supplies from 3 to 20V. Of
course you have at least one problem left as these type of components
can
sink only a few mA of current. So your LEDs will be pretty dim or you
have
to use high efficiency LEDs. The series resistors can also be much lower
then calculated as the outputs have an internal resistor inside. The
best
thing you can do is using an extra IC, a CD4050B. This one contains six
buffers which are able to sink enough current to drive a LED.


Vcc 3-20V +-----+-----+-----+-----
| | | |
.-. .-. .-. .-.
| | | | | | | |
| | | | | | | |
'-' '-' '-' '-'
| | | |
| | | |
V V V V
- - - -
| | | |
| | | |
| +--------+ |
| | | |
| | +--------------+
.----. | | .---- | |
+-----|D0 Q|---+--|-----|D1 Q|---+ |
| | _| | | _| |
| +--|> Q|o-----+ +--|> Q|o-----+
| | '----' | '----' |
| | CD4013B(a) | CD4013B(b) |
Clock | | | |
----------+-----------------+ |
| |
+-----------------------------------+

---
Ah, yes... the quadrature encoder! Good one! It didn't even cross
my mind. I must be slipping...


--
John Fields
Professional Circuit Designer

And You call yourself a Professional Circuit Designer???

---
Yes, of course. Why shouldn't I?
---

Ok, most of the time we have solutions that are not suitable for a
beginner
(PIC 10F series?).

---
Sounds vaguely patronizing. What do you mean?

--
John Fields
Professional Circuit Designer
I didn't mean it as patronizing just as fun.
As more experienced designers we might more easily add a programmable
device.
Someone who just starts cannot do this because the programming is too
difficult.
I sometimes see a beginner add several chips with a cost of $15 or more
which can easily be replaced by one FPGA or MicroController with a total
cost of $5, and this makes the design also more flexible.
 
On Mon, 19 Sep 2005 20:26:32 +0200, "Alexander"
<electricdummy@hotmail.com> wrote:

"John Fields" <jfields@austininstruments.com> schreef in bericht
news:eek:vuti1lvo8g52oq97laus98nucrmvt8c8j@4ax.com...
On Mon, 19 Sep 2005 17:42:01 +0200, "Alexander"
electricdummy@hotmail.com> wrote:


"John Fields" <jfields@austininstruments.com> schreef in bericht
news:dh7ti15gi1i9ll5d9kmbrgvbbnsljbpejb@4ax.com...
On Sun, 18 Sep 2005 23:22:03 +0200, "petrus bitbyter"
pieterkraltlaatditweg@enditookhccnet.nl> wrote:


Once you have a 555 clock running you can hook up an old CD4013B like
drawn
below. This type of components runs on power supplies from 3 to 20V. Of
course you have at least one problem left as these type of components
can
sink only a few mA of current. So your LEDs will be pretty dim or you
have
to use high efficiency LEDs. The series resistors can also be much lower
then calculated as the outputs have an internal resistor inside. The
best
thing you can do is using an extra IC, a CD4050B. This one contains six
buffers which are able to sink enough current to drive a LED.


Vcc 3-20V +-----+-----+-----+-----
| | | |
.-. .-. .-. .-.
| | | | | | | |
| | | | | | | |
'-' '-' '-' '-'
| | | |
| | | |
V V V V
- - - -
| | | |
| | | |
| +--------+ |
| | | |
| | +--------------+
.----. | | .---- | |
+-----|D0 Q|---+--|-----|D1 Q|---+ |
| | _| | | _| |
| +--|> Q|o-----+ +--|> Q|o-----+
| | '----' | '----' |
| | CD4013B(a) | CD4013B(b) |
Clock | | | |
----------+-----------------+ |
| |
+-----------------------------------+

---
Ah, yes... the quadrature encoder! Good one! It didn't even cross
my mind. I must be slipping...


--
John Fields
Professional Circuit Designer

And You call yourself a Professional Circuit Designer???

---
Yes, of course. Why shouldn't I?
---

Ok, most of the time we have solutions that are not suitable for a
beginner
(PIC 10F series?).

---
Sounds vaguely patronizing. What do you mean?

--
John Fields
Professional Circuit Designer

I didn't mean it as patronizing just as fun.
As more experienced designers we might more easily add a programmable
device.
Someone who just starts cannot do this because the programming is too
difficult.
I sometimes see a beginner add several chips with a cost of $15 or more
which can easily be replaced by one FPGA or MicroController with a total
cost of $5, and this makes the design also more flexible.
---
I understand the fascination with microcontrollers, but in an
application where one isn't warranted, it's just wasteful to design
one in. Consider the OP's application, a simple four-position
marquee scroller, and it becomes evident (to me, anyway) that $1 for
a PIC VS about fifty cents' worth of glue logic for the same
function makes the PIC unattractive. Plus, even with a free
programmer and development system there's still the learning curve
to climb.


--
John Fields
Professional Circuit Designer
 
"Alexander" <electricdummy@hotmail.com> schreef in bericht
news:dgmm81$f2f$1@news1.zwoll1.ov.home.nl...
"John Fields" <jfields@austininstruments.com> schreef in bericht
news:dh7ti15gi1i9ll5d9kmbrgvbbnsljbpejb@4ax.com...
On Sun, 18 Sep 2005 23:22:03 +0200, "petrus bitbyter"
pieterkraltlaatditweg@enditookhccnet.nl> wrote:


Once you have a 555 clock running you can hook up an old CD4013B like
drawn
below. This type of components runs on power supplies from 3 to 20V. Of
course you have at least one problem left as these type of components can
sink only a few mA of current. So your LEDs will be pretty dim or you
have
to use high efficiency LEDs. The series resistors can also be much lower
then calculated as the outputs have an internal resistor inside. The best
thing you can do is using an extra IC, a CD4050B. This one contains six
buffers which are able to sink enough current to drive a LED.


Vcc 3-20V +-----+-----+-----+-----
| | | |
.-. .-. .-. .-.
| | | | | | | |
| | | | | | | |
'-' '-' '-' '-'
| | | |
| | | |
V V V V
- - - -
| | | |
| | | |
| +--------+ |
| | | |
| | +--------------+
.----. | | .---- | |
+-----|D0 Q|---+--|-----|D1 Q|---+ |
| | _| | | _| |
| +--|> Q|o-----+ +--|> Q|o-----+
| | '----' | '----' |
| | CD4013B(a) | CD4013B(b) |
Clock | | | |
----------+-----------------+ |
| |
+-----------------------------------+

---
Ah, yes... the quadrature encoder! Good one! It didn't even cross
my mind. I must be slipping...


--
John Fields
Professional Circuit Designer

And You call yourself a Professional Circuit Designer???
Ok, most of the time we have solutions that are not suitable for a
beginner (PIC 10F series?).

Alexander
A.C.E. (Applied Communications Engineer)
So why shouldn't he call himself a Professional Circuit Designer? He often
contributes circuits in the electronics newsgroups.

PIC10F2xx will be suitable for fixed frequency. I'd go for a 12F675 because
there's no need for extra components but one potentiometer for the variable
frequency that was asked for.

The point is however that the OP seems to have hardly any skills in
electronics so I doubt whether he can reed the schematics we provided.
That's not to blame the OP. After all this is a "basics" group so he put a
good question on the right place. But that's also why I try to keep it as
simple as possible and leave it to the OP to ask further if he needs to.

petrus bitbyter
 
"Alexander" <electricdummy@hotmail.com> schreef in bericht
news:dgmm81$f2f$1@news1.zwoll1.ov.home.nl...
"John Fields" <jfields@austininstruments.com> schreef in bericht
news:dh7ti15gi1i9ll5d9kmbrgvbbnsljbpejb@4ax.com...
On Sun, 18 Sep 2005 23:22:03 +0200, "petrus bitbyter"
pieterkraltlaatditweg@enditookhccnet.nl> wrote:


Once you have a 555 clock running you can hook up an old CD4013B like
drawn
below. This type of components runs on power supplies from 3 to 20V. Of
course you have at least one problem left as these type of components can
sink only a few mA of current. So your LEDs will be pretty dim or you
have
to use high efficiency LEDs. The series resistors can also be much lower
then calculated as the outputs have an internal resistor inside. The best
thing you can do is using an extra IC, a CD4050B. This one contains six
buffers which are able to sink enough current to drive a LED.


Vcc 3-20V +-----+-----+-----+-----
| | | |
.-. .-. .-. .-.
| | | | | | | |
| | | | | | | |
'-' '-' '-' '-'
| | | |
| | | |
V V V V
- - - -
| | | |
| | | |
| +--------+ |
| | | |
| | +--------------+
.----. | | .---- | |
+-----|D0 Q|---+--|-----|D1 Q|---+ |
| | _| | | _| |
| +--|> Q|o-----+ +--|> Q|o-----+
| | '----' | '----' |
| | CD4013B(a) | CD4013B(b) |
Clock | | | |
----------+-----------------+ |
| |
+-----------------------------------+

---
Ah, yes... the quadrature encoder! Good one! It didn't even cross
my mind. I must be slipping...


--
John Fields
Professional Circuit Designer

And You call yourself a Professional Circuit Designer???
Ok, most of the time we have solutions that are not suitable for a
beginner (PIC 10F series?).

Alexander
A.C.E. (Applied Communications Engineer)
So why shouldn't he call himself a Professional Circuit Designer? He often
contributes circuits in the electronics newsgroups.

PIC10F2xx will be suitable for fixed frequency. I'd go for a 12F675 because
there's no need for extra components but one potentiometer for the variable
frequency that was asked for.

The point is however that the OP seems to have hardly any skills in
electronics so I doubt whether he can reed the schematics we provided.
That's not to blame the OP. After all this is a "basics" group so he put a
good question on the right place. But that's also why I try to keep it as
simple as possible and leave it to the OP to ask further if he needs to.

petrus bitbyter
 
"Alexander" <electricdummy@hotmail.com> schreef in bericht
news:dgmm81$f2f$1@news1.zwoll1.ov.home.nl...
"John Fields" <jfields@austininstruments.com> schreef in bericht
news:dh7ti15gi1i9ll5d9kmbrgvbbnsljbpejb@4ax.com...
On Sun, 18 Sep 2005 23:22:03 +0200, "petrus bitbyter"
pieterkraltlaatditweg@enditookhccnet.nl> wrote:


Once you have a 555 clock running you can hook up an old CD4013B like
drawn
below. This type of components runs on power supplies from 3 to 20V. Of
course you have at least one problem left as these type of components can
sink only a few mA of current. So your LEDs will be pretty dim or you
have
to use high efficiency LEDs. The series resistors can also be much lower
then calculated as the outputs have an internal resistor inside. The best
thing you can do is using an extra IC, a CD4050B. This one contains six
buffers which are able to sink enough current to drive a LED.


Vcc 3-20V +-----+-----+-----+-----
| | | |
.-. .-. .-. .-.
| | | | | | | |
| | | | | | | |
'-' '-' '-' '-'
| | | |
| | | |
V V V V
- - - -
| | | |
| | | |
| +--------+ |
| | | |
| | +--------------+
.----. | | .---- | |
+-----|D0 Q|---+--|-----|D1 Q|---+ |
| | _| | | _| |
| +--|> Q|o-----+ +--|> Q|o-----+
| | '----' | '----' |
| | CD4013B(a) | CD4013B(b) |
Clock | | | |
----------+-----------------+ |
| |
+-----------------------------------+

---
Ah, yes... the quadrature encoder! Good one! It didn't even cross
my mind. I must be slipping...


--
John Fields
Professional Circuit Designer

And You call yourself a Professional Circuit Designer???
Ok, most of the time we have solutions that are not suitable for a
beginner (PIC 10F series?).

Alexander
A.C.E. (Applied Communications Engineer)
So why shouldn't he call himself a Professional Circuit Designer? He often
contributes circuits in the electronics newsgroups.

PIC10F2xx will be suitable for fixed frequency. I'd go for a 12F675 because
there's no need for extra components but one potentiometer for the variable
frequency that was asked for.

The point is however that the OP seems to have hardly any skills in
electronics so I doubt whether he can reed the schematics we provided.
That's not to blame the OP. After all this is a "basics" group so he put a
good question on the right place. But that's also why I try to keep it as
simple as possible and leave it to the OP to ask further if he needs to.

petrus bitbyter
 
John Fields wrote:
On Mon, 19 Sep 2005 20:26:32 +0200, "Alexander"
electricdummy@hotmail.com> wrote:


"John Fields" <jfields@austininstruments.com> schreef in bericht
news:eek:vuti1lvo8g52oq97laus98nucrmvt8c8j@4ax.com...

On Mon, 19 Sep 2005 17:42:01 +0200, "Alexander"
electricdummy@hotmail.com> wrote:


"John Fields" <jfields@austininstruments.com> schreef in bericht
news:dh7ti15gi1i9ll5d9kmbrgvbbnsljbpejb@4ax.com...

On Sun, 18 Sep 2005 23:22:03 +0200, "petrus bitbyter"
pieterkraltlaatditweg@enditookhccnet.nl> wrote:



Once you have a 555 clock running you can hook up an old CD4013B like
drawn
below. This type of components runs on power supplies from 3 to 20V. Of
course you have at least one problem left as these type of components
can
sink only a few mA of current. So your LEDs will be pretty dim or you
have
to use high efficiency LEDs. The series resistors can also be much lower
then calculated as the outputs have an internal resistor inside. The
best
thing you can do is using an extra IC, a CD4050B. This one contains six
buffers which are able to sink enough current to drive a LED.


Vcc 3-20V +-----+-----+-----+-----
| | | |
.-. .-. .-. .-.
| | | | | | | |
| | | | | | | |
'-' '-' '-' '-'
| | | |
| | | |
V V V V
- - - -
| | | |
| | | |
| +--------+ |
| | | |
| | +--------------+
.----. | | .---- | |
+-----|D0 Q|---+--|-----|D1 Q|---+ |
| | _| | | _| |
| +--|> Q|o-----+ +--|> Q|o-----+
| | '----' | '----' |
| | CD4013B(a) | CD4013B(b) |
Clock | | | |
----------+-----------------+ |
| |
+-----------------------------------+

---
Ah, yes... the quadrature encoder! Good one! It didn't even cross
my mind. I must be slipping...


--
John Fields
Professional Circuit Designer

And You call yourself a Professional Circuit Designer???

---
Yes, of course. Why shouldn't I?
---


Ok, most of the time we have solutions that are not suitable for a
beginner
(PIC 10F series?).

---
Sounds vaguely patronizing. What do you mean?

--
John Fields
Professional Circuit Designer

I didn't mean it as patronizing just as fun.
As more experienced designers we might more easily add a programmable
device.
Someone who just starts cannot do this because the programming is too
difficult.
I sometimes see a beginner add several chips with a cost of $15 or more
which can easily be replaced by one FPGA or MicroController with a total
cost of $5, and this makes the design also more flexible.


---
I understand the fascination with microcontrollers, but in an
application where one isn't warranted, it's just wasteful to design
one in. Consider the OP's application, a simple four-position
marquee scroller, and it becomes evident (to me, anyway) that $1 for
a PIC VS about fifty cents' worth of glue logic for the same
function makes the PIC unattractive. Plus, even with a free
programmer and development system there's still the learning curve
to climb.
It was another damn "use a PIC" post. Some of these posters drive
me crazy. Never a "Wow John, you sure put a lot of work into that,
nice job!" Never a complete project, with a schematic and source
code. Just "you could use a PIC". Hell, if you did what those
pic-ophiles do, your posts would say "use a soldering iron."
One thing's for sure - we can't criticize the PIC designs posted as
solutions to requests from posters. I'll tell you this, I'll put
any one of the solutions you've offered in the newsgroup against
all of the posted "PIC solutions", combined. Your solutions are
always great. Theirs are non-existant.

Ed
 
On Thu, 15 Sep 2005 07:44:44 -0500, nospam wrote:

Spamming news.groups, eh? How about this one?

___ ___ ___ ___
/ /\ /__/\ / /\ /__/|
/ /:/_ \ \:\ / /:/ | |:|
/ /:/ /\ \ \:\ / /:/ | |:|
/ /:/ /:/ ___ \ \:\ / /:/ ___ __| |:|
/__/:/ /:/ /__/\ \__\:\ /__/:/ / /\ /__/\_|:|____
\ \:\/:/ \ \:\ / /:/ \ \:\ / /:/ \ \:\/:::::/
\ \::/ \ \:\ /:/ \ \:\ /:/ \ \::/~~~~
\ \:\ \ \:\/:/ \ \:\/:/ \ \:\
\ \:\ \ \::/ \ \::/ \ \:\
\__\/ \__\/ \__\/ \__\/
___ ___
___ / /\ /__/\
/__/| / /::\ \ \:\
| |:| / /:/\:\ \ \:\
| |:| / /:/ \:\ ___ \ \:\
__|__|:| /__/:/ \__\:\ /__/\ \__\:\
/__/::::\ \ \:\ / /:/ \ \:\ / /:/
~\~~\:\ \ \:\ /:/ \ \:\ /:/
\ \:\ \ \:\/:/ \ \:\/:/
\__\/ \ \::/ \ \::/
\__\/ \__\/
___ ___ ___ ___ ___
/__/\ / /\ / /\ / /\ /__/\
| |::\ / /::\ / /::\ / /::\ \ \:\
| |:|:\ / /:/\:\ / /:/\:\ / /:/\:\ \ \:\
__|__|:|\:\ / /:/ \:\ / /:/~/:/ / /:/ \:\ _____\__\:\
/__/::::| \:\ /__/:/ \__\:\ /__/:/ /:/___ /__/:/ \__\:\ /__/::::::::\
\ \:\~~\__\/ \ \:\ / /:/ \ \:\/:::::/ \ \:\ / /:/ \ \:\~~\~~\/
\ \:\ \ \:\ /:/ \ \::/~~~~ \ \:\ /:/ \ \:\ ~~~
\ \:\ \ \:\/:/ \ \:\ \ \:\/:/ \ \:\
\ \:\ \ \::/ \ \:\ \ \::/ \ \:\
\__\/ \__\/ \__\/ \__\/ \__\/

(courtesy of http://www.network-science.de/ascii/)

---
Warmest Regards,
Bob Monsen
 
On Tue, 20 Sep 2005 00:57:30 GMT, ehsjr <ehsjr@bellatlantic.net>
wrote:

John Fields wrote:

---
I understand the fascination with microcontrollers, but in an
application where one isn't warranted, it's just wasteful to design
one in. Consider the OP's application, a simple four-position
marquee scroller, and it becomes evident (to me, anyway) that $1 for
a PIC VS about fifty cents' worth of glue logic for the same
function makes the PIC unattractive. Plus, even with a free
programmer and development system there's still the learning curve
to climb.



It was another damn "use a PIC" post. Some of these posters drive
me crazy. Never a "Wow John, you sure put a lot of work into that,
nice job!" Never a complete project, with a schematic and source
code. Just "you could use a PIC". Hell, if you did what those
pic-ophiles do, your posts would say "use a soldering iron."
One thing's for sure - we can't criticize the PIC designs posted as
solutions to requests from posters. I'll tell you this, I'll put
any one of the solutions you've offered in the newsgroup against
all of the posted "PIC solutions", combined. Your solutions are
always great. Theirs are non-existant.

Ed
---
Thanks! :)


--
John Fields
Professional Circuit Designer
 
ehsjr <ehsjr@bellatlantic.net> wrote:


It was another damn "use a PIC" post. Some of these posters drive
me crazy. Never a "Wow John, you sure put a lot of work into that,
nice job!" Never a complete project, with a schematic and source
code. Just "you could use a PIC". Hell, if you did what those
pic-ophiles do, your posts would say "use a soldering iron."
One thing's for sure - we can't criticize the PIC designs posted as
solutions to requests from posters. I'll tell you this, I'll put
any one of the solutions you've offered in the newsgroup against
all of the posted "PIC solutions", combined. Your solutions are
always great. Theirs are non-existant.
Agreed. I could probably have made a movie of it in the time it would
take a PIC-er to just get started! Here it is:
http://www.terrypin.dial.pipex.com/Images/LED-Sequencer4MB.wmv

--
Terry Pinnell
Hobbyist, West Sussex, UK
 
On Tue, 20 Sep 2005 00:57:30 GMT, ehsjr <ehsjr@bellatlantic.net>
wrote:

John Fields wrote:

---
I understand the fascination with microcontrollers, but in an
application where one isn't warranted, it's just wasteful to design
one in. Consider the OP's application, a simple four-position
marquee scroller, and it becomes evident (to me, anyway) that $1 for
a PIC VS about fifty cents' worth of glue logic for the same
function makes the PIC unattractive. Plus, even with a free
programmer and development system there's still the learning curve
to climb.



It was another damn "use a PIC" post. Some of these posters drive
me crazy. Never a "Wow John, you sure put a lot of work into that,
nice job!" Never a complete project, with a schematic and source
code. Just "you could use a PIC". Hell, if you did what those
pic-ophiles do, your posts would say "use a soldering iron."
One thing's for sure - we can't criticize the PIC designs posted as
solutions to requests from posters. I'll tell you this, I'll put
any one of the solutions you've offered in the newsgroup against
all of the posted "PIC solutions", combined. Your solutions are
always great. Theirs are non-existant.

Ed

---
Thanks! :)


--
John Fields
Professional Circuit Designer
 
ehsjr <ehsjr@bellatlantic.net> wrote:


It was another damn "use a PIC" post. Some of these posters drive
me crazy. Never a "Wow John, you sure put a lot of work into that,
nice job!" Never a complete project, with a schematic and source
code. Just "you could use a PIC". Hell, if you did what those
pic-ophiles do, your posts would say "use a soldering iron."
One thing's for sure - we can't criticize the PIC designs posted as
solutions to requests from posters. I'll tell you this, I'll put
any one of the solutions you've offered in the newsgroup against
all of the posted "PIC solutions", combined. Your solutions are
always great. Theirs are non-existant.

Agreed. I could probably have made a movie of it in the time it would
take a PIC-er to just get started! Here it is:
http://www.terrypin.dial.pipex.com/Images/LED-Sequencer4MB.wmv

--
Terry Pinnell
Hobbyist, West Sussex, UK
 
["Followup-To:" header set to sci.electronics.basics.]
On 2005-09-17, emre.sevinc@gmail.com <emre.sevinc@gmail.com>
wrote:

I need a circuit that can detect when electricity goes out
and sends a signal to the serial port of my PC,

the serial port of your pc has 5 input pins
RI RXD CTS DSR CD

all you need to do is arrange for your mains supply to be converted
into a negative voltage (5-12V) on one of those pins and set
software to watch or receive an interrupt when the mais goes off,
the power supply stops, and the pin changes state,


Bye.
Jasen
 
On Tue, 20 Sep 2005 06:11:23 +0100, Pooh Bear wrote:
ehsjr wrote:
John Woodgate wrote:
I read in sci.electronics.design that ehsjr
ehsjr@bellatlantic.net
wrote (in <ggEXe.6619$i86.6486@trndny01>) about 'How to detect
power
cutout for PC?', on Mon, 19 Sep 2005:

Here's a circuit that adds delay. You add 1 part - C1 a large
electrolytic capacitor.

12 volt
sensitive DC relay
----------- -----
| (||)-|>|--|---+---| / |---+
--| (||) | |+ ----- |
--| (||) | [C1] |
| (||) | | |
| (||)------|---+-------------+
-----------
[diagram repaired by Rich Grise]

This is DANGEROUS RUBBISH. YOU HAVE AN ELECTROLYTIC CAPACITOR
CONNECTED TO A LOW-IMPEDANCE AC SUPPLY. IT WILL EXPLODE, LATER IF
NOT
SOONER.

You must have missed the earlier post. This post showed only the
addition of the cap.

Which won't do any good anyway !

Why not? (remember, this is a transformer WITH rectifier.) The OP was
asking for a time delay, after all.

Thanks,
Rich
 

Welcome to EDABoard.com

Sponsor

Back
Top