Digest Number 702
Try wrapping a few turns of wire around the sparkplug wire. Ground one end
of the wire to frame then tie the other end to two diodes (cathode side) one
a 5.6V zener diode and the other a conventional switching diode 1n4001 or
so. The spark voltage will be induced in the wire, the 5.6v zener will
clamp the voltage to 5.6volts and the conventional diode will prevent the
voltage from going too negative. You should be able to connect a STAMP pin
to the junction of the diodes and the hot side of the wire and use a count
command to integrate a number of spark pulses. Lets see, if your motor runs
at 3600 RPM and its a 4cycl engine you should get a pulse rate of 900 pulses
per minute or 15 pulses per second. The stamp will return a number from 0 -
15 in this case. You multiply the result by 240 and you will have a crude
tach. Some motors spark every revolution, in which case you will get 0 - 60
pulse counts per second. Now multiply that by 60 and you have a little
better tach. Any have fun!
Original Message
From: basicstamps@yahoogroups.com <basicstamps@yahoogroups.com>
To: basicstamps@yahoogroups.com <basicstamps@yahoogroups.com>
Date: Sunday, June 17, 2001 1:11 AM
Subject: [noparse][[/noparse]basicstamps] Digest Number 702
>To UNSUBSCRIBE, just send mail to:
> basicstamps-unsubscribe@yahoogroups.com
>from the same email address that you subscribed with. Text in the Subject
and Body of the message will be ignored.
>
>
>
>There are 25 messages in this issue.
>
>Topics in this digest:
>
> 1. Inductive pickup
> From: egroups@d...
> 2. FW: Digital Control of Light
> From: "Chris Loiacono (E-mail)" <chris01@t...>
> 3. Re: Inductive pickup
> From: Steve DeGroof <degroof@m...>
> 4. Re: Inductive pickup
> From: "Tim and Jo" <dema@t...>
> 5. Re: Ditigal Control of Light
> From: "Sean Gibson" <seangib@h...>
> 6. RE[noparse]:D[/noparse]itigal Control of Light [noparse][[/noparse]and Digital Control as well...]
> From: s premena <premzee@j...>
> 7. Re: Re: Ditigal Control of Light
> From: parkan197@a...
> 8. Re: Science fair project
> From: burtsz@a...
> 9. Re: Re: Re: serial ports
> From: Pence Bob <bobpence_2000@y...>
> 10. Re: Ditigal Control of Light
> From: "Sean Gibson" <seangib@h...>
> 11. Re: resetting
> From: agarb@j...
> 12. self-modifying programs
> From: kenzo@u...
> 13. DTMF Tones
> From: sjohns10@h...
> 14. Re: IMAGE
> From: kenzo@u...
> 15. Re: A lurking observation
> From: kenzo@u...
> 16. Re: DTMF Tones
> From: "Mike Mocenter" <mocenter@e...>
> 17. Re: Re: IMAGE
> From: "Mike Mocenter" <mocenter@e...>
> 18. Re: Re: IMAGE
> From: "Mike Mocenter" <mocenter@e...>
> 19. Counting using large Numbers
> From: "GL Controls" <glcontrols@h...>
> 20. Re: DTMF Tones
> From: Jim Higgins <HigginsJ@s...>
> 21. Re: Counting using large Numbers
> From: Pence Bob <bobpence_2000@y...>
> 22. Re: Counting using large Numbers
> From: "GL Controls" <glcontrols@h...>
> 23. RE:self-modifying programs
> From: "Peter Verkaik" <peterverkaik@b...>
> 24. Re: Counting using large Numbers
> From: Bruce Bates <bvbates@u...>
> 25. Re: RE:self-modifying programs
> From: Ken Ambrose <kenzo@u...>
>
>
>________________________________________________________________________
>________________________________________________________________________
>
>Message: 1
> Date: Sat, 16 Jun 2001 09:35:37 -0000
> From: egroups@d...
>Subject: Inductive pickup
>
>Hi all,
>
>I'm in desperate need on help. I'm trying to make an inductive tacho
>pickup for my go kart.
>
>I've seen small units that work by simply wraping a wire around the
>spark plug lead to pickup the signal. How do these work?
>
>I've spent weeks trying to find a circuit on the net and no luck.
>
>Is there anyway I can run this wire to some sort of amplifier or
>transistor to generate pulses that I could put through a F/V
>converter (like a conventional tacho system)?
>
>The kart has no battery, so it has no real ground reference, and
>these other units just seem to use the one wire.
>
>Any ideas????
>
>Thanks in advance (again)
>
>Simon
>
>
>
>________________________________________________________________________
>________________________________________________________________________
>
>Message: 2
> Date: Sat, 16 Jun 2001 08:35:14 -0400
> From: "Chris Loiacono (E-mail)" <chris01@t...>
>Subject: FW: Digital Control of Light
>
>
>
>>
Original Message
>> From: Chris Loiacono [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=X4Iu-zGoK-NQwc8FJpt6Az-PvhmW7s0IQKw0Jo2pj2i-4BBwq5rvnKG2OCoRZXg7VST6c4wtG7hN6h1E]chris@m...[/url
>> Sent: Friday, June 15, 2001 10:08 PM
>> To: 'basicstamps@yahoogroups.com'
>> Subject: RE: [noparse][[/noparse]basicstamps] Digital Control of Light
>>
>>
>>
>> >
>> > Anyone have any suggestions on how to control brightness of a
>> > 120vac 250
>> > watt lightbulb using a BS1 or 2?
>> >
>> > Hey, I know it's probably a dumb question...
>> >
>> > Thanks.
>> >
>> > Rus
>>
>> Here's the cheapest way that I have found to control a 120V
>> lighting filament with a stamp:
>> Optocouplers are needed both to detect the zero-crossings of
>> the AC line, and to fire the thyristor gate (I guess for
>> this, a Triac is cheapest).
>> The zero crossing detection can be accomplished with either a
>> Schmitt or transistor output type optocoupler. The H11L1 is
>> perhaps the easiest, and fast enough for the stamp (more on
>> this in a minute)...There are also AC couplers that have two
>> inverse LED's with one detector. With the earlier, you can
>> set an input low, and use a pause and pulseout to output to
>> your gate circuit. With the later, you'll get only a short
>> detect output from the optocoupler when both LED's are below
>> their thresholds. You can input this into the stamp pin also,
>> if you prefer. For 120VAC, the straight transistor output
>> lets you use SCR's, because you can use it to distinguish
>> between the + and - 1/2 waves - which is needed if you want
>> the full range of control.
>> Put your pulseout into something like one of the MOC3010's
>> (only OK for 120V, not higher), and have the 3010 output
>> switch the line to the gate with a 180 ohm resistor in
>> series. You can use whatever programming and interface scheme
>> you like to change the pause that times the start of the
>> pulseout. Use the shortest pulseout period that will gate the
>> device consistently. If you use inexpensive TO-220 triacs,
>> also consider transient protection for the triac.
>> The shorter the pause is, the brighter the lamp will be. The
>> biggest limitation is since the stamps are not so fast you'll
>> only get a handful or two of steps of control - not unlike
>> X10's dimmers. The cost is around $6.
>>
>> There's a PIC AN for higher resolution phase angle control
>> without opto's. Everyone who has tried it has blown up
>> several chips, so I have never tried it on a stamp.
>>
>> I also have done high-res phase angle control of
>> large loads up to 480VAC with a PIC 18 at the heart of it,
>> with soft start, current limit etc.
>> I have adapted this to accept serial input from a stamp through
>> a shift register for the power level command. It's a bit more
>> complicated and costly. The PIC does most of the work
>> If this is more like what you need, contact me off-list.
>>
>> I'm off to some GTO Thyristors for switching the power grid
>> next. Anyone have any experience with these?
>>
>> Chris
>>
>> >
>> > --
>> >
>>
>
>
>________________________________________________________________________
>________________________________________________________________________
>
>Message: 3
> Date: Sat, 16 Jun 2001 09:08:05 -0400
> From: Steve DeGroof <degroof@m...>
>Subject: Re: Inductive pickup
>
>egroups@d... wrote:
>>
>> I'm in desperate need on help. I'm trying to make an inductive tacho
>> pickup for my go kart.
>>
>> I've seen small units that work by simply wraping a wire around the
>> spark plug lead to pickup the signal. How do these work?
>>
>I found a couple of discussion threads on Google that might help:
>
>http://groups.google.com/groups?hl=en&lr=&safe=off&ic=1&th=f65a96a2a7510317
,16&seekm=4gsjgg%242us%40news.sas.ab.ca#p
>
>http://groups.google.com/groups?hl=en&lr=&safe=off&ic=1&th=f65a96a2a7510317
,16&seekm=4gsjgg%242us%40news.sas.ab.ca#p
>
>The URLs are a bit long, you'll probably have to splice them back
>together.
>
>From what I read, it sounds like the general idea is to use the
>pickup coil to drive the base of an NPN transistor, then clean up
>the signal with a 555 timer in monostable mode.
>
>SD
>
>
>--
>/===================================================================\
>| Steve DeGroof (http://degroof.home.mindspring.com/) |
>\===================================================================/
>
>
>________________________________________________________________________
>________________________________________________________________________
>
>Message: 4
> Date: Sat, 16 Jun 2001 09:46:08 -0700
> From: "Tim and Jo" <dema@t...>
>Subject: Re: Inductive pickup
>
>Hi Simon,
>
> The National Semiconductor LM2907 is designed to do just what you're
>looking for! It's a F/V converter with an inductive pick-up, for use as a
>tachometer. The output is selectable as 0-2 Volts or 0-10 Volts full
scale,
>which ever is best for your application. The data sheets have several
>different (great) application circuits. I've built three projects using
>this I.C. and like it alot -- it sounds to me like it's just what you need.
>It's inexpensive and available through several suppliers - I purchased mine
>through Jameco.
>
> Holler if you have questions,
>
>Tim
>
>
Original Message
>From: egroups@d... <egroups@d...>
>To: basicstamps@yahoogroups.com <basicstamps@yahoogroups.com>
>Date: Saturday, June 16, 2001 2:35 AM
>Subject: [noparse][[/noparse]basicstamps] Inductive pickup
>
>
>>Hi all,
>>
>>I'm in desperate need on help. I'm trying to make an inductive tacho
>>pickup for my go kart.
>>
>>I've seen small units that work by simply wraping a wire around the
>>spark plug lead to pickup the signal. How do these work?
>>
>>I've spent weeks trying to find a circuit on the net and no luck.
>>
>>Is there anyway I can run this wire to some sort of amplifier or
>>transistor to generate pulses that I could put through a F/V
>>converter (like a conventional tacho system)?
>>
>>The kart has no battery, so it has no real ground reference, and
>>these other units just seem to use the one wire.
>>
>>Any ideas????
>>
>>Thanks in advance (again)
>>
>>Simon
>>
>>
>>To UNSUBSCRIBE, just send mail to:
>> basicstamps-unsubscribe@yahoogroups.com
>>from the same email address that you subscribed with. Text in the Subject
>and Body of the message will be ignored.
>>
>>
>>Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>>
>>
>
>
>
>________________________________________________________________________
>________________________________________________________________________
>
>Message: 5
> Date: Sat, 16 Jun 2001 13:15:45 -0400
> From: "Sean Gibson" <seangib@h...>
>Subject: Re: Ditigal Control of Light
>
>
>> --- Rus Hardy <rushardy@m...> wrote:
>> > Anyone have any suggestions on how to control
>> > brightness of a 120vac 250
>> > watt lightbulb using a BS1 or 2?
>> >
>> > Hey, I know it's probably a dumb question...
>> >
>> > Thanks.
>> >
>> > Rus
>
>
>Hi Rus: Haven't had the time to try it but the AN1515 by Motorola uses a
555
>timer which has zero detection; phase control and is optically isolated.
>
>The circuit shown controls a motor but it should also control an
>incandescent lamp.
>
>Replacing "VR1" (see page 3 of the AN1515) with a digital pot would perhaps
>allow stamp control with multiple increments. A slow dim or ramp up could
be
>achieved by adding a capacitor. This solution may be too labour intensive
>but it seems simple and has the big advantage that it is optically isolated
>from line voltages.
>
>http://merchant.hibbertco.com/fs22/deact/fs22/pdf-docs/motorola/an1515.rev1
.
>pdf
>
>Good Luck,
>
>Sean
>
>
>
>________________________________________________________________________
>________________________________________________________________________
>
>Message: 6
> Date: Sat, 16 Jun 2001 13:00:25 -0600
> From: s premena <premzee@j...>
>Subject: RE[noparse]:D[/noparse]itigal Control of Light [noparse][[/noparse]and Digital Control as well...]
>
>I built a four channel BS1 controlled system 2.5
>years ago [noparse][[/noparse]still working] using PWM output into
>OP Amp integrators which then fed Velleman voltage
>controlled 300 watt dimmers [noparse][[/noparse]$20. ea]. A bit cheaper
>than the MAX300 solution. [noparse][[/noparse]used an LM324 quad op amp].
>
>The PWM updates the op amp integrators often enough to
>avoid flicker and sag with the BS1 loop. 1 BS1 pin
>per dimmer channel...
>
>have fun, premena
>
>>> snipity....
> Date: Fri, 15 Jun 2001 19:40:52 -0700 (PDT)
> From: Lew Muller <lewmu@y...>
>
>I've used a voltage controlled dimmer kit made by
>Velleman. I control it with a MAX500 DAC (two wire
>serial). Total cost is about $35.00. It does give
>very fine control - 255 steps from off to full bright.
>This frees the stamp for other things except when
>changing the brightness. Jameco sells the Velleman
>kit. Another option is to use a X10 dimmer control -
>I don't have any experience with those, though.
>
>--- Rus Hardy <rushardy@m...> wrote:
>> Anyone have any suggestions on how to control
>> brightness of a 120vac 250 watt lightbulb using a BS1 or 2?
>
>________________________________________________________________
>GET INTERNET ACCESS FROM JUNO!
>Juno offers FREE or PREMIUM Internet access for less!
>Join Juno today! For your FREE software, visit:
>http://dl.www.juno.com/get/tagj.
>
>
>________________________________________________________________________
>________________________________________________________________________
>
>Message: 7
> Date: Sat, 16 Jun 2001 17:49:35 EDT
> From: parkan197@a...
>Subject: Re: Re: Ditigal Control of Light
>
>
>
> >
>
>
>
>[noparse][[/noparse]This message contained attachments]
>
>
>
>________________________________________________________________________
>________________________________________________________________________
>
>Message: 8
> Date: Sat, 16 Jun 2001 17:54:20 EDT
> From: burtsz@a...
>Subject: Re: Science fair project
>
>Hi TC & TC Jr.,
>A couple of suggestions for the 555 timer project:
>1) Look into the ARRL Radio Amateur Handbook for information.
>2) Signetics was the original designer and manufacturer of the device. It
>has since been copied and somewhat improved over the original by many, many
>other manufacturers including low power CMOS versions.
>3) Look into old & back issues of "Popular Electronics" magazine for 555
>timer projects and a simplified explanation of it's workings.
>4) Do search the web for "NE-555", "NE555", and other variations on the
>nomenclature for additional information. I did this several months ago and
>found a significant amount of information.
>5) Check out the Motorola Semiconductor (now ON Semiconductor), National
>Semiconductor, Phillips Semiconductor, and Texas Instruments data sheets
and
>linear handbooks for information.
>6) From what I remember, the inside workings are basically a resistive
>voltage divider of 3 equal value resistors, two voltage comparators, a RS
>flip flop, an uncommitted open collector NPN transistor driven by the
>internals with it's emitter grounded and a few other bits and pieces.
>7) The 555 timer has been and continues to be very successful.
>8) Perhaps you come up with a new design !!!!!
>Wondering where you are located?
>Best wishes on your project.
>Burt Schultz
>
>
>________________________________________________________________________
>________________________________________________________________________
>
>Message: 9
> Date: Sat, 16 Jun 2001 15:56:05 -0700 (PDT)
> From: Pence Bob <bobpence_2000@y...>
>Subject: Re: Re: Re: serial ports
>
>Mike is correct about RS-232 being single-ended,
>although if I recall correctly, you are off with
>voltages. I recommend B&B Electronics RS-422/485
>Application Note at
>http://www.bb-elec.com/tech_articles/rs422_485_app_note/table_of_contents.a
sp.
>
>
>RS-422 is differential - instead of one each RXD and
>TXD referenced to GND, 422 uses a positive and
>negative of each transmit and receive (+7 VDC and -7
>VDC, I think), so to convert to EIA/TIA-232c you must
>combine the transmit signals together and the receive
>signals together, and adjust the voltage; also,
>possibly, handle handshaking, though not in the
>Stamp's context.
>
>B&B has some converters, I think some under $30, some
>between $50 and $120. Black Box also has some, in a
>slightly wider price range.
>
>Bob Pence
>
>--- Mike DeMetz <miked@t...> wrote:
>> RS-232 is single ended, with a plus and minus
>> voltage swing. RS-422 is
>> push-pull from 0 to 5V. They only specify the
>> electrical operation. Data
>> protocol can be what ever you want though usually 7
>> or 8 bit ASCII with a
>> Start bit and Stop pause.
>>
>> >
>> > What is the difference between RS-232 and RS-422?
>> Is it voltage or
>> > only data transfer protocol?
>>
>>
>>
>> To UNSUBSCRIBE, just send mail to:
>> basicstamps-unsubscribe@yahoogroups.com
>> from the same email address that you subscribed
>> with. Text in the Subject and Body of the message
>> will be ignored.
>>
>>
>> Your use of Yahoo! Groups is subject to
>> http://docs.yahoo.com/info/terms/
>>
>>
>
>
>__________________________________________________
>Do You Yahoo!?
>Spot the hottest trends in music, movies, and more.
>http://buzz.yahoo.com/
>
>
>________________________________________________________________________
>________________________________________________________________________
>
>Message: 10
> Date: Sat, 16 Jun 2001 19:21:41 -0400
> From: "Sean Gibson" <seangib@h...>
>Subject: Re: Ditigal Control of Light
>
>
>
Original Message
>From: "Sean Gibson" <seangib@h...>
>To: <basicstamps@yahoogroups.com>
>Sent: Saturday, June 16, 2001 1:15 PM
>Subject: Re: [noparse][[/noparse]basicstamps] Ditigal Control of Light
>
>
>>
>> > --- Rus Hardy <rushardy@m...> wrote:
>> > > Anyone have any suggestions on how to control
>> > > brightness of a 120vac 250
>> > > watt lightbulb using a BS1 or 2?
>> > >
>> > > Hey, I know it's probably a dumb question...
>> > >
>> > > Thanks.
>> > >
>> > > Rus
>>
>>
>> Hi Rus: Haven't had the time to try it but the AN1515 by Motorola uses a
>555
>> timer which has zero detection; phase control and is optically isolated.
>>
>> The circuit shown controls a motor but it should also control an
>> incandescent lamp.
>>
>> Replacing "VR1" (see page 3 of the AN1515) with a digital pot would
>perhaps
>> allow stamp control with multiple increments. A slow dim or ramp up could
>be
>> achieved by adding a capacitor. This solution may be too labour intensive
>> but it seems simple and has the big advantage that it is optically
>isolated
>> from line voltages.
>>
>> Sorry, the correct URL is http://appnote.stts.edu/Motorola/sudah.htm
>>
>> Good Luck,
>>
>> Sean
>>
>>
>> To UNSUBSCRIBE, just send mail to:
>> basicstamps-unsubscribe@yahoogroups.com
>> from the same email address that you subscribed with. Text in the
Subject
>and Body of the message will be ignored.
>>
>>
>> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>>
>>
>>
>
>
>
>________________________________________________________________________
>________________________________________________________________________
>
>Message: 11
> Date: Fri, 15 Jun 2001 20:38:31 -0400
> From: agarb@j...
>Subject: Re: resetting
>
>If your Stamp is resetting when the COM port opens, your PC is probably
>asserting DTR to +12 volts. DTR is connected to the ATN pin on the
>stamp. Asserting this line resets the stamp in prepartaion for
>programming. To get around this you may wish to:
>1. Change the PC software to not bring ATN to +12 volts (if possible)
>2. Or, devise some method of breaking ATN. Either physically, or by
>installing a 0.1 uF cap between DTR and ATN. I believe there is more
>info on this in Al William's FAQ.
>problem.
>
>On Fri, 15 Jun 2001 12:09:43 -0500 "Ricky Konvicka"
><ricky@m...> writes:
>> Thanks Todd. Another question. Why does windows or hyperterminal
>> reset the stamp when they are turned on?
>
>
>________________________________________________________________________
>________________________________________________________________________
>
>Message: 12
> Date: Sun, 17 Jun 2001 01:29:05 -0000
> From: kenzo@u...
>Subject: self-modifying programs
>
>Hi,
> Anyone know if it's possible to "poke" into the basic token area of
>a running program? If possible, I'd like to write a program for the
>stamp that is self-modifying. I've done this before in other basics,
>should be possible in PBasic?
>
>Thanks!
>
>Ken
>
>
>
>________________________________________________________________________
>________________________________________________________________________
>
>Message: 13
> Date: Sun, 17 Jun 2001 02:13:27 -0000
> From: sjohns10@h...
>Subject: DTMF Tones
>
>Hello,
> I was trying to build a small toy RC blimp and then saw how
>expensive the transmitter and reciever were. Then I had this weird
>idea. If I had a DTMF tone encoder hooked up to a CB radio's mic, and
>a tone decoder attatched to another CB's speaker, then had a Basic
>Stamp2 on the decoder to tell the blimp what to do, would that work?
>Lets say you pushed the number "1" on the encoder. The tone it made
>would go to the CB and get transmitted. Then the other CB would
>recieve it and the decoder would give it's output in a 4-bit
>hexadecimal code. Next, the BS2 would output a signal to a relay
>which in turn would operate a fan to make the blimp turn left. Does
>anyone have a clue whether this would work or not?
>
> -Thanks
>
>
>
>________________________________________________________________________
>________________________________________________________________________
>
>Message: 14
> Date: Sun, 17 Jun 2001 02:15:06 -0000
> From: kenzo@u...
>Subject: Re: IMAGE
>
>> By the way ::::: ::::::: I have discovered a cheap an dirty
>> standard video to STAMP interface
>> How cheap ??? under $5.00 drop me a line if you are
>interested .....
>
>
>Why don't you just post it??
>
>
>
>
>
>
>________________________________________________________________________
>________________________________________________________________________
>
>Message: 15
> Date: Sun, 17 Jun 2001 02:17:21 -0000
> From: kenzo@u...
>Subject: Re: A lurking observation
>
>> I submit that
>> this group would be better served using the ultimate Bulletin Board
>> or a similar BBS.
>>
>
>Not if you consider RELIABILITY...
>
>
>
>
>________________________________________________________________________
>________________________________________________________________________
>
>Message: 16
> Date: Sat, 16 Jun 2001 22:29:08 -0400
> From: "Mike Mocenter" <mocenter@e...>
>Subject: Re: DTMF Tones
>
>Dear Mr. Johns (?)
>make sure you do not start the construction of this project until you
>measure the size of the blimp! helium has a very low density and the tiny
>hobby blimps like the one I have will only lift a few ounces/lb of helium
>used. I have a 3 foot unit and it just barely lifts a tiny cmos camera and
>tiny transmitter with the battery for the r/c and the little engines with
>ducted fans I put on it. Your idea has merit for control, but I think the
>letters "GOODYEAR' will have to appear on the side for you to get off the
>ground. I used to work on the Goodyear blimp in N.C. with some imagery
>projects and we even had to be very careful with weight of rack equipment
>with the big ones as the density to air-helium and weight was very
critical.
>I hope I did not burst your bubble, but these are proven facts from
>experience. If you need any more info, I have a friend who is head of the
>West Jersey R/C club who worked for me that knows all about this and is 80
>years old with one eye and still flies model helos like a champ. He would
>be happy to give you more info if you want to e-mail him
>mike mocenter
>
Original Message
>From: <sjohns10@h...>
>To: <basicstamps@yahoogroups.com>
>Sent: Saturday, June 16, 2001 10:13 PM
>Subject: [noparse][[/noparse]basicstamps] DTMF Tones
>
>
>> Hello,
>> I was trying to build a small toy RC blimp and then saw how
>> expensive the transmitter and reciever were. Then I had this weird
>> idea. If I had a DTMF tone encoder hooked up to a CB radio's mic, and
>> a tone decoder attatched to another CB's speaker, then had a Basic
>> Stamp2 on the decoder to tell the blimp what to do, would that work?
>> Lets say you pushed the number "1" on the encoder. The tone it made
>> would go to the CB and get transmitted. Then the other CB would
>> recieve it and the decoder would give it's output in a 4-bit
>> hexadecimal code. Next, the BS2 would output a signal to a relay
>> which in turn would operate a fan to make the blimp turn left. Does
>> anyone have a clue whether this would work or not?
>>
>> -Thanks
>>
>>
>> To UNSUBSCRIBE, just send mail to:
>> basicstamps-unsubscribe@yahoogroups.com
>> from the same email address that you subscribed with. Text in the
Subject
>and Body of the message will be ignored.
>>
>>
>> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>>
>>
>>
>
>
>
>________________________________________________________________________
>________________________________________________________________________
>
>Message: 17
> Date: Sat, 16 Jun 2001 22:30:08 -0400
> From: "Mike Mocenter" <mocenter@e...>
>Subject: Re: Re: IMAGE
>
>please send info to:
>mocente@e...
>thanks
>mike m
>
Original Message
>From: <kenzo@u...>
>To: <basicstamps@yahoogroups.com>
>Sent: Saturday, June 16, 2001 10:15 PM
>Subject: [noparse][[/noparse]basicstamps] Re: IMAGE
>
>
>> > By the way ::::: ::::::: I have discovered a cheap an dirty
>> > standard video to STAMP interface
>> > How cheap ??? under $5.00 drop me a line if you are
>> interested .....
>>
>>
>> Why don't you just post it??
>>
>>
>>
>>
>>
>> To UNSUBSCRIBE, just send mail to:
>> basicstamps-unsubscribe@yahoogroups.com
>> from the same email address that you subscribed with. Text in the
Subject
>and Body of the message will be ignored.
>>
>>
>> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>>
>>
>
>
>
>________________________________________________________________________
>________________________________________________________________________
>
>Message: 18
> Date: Sat, 16 Jun 2001 22:31:26 -0400
> From: "Mike Mocenter" <mocenter@e...>
>Subject: Re: Re: IMAGE
>
>missed a letter:
>correct e-mail is:
> mocenter@e...
>sorry for the error
>mike M
>
Original Message
>From: Mike Mocenter <mocenter@e...>
>To: <basicstamps@yahoogroups.com>
>Sent: Saturday, June 16, 2001 10:30 PM
>Subject: Re: [noparse][[/noparse]basicstamps] Re: IMAGE
>
>
>> please send info to:
>> mocente@e...
>> thanks
>> mike m
>>
Original Message
>> From: <kenzo@u...>
>> To: <basicstamps@yahoogroups.com>
>> Sent: Saturday, June 16, 2001 10:15 PM
>> Subject: [noparse][[/noparse]basicstamps] Re: IMAGE
>>
>>
>> > > By the way ::::: ::::::: I have discovered a cheap an dirty
>> > > standard video to STAMP interface
>> > > How cheap ??? under $5.00 drop me a line if you are
>> > interested .....
>> >
>> >
>> > Why don't you just post it??
>> >
>> >
>> >
>> >
>> >
>> > To UNSUBSCRIBE, just send mail to:
>> > basicstamps-unsubscribe@yahoogroups.com
>> > from the same email address that you subscribed with. Text in the
>Subject
>> and Body of the message will be ignored.
>> >
>> >
>> > Your use of Yahoo! Groups is subject to
>http://docs.yahoo.com/info/terms/
>> >
>> >
>>
>>
>> To UNSUBSCRIBE, just send mail to:
>> basicstamps-unsubscribe@yahoogroups.com
>> from the same email address that you subscribed with. Text in the
Subject
>and Body of the message will be ignored.
>>
>>
>> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>>
>>
>>
>
>
>
>________________________________________________________________________
>________________________________________________________________________
>
>Message: 19
> Date: Sat, 16 Jun 2001 23:33:17 -0400
> From: "GL Controls" <glcontrols@h...>
>Subject: Counting using large Numbers
>
>I need to store and be able to recall a number
>from BS2 eeprom memory. The number will exceed
>the word level. Can someone give me an idea about
>working with large numbers and how to read and
>write them to eeprom? Should I do it, a single
>digit at a time. Any Help Please???
>
>TIA
>Gill
>_________________________________________________________________
>Get your FREE download of MSN Explorer at http://explorer.msn.com
>
>
>
>________________________________________________________________________
>________________________________________________________________________
>
>Message: 20
> Date: Sat, 16 Jun 2001 22:25:54 -0400
> From: Jim Higgins <HigginsJ@s...>
>Subject: Re: DTMF Tones
>
>At 22:13 06/16/01, sjohns10@h... wrote:
>>Hello,
>> I was trying to build a small toy RC blimp and then saw how
>>expensive the transmitter and reciever were. Then I had this weird
>>idea. If I had a DTMF tone encoder hooked up to a CB radio's mic, and
>>a tone decoder attatched to another CB's speaker, then had a Basic
>>Stamp2 on the decoder to tell the blimp what to do, would that work?
>>Lets say you pushed the number "1" on the encoder. The tone it made
>>would go to the CB and get transmitted. Then the other CB would
>>recieve it and the decoder would give it's output in a 4-bit
>>hexadecimal code. Next, the BS2 would output a signal to a relay
>>which in turn would operate a fan to make the blimp turn left. Does
>>anyone have a clue whether this would work or not?
>
>Probably not as nicely as the proportional control typical of the more
>expensive RC systems. A homegrown control system is also likely to weigh a
>lot more than a commercial RC system, and I think weight will be a very
>important consideration for you. But in the final analysis, it would be
>illegal to use CB frequencies, even the ones located between the regular CB
>channels that are meant for RC control, for control of a flying
>machine. The CB RC frequencies are for control of ground operated devices
>(cars, etc.) only - by Federal law. Also, there is enough illegal voice
>operation on the CB RC frequencies by CBers that you could be subject to
>considerable interference. Loss of control of a flying machine represents
>a safety risk - even if less for a blimp than for a faster moving fuel
>powered device. I don't see any plusses at all to this approach.
>
>Jim H
>
>
>
>________________________________________________________________________
>________________________________________________________________________
>
>Message: 21
> Date: Sat, 16 Jun 2001 20:46:06 -0700 (PDT)
> From: Pence Bob <bobpence_2000@y...>
>Subject: Re: Counting using large Numbers
>
>What do you need to do with the number? If you are
>going to display it, a BCD-type concept may work well.
>In BCD, binary-code decimal, each base-ten digit is
>stored in four bits - same as with hexadecimal. It is
>a pain when doing calculations, but may be useful to
>store and display long decimal numbers. Please give
>more detail on context.
>
>Bob Pence
>
>--- GL Controls <glcontrols@h...> wrote:
>> I need to store and be able to recall a number
>> from BS2 eeprom memory. The number will exceed
>> the word level. Can someone give me an idea about
>> working with large numbers and how to read and
>> write them to eeprom? Should I do it, a single
>> digit at a time. Any Help Please???
>>
>> TIA
>> Gill
>>
>_________________________________________________________________
>> Get your FREE download of MSN Explorer at
>> http://explorer.msn.com
>>
>>
>> To UNSUBSCRIBE, just send mail to:
>> basicstamps-unsubscribe@yahoogroups.com
>> from the same email address that you subscribed
>> with. Text in the Subject and Body of the message
>> will be ignored.
>>
>>
>> Your use of Yahoo! Groups is subject to
>> http://docs.yahoo.com/info/terms/
>>
>>
>
>
>__________________________________________________
>Do You Yahoo!?
>Spot the hottest trends in music, movies, and more.
>http://buzz.yahoo.com/
>
>
>________________________________________________________________________
>________________________________________________________________________
>
>Message: 22
> Date: Sun, 17 Jun 2001 00:04:27 -0400
> From: "GL Controls" <glcontrols@h...>
>Subject: Re: Counting using large Numbers
>
>The stamp needs to count Cycles on a machine,
>Store and act upon a Batch count and keep a
>total cycle count. I need to be able to display
>the batch count and total count on an LCD
>along with storing both in EEprom.
>The batch count can be kept to less than 65000
>The total will be quite large. Cycle count for
>one day could be as much as 57600 (2 Cycles a second)
>I was thinking I could store each digit as a seperate
>nibble in eeprom. I also could display it using the
>same method. I am not sure of the best way to do it.
>
>Thanks
>Gill
>
>
>
>
>
>>What do you need to do with the number? If you are
>>going to display it, a BCD-type concept may work well.
>>In BCD, binary-code decimal, each base-ten digit is
>>stored in four bits - same as with hexadecimal. It is
>>a pain when doing calculations, but may be useful to
>>store and display long decimal numbers. Please give
>>more detail on context.
>>
>>Bob Pence
>>
>>--- GL Controls <glcontrols@h...> wrote:
>> > I need to store and be able to recall a number
>> > from BS2 eeprom memory. The number will exceed
>> > the word level. Can someone give me an idea about
>> > working with large numbers and how to read and
>> > write them to eeprom? Should I do it, a single
>> > digit at a time. Any Help Please???
>> >
>
>_________________________________________________________________
>Get your FREE download of MSN Explorer at http://explorer.msn.com
>
>
>
>________________________________________________________________________
>________________________________________________________________________
>
>Message: 23
> Date: Sun, 17 Jun 2001 06:20:01 +0200
> From: "Peter Verkaik" <peterverkaik@b...>
>Subject: RE:self-modifying programs
>
>Hi Ken,
>
>Take a look at Note 16 in the stamp manual.
>The procedure how to do this is described there.
>
>Greetings peter
>
>
>
>
>________________________________________________________________________
>________________________________________________________________________
>
>Message: 24
> Date: Sun, 17 Jun 2001 00:40:29 -0400
> From: Bruce Bates <bvbates@u...>
>Subject: Re: Counting using large Numbers
>
>At 6/17/2001 Sunday 12:04 AM, GL Controls promulgated:
>>The stamp needs to count Cycles on a machine,
>>Store and act upon a Batch count and keep a
>>total cycle count. I need to be able to display
>>the batch count and total count on an LCD
>>along with storing both in EEprom.
>>The batch count can be kept to less than 65000
>>The total will be quite large. Cycle count for
>>one day could be as much as 57600 (2 Cycles a second)
>>I was thinking I could store each digit as a seperate
>>nibble in eeprom. I also could display it using the
>>same method. I am not sure of the best way to do it.
>>
>>Thanks
>>Gill
>>
>>Gill -
>
>You might consider a factor variable. When the batch counter nearly
>approaches overflow, add 1 to the batch counter, and subtract the value you
>chose to represent the limit value.
>
>Example in pseudo code -
>
>batch_limit = 32000 '(arbitrary limit in a word size variable)
>batch_count = 0
>factor = 0
>
>Process:
> ' Do whatever you need to here on input
>If process_ended then End_Process '(set by some external routine)
>batch_count = batch_count + 1
>If batch_count < batch_limit then Process:
>factor = factor + 1
>batch_count = batch_count - batch_limit
>Goto Process:
>
>End_Process:
>'batch_count now contains the remaining items
>'factor contains the multiples of batch_limit
>
>END
>
>That should give you a starting point for counting.
>
>Regards,
>
>Bruce Bates
>
>
>
>
>________________________________________________________________________
>________________________________________________________________________
>
>Message: 25
> Date: Sun, 17 Jun 2001 01:10:51 -0400
> From: Ken Ambrose <kenzo@u...>
>Subject: Re: RE:self-modifying programs
>
>Hi,
> Where do they hide the "notes" in the stamp manual. Dern if I
>can't find a single note that has a number associated to
>it.
>
>Kenzo
>
>with enough thrust, pigs fly just fine.
>
>
>
>---- On Sun, 17 Jun 2001, Peter Verkaik
>(peterverkaik@b...) wrote:
>
>> Hi Ken,
>>
>> Take a look at Note 16 in the stamp manual.
>> The procedure how to do this is described there.
>>
>> Greetings peter
>>
>>
>>
>> To UNSUBSCRIBE, just send mail to:
>> basicstamps-unsubscribe@yahoogroups.com
>> from the same email address that you subscribed with. Text
>in the
>> Subject and Body of the message will be ignored.
>>
>>
>> Your use of Yahoo! Groups is subject to
>> http://docs.yahoo.com/info/terms/
>>
>>
>>
>>
>
>
>
>________________________________________________________________________
>________________________________________________________________________
>
>
>
>Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>
>
of the wire to frame then tie the other end to two diodes (cathode side) one
a 5.6V zener diode and the other a conventional switching diode 1n4001 or
so. The spark voltage will be induced in the wire, the 5.6v zener will
clamp the voltage to 5.6volts and the conventional diode will prevent the
voltage from going too negative. You should be able to connect a STAMP pin
to the junction of the diodes and the hot side of the wire and use a count
command to integrate a number of spark pulses. Lets see, if your motor runs
at 3600 RPM and its a 4cycl engine you should get a pulse rate of 900 pulses
per minute or 15 pulses per second. The stamp will return a number from 0 -
15 in this case. You multiply the result by 240 and you will have a crude
tach. Some motors spark every revolution, in which case you will get 0 - 60
pulse counts per second. Now multiply that by 60 and you have a little
better tach. Any have fun!
Original Message
From: basicstamps@yahoogroups.com <basicstamps@yahoogroups.com>
To: basicstamps@yahoogroups.com <basicstamps@yahoogroups.com>
Date: Sunday, June 17, 2001 1:11 AM
Subject: [noparse][[/noparse]basicstamps] Digest Number 702
>To UNSUBSCRIBE, just send mail to:
> basicstamps-unsubscribe@yahoogroups.com
>from the same email address that you subscribed with. Text in the Subject
and Body of the message will be ignored.
>
>
>
>There are 25 messages in this issue.
>
>Topics in this digest:
>
> 1. Inductive pickup
> From: egroups@d...
> 2. FW: Digital Control of Light
> From: "Chris Loiacono (E-mail)" <chris01@t...>
> 3. Re: Inductive pickup
> From: Steve DeGroof <degroof@m...>
> 4. Re: Inductive pickup
> From: "Tim and Jo" <dema@t...>
> 5. Re: Ditigal Control of Light
> From: "Sean Gibson" <seangib@h...>
> 6. RE[noparse]:D[/noparse]itigal Control of Light [noparse][[/noparse]and Digital Control as well...]
> From: s premena <premzee@j...>
> 7. Re: Re: Ditigal Control of Light
> From: parkan197@a...
> 8. Re: Science fair project
> From: burtsz@a...
> 9. Re: Re: Re: serial ports
> From: Pence Bob <bobpence_2000@y...>
> 10. Re: Ditigal Control of Light
> From: "Sean Gibson" <seangib@h...>
> 11. Re: resetting
> From: agarb@j...
> 12. self-modifying programs
> From: kenzo@u...
> 13. DTMF Tones
> From: sjohns10@h...
> 14. Re: IMAGE
> From: kenzo@u...
> 15. Re: A lurking observation
> From: kenzo@u...
> 16. Re: DTMF Tones
> From: "Mike Mocenter" <mocenter@e...>
> 17. Re: Re: IMAGE
> From: "Mike Mocenter" <mocenter@e...>
> 18. Re: Re: IMAGE
> From: "Mike Mocenter" <mocenter@e...>
> 19. Counting using large Numbers
> From: "GL Controls" <glcontrols@h...>
> 20. Re: DTMF Tones
> From: Jim Higgins <HigginsJ@s...>
> 21. Re: Counting using large Numbers
> From: Pence Bob <bobpence_2000@y...>
> 22. Re: Counting using large Numbers
> From: "GL Controls" <glcontrols@h...>
> 23. RE:self-modifying programs
> From: "Peter Verkaik" <peterverkaik@b...>
> 24. Re: Counting using large Numbers
> From: Bruce Bates <bvbates@u...>
> 25. Re: RE:self-modifying programs
> From: Ken Ambrose <kenzo@u...>
>
>
>________________________________________________________________________
>________________________________________________________________________
>
>Message: 1
> Date: Sat, 16 Jun 2001 09:35:37 -0000
> From: egroups@d...
>Subject: Inductive pickup
>
>Hi all,
>
>I'm in desperate need on help. I'm trying to make an inductive tacho
>pickup for my go kart.
>
>I've seen small units that work by simply wraping a wire around the
>spark plug lead to pickup the signal. How do these work?
>
>I've spent weeks trying to find a circuit on the net and no luck.
>
>Is there anyway I can run this wire to some sort of amplifier or
>transistor to generate pulses that I could put through a F/V
>converter (like a conventional tacho system)?
>
>The kart has no battery, so it has no real ground reference, and
>these other units just seem to use the one wire.
>
>Any ideas????
>
>Thanks in advance (again)
>
>Simon
>
>
>
>________________________________________________________________________
>________________________________________________________________________
>
>Message: 2
> Date: Sat, 16 Jun 2001 08:35:14 -0400
> From: "Chris Loiacono (E-mail)" <chris01@t...>
>Subject: FW: Digital Control of Light
>
>
>
>>
Original Message
>> From: Chris Loiacono [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=X4Iu-zGoK-NQwc8FJpt6Az-PvhmW7s0IQKw0Jo2pj2i-4BBwq5rvnKG2OCoRZXg7VST6c4wtG7hN6h1E]chris@m...[/url
>> Sent: Friday, June 15, 2001 10:08 PM
>> To: 'basicstamps@yahoogroups.com'
>> Subject: RE: [noparse][[/noparse]basicstamps] Digital Control of Light
>>
>>
>>
>> >
>> > Anyone have any suggestions on how to control brightness of a
>> > 120vac 250
>> > watt lightbulb using a BS1 or 2?
>> >
>> > Hey, I know it's probably a dumb question...
>> >
>> > Thanks.
>> >
>> > Rus
>>
>> Here's the cheapest way that I have found to control a 120V
>> lighting filament with a stamp:
>> Optocouplers are needed both to detect the zero-crossings of
>> the AC line, and to fire the thyristor gate (I guess for
>> this, a Triac is cheapest).
>> The zero crossing detection can be accomplished with either a
>> Schmitt or transistor output type optocoupler. The H11L1 is
>> perhaps the easiest, and fast enough for the stamp (more on
>> this in a minute)...There are also AC couplers that have two
>> inverse LED's with one detector. With the earlier, you can
>> set an input low, and use a pause and pulseout to output to
>> your gate circuit. With the later, you'll get only a short
>> detect output from the optocoupler when both LED's are below
>> their thresholds. You can input this into the stamp pin also,
>> if you prefer. For 120VAC, the straight transistor output
>> lets you use SCR's, because you can use it to distinguish
>> between the + and - 1/2 waves - which is needed if you want
>> the full range of control.
>> Put your pulseout into something like one of the MOC3010's
>> (only OK for 120V, not higher), and have the 3010 output
>> switch the line to the gate with a 180 ohm resistor in
>> series. You can use whatever programming and interface scheme
>> you like to change the pause that times the start of the
>> pulseout. Use the shortest pulseout period that will gate the
>> device consistently. If you use inexpensive TO-220 triacs,
>> also consider transient protection for the triac.
>> The shorter the pause is, the brighter the lamp will be. The
>> biggest limitation is since the stamps are not so fast you'll
>> only get a handful or two of steps of control - not unlike
>> X10's dimmers. The cost is around $6.
>>
>> There's a PIC AN for higher resolution phase angle control
>> without opto's. Everyone who has tried it has blown up
>> several chips, so I have never tried it on a stamp.
>>
>> I also have done high-res phase angle control of
>> large loads up to 480VAC with a PIC 18 at the heart of it,
>> with soft start, current limit etc.
>> I have adapted this to accept serial input from a stamp through
>> a shift register for the power level command. It's a bit more
>> complicated and costly. The PIC does most of the work
>> If this is more like what you need, contact me off-list.
>>
>> I'm off to some GTO Thyristors for switching the power grid
>> next. Anyone have any experience with these?
>>
>> Chris
>>
>> >
>> > --
>> >
>>
>
>
>________________________________________________________________________
>________________________________________________________________________
>
>Message: 3
> Date: Sat, 16 Jun 2001 09:08:05 -0400
> From: Steve DeGroof <degroof@m...>
>Subject: Re: Inductive pickup
>
>egroups@d... wrote:
>>
>> I'm in desperate need on help. I'm trying to make an inductive tacho
>> pickup for my go kart.
>>
>> I've seen small units that work by simply wraping a wire around the
>> spark plug lead to pickup the signal. How do these work?
>>
>I found a couple of discussion threads on Google that might help:
>
>http://groups.google.com/groups?hl=en&lr=&safe=off&ic=1&th=f65a96a2a7510317
,16&seekm=4gsjgg%242us%40news.sas.ab.ca#p
>
>http://groups.google.com/groups?hl=en&lr=&safe=off&ic=1&th=f65a96a2a7510317
,16&seekm=4gsjgg%242us%40news.sas.ab.ca#p
>
>The URLs are a bit long, you'll probably have to splice them back
>together.
>
>From what I read, it sounds like the general idea is to use the
>pickup coil to drive the base of an NPN transistor, then clean up
>the signal with a 555 timer in monostable mode.
>
>SD
>
>
>--
>/===================================================================\
>| Steve DeGroof (http://degroof.home.mindspring.com/) |
>\===================================================================/
>
>
>________________________________________________________________________
>________________________________________________________________________
>
>Message: 4
> Date: Sat, 16 Jun 2001 09:46:08 -0700
> From: "Tim and Jo" <dema@t...>
>Subject: Re: Inductive pickup
>
>Hi Simon,
>
> The National Semiconductor LM2907 is designed to do just what you're
>looking for! It's a F/V converter with an inductive pick-up, for use as a
>tachometer. The output is selectable as 0-2 Volts or 0-10 Volts full
scale,
>which ever is best for your application. The data sheets have several
>different (great) application circuits. I've built three projects using
>this I.C. and like it alot -- it sounds to me like it's just what you need.
>It's inexpensive and available through several suppliers - I purchased mine
>through Jameco.
>
> Holler if you have questions,
>
>Tim
>
>
Original Message
>From: egroups@d... <egroups@d...>
>To: basicstamps@yahoogroups.com <basicstamps@yahoogroups.com>
>Date: Saturday, June 16, 2001 2:35 AM
>Subject: [noparse][[/noparse]basicstamps] Inductive pickup
>
>
>>Hi all,
>>
>>I'm in desperate need on help. I'm trying to make an inductive tacho
>>pickup for my go kart.
>>
>>I've seen small units that work by simply wraping a wire around the
>>spark plug lead to pickup the signal. How do these work?
>>
>>I've spent weeks trying to find a circuit on the net and no luck.
>>
>>Is there anyway I can run this wire to some sort of amplifier or
>>transistor to generate pulses that I could put through a F/V
>>converter (like a conventional tacho system)?
>>
>>The kart has no battery, so it has no real ground reference, and
>>these other units just seem to use the one wire.
>>
>>Any ideas????
>>
>>Thanks in advance (again)
>>
>>Simon
>>
>>
>>To UNSUBSCRIBE, just send mail to:
>> basicstamps-unsubscribe@yahoogroups.com
>>from the same email address that you subscribed with. Text in the Subject
>and Body of the message will be ignored.
>>
>>
>>Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>>
>>
>
>
>
>________________________________________________________________________
>________________________________________________________________________
>
>Message: 5
> Date: Sat, 16 Jun 2001 13:15:45 -0400
> From: "Sean Gibson" <seangib@h...>
>Subject: Re: Ditigal Control of Light
>
>
>> --- Rus Hardy <rushardy@m...> wrote:
>> > Anyone have any suggestions on how to control
>> > brightness of a 120vac 250
>> > watt lightbulb using a BS1 or 2?
>> >
>> > Hey, I know it's probably a dumb question...
>> >
>> > Thanks.
>> >
>> > Rus
>
>
>Hi Rus: Haven't had the time to try it but the AN1515 by Motorola uses a
555
>timer which has zero detection; phase control and is optically isolated.
>
>The circuit shown controls a motor but it should also control an
>incandescent lamp.
>
>Replacing "VR1" (see page 3 of the AN1515) with a digital pot would perhaps
>allow stamp control with multiple increments. A slow dim or ramp up could
be
>achieved by adding a capacitor. This solution may be too labour intensive
>but it seems simple and has the big advantage that it is optically isolated
>from line voltages.
>
>http://merchant.hibbertco.com/fs22/deact/fs22/pdf-docs/motorola/an1515.rev1
.
>
>Good Luck,
>
>Sean
>
>
>
>________________________________________________________________________
>________________________________________________________________________
>
>Message: 6
> Date: Sat, 16 Jun 2001 13:00:25 -0600
> From: s premena <premzee@j...>
>Subject: RE[noparse]:D[/noparse]itigal Control of Light [noparse][[/noparse]and Digital Control as well...]
>
>I built a four channel BS1 controlled system 2.5
>years ago [noparse][[/noparse]still working] using PWM output into
>OP Amp integrators which then fed Velleman voltage
>controlled 300 watt dimmers [noparse][[/noparse]$20. ea]. A bit cheaper
>than the MAX300 solution. [noparse][[/noparse]used an LM324 quad op amp].
>
>The PWM updates the op amp integrators often enough to
>avoid flicker and sag with the BS1 loop. 1 BS1 pin
>per dimmer channel...
>
>have fun, premena
>
>>> snipity....
> Date: Fri, 15 Jun 2001 19:40:52 -0700 (PDT)
> From: Lew Muller <lewmu@y...>
>
>I've used a voltage controlled dimmer kit made by
>Velleman. I control it with a MAX500 DAC (two wire
>serial). Total cost is about $35.00. It does give
>very fine control - 255 steps from off to full bright.
>This frees the stamp for other things except when
>changing the brightness. Jameco sells the Velleman
>kit. Another option is to use a X10 dimmer control -
>I don't have any experience with those, though.
>
>--- Rus Hardy <rushardy@m...> wrote:
>> Anyone have any suggestions on how to control
>> brightness of a 120vac 250 watt lightbulb using a BS1 or 2?
>
>________________________________________________________________
>GET INTERNET ACCESS FROM JUNO!
>Juno offers FREE or PREMIUM Internet access for less!
>Join Juno today! For your FREE software, visit:
>http://dl.www.juno.com/get/tagj.
>
>
>________________________________________________________________________
>________________________________________________________________________
>
>Message: 7
> Date: Sat, 16 Jun 2001 17:49:35 EDT
> From: parkan197@a...
>Subject: Re: Re: Ditigal Control of Light
>
>
>
> >
>
>
>
>[noparse][[/noparse]This message contained attachments]
>
>
>
>________________________________________________________________________
>________________________________________________________________________
>
>Message: 8
> Date: Sat, 16 Jun 2001 17:54:20 EDT
> From: burtsz@a...
>Subject: Re: Science fair project
>
>Hi TC & TC Jr.,
>A couple of suggestions for the 555 timer project:
>1) Look into the ARRL Radio Amateur Handbook for information.
>2) Signetics was the original designer and manufacturer of the device. It
>has since been copied and somewhat improved over the original by many, many
>other manufacturers including low power CMOS versions.
>3) Look into old & back issues of "Popular Electronics" magazine for 555
>timer projects and a simplified explanation of it's workings.
>4) Do search the web for "NE-555", "NE555", and other variations on the
>nomenclature for additional information. I did this several months ago and
>found a significant amount of information.
>5) Check out the Motorola Semiconductor (now ON Semiconductor), National
>Semiconductor, Phillips Semiconductor, and Texas Instruments data sheets
and
>linear handbooks for information.
>6) From what I remember, the inside workings are basically a resistive
>voltage divider of 3 equal value resistors, two voltage comparators, a RS
>flip flop, an uncommitted open collector NPN transistor driven by the
>internals with it's emitter grounded and a few other bits and pieces.
>7) The 555 timer has been and continues to be very successful.
>8) Perhaps you come up with a new design !!!!!
>Wondering where you are located?
>Best wishes on your project.
>Burt Schultz
>
>
>________________________________________________________________________
>________________________________________________________________________
>
>Message: 9
> Date: Sat, 16 Jun 2001 15:56:05 -0700 (PDT)
> From: Pence Bob <bobpence_2000@y...>
>Subject: Re: Re: Re: serial ports
>
>Mike is correct about RS-232 being single-ended,
>although if I recall correctly, you are off with
>voltages. I recommend B&B Electronics RS-422/485
>Application Note at
>http://www.bb-elec.com/tech_articles/rs422_485_app_note/table_of_contents.a
sp.
>
>
>RS-422 is differential - instead of one each RXD and
>TXD referenced to GND, 422 uses a positive and
>negative of each transmit and receive (+7 VDC and -7
>VDC, I think), so to convert to EIA/TIA-232c you must
>combine the transmit signals together and the receive
>signals together, and adjust the voltage; also,
>possibly, handle handshaking, though not in the
>Stamp's context.
>
>B&B has some converters, I think some under $30, some
>between $50 and $120. Black Box also has some, in a
>slightly wider price range.
>
>Bob Pence
>
>--- Mike DeMetz <miked@t...> wrote:
>> RS-232 is single ended, with a plus and minus
>> voltage swing. RS-422 is
>> push-pull from 0 to 5V. They only specify the
>> electrical operation. Data
>> protocol can be what ever you want though usually 7
>> or 8 bit ASCII with a
>> Start bit and Stop pause.
>>
>> >
>> > What is the difference between RS-232 and RS-422?
>> Is it voltage or
>> > only data transfer protocol?
>>
>>
>>
>> To UNSUBSCRIBE, just send mail to:
>> basicstamps-unsubscribe@yahoogroups.com
>> from the same email address that you subscribed
>> with. Text in the Subject and Body of the message
>> will be ignored.
>>
>>
>> Your use of Yahoo! Groups is subject to
>> http://docs.yahoo.com/info/terms/
>>
>>
>
>
>__________________________________________________
>Do You Yahoo!?
>Spot the hottest trends in music, movies, and more.
>http://buzz.yahoo.com/
>
>
>________________________________________________________________________
>________________________________________________________________________
>
>Message: 10
> Date: Sat, 16 Jun 2001 19:21:41 -0400
> From: "Sean Gibson" <seangib@h...>
>Subject: Re: Ditigal Control of Light
>
>
>
Original Message
>From: "Sean Gibson" <seangib@h...>
>To: <basicstamps@yahoogroups.com>
>Sent: Saturday, June 16, 2001 1:15 PM
>Subject: Re: [noparse][[/noparse]basicstamps] Ditigal Control of Light
>
>
>>
>> > --- Rus Hardy <rushardy@m...> wrote:
>> > > Anyone have any suggestions on how to control
>> > > brightness of a 120vac 250
>> > > watt lightbulb using a BS1 or 2?
>> > >
>> > > Hey, I know it's probably a dumb question...
>> > >
>> > > Thanks.
>> > >
>> > > Rus
>>
>>
>> Hi Rus: Haven't had the time to try it but the AN1515 by Motorola uses a
>555
>> timer which has zero detection; phase control and is optically isolated.
>>
>> The circuit shown controls a motor but it should also control an
>> incandescent lamp.
>>
>> Replacing "VR1" (see page 3 of the AN1515) with a digital pot would
>perhaps
>> allow stamp control with multiple increments. A slow dim or ramp up could
>be
>> achieved by adding a capacitor. This solution may be too labour intensive
>> but it seems simple and has the big advantage that it is optically
>isolated
>> from line voltages.
>>
>> Sorry, the correct URL is http://appnote.stts.edu/Motorola/sudah.htm
>>
>> Good Luck,
>>
>> Sean
>>
>>
>> To UNSUBSCRIBE, just send mail to:
>> basicstamps-unsubscribe@yahoogroups.com
>> from the same email address that you subscribed with. Text in the
Subject
>and Body of the message will be ignored.
>>
>>
>> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>>
>>
>>
>
>
>
>________________________________________________________________________
>________________________________________________________________________
>
>Message: 11
> Date: Fri, 15 Jun 2001 20:38:31 -0400
> From: agarb@j...
>Subject: Re: resetting
>
>If your Stamp is resetting when the COM port opens, your PC is probably
>asserting DTR to +12 volts. DTR is connected to the ATN pin on the
>stamp. Asserting this line resets the stamp in prepartaion for
>programming. To get around this you may wish to:
>1. Change the PC software to not bring ATN to +12 volts (if possible)
>2. Or, devise some method of breaking ATN. Either physically, or by
>installing a 0.1 uF cap between DTR and ATN. I believe there is more
>info on this in Al William's FAQ.
>problem.
>
>On Fri, 15 Jun 2001 12:09:43 -0500 "Ricky Konvicka"
><ricky@m...> writes:
>> Thanks Todd. Another question. Why does windows or hyperterminal
>> reset the stamp when they are turned on?
>
>
>________________________________________________________________________
>________________________________________________________________________
>
>Message: 12
> Date: Sun, 17 Jun 2001 01:29:05 -0000
> From: kenzo@u...
>Subject: self-modifying programs
>
>Hi,
> Anyone know if it's possible to "poke" into the basic token area of
>a running program? If possible, I'd like to write a program for the
>stamp that is self-modifying. I've done this before in other basics,
>should be possible in PBasic?
>
>Thanks!
>
>Ken
>
>
>
>________________________________________________________________________
>________________________________________________________________________
>
>Message: 13
> Date: Sun, 17 Jun 2001 02:13:27 -0000
> From: sjohns10@h...
>Subject: DTMF Tones
>
>Hello,
> I was trying to build a small toy RC blimp and then saw how
>expensive the transmitter and reciever were. Then I had this weird
>idea. If I had a DTMF tone encoder hooked up to a CB radio's mic, and
>a tone decoder attatched to another CB's speaker, then had a Basic
>Stamp2 on the decoder to tell the blimp what to do, would that work?
>Lets say you pushed the number "1" on the encoder. The tone it made
>would go to the CB and get transmitted. Then the other CB would
>recieve it and the decoder would give it's output in a 4-bit
>hexadecimal code. Next, the BS2 would output a signal to a relay
>which in turn would operate a fan to make the blimp turn left. Does
>anyone have a clue whether this would work or not?
>
> -Thanks
>
>
>
>________________________________________________________________________
>________________________________________________________________________
>
>Message: 14
> Date: Sun, 17 Jun 2001 02:15:06 -0000
> From: kenzo@u...
>Subject: Re: IMAGE
>
>> By the way ::::: ::::::: I have discovered a cheap an dirty
>> standard video to STAMP interface
>> How cheap ??? under $5.00 drop me a line if you are
>interested .....
>
>
>Why don't you just post it??
>
>
>
>
>
>
>________________________________________________________________________
>________________________________________________________________________
>
>Message: 15
> Date: Sun, 17 Jun 2001 02:17:21 -0000
> From: kenzo@u...
>Subject: Re: A lurking observation
>
>> I submit that
>> this group would be better served using the ultimate Bulletin Board
>> or a similar BBS.
>>
>
>Not if you consider RELIABILITY...
>
>
>
>
>________________________________________________________________________
>________________________________________________________________________
>
>Message: 16
> Date: Sat, 16 Jun 2001 22:29:08 -0400
> From: "Mike Mocenter" <mocenter@e...>
>Subject: Re: DTMF Tones
>
>Dear Mr. Johns (?)
>make sure you do not start the construction of this project until you
>measure the size of the blimp! helium has a very low density and the tiny
>hobby blimps like the one I have will only lift a few ounces/lb of helium
>used. I have a 3 foot unit and it just barely lifts a tiny cmos camera and
>tiny transmitter with the battery for the r/c and the little engines with
>ducted fans I put on it. Your idea has merit for control, but I think the
>letters "GOODYEAR' will have to appear on the side for you to get off the
>ground. I used to work on the Goodyear blimp in N.C. with some imagery
>projects and we even had to be very careful with weight of rack equipment
>with the big ones as the density to air-helium and weight was very
critical.
>I hope I did not burst your bubble, but these are proven facts from
>experience. If you need any more info, I have a friend who is head of the
>West Jersey R/C club who worked for me that knows all about this and is 80
>years old with one eye and still flies model helos like a champ. He would
>be happy to give you more info if you want to e-mail him
>mike mocenter
>
Original Message
>From: <sjohns10@h...>
>To: <basicstamps@yahoogroups.com>
>Sent: Saturday, June 16, 2001 10:13 PM
>Subject: [noparse][[/noparse]basicstamps] DTMF Tones
>
>
>> Hello,
>> I was trying to build a small toy RC blimp and then saw how
>> expensive the transmitter and reciever were. Then I had this weird
>> idea. If I had a DTMF tone encoder hooked up to a CB radio's mic, and
>> a tone decoder attatched to another CB's speaker, then had a Basic
>> Stamp2 on the decoder to tell the blimp what to do, would that work?
>> Lets say you pushed the number "1" on the encoder. The tone it made
>> would go to the CB and get transmitted. Then the other CB would
>> recieve it and the decoder would give it's output in a 4-bit
>> hexadecimal code. Next, the BS2 would output a signal to a relay
>> which in turn would operate a fan to make the blimp turn left. Does
>> anyone have a clue whether this would work or not?
>>
>> -Thanks
>>
>>
>> To UNSUBSCRIBE, just send mail to:
>> basicstamps-unsubscribe@yahoogroups.com
>> from the same email address that you subscribed with. Text in the
Subject
>and Body of the message will be ignored.
>>
>>
>> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>>
>>
>>
>
>
>
>________________________________________________________________________
>________________________________________________________________________
>
>Message: 17
> Date: Sat, 16 Jun 2001 22:30:08 -0400
> From: "Mike Mocenter" <mocenter@e...>
>Subject: Re: Re: IMAGE
>
>please send info to:
>mocente@e...
>thanks
>mike m
>
Original Message
>From: <kenzo@u...>
>To: <basicstamps@yahoogroups.com>
>Sent: Saturday, June 16, 2001 10:15 PM
>Subject: [noparse][[/noparse]basicstamps] Re: IMAGE
>
>
>> > By the way ::::: ::::::: I have discovered a cheap an dirty
>> > standard video to STAMP interface
>> > How cheap ??? under $5.00 drop me a line if you are
>> interested .....
>>
>>
>> Why don't you just post it??
>>
>>
>>
>>
>>
>> To UNSUBSCRIBE, just send mail to:
>> basicstamps-unsubscribe@yahoogroups.com
>> from the same email address that you subscribed with. Text in the
Subject
>and Body of the message will be ignored.
>>
>>
>> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>>
>>
>
>
>
>________________________________________________________________________
>________________________________________________________________________
>
>Message: 18
> Date: Sat, 16 Jun 2001 22:31:26 -0400
> From: "Mike Mocenter" <mocenter@e...>
>Subject: Re: Re: IMAGE
>
>missed a letter:
>correct e-mail is:
> mocenter@e...
>sorry for the error
>mike M
>
Original Message
>From: Mike Mocenter <mocenter@e...>
>To: <basicstamps@yahoogroups.com>
>Sent: Saturday, June 16, 2001 10:30 PM
>Subject: Re: [noparse][[/noparse]basicstamps] Re: IMAGE
>
>
>> please send info to:
>> mocente@e...
>> thanks
>> mike m
>>
Original Message
>> From: <kenzo@u...>
>> To: <basicstamps@yahoogroups.com>
>> Sent: Saturday, June 16, 2001 10:15 PM
>> Subject: [noparse][[/noparse]basicstamps] Re: IMAGE
>>
>>
>> > > By the way ::::: ::::::: I have discovered a cheap an dirty
>> > > standard video to STAMP interface
>> > > How cheap ??? under $5.00 drop me a line if you are
>> > interested .....
>> >
>> >
>> > Why don't you just post it??
>> >
>> >
>> >
>> >
>> >
>> > To UNSUBSCRIBE, just send mail to:
>> > basicstamps-unsubscribe@yahoogroups.com
>> > from the same email address that you subscribed with. Text in the
>Subject
>> and Body of the message will be ignored.
>> >
>> >
>> > Your use of Yahoo! Groups is subject to
>http://docs.yahoo.com/info/terms/
>> >
>> >
>>
>>
>> To UNSUBSCRIBE, just send mail to:
>> basicstamps-unsubscribe@yahoogroups.com
>> from the same email address that you subscribed with. Text in the
Subject
>and Body of the message will be ignored.
>>
>>
>> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>>
>>
>>
>
>
>
>________________________________________________________________________
>________________________________________________________________________
>
>Message: 19
> Date: Sat, 16 Jun 2001 23:33:17 -0400
> From: "GL Controls" <glcontrols@h...>
>Subject: Counting using large Numbers
>
>I need to store and be able to recall a number
>from BS2 eeprom memory. The number will exceed
>the word level. Can someone give me an idea about
>working with large numbers and how to read and
>write them to eeprom? Should I do it, a single
>digit at a time. Any Help Please???
>
>TIA
>Gill
>_________________________________________________________________
>Get your FREE download of MSN Explorer at http://explorer.msn.com
>
>
>
>________________________________________________________________________
>________________________________________________________________________
>
>Message: 20
> Date: Sat, 16 Jun 2001 22:25:54 -0400
> From: Jim Higgins <HigginsJ@s...>
>Subject: Re: DTMF Tones
>
>At 22:13 06/16/01, sjohns10@h... wrote:
>>Hello,
>> I was trying to build a small toy RC blimp and then saw how
>>expensive the transmitter and reciever were. Then I had this weird
>>idea. If I had a DTMF tone encoder hooked up to a CB radio's mic, and
>>a tone decoder attatched to another CB's speaker, then had a Basic
>>Stamp2 on the decoder to tell the blimp what to do, would that work?
>>Lets say you pushed the number "1" on the encoder. The tone it made
>>would go to the CB and get transmitted. Then the other CB would
>>recieve it and the decoder would give it's output in a 4-bit
>>hexadecimal code. Next, the BS2 would output a signal to a relay
>>which in turn would operate a fan to make the blimp turn left. Does
>>anyone have a clue whether this would work or not?
>
>Probably not as nicely as the proportional control typical of the more
>expensive RC systems. A homegrown control system is also likely to weigh a
>lot more than a commercial RC system, and I think weight will be a very
>important consideration for you. But in the final analysis, it would be
>illegal to use CB frequencies, even the ones located between the regular CB
>channels that are meant for RC control, for control of a flying
>machine. The CB RC frequencies are for control of ground operated devices
>(cars, etc.) only - by Federal law. Also, there is enough illegal voice
>operation on the CB RC frequencies by CBers that you could be subject to
>considerable interference. Loss of control of a flying machine represents
>a safety risk - even if less for a blimp than for a faster moving fuel
>powered device. I don't see any plusses at all to this approach.
>
>Jim H
>
>
>
>________________________________________________________________________
>________________________________________________________________________
>
>Message: 21
> Date: Sat, 16 Jun 2001 20:46:06 -0700 (PDT)
> From: Pence Bob <bobpence_2000@y...>
>Subject: Re: Counting using large Numbers
>
>What do you need to do with the number? If you are
>going to display it, a BCD-type concept may work well.
>In BCD, binary-code decimal, each base-ten digit is
>stored in four bits - same as with hexadecimal. It is
>a pain when doing calculations, but may be useful to
>store and display long decimal numbers. Please give
>more detail on context.
>
>Bob Pence
>
>--- GL Controls <glcontrols@h...> wrote:
>> I need to store and be able to recall a number
>> from BS2 eeprom memory. The number will exceed
>> the word level. Can someone give me an idea about
>> working with large numbers and how to read and
>> write them to eeprom? Should I do it, a single
>> digit at a time. Any Help Please???
>>
>> TIA
>> Gill
>>
>_________________________________________________________________
>> Get your FREE download of MSN Explorer at
>> http://explorer.msn.com
>>
>>
>> To UNSUBSCRIBE, just send mail to:
>> basicstamps-unsubscribe@yahoogroups.com
>> from the same email address that you subscribed
>> with. Text in the Subject and Body of the message
>> will be ignored.
>>
>>
>> Your use of Yahoo! Groups is subject to
>> http://docs.yahoo.com/info/terms/
>>
>>
>
>
>__________________________________________________
>Do You Yahoo!?
>Spot the hottest trends in music, movies, and more.
>http://buzz.yahoo.com/
>
>
>________________________________________________________________________
>________________________________________________________________________
>
>Message: 22
> Date: Sun, 17 Jun 2001 00:04:27 -0400
> From: "GL Controls" <glcontrols@h...>
>Subject: Re: Counting using large Numbers
>
>The stamp needs to count Cycles on a machine,
>Store and act upon a Batch count and keep a
>total cycle count. I need to be able to display
>the batch count and total count on an LCD
>along with storing both in EEprom.
>The batch count can be kept to less than 65000
>The total will be quite large. Cycle count for
>one day could be as much as 57600 (2 Cycles a second)
>I was thinking I could store each digit as a seperate
>nibble in eeprom. I also could display it using the
>same method. I am not sure of the best way to do it.
>
>Thanks
>Gill
>
>
>
>
>
>>What do you need to do with the number? If you are
>>going to display it, a BCD-type concept may work well.
>>In BCD, binary-code decimal, each base-ten digit is
>>stored in four bits - same as with hexadecimal. It is
>>a pain when doing calculations, but may be useful to
>>store and display long decimal numbers. Please give
>>more detail on context.
>>
>>Bob Pence
>>
>>--- GL Controls <glcontrols@h...> wrote:
>> > I need to store and be able to recall a number
>> > from BS2 eeprom memory. The number will exceed
>> > the word level. Can someone give me an idea about
>> > working with large numbers and how to read and
>> > write them to eeprom? Should I do it, a single
>> > digit at a time. Any Help Please???
>> >
>
>_________________________________________________________________
>Get your FREE download of MSN Explorer at http://explorer.msn.com
>
>
>
>________________________________________________________________________
>________________________________________________________________________
>
>Message: 23
> Date: Sun, 17 Jun 2001 06:20:01 +0200
> From: "Peter Verkaik" <peterverkaik@b...>
>Subject: RE:self-modifying programs
>
>Hi Ken,
>
>Take a look at Note 16 in the stamp manual.
>The procedure how to do this is described there.
>
>Greetings peter
>
>
>
>
>________________________________________________________________________
>________________________________________________________________________
>
>Message: 24
> Date: Sun, 17 Jun 2001 00:40:29 -0400
> From: Bruce Bates <bvbates@u...>
>Subject: Re: Counting using large Numbers
>
>At 6/17/2001 Sunday 12:04 AM, GL Controls promulgated:
>>The stamp needs to count Cycles on a machine,
>>Store and act upon a Batch count and keep a
>>total cycle count. I need to be able to display
>>the batch count and total count on an LCD
>>along with storing both in EEprom.
>>The batch count can be kept to less than 65000
>>The total will be quite large. Cycle count for
>>one day could be as much as 57600 (2 Cycles a second)
>>I was thinking I could store each digit as a seperate
>>nibble in eeprom. I also could display it using the
>>same method. I am not sure of the best way to do it.
>>
>>Thanks
>>Gill
>>
>>Gill -
>
>You might consider a factor variable. When the batch counter nearly
>approaches overflow, add 1 to the batch counter, and subtract the value you
>chose to represent the limit value.
>
>Example in pseudo code -
>
>batch_limit = 32000 '(arbitrary limit in a word size variable)
>batch_count = 0
>factor = 0
>
>Process:
> ' Do whatever you need to here on input
>If process_ended then End_Process '(set by some external routine)
>batch_count = batch_count + 1
>If batch_count < batch_limit then Process:
>factor = factor + 1
>batch_count = batch_count - batch_limit
>Goto Process:
>
>End_Process:
>'batch_count now contains the remaining items
>'factor contains the multiples of batch_limit
>
>END
>
>That should give you a starting point for counting.
>
>Regards,
>
>Bruce Bates
>
>
>
>
>________________________________________________________________________
>________________________________________________________________________
>
>Message: 25
> Date: Sun, 17 Jun 2001 01:10:51 -0400
> From: Ken Ambrose <kenzo@u...>
>Subject: Re: RE:self-modifying programs
>
>Hi,
> Where do they hide the "notes" in the stamp manual. Dern if I
>can't find a single note that has a number associated to
>it.
>
>Kenzo
>
>with enough thrust, pigs fly just fine.
>
>
>
>---- On Sun, 17 Jun 2001, Peter Verkaik
>(peterverkaik@b...) wrote:
>
>> Hi Ken,
>>
>> Take a look at Note 16 in the stamp manual.
>> The procedure how to do this is described there.
>>
>> Greetings peter
>>
>>
>>
>> To UNSUBSCRIBE, just send mail to:
>> basicstamps-unsubscribe@yahoogroups.com
>> from the same email address that you subscribed with. Text
>in the
>> Subject and Body of the message will be ignored.
>>
>>
>> Your use of Yahoo! Groups is subject to
>> http://docs.yahoo.com/info/terms/
>>
>>
>>
>>
>
>
>
>________________________________________________________________________
>________________________________________________________________________
>
>
>
>Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>
>