logo elektroda
logo elektroda
X
logo elektroda

Arduino 433MHz RF Receiver & Transmitter Tutorial: Decoding Pilot Codes & Setup Guide

mateus2002 6969 8
ADVERTISEMENT
Treść została przetłumaczona polish » english Zobacz oryginalną wersję tematu
  • #1 17094374
    mateus2002
    Level 10  
    Hello, some time ago I bought a transmitter, a 433Mhz receiver and followed the guide:




    Here's what it looks like for me:

    Arduino 433MHz RF Receiver & Transmitter Tutorial: Decoding Pilot Codes & Setup Guide Arduino 433MHz RF Receiver & Transmitter Tutorial: Decoding Pilot Codes & Setup Guide Arduino 433MHz RF Receiver & Transmitter Tutorial: Decoding Pilot Codes & Setup Guide
    Arduino 433MHz RF Receiver & Transmitter Tutorial: Decoding Pilot Codes & Setup Guide Arduino 433MHz RF Receiver & Transmitter Tutorial: Decoding Pilot Codes & Setup Guide Arduino 433MHz RF Receiver & Transmitter Tutorial: Decoding Pilot Codes & Setup Guide

    Sketch that I uploaded to arduino:
    Code: C / C++
    Log in, to see the code

    No response after pressing the button on the remote control, serial port empty, can someone help me solve the problem?
    Do you have a problem with Arduino? Ask question. Visit our forum Arduino.
  • ADVERTISEMENT
  • #2 17094400
    ghost2000
    Level 18  
    And is the series working properly? Insert yourself sending some text after the reset.
    Is there any transmission at the 433MHz receiver output?
  • ADVERTISEMENT
  • #3 17094494
    mateus2002
    Level 10  
    I added to the code:
    Serial.println("test");
    delay(50);

    and the port is communicating correctly.

    Arduino 433MHz RF Receiver & Transmitter Tutorial: Decoding Pilot Codes & Setup Guide

    Code: C / C++
    Log in, to see the code

    How can I check if there is any transmission at the receiver's output?
    Will this method work?
    Arduino 433MHz RF Receiver & Transmitter Tutorial: Decoding Pilot Codes & Setup Guide
    The diode does not flash when I press the buttons on the remote controls.
  • #4 17094547
    ghost2000
    Level 18  
    mateus2002 wrote:
    How can I check if there is any transmission at the receiver's output?

    Preferably an oscilloscope.

    mateus2002 wrote:

    Will this method work?

    Diode current limiting resistor missing. If you're lucky, the receiver is still alive. Diode? It was necessary to check both. Much depends on the design of the receiver output.
    The solution with a diode and a resistor for basic tests is enough (the problem may be exceeding the permissible current).

    mateus2002 wrote:

    The diode does not flash when I press the buttons on the remote controls.

    It is not known whether the receiver and the diode survived. It's hard to comment.

    Added after 1 [minutes]:

    PS
    There is no such thing as connection photography in electronics. Even Adam Słodowy explained that. As a matter of fact, you cannot see where the anode and the diode cathode are. Draw a wiring diagram. It looks like the LED is connected in series between the receiver output (if it is an output) and the uC input. If so, it won't light up. Count yourself what current can flow there and what is required for the diode to light up.
  • ADVERTISEMENT
  • #5 17094615
    mateus2002
    Level 10  
    Ok, partly solved, wanting to take any step, I decided to create a connection between the transmitter and the receiver. Surprisingly, it worked perfectly, thanks to which it was possible to eliminate failures of the receiving module, but unfortunately it still cannot read the codes from the remote;

    The library used for the tests: VirtualWire
    Example: Example Program

    Example Program - Transmit
    Code: C / C++
    Log in, to see the code


    Example Program - Receive
    Code: C / C++
    Log in, to see the code


    Scheme of the previous connection and used with the RC Switch library that ghost2000 asked me for, downloaded from Link :
    Arduino 433MHz RF Receiver & Transmitter Tutorial: Decoding Pilot Codes & Setup Guide

    Anyone have an idea how to read codes from the remote control? Are both remotes just not working with this module?
  • ADVERTISEMENT
  • #6 17094666
    ghost2000
    Level 18  
    mateus2002 wrote:
    Scheme of the previous connection and used with the RC Switch library that ghost2000 asked me for, downloaded from Link:

    This is not a diagram and I meant the diagram of switching on a light emitting diode.

    mateus2002 wrote:

    Anyone have an idea how to read codes from the remote control? Are both remotes just not working with this module?

    Probably a standard mismatch. Preview what you have on the receiver output with an oscilloscope or analyzer. You will know what standard it broadcasts. From the VirtualWire library documentation you can find out if this standard is supported. If not, you will know the library for what standard to look for.
  • #7 17095474
    mateus2002
    Level 10  
    By the way, I also wanted to ask because it has a couple of these modules.

    Arduino 433MHz RF Receiver & Transmitter Tutorial: Decoding Pilot Codes & Setup Guide Arduino 433MHz RF Receiver & Transmitter Tutorial: Decoding Pilot Codes & Setup Guide

    I noticed that they differ from each other, I wrote to the seller asking why and he replied that this is the next version, but why does this one not read the remote? Someone encountered different versions of this module? Is this a customer divestment?

    The photo at the auction was like this:

    Arduino 433MHz RF Receiver & Transmitter Tutorial: Decoding Pilot Codes & Setup Guide
    And I got this:

    Arduino 433MHz RF Receiver & Transmitter Tutorial: Decoding Pilot Codes & Setup Guide
  • #8 17095502
    ghost2000
    Level 18  
    The problem may be a mod (the remote has a different channel, a different module) or a bad library / remote (different transmission standards). Show what you have at the output of the module when the remote control transmits.
  • #9 17741226
    endi1940
    Level 11  
    I also have versions without drawn elements and I have a problem with running the modules, are they working properly for you? Do they work different from the previous version?

Topic summary

The discussion revolves around troubleshooting a 433MHz RF receiver and transmitter setup using Arduino. The user initially shared their code and setup images, seeking assistance with decoding pilot codes. Responses included suggestions to verify the transmission output using an oscilloscope and to check for proper connections, particularly regarding diode and resistor configurations. The user later reported partial success by directly connecting the transmitter and receiver, but still faced issues with code reading. Various library options, such as RCSwitch and VirtualWire, were discussed, along with potential compatibility issues between different module versions. The conversation highlighted the importance of ensuring that the transmitter and receiver are compatible and that the correct libraries are used for the specific transmission standards.
Summary generated by the language model.
ADVERTISEMENT