Chip with simple program for Toy

Tim Auton wrote:
"R. Steve Walz" <rstevew@armory.com> wrote:
Jwolfdiapers wrote:

got the wart off the streets for
-------------
You're a shitty little liar! The rest is a lie as well.

He's not only a liar, but what he said is libelous. You could sue him
if you like.

Tim
----------------
I've had him checked out, he has nothing I want.
We need criminal laws against libel/slander.

-Steve
--
-Steve Walz rstevew@armory.com ftp://ftp.armory.com/pub/user/rstevew
Electronics Site!! 1000's of Files and Dirs!! With Schematics Galore!!
http://www.armory.com/~rstevew or http://www.armory.com/~rstevew/Public
 
So help me out - how long would a battery of say 620mA last under constant
use?
If the led's aren't lit it will last a long time (years) if 620mA primary (=
non-rechargeable) cells are used - however, if you use NiMH cells they will
only last for perhaps six months, as they will self discharge.

When the led's are lit it will last 100 hours, if you get the current right.
^^^
Oops, should be 10 hours. Brainfart, sorry.


--
Peter Fairbrother
 
boki <bokiteam@ms21.hinet.net> wrote:
Dear All,
I am trying to scan RS232 output (TX) signal by an
oscilloscope.

When I short my RS232 output pin.2(TX) & pin.3(RX), it function work (
sometimes lost some words, at least it sent signals).

When I connect RS-232 TX to oscilloscope, connect oscilloscope ground
to pin.1(Earth ground) or pin.7(GND logical ground), oscilloscope both
never has signals. If I 'short' RS-232 pin.2(TX) and pin.3(RX), it
works!
Check that it works with another computer to make sure you haven't burned your
rs232 output.

Oscilloscope shield to pin.7
--""-- signal to pin.2 (try 3 aswell!)

Set 5 Volts/Div
Set sweep speed to approx 1 bit per Div. 9600 bps should be 100 us/Div.
 
When I connect RS-232 TX to oscilloscope, connect oscilloscope ground
to pin.1(Earth ground) or pin.7(GND logical ground), oscilloscope both
never has signals. If I 'short' RS-232 pin.2(TX) and pin.3(RX), it
works!
Try connecting your scope to the RX signal, If it sees anything then you have
your Tx Rx transposed, a common mistake, caused by using the wrong gender
connector.
 
On 06 Oct 2004 12:49:34 GMT, cbarn24050@aol.com (CBarn24050) wrote:

When I connect RS-232 TX to oscilloscope, connect oscilloscope ground
to pin.1(Earth ground) or pin.7(GND logical ground), oscilloscope both
never has signals. If I 'short' RS-232 pin.2(TX) and pin.3(RX), it
works!

Try connecting your scope to the RX signal, If it sees anything then you have
your Tx Rx transposed, a common mistake, caused by using the wrong gender
connector.
---
Good call, but not necessarily the wrong gender connector. Rx and Tx
"legally" trade places depending on whether the device is DTE or DCE.

--
John Fields
 
boki wrote:

Dear All,
I am trying to scan RS232 output (TX) signal by an
oscilloscope.

When I short my RS232 output pin.2(TX) & pin.3(RX), it function work (
sometimes lost some words, at least it sent signals).

When I connect RS-232 TX to oscilloscope, connect oscilloscope ground
to pin.1(Earth ground) or pin.7(GND logical ground), oscilloscope both
never has signals. If I 'short' RS-232 pin.2(TX) and pin.3(RX), it
works!

Why?


Thank you very much for your answer.

Best regards,
Boki.
also try an isolated scopy just in case where the RS232 ground is
no really at ground potential
 
get a simple 5 volt coil relay, 2n2222 type tranny, wallwort of around
6V DC 300 Ma, aprox 3k resistor to drive the 2n2222 Base and at last
a 1 amp Silicone switching diode to be used acrossed the relay coil
to absorb the Flyback charge.
One Side of the relay coil connects to the Wallwort + output.
the other side of the relay connects to the Collector of the
tranny. the emitter of the tranny to ground.
the base is connected to the resistor while the other end of the
resister is connected to one of your Serial port outputs.
the Diode cathode side (line side) is connected to the relay coil
that is connected to the + 6V Dc side.
the other end of the diode (anode) is connected to the other side of the
relay coil, this absorbs the high voltage return charge from the coil
and is very needed!!!!!!!!!!!!!!!!!
your two wires from your door simply connect via the relay contacts.
etc, etc, ect. etc..


quintero wrote:

i have this door opener which has a 2 wires connected to it, basically
if i connect the 2 wires together the door opens.
now i want to connect these wires in some way to the com port in my
computer, so i can control the door with some software. i know how to
set RTS and DTR, but how do i complete the ciruit and connect the 2
wires together?
 
you smoked either the low or high output of the TX.! :)
so the level is not changing unless you have some kind
of pull up or down load.


boki wrote:

Dear All,
I am trying to scan RS232 output (TX) signal by an
oscilloscope.

When I short my RS232 output pin.2(TX) & pin.3(RX), it function work (
sometimes lost some words, at least it sent signals).

When I connect RS-232 TX to oscilloscope, connect oscilloscope ground
to pin.1(Earth ground) or pin.7(GND logical ground), oscilloscope both
never has signals. If I 'short' RS-232 pin.2(TX) and pin.3(RX), it
works!

Why?


Thank you very much for your answer.

Best regards,
Boki.
 
On 6 Oct 2004 04:46:49 -0700, bokiteam@ms21.hinet.net (boki) wrote:
When I connect RS-232 TX to oscilloscope, connect oscilloscope ground
to pin.1(Earth ground) or pin.7(GND logical ground), oscilloscope both
never has signals. If I 'short' RS-232 pin.2(TX) and pin.3(RX), it
works!
Are you working with a 9-pin or a 25-pin connector?

What type of device is the port on? A standard PC or something else?

--
RoRo
 
On Wed, 06 Oct 2004 19:27:09 GMT, "Clarence" <no@No.com> wrote:


TROLL. Nothing of value there. Claims a MS, can not make himself understood.
If they gave this guy a Masters, the bar fell on the ground!
---
Maybe he went to fishing school and became a Master Baiter?

--
John Fields
 
"John Fields" <jfields@austininstruments.com> wrote in message
news:3ki8m05lbkj1u8cehokv8tdeu3v0s6q5ke@4ax.com...
On Wed, 06 Oct 2004 19:27:09 GMT, "Clarence" <no@No.com> wrote:


TROLL. Nothing of value there. Claims a MS, can not make himself
understood.
If they gave this guy a Masters, the bar fell on the ground!

---
Maybe he went to fishing school and became a Master Baiter?

--
John Fields
Good ONE!

Can't figure what earthly use posting all those questions would have unless he
is still in school and needs someone to take his tests for him.
 
what is 'top-post'?

"JeffM" <jeffm_@email.com> wrote in message
news:f8b945bc.0410011924.62919ef5@posting.google.com...
Can someone explain the diff between
wire net bus
in Eagle?
anonymous@catfarm.com

Please don't top-post.

I have used Wire on board layouts to fatten up things (a cheat)
or to draw a line in the copper not meant to be conductive.
(Wire really should have been called Line.)
It is best to avoid the Wire command completely.

Use Net for most paths.
Use Bus for things like a multi-bit address bus (A0, A1,...A7).

Outside of Cadsoft (you have read THEIR manual, haven't you?),
Kevin Bolding does the best EAGLE tutorials.
http://www.google.com/search?&q=cadsoft+bus

Jeff Hudson did a nice one,
but it disappeared shortly after I bookmarked it years ago.
 
On Wed, 06 Oct 2004 21:30:34 GMT in sci.electronics.basics, "anonymous"
<anonymous@catfarm.com> wrote,

what is 'top-post'?
What you just did. Never quote the whole message you are replying to.
Never place the answer before the question; you are not playing
"Jeopardy(tm)". Quote just enough of the message to establish the
context of your reply, and then put your reply right after each point
you are replying to. Elementary newsgroup etiquette.
 
Dbowey wrote:

Linden posted:

I know how to detect the ring signal and create a logic signal for a
microcontroller, but then how do I "pick-up" the phone line to stop the
ringing and connect with the caller ?

Perhaps with an optocoupler as a relay but what does the relay connect
up to the line to stop the ringing ?


What are you going to use as a "telephone?" You indicate that you want your
equipment to auto-answer an incoming call, but then what happens?

A good answer to your question can't be provided without more information.

By the way, your telephone line isn't 600 Ohms impedance, and tripping the ring
with a 600 Ohm resistor is a marginal approach which, depending on how it is
done, can degrade the transmission path.

Don
I want the ring detect circuit to inform a microcontroller and then have
the micro 'answer' the phone i.e by triggering a relay. Then once a
circuit is established, decode the DTMF pulses sent be the other end
(using a DTMF decoder IC) and then have the micro put some audio on the
line.

Miguel's circuit below seems its what I want I believe ?
L1----------------8-------
RD 200
L2----------------SW------

RD= ring detector circuit in parallel to line
8 = one transformer winding in series to one line
SW= seize/hangup switch or electronically controlled relay
200= resistor, ˝Watt

Tom, your circuit here
http://www.hut.fi/Misc/Electronics/circuits/teleinterface.html#audioint
says it can provide an audio interface but wont pick-up the line ?

Thanks !
Linden.
 
Jamie wrote:
you smoked either the low or high output of the TX.! :)
so the level is not changing unless you have some kind
of pull up or down load.
---------------------------
WRONGO!! You CANNOT smoke RS-232(A) by shorting it, it is ballasted
with internal resistance in the driver circuits to prevent that!!
In fact you can strip an RS-232 cable, all conductors, and twist
them all together and come back in 20 years and fix it, and it
will be FINE!

Also, RS-232(A) is a VOLTAGE standard and needs NO load to be
read, but it DOES need to have the handshaking enabled by the
proper interconnections.

-Steve
--
-Steve Walz rstevew@armory.com ftp://ftp.armory.com/pub/user/rstevew
Electronics Site!! 1000's of Files and Dirs!! With Schematics Galore!!
http://www.armory.com/~rstevew or http://www.armory.com/~rstevew/Public


boki wrote:

Dear All,
I am trying to scan RS232 output (TX) signal by an
oscilloscope.

When I short my RS232 output pin.2(TX) & pin.3(RX), it function work (
sometimes lost some words, at least it sent signals).

When I connect RS-232 TX to oscilloscope, connect oscilloscope ground
to pin.1(Earth ground) or pin.7(GND logical ground), oscilloscope both
never has signals. If I 'short' RS-232 pin.2(TX) and pin.3(RX), it
works!

Why?


Thank you very much for your answer.

Best regards,
Boki.
 
boki wrote:
pbdelete@spamnuke.ludd.luthdelete.se.invalid wrote in message news:<4163e336$0$175$cc7c7865@news.luth.se>...
boki <bokiteam@ms21.hinet.net> wrote:
Dear All,
I am trying to scan RS232 output (TX) signal by an
oscilloscope.

When I short my RS232 output pin.2(TX) & pin.3(RX), it function work (
sometimes lost some words, at least it sent signals).

When I connect RS-232 TX to oscilloscope, connect oscilloscope ground
to pin.1(Earth ground) or pin.7(GND logical ground), oscilloscope both
never has signals. If I 'short' RS-232 pin.2(TX) and pin.3(RX), it
works!

Check that it works with another computer to make sure you haven't burned your
rs232 output.

Oscilloscope shield to pin.7
--""-- signal to pin.2 (try 3 aswell!)

Set 5 Volts/Div
Set sweep speed to approx 1 bit per Div. 9600 bps should be 100 us/Div.

1. It still work not burned-out yet. :)
2. Yes, I connect them as same as below:
Oscilloscope shield to pin.7
--""-- signal to pin.2 (try 3 aswell!)

3. I had set 3V 3.1V ... 5.8V 5.9V 6V, it still no response.

4. I only add a voltage by hand, and look the output difference(no
change).

I guess, I am wrong at Step4, or the Appication (VB MSCOMM control)
only be trigger at a 'complete' byte not a bit...

Best regards,
Boki.
--------------------------
Windows does permit the LPT port, but doesn't permit the COM ports to
work without permissions set. Get a .dll or such to enable it.

-Steve
--
-Steve Walz rstevew@armory.com ftp://ftp.armory.com/pub/user/rstevew
Electronics Site!! 1000's of Files and Dirs!! With Schematics Galore!!
http://www.armory.com/~rstevew or http://www.armory.com/~rstevew/Public
 
"boki" <bokiteam@ms21.hinet.net> wrote in message
news:4c3c095a.0410061851.54a23bc6@posting.google.com...
Dear All,
I have a portable device that has a 5-V to 0-V pulse output(
without constant frequency, but below 10Hz range), I want this signal
could be detected by PC RS232 port.

I try many connection type, the RS232 still can't detect the device
pulse.

Do we have to design RS-232 handshake circuits with device output to
make the RS232 detect that pulse?

* I don't have to transmit data,just only pulse detection.

Is that baud rate problem? or ? @@
Connect your signal to the CTS pin on the serial port and monitor the
status register with your software. Note that an input of 0 volts is
undefined in the RS232 world. That means that it is not a proper
voltage level, the signal should swing between + and - voltages with
+3 to -3 being undefined.
 
R. Steve Walz wrote:

Jamie wrote:

you smoked either the low or high output of the TX.! :)
so the level is not changing unless you have some kind
of pull up or down load.

---------------------------
WRONGO!! You CANNOT smoke RS-232(A) by shorting it, it is ballasted
with internal resistance in the driver circuits to prevent that!!
In fact you can strip an RS-232 cable, all conductors, and twist
them all together and come back in 20 years and fix it, and it
will be FINE!

Also, RS-232(A) is a VOLTAGE standard and needs NO load to be
read, but it DOES need to have the handshaking enabled by the
proper interconnections.

-Steve
Excuse me!
i have smoked a few Serial ports on PC boards from excessive constant
over currents! yes they are designed to current sink how ever,
the duty cycle on many Integrated PC boards and Cards do not hold a
100 %.
so don't tell me you can't smoke a serial port! there are many ways
to smoke a port!, over voltage from Flyback charges from those that try
to put inductive devices on line is also another nice way.
 
using the RT (ring Detect) or what ever input you can get
a response lets say from windows if you open up an input
file and use the CommEscape function in a secondary thread or make a
wait object..
the CommEscape will let you read the state levels of the inputs..
using a wait object you can just open the port via a input file
stream using a file name like "com1:" for example, and then do a
waitobject on the handle that is returned.
the idea is that when something happens on that stream that changes
the status the waitobject will return
for example
WaitCommEvent(ComFileHandle,EV_RING,Nil);
that will wait until the state on the Ring Detect
changes.
ect..
that will give you some reading thoughts.
also beware that at 10 hz, the PC in windows may skip some input pulse's



boki wrote:

Dear All,
I have a portable device that has a 5-V to 0-V pulse output(
without constant frequency, but below 10Hz range), I want this signal
could be detected by PC RS232 port.

I try many connection type, the RS232 still can't detect the device
pulse.

Do we have to design RS-232 handshake circuits with device output to
make the RS232 detect that pulse?

* I don't have to transmit data,just only pulse detection.

Is that baud rate problem? or ? @@


Thank you very much for your help.

Best regards
Boki.
 
Jamie wrote:
R. Steve Walz wrote:

Jamie wrote:

you smoked either the low or high output of the TX.! :)
so the level is not changing unless you have some kind
of pull up or down load.
---------------------------
WRONGO!! You CANNOT smoke RS-232(A) by shorting it, it is ballasted
with internal resistance in the driver circuits to prevent that!!
In fact you can strip an RS-232 cable, all conductors, and twist
them all together and come back in 20 years and fix it, and it
will be FINE!

Also, RS-232(A) is a VOLTAGE standard and needs NO load to be
read, but it DOES need to have the handshaking enabled by the
proper interconnections.

-Steve

Excuse me!
i have smoked a few Serial ports on PC boards from excessive constant
over currents!
---------------------
Since you don't know what you're doing, you also do not even know how
you managed this. No such thing is possible IF YOU REMAIN WITHIN THE
STANDARD! And if you don't know how to do that, or how to deviate
without blowing it up, THEN YOU SHOULDN'T!!


yes they are designed to current sink how ever,
the duty cycle on many Integrated PC boards and Cards do not hold a
100 %.
-------------------
Irrelevant, this has nothing whatsoever to do with duty cycle. You're
PRETENDING to know and tossing terms around to bluff and cover your
ass. I helped write (and correct) the first Usenet FAQs on RS-232
ports in the early 1990's!


so don't tell me you can't smoke a serial port! there are many ways
to smoke a port!, over voltage from Flyback charges from those that try
to put inductive devices on line is also another nice way.
--------------
Any idiot who uses inductive flyback in a com circuit deserves whatever
he gets for violating the standard.

Sure, you can over-voltage/current them from without, that is, with an
external supply, but you CANNOT do it by shorting them to each other or
to other RS-232 lines! IT IS IMPOSSIBLE BY THE STANDARD! However, some
serial ports such as on some laptops are NOT PROPERLY IMPLEMENTED as
to current limiting or proper voltage levels !!

-Steve
--
-Steve Walz rstevew@armory.com ftp://ftp.armory.com/pub/user/rstevew
Electronics Site!! 1000's of Files and Dirs!! With Schematics Galore!!
http://www.armory.com/~rstevew or http://www.armory.com/~rstevew/Public
 

Welcome to EDABoard.com

Sponsor

Back
Top