Also you can feed just 3.3 power supply to most pics. They work just fine.
Ioannis
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?
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.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
It does exactly that. Richard already told you so.
Rx reflects what Tx sees at the inputs.-
Ioannis
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
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
yes on a different device to what was previously discussed and not to mention the woefully inadequate description of the hardwareThe demo video shows a lady pressing a push button to ground on Tx Input pin1, which on the Rx latches an led on, so:
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
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.
Did they get the issue handled. It was always frustrating.
Bookmarks