Please login or register.

Login with username, password and session length

Author Topic: Firecracker Interface Levels  (Read 10617 times)

admeeral

  • Jr. Member
  • **
  • Helpful Post Rating: 0
  • Posts: 15
Firecracker Interface Levels
« on: March 30, 2010, 11:31:29 AM »

I have a self designed system to which I am adding some x10 capability.
At the moment I am adding a USB parallel interface and plan to include a Firecracker port.
This device is intended for use with the old and rapidly becoming extinct serial port
However it only uses the two lines RTS and DTR.  Since it only receives it may not
need the full +15, -5 voltage swings of the original interface.  Can anyone tell me if
it will respond to CMOS levels +5, 0?

Muchas Gracias
Logged

pconroy

  • Hero Member
  • *****
  • Helpful Post Rating: 9
  • Posts: 294
Re: Firecracker Interface Levels
« Reply #1 on: March 30, 2010, 12:47:16 PM »

I don't know the answer - we'll get that out'a the way first...   ;D

I do have a couple of USB/RS232 cables working for a handful of my legacy serial devices.
Since USB tops out at 5V, IIRC, I'd think that would push me towards a guess.
Logged

Brian H

  • Community Organizer
  • Hero Member
  • ***
  • Helpful Post Rating: 305
  • Posts: 13295
Re: Firecracker Interface Levels
« Reply #2 on: March 30, 2010, 01:11:50 PM »

ftp://ftp.x10.com/pub/manuals/cm17a_protocol.txt
My serial is kind of rusty. Not sure if - or + is what the protocol information calls for as high.

Part of this X10 project used a Firecracker Interface. Maybe it can also give you some clues to what signal levels where.
http://www.kronosrobotics.com/Projects/x10.shtml
« Last Edit: March 30, 2010, 02:23:30 PM by Brian H »
Logged

admeeral

  • Jr. Member
  • **
  • Helpful Post Rating: 0
  • Posts: 15
Re: Firecracker Interface Levels
« Reply #3 on: March 30, 2010, 03:30:33 PM »

Thanks for the replies but, of course, I still do not know the answer.
When you just plug things together the levels are not published.
I have decided to interface via a couple of optocouplers and then I
can change the output levels to the firecracker by simply adding an
additional dc power input.

I suppose how much RF power output this baby has also is not known.
From the FCC specs of 200uV/M at 10 M a maximum of about 1mW
at the transmitter antenna would be about right.  Does this baby have
much of an antenna?  I suppose I could just dismantle it and see I guess.

admeeral
Logged

Brian H

  • Community Organizer
  • Hero Member
  • ***
  • Helpful Post Rating: 305
  • Posts: 13295
Re: Firecracker Interface Levels
« Reply #4 on: March 30, 2010, 04:33:52 PM »

How about schematics and photos?
FCC database.
https://fjallfoss.fcc.gov/oetcf/eas/reports/ViewExhibitReport.cfm?mode=Exhibits&RequestTimeout=500&calledFromFrame=N&application_id=93404&fcc_id='B4SCM17A'

Schematic looks like it uses the positive level of the RS232 to generate +5 volts and data for the PIC12C508 controller chip. The two 100K resistors and the chips internal protective diodes clamp the negative and positive RS232 voltages to a safe level on the inputs to the chip.

I believe the antenna is that small loop near the silk screened H10616A 3

Take a look at the RF section. It is one transistor used for both RF oscillator and output. I doubt it has much power output.
« Last Edit: March 30, 2010, 07:44:11 PM by Brian H »
Logged

Charles Sullivan

  • Hero Member
  • *****
  • Helpful Post Rating: 94
  • Posts: 1565
    • HEYU - X10 Automation for Linux, Unix, and Mac OSX
Re: Firecracker Interface Levels
« Reply #5 on: March 31, 2010, 10:01:07 PM »

I have a self designed system to which I am adding some x10 capability.
At the moment I am adding a USB parallel interface and plan to include a Firecracker port.
This device is intended for use with the old and rapidly becoming extinct serial port
However it only uses the two lines RTS and DTR.  Since it only receives it may not
need the full +15, -5 voltage swings of the original interface.  Can anyone tell me if
it will respond to CMOS levels +5, 0?

Muchas Gracias

The CM17A Firecracker will work with a USB-Serial adapter which supports the serial status lines.  These will generally swing +/- 5 Volts.  (Note that some of the el-cheapo adapters from Hong Kong do NOT support these lines, only TX and RX.) 

Provided your CMOS can supply as much current as a serial port, it ought to be able to power the CM17A lines "On" with +5 Volts.  Whether 0 Volts is low enough for the CM17A to consider the line as "Off" (or pull it down fast enough), I can't say.
 
BTW, the CM17A is a transmitter, not a receiver.
Logged
Yesterday it worked.
Today it doesn't work.
X10 on Windows is like that.

HEYU - X10 Automation for Linux, Unix, and Mac OS X     http://www.heyu.org

Brian H

  • Community Organizer
  • Hero Member
  • ***
  • Helpful Post Rating: 305
  • Posts: 13295
Re: Firecracker Interface Levels
« Reply #6 on: April 01, 2010, 06:06:03 AM »

0 volts should be fine. The negative RS232 level is clamped with an internal protective diode in the controller chip.
Logged

Charles Sullivan

  • Hero Member
  • *****
  • Helpful Post Rating: 94
  • Posts: 1565
    • HEYU - X10 Automation for Linux, Unix, and Mac OSX
Re: Firecracker Interface Levels
« Reply #7 on: April 01, 2010, 08:36:16 AM »

0 volts should be fine. The negative RS232 level is clamped with an internal protective diode in the controller chip.

The diode would provide approximately -0.5 Volts versus the 0 Volts (or whatever the actual "off" level is for the CMOS).   I imagine some experimentation will be required to know for sure whether it will work.
 
Logged
Yesterday it worked.
Today it doesn't work.
X10 on Windows is like that.

HEYU - X10 Automation for Linux, Unix, and Mac OS X     http://www.heyu.org

-Bill- (of wgjohns.com)

  • Advanced Member
  • Hero Member
  • ******
  • Helpful Post Rating: 81
  • Posts: 1340
  • He's just this guy. You know?
    • wgjohns.com
Re: Firecracker Interface Levels
« Reply #8 on: April 02, 2010, 12:02:18 AM »

Just my 2 cents.

As far as I remember, the RS232 spec specifies 12 volts for the signal lines, but the RS232C spec that is more frequently supported on PC's (especially 9-pin plugs) is 5 volts.

Or am I "missmembering"?   ???

 >!
Logged
-Bill- (of wgjohns.com)
bill@wgjohns.com

In the real world, the only constant is change.

When I'm online you can find me in the Home Automation Chat Room!

Charles Sullivan

  • Hero Member
  • *****
  • Helpful Post Rating: 94
  • Posts: 1565
    • HEYU - X10 Automation for Linux, Unix, and Mac OSX
Re: Firecracker Interface Levels
« Reply #9 on: April 02, 2010, 03:22:05 AM »

Just my 2 cents.

As far as I remember, the RS232 spec specifies 12 volts for the signal lines, but the RS232C spec that is more frequently supported on PC's (especially 9-pin plugs) is 5 volts.

Or am I "missmembering"?   ???

 >!

The original EIA RS232C doesn't specify a particular value but allows anything between +/- 3 to 25 Volts.  Between +3 and -3 Volts is an undefined zone.

The IBM PC Asynchronous Communication board specifications limited the swing to +/- 15 Volts maximum and used +/- 12 Volts from the system power supply, which became the de facto "RS232 standard".   It was just a hardware spec and there was no minimum swing defined as in the EIA spec.

Logged
Yesterday it worked.
Today it doesn't work.
X10 on Windows is like that.

HEYU - X10 Automation for Linux, Unix, and Mac OS X     http://www.heyu.org

admeeral

  • Jr. Member
  • **
  • Helpful Post Rating: 0
  • Posts: 15
Re: Firecracker Interface Levels
« Reply #10 on: April 12, 2010, 10:45:21 AM »

OK so I went and built the interface.
It uses an ELEXOL USBMOD245A interface which basically translates
a USB output to a parallel output.  I use Opto couplers to connect the two power
systems and I have the capability of inputting +15/-3 down to +5/0 simply by coupling
to  different wall transformers.  Works at 5 and has more power out at 7 V.  "Negative"
set at 0.  I also use the other 6 outputs for an environmental interface.

If the Firecracker has a loop antenna then the output will have circular polarization.. not the best
since all the receivers have linear antennas. 

The hand held transmitters have a loop antenna also.   The CM15A has a internal wire antenna and
has much better range.

Has anyone tried replacing the loop antenna on the Firecracker with an external 1/4 wave dipole??
Logged

Charles Sullivan

  • Hero Member
  • *****
  • Helpful Post Rating: 94
  • Posts: 1565
    • HEYU - X10 Automation for Linux, Unix, and Mac OSX
Re: Firecracker Interface Levels
« Reply #11 on: April 12, 2010, 02:03:24 PM »

OK so I went and built the interface.
It uses an ELEXOL USBMOD245A interface which basically translates
a USB output to a parallel output.  I use Opto couplers to connect the two power
systems and I have the capability of inputting +15/-3 down to +5/0 simply by coupling
to  different wall transformers.  Works at 5 and has more power out at 7 V.  "Negative"
set at 0.  I also use the other 6 outputs for an environmental interface.

If the Firecracker has a loop antenna then the output will have circular polarization.. not the best
since all the receivers have linear antennas. 

The hand held transmitters have a loop antenna also.   The CM15A has a internal wire antenna and
has much better range.

Has anyone tried replacing the loop antenna on the Firecracker with an external 1/4 wave dipole??


You can see the innards of the CM17A on the FCC website:
  https://fjallfoss.fcc.gov/oetcf/eas/reports/ViewExhibitReport.cfm?mode=Exhibits&RequestTimeout=500&calledFromFrame=N&application_id=93404&fcc_id=%27B4SCM17A%27
Logged
Yesterday it worked.
Today it doesn't work.
X10 on Windows is like that.

HEYU - X10 Automation for Linux, Unix, and Mac OS X     http://www.heyu.org

admeeral

  • Jr. Member
  • **
  • Helpful Post Rating: 0
  • Posts: 15
Re: Firecracker Interface Levels
« Reply #12 on: April 14, 2010, 11:28:54 AM »

Thanks Charles. 
All the info anyone wanted at one web site.
The schematic was most helpful.

Admeeral
Logged

Charles Sullivan

  • Hero Member
  • *****
  • Helpful Post Rating: 94
  • Posts: 1565
    • HEYU - X10 Automation for Linux, Unix, and Mac OSX
Re: Firecracker Interface Levels
« Reply #13 on: April 14, 2010, 02:40:02 PM »

Thanks Charles. 
All the info anyone wanted at one web site.
The schematic was most helpful.

Admeeral

If you succeed in adding an external antenna to the CM17A, please post your results and method here.

The best I could think of trying for improving the range was to mount the CM17A up high at the end of a serial cable and using the passive coupler trick:
http://jvde.us/x10/passive.pdf
Logged
Yesterday it worked.
Today it doesn't work.
X10 on Windows is like that.

HEYU - X10 Automation for Linux, Unix, and Mac OS X     http://www.heyu.org

admeeral

  • Jr. Member
  • **
  • Helpful Post Rating: 0
  • Posts: 15
Re: Firecracker Interface Levels
« Reply #14 on: April 16, 2010, 10:13:48 AM »

Thanks Charles.

The biggest problem I see is that since there is no crystal or adjustable components it would be
easy to shift the frequency.  My unit transmits at 310.15MHz so I suppose the receivers have sufficient
bandwidth for that offset.  When I get everything together I'll check the range.  Since I have a USB adapter
it is simple to mount it in an optimum position.  Let you know. Mounting it on the back of a computer would appear
to be problematic.

Admeeral
Logged
 

X10.com | About X10 | X10 Security Systems | Cameras| Package Deals
© Copyright 2014-2016 X10.com All rights reserved.