Active low transmitter question


Closed Thread
Results 1 to 40 of 56

Hybrid View

  1. #1
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    4,146


    Did you find this post helpful? Yes | No

    Default Re: Active low transmitter question

    Also you can feed just 3.3 power supply to most pics. They work just fine.

    Ioannis

  2. #2
    Join Date
    Feb 2010
    Location
    I live in the UK
    Posts
    562


    Did you find this post helpful? Yes | No

    Default Re: Active low transmitter question

    Quote Originally Posted by Ioannis View Post
    Also you can feed just 3.3 power supply to most pics. They work just fine.

    Ioannis
    Thanks for that Ioannis - I think 3.3v is the best option here.

    I would love given time to learn how to send data with the LoRa module and pic but that's for the future and a lot more learning my end (end of Summer/Autumn/Winter project).

    What I am after here, is to use the Tx/Rx as a switch at about 350m range so question:

    Am I right in assuming that (once paired) a state change on say Input pin1 on the Tx would be reflected as Output on pin1 on the receiver (acting as a simple switch in effect) or is that far to simple?

    what you have is a lora long distance two way packet radio system that transmits the entire device state each time any input pin changes
    to paired receiver constrained by the tx transmission time, that time is between 55 and 1002 mS depending on mode.
    its not some cheap OOK thing
    Hi Richard - I appreciate that, its a pretty suffisticated and versatile piece of kit, I have a lot of learning to do before I can do it justice but as I say above, right now to get it to operate at 350m as a mirrored switch is all I'm after.

  3. #3
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    4,146


    Did you find this post helpful? Yes | No

    Default Re: Active low transmitter question

    It does exactly that. Richard already told you so.

    Rx reflects what Tx sees at the inputs.-

    Ioannis

  4. #4
    Join Date
    Feb 2010
    Location
    I live in the UK
    Posts
    562


    Did you find this post helpful? Yes | No

    Default Re: Active low transmitter question

    Hi Ioannis - I came across this short instructional / demo video for anyone else who's interested in this topic, simple video but shows Tx/Rx in action. It's not the exact same model as the ones I've now ordered but very similar, you may have to scroll down the page a tad to see the video.


    http://www.rfsolutions.co.uk/radio-m...ule-1000m-p378

  5. #5
    Join Date
    Feb 2010
    Location
    I live in the UK
    Posts
    562


    Did you find this post helpful? Yes | No

    Default Re: Active low transmitter question

    Sorry guys another question from me.

    The demo video shows a lady pressing a push button to ground on Tx Input pin1, which on the Rx latches an led on, so:

    How do I mimic a 'single' button press to ground on Tx Input pin1 from a pic? do I:

    Just set GPIO.0 = 0 'Pulls Tx pin1 LOW causes a Tx
    then set GPIO.0 = 1 'pulls Tx pin1 High, from data sheet Tx Inputs pins are internally pulled high anyway
    Or would the above cause two Tx's

    Or do I:

    Set GPIO.0 = 0 'Pulls Tx pin1 LOW causes a Tx
    Then Change TRISIO = %00000001 'Set bit.0 to input and mimic a floating open switch Tx Inputs pins are internally pulled high

  6. #6
    Join Date
    May 2013
    Location
    australia
    Posts
    2,656


    Did you find this post helpful? Yes | No

    Default Re: Active low transmitter question

    The demo video shows a lady pressing a push button to ground on Tx Input pin1, which on the Rx latches an led on, so:
    yes on a different device to what was previously discussed and not to mention the woefully inadequate description of the hardware
    is the switch momentary or latching ?

    if the switch is momentary then the operational description in the data sheet completely fails to explain the toggle action
    occurring

    consult the salesman
    Warning I'm not a teacher

  7. #7
    Join Date
    Feb 2010
    Location
    I live in the UK
    Posts
    562


    Did you find this post helpful? Yes | No

    Default Re: Active low transmitter question

    Ok, ignoring the video and the different device and back onto this one.


    How do I mimic a 'single momentary' button press to ground on Transmitter Input pin1 using a pic instead of a button? do I:

    Set TRISIO = %11111110 'set bit 0 to output
    Then set GPIO.0 = 0 'Pulls Tx pin1 LOW causes a Tx
    Pause 50ms 'Alow time for Tx
    Then set GPIO.0 = 1 'pulls Tx pin1 High, from data sheet Tx Input pins are internally pulled high anyway
    Or would the above cause two Tx's (two state changes).

    Or do I:

    Set TRISIO = %11111110 'set bit 0 to output
    Then set GPIO.0 = 0 'Pulls Tx pin1 LOW causes a Tx
    pause 50ms 'Alow time for Tx
    Then Change TRISIO = %00000001 'Set bit.0 to input and mimic a floating open switch, Tx Input pins are internally pulled high (data sheet)
    And then when I want to Tx again set the TRIS bit 0 then GPIO.0 LOW etc.

  8. #8
    Join Date
    Jan 2022
    Posts
    1


    Did you find this post helpful? Yes | No

    Default Re: Active low transmitter question

    Did they get the issue handled. It was always frustrating.

Similar Threads

  1. better coding methods to freeing active ram in small pics
    By longpole001 in forum mel PIC BASIC Pro
    Replies: 11
    Last Post: - 21st December 2012, 17:47
  2. Active low input?
    By CosMecc in forum mel PIC BASIC Pro
    Replies: 14
    Last Post: - 8th August 2010, 20:31
  3. Low Power Transmitter in a TO39 Package
    By BobP in forum Off Topic
    Replies: 2
    Last Post: - 29th October 2008, 10:28
  4. active LCD with input pen
    By micro in forum Off Topic
    Replies: 2
    Last Post: - 25th December 2005, 20:09

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