Shop OBEX P1 Docs P2 Docs Learn Events
Digest Number 796 — Parallax Forums

Digest Number 796

ArchiverArchiver Posts: 46,084
edited 2001-08-15 11:30 in General Discussion
I have debugged code fragments to set and read the Vector Electronic Compass
if anyone needs it.

Also code fragments to set and read the JVC clock chip.

Regards,
Jim
Original Message
From: <basicstamps@yahoogroups.com>
To: <basicstamps@yahoogroups.com>
Sent: August 15, 2001 4:41 AM
Subject: [noparse][[/noparse]basicstamps] Digest Number 796


> To UNSUBSCRIBE, just send mail to:
> basicstamps-unsubscribe@yahoogroups.com
> from the same email address that you subscribed. Text in the Subject and
Body of the message will be ignored.
>
>
>
> There are 24 messages in this issue.
>
> Topics in this digest:
>
> 1. quadravox speech question
> From: "ulibasic" <ulibasic@r...>
> 2. Controlling the LED blinker help!
> From: "Michael Robinson" <mhr_54@h...>
> 3. Re: Re: LDVDT???
> From: "Beau Schwabe" <bschwabe@a...>
> 4. New stamper question
> From: shawnusa@e...
> 5. Re: LDVDT???
> From: iceninevt@y...
> 6. Re: New stamper question
> From: Rodent <daweasel@s...>
> 7. RE: New stamper question
> From: "Al Williams" <alw@a...>
> 8. Re: New stamper question
> From: "Beau Schwabe" <bschwabe@a...>
> 9. RE: New stamper question
> From: "Al Williams" <alw@a...>
> 10. Re: New stamper question
> From: shawnusa@e...
> 11. stamp/pic
> From: "Sean T. Lamont .lost." <lamont@a...>
> 12. Re: stamp/pic
> From: "Philippe Derenne" <derennep@s...>
> 13. RE: stamp/pic
> From: "Al Williams" <alw@a...>
> 14. OT) Net World Interop
> From: "Beau Schwabe" <bschwabe@a...>
> 15. FW: OT) Net World Interop
> From: "Chris Loiacono (E-mail)" <chris01@t...>
> 16. Re: LVDT???
> From: agarb@j...
> 17. Re: Re: LDVDT???
> From: agarb@j...
> 18. Re: LVDT???
> From: agarb@j...
> 19. Re: stamp/pic
> From: "S Parkis" <parkiss@e...>
> 20. Re: Digital Compass
> From: DAVECUSTOM@A...
> 21. Serial LCD
> From: chrisd@w...
> 22. LCD Selection
> From: tbanez@h...
> 23. Re: LCD Selection
> From: Bruce Bates <bvbates@u...>
> 24. RE: LCD Selection
> From: "Daliti" <peter.christiaen@s...>
>
>
> ________________________________________________________________________
> ________________________________________________________________________
>
> Message: 1
> Date: Tue, 14 Aug 2001 12:23:43 +0200
> From: "ulibasic" <ulibasic@r...>
> Subject: quadravox speech question
>
> Hi Stanpers,
>
> I got myself a quadravox speech module and a cradle to put wav. files into
> it. Everything works great except:
>
> How can I manage to play one sound after the other without delay? I picked
> the highest baudrate and tried to create soundfiles with no silence in the
> beginning but there is still almost a second between two sounds...
>
> What is my mistake or is it just that way?
>
> Thanx for your help,
>
> Uli
>
>
> [noparse][[/noparse]Non-text portions of this message have been removed]
>
>
>
> ________________________________________________________________________
> ________________________________________________________________________
>
> Message: 2
> Date: Tue, 14 Aug 2001 10:21:19 -0400
> From: "Michael Robinson" <mhr_54@h...>
> Subject: Controlling the LED blinker help!
>
> Dear list,
>
> Does anyone have the book Programming and Customizing the Basic Stamp
Computer. I need help with page 83, Controlling the LED Blinker. When I turn
the switch on the led blinks, but when I turn it off the LED stays lit 75%
of the time and not lit 25% of the time. I check my circuit wiring and
program and they were both exactly the same as the book. I have a BS2SX on
an activity board with an app module plugged into it containing my circuit.
Please help.
>
> Sincerely,
> MichaelGet more from the Web. FREE MSN Explorer download :
http://explorer.msn.com
>
>
> [noparse][[/noparse]Non-text portions of this message have been removed]
>
>
>
> ________________________________________________________________________
> ________________________________________________________________________
>
> Message: 3
> Date: Tue, 14 Aug 2001 10:16:49 -0400
> From: "Beau Schwabe" <bschwabe@a...>
> Subject: Re: Re: LDVDT???
>
> At 07:59 PM 8/13/01 +0000, you wrote:
> >Maybe you are correct, it's just that my "gut" doesn't subscribe to
> >what you suggest. It is difficult for me to accept that the circuit
> >can be made thermally stable in this fashion. Still, I don't discount
> >what you say...
>
> Refer to the attached URL:
> Since the same oscillator (U1,U2,and C1, plus the LVDT Coils) is used
> for up to 8 LVDT coils then you can bet that all coils will be affected
> equally with temperature, and that any differences could be traced to
> internal propagation delays within U1.
>
> What the 'LVDT,gif' does require in order to provide compensation
> is a LVDT coil dedicated to do nothing as far as movement, but only
> for a reference. Typically the "reference coil" or "dummy coil"
> would be configured so that the metallic slug would be resting at a
> center position. Your software (within a STAMP or PIC) would simply
> select the appropriate coil and make a percentage comparison. i.e.
>
>
> (Pseudo Stamp Code)
> Start:
>
> read reference LVDT
> read position LVDT
>
> if reference < position then Loop1
> if reference > position then Loop2
>
> percent = 0
>
> goto Done
>
> Loop1:
> percent = ( reference * 100 ) / position
> goto Done
>
> Loop2:
> percent = ( position * 100 ) / reference
> percent = percent * -1
>
> Done:
> debug percent
> goto Start
>
>
> >What you suggest is much less parts intensive than the only way I
> >know how to do it. Could you point me somewhere where I may look at
> >the schematic to which you refer? My curiosity certainly has the best
> >of me.
>
> 3 IC's + a Stamp to read 7 LVDT's
>
> http://home.earthlink.net/~y2kbc/Electronics/BasicStamp/LVDT.gif
>
> See also...
>
> http://home.earthlink.net/~y2kbc/Electronics/BasicStamp/Coilread.gif
>
>
>
> >Thank You,
> >Regards
> >
> >Rich
> >
> >--- In basicstamps@y..., "Beau Schwabe" <bschwabe@a...> wrote:
> > > At 05:34 PM 8/13/01 +0000, you wrote:
> > > >Using a LVDT with only a single secondary winding only simplifies
> > > >things slightly. Placing a second coil in a feedback wont do much
> >to
> > > >keep things stable. The coil is not nearly as cranky about ambient
> > > >temp as a semiconductor junction. Is is for that reason that I
> > > >suggested placing all rectifiers over a common thermal pad.
> > > >Instability comes from these diodes being at different temps.
> > >
> > > Agreed, but the circuit that I provided does have temperature issues
> > > not so much with the coils, but within the 74xx14. To compensate
> > > for this you must have a "dummy coil" that is used to compare
> >against
> > > the LVDT coil. i.e.
> > >
> > > ( "LVDT coil" * "DeltaTemp" )
> > > Output =
> > > ( "dummy coil" * "DeltaTemp")
> > >
> > > can be simplified, eliminating any temperature effects to...
> > >
> > > "LVDT coil"
> > > Output =
> > > "dummy coil"
> > >
>
>
> Beau Schwabe IC Mask Designer
> National Semiconductor Wired Communications Division
> 500 Pinnacle Court, Suite 525 Mail Stop GA1 Norcross, GA 30071
>
>
>
>
>
> ________________________________________________________________________
> ________________________________________________________________________
>
> Message: 4
> Date: Tue, 14 Aug 2001 15:07:00 -0000
> From: shawnusa@e...
> Subject: New stamper question
>
> I'm fairly new to Basic stamps and electronics in general. I was
> hopping one of you out there might be able to help me out here. I
> have a Passive Infrared motion detector that shows a 5.06 voltage
> constant until movment is detected. When it senses movment the
> voltage drops to below 1 volt. Now from reading, this seems to be
> what is termed active-low. Now my real question . How would I code/
> add components to the stamp to allow me to sense when the PIR sensor
> detects movment? Do I need any resitors or other components? It seems
> to me I should be able to do an If in8=0 then display movment
> detected. Any code examples and or componets required would be
> appricated.
>
> Thanks for your help
>
> Shawn
>
>
>
> ________________________________________________________________________
> ________________________________________________________________________
>
> Message: 5
> Date: Tue, 14 Aug 2001 15:25:07 -0000
> From: iceninevt@y...
> Subject: Re: LDVDT???
>
>
> Thank you for sharing this information with me. Informative and
> interesting...
>
> I can be SOO00oo stubborn sometimes.
>
> Regards
> Rich AA2DN
>
>
>
> --- In basicstamps@y..., "Beau Schwabe" <bschwabe@a...> wrote:
> > At 07:59 PM 8/13/01 +0000, you wrote:
> > >Maybe you are correct, it's just that my "gut" doesn't subscribe to
> > >what you suggest. It is difficult for me to accept that the circuit
> > >can be made thermally stable in this fashion. Still, I don't
> discount
> > >what you say...
> >
> > Refer to the attached URL:
> > Since the same oscillator (U1,U2,and C1, plus the LVDT Coils) is
> used
> > for up to 8 LVDT coils then you can bet that all coils will be
> affected
> > equally with temperature, and that any differences could be traced
> to
> > internal propagation delays within U1.
> >
> > What the 'LVDT,gif' does require in order to provide compensation
> > is a LVDT coil dedicated to do nothing as far as movement, but only
> > for a reference. Typically the "reference coil" or "dummy coil"
> > would be configured so that the metallic slug would be resting at a
> > center position. Your software (within a STAMP or PIC) would simply
> > select the appropriate coil and make a percentage comparison. i.e.
> >
> >
> > (Pseudo Stamp Code)
> > Start:
> >
> > read reference LVDT
> > read position LVDT
> >
> > if reference < position then Loop1
> > if reference > position then Loop2
> >
> > percent = 0
> >
> > goto Done
> >
> > Loop1:
> > percent = ( reference * 100 ) / position
> > goto Done
> >
> > Loop2:
> > percent = ( position * 100 ) / reference
> > percent = percent * -1
> >
> > Done:
> > debug percent
> > goto Start
> >
> >
> > >What you suggest is much less parts intensive than the only way I
> > >know how to do it. Could you point me somewhere where I may look
> at
> > >the schematic to which you refer? My curiosity certainly has the
> best
> > >of me.
> >
> > 3 IC's + a Stamp to read 7 LVDT's
> >
> > http://home.earthlink.net/~y2kbc/Electronics/BasicStamp/LVDT.gif
> >
> > See also...
> >
> > http://home.earthlink.net/~y2kbc/Electronics/BasicStamp/Coilread.gif
> >
> >
> >
> > >Thank You,
> > >Regards
> > >
> > >Rich
> > >
> > >--- In basicstamps@y..., "Beau Schwabe" <bschwabe@a...> wrote:
> > > > At 05:34 PM 8/13/01 +0000, you wrote:
> > > > >Using a LVDT with only a single secondary winding only
> simplifies
> > > > >things slightly. Placing a second coil in a feedback wont do
> much
> > >to
> > > > >keep things stable. The coil is not nearly as cranky about
> ambient
> > > > >temp as a semiconductor junction. Is is for that reason that I
> > > > >suggested placing all rectifiers over a common thermal pad.
> > > > >Instability comes from these diodes being at different temps.
> > > >
> > > > Agreed, but the circuit that I provided does have temperature
> issues
> > > > not so much with the coils, but within the 74xx14. To
> compensate
> > > > for this you must have a "dummy coil" that is used to compare
> > >against
> > > > the LVDT coil. i.e.
> > > >
> > > > ( "LVDT coil" * "DeltaTemp" )
> > > > Output =
> > > > ( "dummy coil" * "DeltaTemp")
> > > >
> > > > can be simplified, eliminating any temperature effects to...
> > > >
> > > > "LVDT coil"
> > > > Output =
> > > > "dummy coil"
> > > >
> >
> >
> > Beau Schwabe IC Mask Designer
> > National Semiconductor Wired Communications Division
> > 500 Pinnacle Court, Suite 525 Mail Stop GA1 Norcross, GA 30071
> >
>
>
>
> ________________________________________________________________________
> ________________________________________________________________________
>
> Message: 6
> Date: Tue, 14 Aug 2001 10:30:48 -0500
> From: Rodent <daweasel@s...>
> Subject: Re: New stamper question
>
> Connect the output of the PIR detector to one of the Stamp ports though
> about a 330 ohm resistor. You don't absolutely need the resistor, but if
you
> screw up and have the port set up as an output it can save the Stamp. Set
> the port up as an input with the DIR = statement, then do the IF statement
> you posted.
>
>
Original Message
>
> > I'm fairly new to Basic stamps and electronics in general. I was
> > hopping one of you out there might be able to help me out here. I
> > have a Passive Infrared motion detector that shows a 5.06 voltage
> > constant until movment is detected. When it senses movment the
> > voltage drops to below 1 volt. Now from reading, this seems to be
> > what is termed active-low. Now my real question . How would I code/
> > add components to the stamp to allow me to sense when the PIR sensor
> > detects movment? Do I need any resitors or other components? It seems
> > to me I should be able to do an If in8=0 then display movment
> > detected. Any code examples and or componets required would be
> > appricated.
>
>
>
>
>
> ________________________________________________________________________
> ________________________________________________________________________
>
> Message: 7
> Date: Tue, 14 Aug 2001 10:33:02 -0500
> From: "Al Williams" <alw@a...>
> Subject: RE: New stamper question
>
> That sounds like it should work. All digital devices have some threshold
and
> anything below that threshold is a "0" (except for devices that exhibit
> hysterisis, but that's another story and one that doesn't apply). The
5.06V
> should not bother the Stamp, although a small series resistor would allow
> you to safely handle voltages high enough to trip the Stamp's internal
> protection diodes (5.6V or so).
>
> Figure a Stamp input can sink 20mA safely. The protection diodes will
clamp
> the input to 5.6V (and -.6V on the other side) more or less. So ohm's law
> can tell us that:
>
> (Vin-5.6)/.02 = R
>
> So if the PIR could deliver, for example, 9V would give you an R of 170
> ohms. Under normal operation, this wouldn't be a problem since the Stamp
> inputs draw so little current. Just for a seat of the pants guess, say a
> Stamp input draws 100uA (.0001A) -- it may not even draw that much, but
just
> say that it does. That would result in a 17mV drop in your input voltage.
So
> if the PIR outputs 5.06V, the Stamp would see 5.043V -- no big deal.
>
> So while you probably don't need a small resistor, it wouldn't hurt to put
> one in and could save you trouble later. Cheap insurance. 170 ohms
probably
> isn't a standard value, but 220 is. That's OK on current because it will
> cause the current to be even lower if the voltage goes too high. And the
> drop at 100uA is only 22mV -- still a drop in the bucket (no pun
intended).
>
> You might also want to consider software averaging, filtering, and
> hysterisis to ignore fast noise.
>
> For example:
>
> No filter:
>
> if in8=0 then motion_on
>
>
> Example raw filter:
> waitmo:
> filter=0
> waitmo1:
> if in8=1 then waitmo
> filter=filter+1
> if filter<5 then waitmo1 ' wait for 5 hits in a row
>
>
> Good luck!
>
> Al Williams
> AWC
> * Floating point math for the Stamp, PIC, SX, or any microcontroller
> http://www.al-williams.com/awce/pak1.htm
>
>
>
>
>
>
>
> >
Original Message
> > From: shawnusa@e... [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=KFaVer5h_83XvSetYqtbL0NOU8NA8stIFgPqImEfx7vdgFgZm9__MctLUzfbmcZxCzJciYEgEAZe]shawnusa@e...[/url
> > Sent: Tuesday, August 14, 2001 10:07 AM
> > To: basicstamps@yahoogroups.com
> > Subject: [noparse][[/noparse]basicstamps] New stamper question
> >
> >
> > I'm fairly new to Basic stamps and electronics in general. I was
> > hopping one of you out there might be able to help me out here. I
> > have a Passive Infrared motion detector that shows a 5.06 voltage
> > constant until movment is detected. When it senses movment the
> > voltage drops to below 1 volt. Now from reading, this seems to be
> > what is termed active-low. Now my real question . How would I code/
> > add components to the stamp to allow me to sense when the PIR sensor
> > detects movment? Do I need any resitors or other components? It seems
> > to me I should be able to do an If in8=0 then display movment
> > detected. Any code examples and or componets required would be
> > appricated.
> >
> > Thanks for your help
> >
> > Shawn
> >
> >
> > To UNSUBSCRIBE, just send mail to:
> > basicstamps-unsubscribe@yahoogroups.com
> > from the same email address that you subscribed. 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: 8
> Date: Tue, 14 Aug 2001 13:20:37 -0400
> From: "Beau Schwabe" <bschwabe@a...>
> Subject: Re: New stamper question
>
> I would probably use a much higher value resistor, say 4.7K
>
> With a 330 Ohm resistor you 'might' if the stamp pin
> is at anytime an output and at a logic state opposite the
> PIR, see 15.3mA of surge current. This in my opinion is much
> to close to the nominal 20mA/25mA capabilities of the Stamp.
>
> With a 4.7K resistor the current is adequate to drive
> the stamp in input mode, and also remains safe if the stamp
> pin was to be placed in output mode.
>
>
> >Connect the output of the PIR detector to one of the Stamp ports though
> >about a 330 ohm resistor. You don't absolutely need the resistor, but if
you
> >screw up and have the port set up as an output it can save the Stamp. Set
> >the port up as an input with the DIR = statement, then do the IF
statement
> >you posted.
> >
> >
Original Message
> >
> > > I'm fairly new to Basic stamps and electronics in general. I was
> > > hopping one of you out there might be able to help me out here. I
> > > have a Passive Infrared motion detector that shows a 5.06 voltage
> > > constant until movment is detected. When it senses movment the
> > > voltage drops to below 1 volt. Now from reading, this seems to be
> > > what is termed active-low. Now my real question . How would I code/
> > > add components to the stamp to allow me to sense when the PIR sensor
> > > detects movment? Do I need any resitors or other components? It seems
> > > to me I should be able to do an If in8=0 then display movment
> > > detected. Any code examples and or componets required would be
> > > appricated.
>
>
>
>
> Beau Schwabe IC Mask Designer
> National Semiconductor Wired Communications Division
> 500 Pinnacle Court, Suite 525 Mail Stop GA1 Norcross, GA 30071
>
>
>
>
>
> ________________________________________________________________________
> ________________________________________________________________________
>
> Message: 9
> Date: Tue, 14 Aug 2001 13:02:45 -0500
> From: "Al Williams" <alw@a...>
> Subject: RE: New stamper question
>
> Yes, that's true if you might ever put the input mode into an output
state.
> Although you'd hope something like that would be transient and 15.3mA is
> still within the letter of the law.
>
> I had said 220 which will allow even higher current to flow (5/220) but I
> was really thinking about high voltage from the PIR not reversed Stamp
pins.
>
> From all the discussion, you might think a bigger resistor is better, so
> just use a bigger resistor (and I know you know this Beau, but for the
> lurkers). To a point this is OK, with two limiting cases. As we've
> discussed, the higher resistance drops more input voltage. At some point
you
> drop below threshold. The second problem occurs with short pulses and/or
> long lines. Interconnections have capacitance and adding resistance makes
an
> RC circuit. This can do bad things to your inputs if they are short
pulses.
> Just something to think about.
>
> Anyway, that's a good point since the Stamp's pins can go either way.
>
> Al Williams
> AWC
> * Measure 8 pulses at once
> http://www.al-williams.com/awce/pak7.htm
>
> >
Original Message
> > From: Beau Schwabe [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=2eS7NjWpzddE5OmmQtwd09tpB8C2ZXhbqUpxHhc7piGE_3eLIqj1VvJ8uf0FaeBdKj3RZwuLpjuZoBZG-OpiZ4wjOw]bschwabe@a...[/url
> > Sent: Tuesday, August 14, 2001 12:21 PM
> > To: basicstamps@yahoogroups.com
> > Subject: Re: [noparse][[/noparse]basicstamps] New stamper question
> >
> >
> > I would probably use a much higher value resistor, say 4.7K
> >
> > With a 330 Ohm resistor you 'might' if the stamp pin
> > is at anytime an output and at a logic state opposite the
> > PIR, see 15.3mA of surge current. This in my opinion is much
> > to close to the nominal 20mA/25mA capabilities of the Stamp.
> >
> > With a 4.7K resistor the current is adequate to drive
> > the stamp in input mode, and also remains safe if the stamp
> > pin was to be placed in output mode.
> >
> >
> > >Connect the output of the PIR detector to one of the Stamp ports though
> > >about a 330 ohm resistor. You don't absolutely need the
> > resistor, but if you
> > >screw up and have the port set up as an output it can save the Stamp.
Set
> > >the port up as an input with the DIR = statement, then do the IF
> > statement
> > >you posted.
> > >
> > >
Original Message
> > >
> > > > I'm fairly new to Basic stamps and electronics in general. I was
> > > > hopping one of you out there might be able to help me out here. I
> > > > have a Passive Infrared motion detector that shows a 5.06 voltage
> > > > constant until movment is detected. When it senses movment the
> > > > voltage drops to below 1 volt. Now from reading, this seems to be
> > > > what is termed active-low. Now my real question . How would I code/
> > > > add components to the stamp to allow me to sense when the PIR sensor
> > > > detects movment? Do I need any resitors or other components? It
seems
> > > > to me I should be able to do an If in8=0 then display movment
> > > > detected. Any code examples and or componets required would be
> > > > appricated.
> >
> >
> >
> >
> > Beau Schwabe IC Mask Designer
> > National Semiconductor Wired Communications Division
> > 500 Pinnacle Court, Suite 525 Mail Stop GA1 Norcross, GA 30071
> >
> >
> >
> >
> > To UNSUBSCRIBE, just send mail to:
> > basicstamps-unsubscribe@yahoogroups.com
> > from the same email address that you subscribed. 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: 10
> Date: Tue, 14 Aug 2001 19:19:41 -0000
> From: shawnusa@e...
> Subject: Re: New stamper question
>
> Thanks Guys for the help. It works like a charm. Now all I have to do
> is figure a way to pan a r/c servo to look in the right direction of
> the detected PIR unit. I plan to have 6 pir units and one r/c servo
> with a CCD cammera attached on it. When a PIR is activated the servo
> will turn to that general direction and with a Heat sensor try and
> track the movment with the servo. It's going to take me awhile to
> figure out how to code the PIR with the Servo movment. Anyway thanks
> for your help and any recommendations are welcome on my project.
>
> Shawn
>
>
> --- In basicstamps@y..., "Al Williams" <alw@a...> wrote:
> > Yes, that's true if you might ever put the input mode into an
> output state.
> > Although you'd hope something like that would be transient and
> 15.3mA is
> > still within the letter of the law.
> >
> > I had said 220 which will allow even higher current to flow (5/220)
> but I
> > was really thinking about high voltage from the PIR not reversed
> Stamp pins.
> >
> > From all the discussion, you might think a bigger resistor is
> better, so
> > just use a bigger resistor (and I know you know this Beau, but for
> the
> > lurkers). To a point this is OK, with two limiting cases. As we've
> > discussed, the higher resistance drops more input voltage. At some
> point you
> > drop below threshold. The second problem occurs with short pulses
> and/or
> > long lines. Interconnections have capacitance and adding resistance
> makes an
> > RC circuit. This can do bad things to your inputs if they are short
> pulses.
> > Just something to think about.
> >
> > Anyway, that's a good point since the Stamp's pins can go either
> way.
> >
> > Al Williams
> > AWC
> > * Measure 8 pulses at once
> > http://www.al-williams.com/awce/pak7.htm
> >
> > >
Original Message
> > > From: Beau Schwabe [noparse][[/noparse]mailto:bschwabe@a...]
> > > Sent: Tuesday, August 14, 2001 12:21 PM
> > > To: basicstamps@y...
> > > Subject: Re: [noparse][[/noparse]basicstamps] New stamper question
> > >
> > >
> > > I would probably use a much higher value resistor, say 4.7K
> > >
> > > With a 330 Ohm resistor you 'might' if the stamp pin
> > > is at anytime an output and at a logic state opposite the
> > > PIR, see 15.3mA of surge current. This in my opinion is much
> > > to close to the nominal 20mA/25mA capabilities of the Stamp.
> > >
> > > With a 4.7K resistor the current is adequate to drive
> > > the stamp in input mode, and also remains safe if the stamp
> > > pin was to be placed in output mode.
> > >
> > >
> > > >Connect the output of the PIR detector to one of the Stamp ports
> though
> > > >about a 330 ohm resistor. You don't absolutely need the
> > > resistor, but if you
> > > >screw up and have the port set up as an output it can save the
> Stamp. Set
> > > >the port up as an input with the DIR = statement, then do the IF
> > > statement
> > > >you posted.
> > > >
> > > >
Original Message
> > > >
> > > > > I'm fairly new to Basic stamps and electronics in general. I
> was
> > > > > hopping one of you out there might be able to help me out
> here. I
> > > > > have a Passive Infrared motion detector that shows a 5.06
> voltage
> > > > > constant until movment is detected. When it senses movment the
> > > > > voltage drops to below 1 volt. Now from reading, this seems
> to be
> > > > > what is termed active-low. Now my real question . How would I
> code/
> > > > > add components to the stamp to allow me to sense when the PIR
> sensor
> > > > > detects movment? Do I need any resitors or other components?
> It seems
> > > > > to me I should be able to do an If in8=0 then display movment
> > > > > detected. Any code examples and or componets required would be
> > > > > appricated.
> > >
> > >
> > >
> > >
> > > Beau Schwabe IC Mask Designer
> > > National Semiconductor Wired Communications Division
> > > 500 Pinnacle Court, Suite 525 Mail Stop GA1 Norcross, GA 30071
> > >
> > >
> > >
> > >
> > > To UNSUBSCRIBE, just send mail to:
> > > basicstamps-unsubscribe@y...
> > > from the same email address that you subscribed. 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: Tue, 14 Aug 2001 12:48:07 -0700 (PDT)
> From: "Sean T. Lamont .lost." <lamont@a...>
> Subject: stamp/pic
>
>
> This might be an odd question, but has anyone built a pic programmer out
> of a stamp?
>
> Sean T. Lamont, CTO / Chief NetNerd, Abstract Software, Inc. (ServNet)
> Seattle - Bellingham - Vancouver - Portland - Everett - Tacoma - Bremerton
> email: lamont@a... WWW: http://www.serv.net
> "...There's no moral, it's just a lot of stuff that happens". - H. Simpson
>
>
>
> ________________________________________________________________________
> ________________________________________________________________________
>
> Message: 12
> Date: Tue, 14 Aug 2001 22:16:09 +0200
> From: "Philippe Derenne" <derennep@s...>
> Subject: Re: stamp/pic
>
> Hi Sean,
>
> Depends on which model you want to use, and if you have a PC. I use a
(very
> !) simple programmer hooked to a serial port (no need to supply external
> voltage !) to program the 16F84. I think this model is useful for simple
> applications. It works perfectly.
> Let me know if you need more info.
>
> Best regards,
>
> Phil.
>
>
Original Message
> From: "Sean T. Lamont .lost." <lamont@a...>
>
>
> >
> > This might be an odd question, but has anyone built a pic programmer out
> > of a stamp?
> >
> > Sean T. Lamont, CTO / Chief NetNerd, Abstract Software, Inc. (ServNet)
> > Seattle - Bellingham - Vancouver - Portland - Everett - Tacoma -
Bremerton
> > email: lamont@a... WWW: http://www.serv.net
> > "...There's no moral, it's just a lot of stuff that happens". - H.
Simpson
>
>
>
>
> ________________________________________________________________________
> ________________________________________________________________________
>
> Message: 13
> Date: Tue, 14 Aug 2001 15:42:10 -0500
> From: "Al Williams" <alw@a...>
> Subject: RE: stamp/pic
>
> Have a look at our APP-I which is exactly that. You can get the kit, or
you
> can find the schematics and software in my Stamp Book (the parts are easy
> enough to find). You either need a Vpp supply or a good enough serial port
> to supply 12V.
>
> http://www.al-williams.com/awce/app1.htm
> and
> http://www.al-williams.com/awce/sbook.htm
>
> Al Williams
> AWC
> * Floating point A/D
> http://www.al-williams.com/awce/pak9.htm
>
> >
Original Message
> > From: Sean T. Lamont .lost. [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=uMWNB6oycavYdQJ7ILb8_7kMJ7-1ohrH5NhfEGE9srml_lB7b0nl24hjBHdShmXxhiMM09BcVpdB4Ez-rmXG3jA]lamont@a...[/url
> > Sent: Tuesday, August 14, 2001 2:48 PM
> > To: basicstamps@yahoogroups.com
> > Subject: [noparse][[/noparse]basicstamps] stamp/pic
> >
> >
> >
> > This might be an odd question, but has anyone built a pic programmer out
> > of a stamp?
> >
> > Sean T. Lamont, CTO / Chief NetNerd, Abstract Software, Inc. (ServNet)
> > Seattle - Bellingham - Vancouver - Portland - Everett - Tacoma -
Bremerton
> > email: lamont@a... WWW: http://www.serv.net
> > "...There's no moral, it's just a lot of stuff that happens". - H.
Simpson
> >
> >
> > To UNSUBSCRIBE, just send mail to:
> > basicstamps-unsubscribe@yahoogroups.com
> > from the same email address that you subscribed. 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: 14
> Date: Tue, 14 Aug 2001 17:30:23 -0400
> From: "Beau Schwabe" <bschwabe@a...>
> Subject: OT) Net World Interop
>
> Anyone on the list attending the Net World Interop 2001 in Atlanta, GA
> September 9-14 ??
>
> http://www.key3media.com/interop/
>
> Beau Schwabe IC Mask Designer
> National Semiconductor Wired Communications Division
> 500 Pinnacle Court, Suite 525 Mail Stop GA1 Norcross, GA 30071
>
>
>
>
>
> ________________________________________________________________________
> ________________________________________________________________________
>
> Message: 15
> Date: Tue, 14 Aug 2001 18:12:28 -0400
> From: "Chris Loiacono (E-mail)" <chris01@t...>
> Subject: FW: OT) Net World Interop
>
>
>
> >
Original Message
> > From: Chris Loiacono [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=57zEXefK32YngcYWQbeck96_GO6O1uHLKCr5ObjmTiZoyYdbq8GKFHPh6tEBF6Ci4EFu0HrvOmAJhqg]cl1a@e...[/urlOn Behalf Of Chris
> > Loiacono (E-mail)
> > Sent: Tuesday, August 14, 2001 6:04 PM
> > To: 'basicstamps@yahoogroups.com'
> > Subject: RE: [noparse][[/noparse]basicstamps] OT) Net World Interop
> >
> >
> > I'm thinking that I will if my schedule permits....
> >
> > Chris
> >
> > >
Original Message
> > > From: Beau Schwabe [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=2eS7NjWpzddE5OmmQtwd09tpB8C2ZXhbqUpxHhc7piGE_3eLIqj1VvJ8uf0FaeBdKj3RZwuLpjuZoBZG-OpiZ4wjOw]bschwabe@a...[/url
> > > Sent: Tuesday, August 14, 2001 5:30 PM
> > > To: basicstamps@yahoogroups.com
> > > Subject: [noparse][[/noparse]basicstamps] OT) Net World Interop
> > >
> > >
> > > Anyone on the list attending the Net World Interop 2001 in
> > Atlanta, GA
> > > September 9-14 ??
> > >
> > > http://www.key3media.com/interop/
> > >
> > > Beau Schwabe IC Mask Designer
> > > National Semiconductor Wired Communications Division
> > > 500 Pinnacle Court, Suite 525 Mail Stop GA1 Norcross, GA 30071
> > >
> > >
> > >
> > >
> > > To UNSUBSCRIBE, just send mail to:
> > > basicstamps-unsubscribe@yahoogroups.com
> > > from the same email address that you subscribed. 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: 16
> Date: Mon, 13 Aug 2001 20:52:32 -0400
> From: agarb@j...
> Subject: Re: LVDT???
>
> > The Red Lion meters also have RS-422 output, so I could
> > link all 3 meters up (Burial, Pitch & Roll) & send the data through an
> RS-232
> > converter into a notebook. The notebook logged all the parameters
> > and was also interfaced into a GPS to cross-reference the above data
> > with position.
>
> Sounds like a cool project!
>
>
> ________________________________________________________________________
> ________________________________________________________________________
>
> Message: 17
> Date: Mon, 13 Aug 2001 20:57:40 -0400
> From: agarb@j...
> Subject: Re: Re: LDVDT???
>
> Beau,
>
> Thanks for the info, I'll see if I can give it a try.
>
> Regards,
> Aaron
>
> >
OLD article begins below this line
> >
> > You can make a very simple "sensitive" LVDT with a resolution
> > greater than
> > 1/2000th of an inch using a BS1 or BS2, 74HC14 or 74HCT14, and
> > 4040B. For
> > more than one, in addition you can use a 4051B for up to eight
> > LVDT's
> >
> > LVDT- #40 AGW enamled copper wire wound around a
> > "Coffie-Straw(single tube)",
> > closely wound with at least 1 inch coil width. (width =
> > travel length)
> >
> > Vcc(+5V reg)
> > o
o->Vcc(+5V reg)
> > o---> LVDT <---o | | |
> > | | 14| |16 ---
> > | | | o
o
o --- .1uF
> > | 1|\ 2 | 3|\| 4 10| | |
> > o
| \o----o----| \o
| 4040 B |--o-> GND
> > | |/| |/ | |8,11
> > --- 7| o
o
o
> > --- .01uF | |Output *
> > | ZTR* | |
> > | | o--->Stamp Pin#
> > o
o---->GND
> >
> > ZTR* - Zero Temperature Response
> >
> >
> > 4040B - "Pin Outs"
> >
> > Output* : pin 9 - divide by 2
> > pin 7 - divide by 4
> > pin 6 - divide by 8
> > pin 5 - divide by 16
> > pin 3 - divide by 32
> > pin 2 - divide by 64
> > pin 4 - divide by 128
> > pin 13 - divide by 256
> > pin 12 - divide by 512
> > pin 14 - divide by 1024
> > pin 15 - divide by 2048
> > pin 1 - divide by 4096
> >
> > This position can "Vary" depending on the sensitivity
> > that
> > you desire. The greater the division, the greater the
> > sensitivity, however the "sample time" increases also
> > with
> > greater division factors when using the PULSIN function.
> > You can use the COUNT function with the BS2 instead for
> > an even better resolution, but you loose the
> > compatability
> > between the BS1 and BS2.
> >
> >
> >
> > EXAMPLE CODE:
> >
> > LVDT var word
> >
> > Start:
> > PULSIN Pin#,0,LVDT 'or COUNT Pin#,Duration,LVDT
> > debug home,? LVDT
> > goto Start
> >
> >
> >
> > DIRECTIONS:
> >
> > Use a piece of "Coat-Hanger-Wire" to slide in and out of the STRAW.
> >
> > Beau Schwabe
> > bschwabe@i...
> >
> >
OLD article stops above this line
> >
> >
> > After reading this, I would ignore the references to the COUNT
> > command, and just stick with the PULSIN command.
>
>
> ________________________________________________________________________
> ________________________________________________________________________
>
> Message: 18
> Date: Mon, 13 Aug 2001 21:00:20 -0400
> From: agarb@j...
> Subject: Re: LVDT???
>
> Thanks to all who provided insight into LVDTs. I am currently
> investigating/digesting all the info as well as pursuing some other
> options as suggested...
>
> Regards,
> Aaron
>
> On Sat, 11 Aug 2001 20:16:12 -0400 "Leroy Hall, Senior" <leroy@f...>
> writes:
> > I did a search on LVDT at www.goolge.com and found this. Hope it
> > helps..
> >
> >
> > http://www.rdpelectrosense.com/displacement/lvdt/lvdt-principles.htm
> >
> >
> > Understand about the customer being right <GRIN> yep it's a fact!
> > I am
> > sure that range is available see above link. They make interface
> > units
> > for their LVDT's as well. I would need to see the application to
> > determine what would be a good solution to the 'clamp at different
> > heights problem'. Is the air cylinder doing positioning or the
> > heights
> > determined by the part and the cylinder is just clamping it at it's
> > height?
> >
> > Yes, Loveland is near Dayton!!
> >
> >
> > Hope this helps,
> >
> >
> > Leroy
> >
> > agarb@j... wrote:
> > >
> > > Leroy,
> > >
> > > Thanks for the input. We would prefer to use multiple proximity
> > > switches... but the customer is always right (unless we can
> > convince them
> > > of a better solution)!
> > >
> > > Let me explain the application a bit more. The cylinder is to be
> > used to
> > > clamp three types of parts -- all of different heights. The
> > customer
> > > doesn't want to have to set the machine up for each individual
> > part and
> > > suggested an LVDT for automatic part recognition. I guess I need
> > to talk
> > > to our mechanical guy to find out the range in part heights. I am
> > > guessing about 2 inches of the overall stroke is all we would
> > really be
> > > concerned about. Is this doable? How much range does a typical
> > LVDT
> > > have? 1/2, 1, 3, 10 inches?
> > > When you say 'sophisticated electronics' are needed to interface
> > to a
> > > stamp, I assume its is not as easy as feeding an analog signal
> > into an
> > > A/D converter?
> > >
> > > Regards,
> > > Aaron
> > >
> > > PS: Isn't Loveland around Cincinnati? I am in Dayton.
> > >
> > > On Sat, 11 Aug 2001 15:24:06 -0400 "Leroy Hall, Senior"
> > <leroy@f...>
> > > writes:
> > > > An LVDT is used to measure very small distances on machine
> > tools.
> > > > They can sense distances in the tenths of one thousand of an
> > inch.
> > > Some
> > > > perspective here. A human hair is usually somewhere around 3
> > > > thousands (.003) This device could measure them like you would
> > use a
> > > tape
> > > > measure on a room. They would be very difficult, with out some
> > pretty
> > > > sophisticated electronics, to interface with the stamp. What I
> > > > would suggest is Proximity switch for your stated application.
> > They
> > > are
> > > > often used they and are much cheaper. Easier to interface too,
> > as they
> > > > usually provide a logic 24 VDC or 120 VAC output signal that
> > would
> > > > be easy to interface to the stamp.
> > > >
> > > > BTW air cylinders are not usually sensed as to position. Air is
> > > > compressible and sensing position on this type of device would
> > be
> > > > very difficult. Depending on resolution required, several prox
> > > switches
> > > > might be used. Air cylinders typically are sensed at either end
> > of
> > > > their stroke.
> > >
> > > To UNSUBSCRIBE, just send mail to:
> > > basicstamps-unsubscribe@yahoogroups.com
> > > from the same email address that you subscribed. 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/
> >
> > --
> >
> > *******************************************************
> > * Leroy Hall *
> > * 317 Cherokee Drive *
> > * Loveland, Ohio - USA 45140-2404 *
> > *******************************************************
> > * Phone: (513) 697-7539 *
> > * Cell : (513) 300-8632 *
> > * Email: leroy@f... *
> > * Home page URL: http://home.fuse.net/leroy/ *
> > * Resume URL: http://home.fuse.net/leroy/resume.htm *
> > *******************************************************
> > * Leroy Hall *
> > * 317 Cherokee Drive *
> > * Loveland, Ohio - USA 45140-2404 *
> > *******************************************************
> >
>
>
> ________________________________________________________________________
> ________________________________________________________________________
>
> Message: 19
> Date: Tue, 14 Aug 2001 16:49:48 +0800
> From: "S Parkis" <parkiss@e...>
> Subject: Re: stamp/pic
>
> I've no doubt Al's and Phillipe's solutions work well. But you can
> in fact "build" a PIC programmer with your Stamp alone if you use a
> PIC in the low-voltage programming series such as the PIC16F877. A
> simple Stamp program is all that's needed to impement the programming
> protocol and twiddle the PIC pins to load the program. With a little
> more hardware you could switch the higher programming voltages needed
> by conventional PICs.
>
> Loading a useful PIC program with this approach is a little more
> complicated. Nearly every PIC programmer ever made uses a
> disk-resident .hex file (the output from your assembler/compiler) as
> input for the PIC programming per se. Until somebody figures out
> how to get a Stamp to read a disk file directly, you have to
> download the .hex file from the PC to the PIC via the Stamp.
>
> This isn't the most user-friendly or elegant approach, but lets you
> try your hand at PIC programming using stuff you probably already
> have if you're a member of this group: a Stamp and a PC.
>
> Regards,
>
> Steve
>
>
> ________________________________________________________________________
> ________________________________________________________________________
>
> Message: 20
> Date: Tue, 14 Aug 2001 20:22:35 EDT
> From: DAVECUSTOM@A...
> Subject: Re: Digital Compass
>
> I have been working with KVH Electronic compasses. Feel free to contact
me
> for more info.
> Dave
>
>
> [noparse][[/noparse]Non-text portions of this message have been removed]
>
>
>
> ________________________________________________________________________
> ________________________________________________________________________
>
> Message: 21
> Date: Wed, 15 Aug 2001 00:53:31 -0000
> From: chrisd@w...
> Subject: Serial LCD
>
> I'm looking to use a stamp to read data from a serial interface then
> print parts of that data on a 4x16 serial LCD screen. Which stamp
> would be best for this project? I was looking at the II and the IIp.
>
> Chris
>
>
>
> ________________________________________________________________________
> ________________________________________________________________________
>
> Message: 22
> Date: Wed, 15 Aug 2001 06:36:06 -0000
> From: tbanez@h...
> Subject: LCD Selection
>
> Hey everyone,
>
> I'm working on a project right now which monitors bearing
> temperatures, oil pressure, and air pressure on a piece of equipment,
> and if all conditions are satisfied will pick up a permissive relay
> which will allow the machine to run.
>
> I'd like to display all of this information to the user on a screen so
> if there is a problem he/she can see immediately what is going on with
> the system.
>
> Problem is, I have about 12 different variables I'd like displayed to
> the user and the LCD's I've come across such as those by Scott Edwards
> (http://www.seetron.com) don't seem like they will be big enough to
> fit all I want to on one screen.
>
> I was wondering if anyone out there had interfaced a stamp to a larger
> LCD or knows of a supplier for larger LCD's. LCD's that are as easy
> to interface as Scott Edwards' are would be ideal. Probably don't
> need anything as big as a 15" computer monitor LCD but maybe 6" or so
> diagonal would be nice.
>
> By the way, I have thought about using a button or something to switch
> between screens but I would prefer to have it all on one screen.
>
> Thanks in advance!
>
>
>
> ________________________________________________________________________
> ________________________________________________________________________
>
> Message: 23
> Date: Wed, 15 Aug 2001 02:57:14 -0400
> From: Bruce Bates <bvbates@u...>
> Subject: Re: LCD Selection
>
> At 8/15/2001 Wednesday 02:36 AM, tbanez@h... promulgated:
> >Hey everyone,
> >
> >I'm working on a project right now which monitors bearing
> >temperatures, oil pressure, and air pressure on a piece of equipment,
> >and if all conditions are satisfied will pick up a permissive relay
> >which will allow the machine to run.
> >
> >I'd like to display all of this information to the user on a screen so
> >if there is a problem he/she can see immediately what is going on with
> >the system.
> >
> >Problem is, I have about 12 different variables I'd like displayed to
> >the user and the LCD's I've come across such as those by Scott Edwards
> >(http://www.seetron.com) don't seem like they will be big enough to
> >fit all I want to on one screen.
> >
> >I was wondering if anyone out there had interfaced a stamp to a larger
> >LCD or knows of a supplier for larger LCD's. LCD's that are as easy
> >to interface as Scott Edwards' are would be ideal. Probably don't
> >need anything as big as a 15" computer monitor LCD but maybe 6" or so
> >diagonal would be nice.
> >
> >By the way, I have thought about using a button or something to switch
> >between screens but I would prefer to have it all on one screen.
> >
> >Thanks in advance!
>
> If a 2 x 40 (2 lines x 40 characters per line) will fit your needs, you
can
> find
> them surplus at the Marlin P. Jones Web Site http://www.mpja.com using
stock
> number 11287 OP or hit the LCD Display Button on the Home Page. It's a
nice
> Densitron unit for $ 12.95 US and it should be Stamp compatible, although
> perhaps not as neatly as the SEETRON Unit. New 4 x 40 units should also be
> readily available from many sources including Densitron.
>
> Regards,
>
> Bruce Bates
>
>
>
> ________________________________________________________________________
> ________________________________________________________________________
>
> Message: 24
> Date: Wed, 15 Aug 2001 10:06:17 +0200
> From: "Daliti" <peter.christiaen@s...>
> Subject: RE: LCD Selection
>
> Look at http://www.controlanything.com/html/newdisplay.htm
>
> BTW, isn't it possible to use a Stamp only to control serial a less
> expensive parallel LCD display and if possible with sort of an EPROM
> connected to store some predefined words or graphics and another Stamp to
> control the process?
> Something like this http://www.controlanything.com/html/lcda128.htm but
they
> don't produce it anymore. I found it anyway a good product. I think it
must
> be possible to do the same thing with a additional Stamp.
> Peter
> Belgium
>
>
Oorspronkelijk bericht
> Van: tbanez@h... [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=HrbPv5ON5OYbctgzJJeH2-gnY68W1baIqfdWuQYced0EoP7ZvvETAAmYqWxAL0vku094PgSqlsyViHAb]tbanez@h...[/url
> Verzonden: woensdag 15 augustus 2001 8:36
> Aan: basicstamps@yahoogroups.com
> Onderwerp: [noparse][[/noparse]basicstamps] LCD Selection
>
> I'd like to display all of this information to the user on a screen so
> if there is a problem he/she can see immediately what is going on with
> the system.
>
> Problem is, I have about 12 different variables I'd like displayed to
> the user and the LCD's I've come across such as those by Scott Edwards
> (http://www.seetron.com) don't seem like they will be big enough to
> fit all I want to on one screen.
>
>
>
>
>
> ________________________________________________________________________
> ________________________________________________________________________
>
>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>
Sign In or Register to comment.