PIC to control NEXA remoteswitch


Closed Thread
Results 1 to 22 of 22

Hybrid View

  1. #1
    Join Date
    Jul 2003
    Posts
    2,405


    Did you find this post helpful? Yes | No

    Default

    Hi Fredrick,

    Excellent. I'm glad you got it working, and happy to help.

    We lucked-out having someone else do the dirty work for us...;o}

    Dave & Anand both make good points above. If you have access to an O-Scope or can
    build the sound card version, it makes the whole process a lot easier. And then you'll be
    relatively sure your timing is correct.

    I suspect this is what someone did when they wrote NexaProtocol.txt. You can probably
    tweak the timing down to near perfect if you scope the data output pin on the NEXA
    encoder IC in your transmitter.

    At least now you have something to work with, and you can see how the timing from
    NexaProtocol.txt was converted to a few simple PBP routines.

    Cloning most encoders is relatively simple. The decoding part is a LOT more work.

    Maybe you could post what you have now in the code examples section to share with
    others?
    Regards,

    -Bruce
    tech at rentron.com
    http://www.rentron.com

  2. #2
    Join Date
    Jan 2008
    Location
    Sweden
    Posts
    187


    Did you find this post helpful? Yes | No

    Angry

    I tryed to do the sound card version today byt no one of my 2 computers have a "Line in" or "Audio in" input, only a input with a microphone symbol on and that doesīt work.

    I have now posted the code in the code exampel area now.

  3. #3
    Join Date
    Jan 2008
    Location
    Sweden
    Posts
    187


    Did you find this post helpful? Yes | No

    Default

    Is it posible to capture the RF signal with the PICkit2 tool "PICkit 2 Programmer Logic Tool Analyzer"?

    If so i will buy the PICkit2 programmer (i need a new programmer with USB support.)

    http://www.microchip.com/stellent/id...cName=en023805

  4. #4
    Join Date
    Oct 2004
    Posts
    448


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Fredrick View Post
    I tryed to do the sound card version today byt no one of my 2 computers have a "Line in" or "Audio in" input, only a input with a microphone symbol on and that doesīt work.
    You still might be able to use the mic input, if you attenuate the signal 1:1000 (a 100K and a 100ohm resistor divider, perhaps?). The waveform might not look picture perfect, but will surely be good enough for your purpose.

    Alternately, if you have a serial port, you might want to look at Dante's infrax utility at http://www.geocities.com/tdanro/irman/irman.html

    This would require you to build a small capture circuit, and be informed this does not work reliably with USB-to-serial interfaces. On a native serial port (or a PCI based additional one) it works quite brilliantly.

    Regards,

    Anand

  5. #5
    Join Date
    Jan 2008
    Location
    Sweden
    Posts
    187


    Did you find this post helpful? Yes | No

    Default

    Ok, i will try.

    But i still need a new programmer so i hope that i can use the "Logic Tool" in Pickit2, or doesīt that work?

    Last edited by Fredrick; - 8th January 2009 at 10:11.

  6. #6
    Join Date
    Dec 2005
    Posts
    1,073


    Did you find this post helpful? Yes | No

    Default

    The mic input is tricky. Usually, it has +5V on one conductor to power electret microphones. Some are stereo.A logic analyzer might work but I've never tried one. The signals typically are between 1000Hz & 2000Hz.

Similar Threads

  1. Control NEXA 230V RF Switch
    By Fredrick in forum Code Examples
    Replies: 3
    Last Post: - 6th December 2009, 23:19
  2. Replies: 5
    Last Post: - 12th September 2007, 15:59
  3. Motor Control PLC with a PIC
    By sougata in forum mel PIC BASIC Pro
    Replies: 11
    Last Post: - 2nd November 2006, 07:59
  4. Pic Control With Software
    By Agent36 in forum General
    Replies: 5
    Last Post: - 18th October 2006, 18:18
  5. Need help on pic to pic flow control (simple problem I think)
    By khufumen in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 11th January 2006, 00:34

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts