Basic Stamp

of

(in

and=20

My time experimenting instead of building standard stuff is easily worth=20 the purchase price indicated.

Reply to
JosephKK
Loading thread data ...

JosephKK wibbled on Tuesday 09 March 2010 04:52

The STK500 is solid. Only cons are it can't do ICE and a few of the newer chips aren't supported directly at the sockets, but a) it will still ISP program them over a wire to a breadboard and b) you can get adaptor sockets to make them fit the STK500 directly - it's only a pin mapping issue, not a software one.

--
Tim Watts

Managers, politicians and environmentalists: Nature's carbon buffer.
Reply to
Tim Watts

se =3D

z f=3D

dif=3D

lues are for 500 kHz.

=A0|

=A0|

=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0+5V

R3 1M =A0 =A0 =A0 =A0 =A0 =A0 =A0 |

=A0| =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 R4 100 Ohm

| =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 |

---------| +2.5V

=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 |

=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 R5 100 Ohm

=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 |

=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0///

ues need to be 20000x bigger,

voltage divider formed by R3 R4

un exactly at 120 Hz.

t opens the 4016 switch momentarily:

=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 -- =A0=

+4.3V

=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0| =A0|

=A0 =A0| | =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 | =A0| puls= e, length set by C3 R7

=A0 -- =A0 =A0--------------- -0.7V

=A0 =A0 | | =A0 =A0 =A0 =A0 | =A0 =A0 =A0 |

=A0 =A0 =A0 =A0 C3 =A0 =A0 =A0| =A0 =A0 =A0 |

=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 | =A0 =A0 =A0 |

=A0 =A0 =A0 =A0 =A0 =A0 =A0 --- =A0 =A0 =A0R7 10k

=A0 =A0 =A0 =A0 / \ =A0 =A0 =A0|

=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0--- =A0 =A0 =A0|

=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 | =A0 =A0 =A0 |

=A0/// =A0 =A0 ///

5 counter 7490.
5V, and C1 will charge fast for a moment.

=A0(0V) and C1 will discharge fast.

t veer of to all the way to a low frequency,

ncy because of R3.

=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0= =A0 =A0 =A0 =A0 --------------

=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0= =A0 =A0 =A0 =A0 =A0 =A0 =A0 |

=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0= =A0 =A0 =A0 =A0 =A0 =A0 =A0 |

-------------------------------- 24 Hz from divide by 5

k indicator?

irection in series?

neural net (brain).

meras and post processing...

s temperature.

d any ways,

@ Jan

I have the schematic taken from your drawing with the corrections that you indicate. I cannot read the ascii drawings my newsgroup reader does not use a fixed width font, so they are mangled on this end. Here is a link to my copy of your schematic. I am missing a couple of component values.

formatting link

Thanks, Chris Maness

Reply to
Chris

se =3D

z f=3D

dif=3D

lues are for 500 kHz.

=A0|

=A0|

=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0+5V

R3 1M =A0 =A0 =A0 =A0 =A0 =A0 =A0 |

=A0| =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 R4 100 Ohm

| =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 |

---------| +2.5V

=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 |

=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 R5 100 Ohm

=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 |

=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0///

ues need to be 20000x bigger,

voltage divider formed by R3 R4

un exactly at 120 Hz.

t opens the 4016 switch momentarily:

=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 -- =A0=

+4.3V

=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0| =A0|

=A0 =A0| | =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 | =A0| puls= e, length set by C3 R7

=A0 -- =A0 =A0--------------- -0.7V

=A0 =A0 | | =A0 =A0 =A0 =A0 | =A0 =A0 =A0 |

=A0 =A0 =A0 =A0 C3 =A0 =A0 =A0| =A0 =A0 =A0 |

=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 | =A0 =A0 =A0 |

=A0 =A0 =A0 =A0 =A0 =A0 =A0 --- =A0 =A0 =A0R7 10k

=A0 =A0 =A0 =A0 / \ =A0 =A0 =A0|

=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0--- =A0 =A0 =A0|

=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 | =A0 =A0 =A0 |

=A0/// =A0 =A0 ///

5 counter 7490.
5V, and C1 will charge fast for a moment.

=A0(0V) and C1 will discharge fast.

t veer of to all the way to a low frequency,

ncy because of R3.

=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0= =A0 =A0 =A0 =A0 --------------

=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0= =A0 =A0 =A0 =A0 =A0 =A0 =A0 |

=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0= =A0 =A0 =A0 =A0 =A0 =A0 =A0 |

-------------------------------- 24 Hz from divide by 5

k indicator?

irection in series?

neural net (brain).

meras and post processing...

s temperature.

d any ways,

@ Jan

I have the schematic taken from your drawing with the corrections that you indicate. I cannot read the ascii drawings my newsgroup reader does not use a fixed width font, so they are mangled on this end. Here is a link to my copy of your schematic. I am missing a couple of component values.

formatting link

Thanks, Chris Maness

Reply to
Chris

Chris

6swicth.

pulse =3D

active.

60 Hz f=3D

with dif=3D

the

values are for 500 kHz.

=A0|

=A0|

=A0|

=A0| =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0+5V

=A0 R3 1M =A0 =A0 =A0 =A0 =A0 =A0 =A0 |

=A0| =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 R4 100 Ohm

=A0 | =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 |

----------------------------------| +2.5V

=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 |

=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 R5 100 Ohm

=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 |

=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0///

values need to be 20000x bigger,

the voltage divider formed by R3 R4

then run exactly at 120 Hz.

that opens the 4016 switch momentarily:

=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =

-- =A0+4.3V

=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0| =A0|

=A0 =A0 =A0| | =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 | =A0|= pulse, length set by C3 R7

=A0 -- =A0 =A0--------------- -0.7V

=A0 =A0 | | =A0 =A0 =A0 =A0 | =A0 =A0 =A0 |

=A0 =A0 =A0 =A0 C3 =A0 =A0 =A0| =A0 =A0 =A0 |

=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 | =A0 =A0 =A0 |

=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 --- =A0 =A0 =A0R7 10k

=A0 =A0 =A0 =A0 =A0 / \ =A0 =A0 =A0|

=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0--- =A0 =A0 =A0|

=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 | =A0 =A0 =A0 |

=A0/// =A0 =A0 ///

by 5 counter 7490.

part, +5V, and C1 will charge fast for a moment.

part =A0(0V) and C1 will discharge fast.

not veer of to all the way to a low frequency,

frequency because of R3.

=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0 =A0 =A0 --------------

=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 |

=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 |

-------------------------------------------------------------------------= 24 Hz from divide by 5

precious

lock indicator?

but

opposite direction in series?

my neural net (brain).

cameras and post processing...

=A0Divide

versus temperature.

good any ways,

small

software

to

It is not fun and it has to be done each time, but Google groups can be = made to behave.

Reply to
JosephKK

h.

ulse =3D

e.

Hz f=3D

h dif=3D

he

values are for 500 kHz.

=A0|

=A0 =A0|

=A0 =A0|

=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0+5V

=A0 R3 1M =A0 =A0 =A0 =A0 =A0 =A0 =A0 |

=A0| =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 R4 100 Ohm

=A0 | =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 |

-----------| +2.5V

=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 |

=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 R5 100 Ohm

=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 |

=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0///

alues need to be 20000x bigger,

he voltage divider formed by R3 R4

run exactly at 120 Hz.

hat opens the 4016 switch momentarily:

=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 -- = =A0+4.3V

=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0| =A0|

=A0 =A0 =A0| | =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 | =A0| p= ulse, length set by C3 R7

=A0 -- =A0 =A0--------------- -0.7V

=A0 =A0 =A0 | | =A0 =A0 =A0 =A0 | =A0 =A0 =A0 |

=A0 =A0 =A0 =A0 =A0 C3 =A0 =A0 =A0| =A0 =A0 =A0 |

=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 | =A0 =A0 =A0 |

=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 --- =A0 =A0 =A0R7 10k

=A0 =A0 =A0 =A0 =A0 / \ =A0 =A0 =A0|

=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0--- =A0 =A0 =A0|

=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 | =A0 =A0 =A0 |

=A0 =A0/// =A0 =A0 ///

y 5 counter 7490.

+5V, and C1 will charge fast for a moment.

rt =A0(0V) and C1 will discharge fast.

not veer of to all the way to a low frequency,

uency because of R3.

=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0 =A0 =A0 --------------

=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0= =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 |

=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0= =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 |

---------------------------------- 24 Hz from divide by 5

us

ock indicator?

t

direction in series?

y neural net (brain).

cameras and post processing...

e

sus temperature.

ood any ways,

I am not sure how exactly that would work, but just some common senses. Take for example, your 2M resistor and 200uF capacitor will have a time constant of the order 400 seconds. How would that affect your 24Hz PLL?

Reply to
linnix

On a sunny day (Tue, 9 Mar 2010 16:07:40 -0800 (PST)) it happened Chris wrote in :

Please select an fixed spaced font.

Reply to
Jan Panteltje

On a sunny day (Tue, 9 Mar 2010 23:19:07 -0800 (PST)) it happened linnix wrote in :

FYI the 200 uF is charged discharged via 10k and the 4016 In my final diagram the bottom of the caps is at 1/2 V so it does not have a start up delay.

Reply to
Jan Panteltje

ris

ict=3D

a p=3D

tiv=3D

60=3D

wit=3D

k t=3D

er =3D

=3D

=3D

=3D

=A0|=3D

=A0 =3D

=A0 =3D

=A0 =3D

---=3D

=A0=3D

=A0=3D

=A0=3D

=A0=3D

e v=3D

, t=3D

hen=3D

e t=3D

=A0 =3D

-- =3D

=A0 =3D

|

=A0 =3D

| p=3D

=A0 =3D

=3D

=3D

=3D

=A0 =3D

=A0 =3D

=3D

=3D

=3D

e b=3D

rt,=3D

pa=3D

es =3D

req=3D

=A0=3D

=3D

=3D

=A0=3D

=3D

=A0=3D

---=3D

cio=3D

nt

n

ow

t
w
t

s l=3D

bu=3D

ite=3D

g m=3D

al =3D

vid=3D

ver=3D

y g=3D

all

are

to

of

So, time constant of 2 seconds or 4% changes in 24Hz. 200uF is big physically and electrically. They usually comes in 10% values, not sure how stable they are.

Reply to
linnix

On a sunny day (Wed, 10 Mar 2010 08:03:25 -0800 (PST)) it happened linnix wrote in :

Will only get faster then :-)

Reply to
Jan Panteltje

These are small:

formatting link

-ND

But Holy crap $150

Chris

Reply to
Chris

On a sunny day (Thu, 11 Mar 2010 09:17:47 -0800 (PST)) it happened Chris wrote in :

I do not think they are small, they are 100V, what gave you that idea?

BTW, you were talking about 50 mS one shot? The pulse must be *much* shorter then a 24 Hz period, I think max 10 mS here. And it must only happen on the falling or rising egde of the switch (open or close or whatever), and not on both. See the wave forms and diagram I posted earlier.

In my view my circuit is not very sensitive to bounce as far as frequency is concerned, the original circuit without 555 timer would do. Perhaps add a small 10 Ohm resistor in series with the camera switch, to limit contact burn in.

Reply to
Jan Panteltje

nix

..

ere.

My debounce design gives a 50% duty cycle. That would be 20ms long pulse. So your design requires a short pulse over the period? It comes out of the camera as a 5ms pulse. Again, I am not sure if there is bounce present. All I know is that the multivibrator worked, but the camera switch did not lock on the right frequency. The loop was locking too high. I was using comparitor II.

Regards, Chris Maness

Reply to
Chris

s
:

innix

ig

ot

-...

here.

cy

My parts came today. I tried my design, and it locks solid on the right frequency finally. The new loop filter is awesome. Kudos to Helmut for his damped loop filter. Also, my NE555 debounce circuit fixed the frequency error problem. Yaaaah!

@Jan I will be trying your design next and see how it compares to mine in lock time.

Thanks All Chris Maness

Reply to
Chris

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.