Skip to content

Cannot find proper ID #3

@cptX

Description

@cptX

Hi, and thanks for your code. I used your code in arduino Mega2560 board with the proper modifications. I got an UDIRC drone (like this: https://www.skroutz.gr/s/14201025/Udir-c-U818A.html) but I don't have the transmitter. I desoldered the 2.4GCOB-1A module from another transmitter and attached it to arduino Mega2560 board. The problem is that I cannot bind to the drone. I think the problem is the wrong ID or the wrong protocol (sequence of data transmitted). As I don't have the transmitter I cannot check what data is sent to the module in the transmitter side.
So my questions are the following:

  1. In your binding example you say "//Drone ID's (pick 4 random numbers)". Why should they get picked randomly, shouldn't it be the id the drone is expecting to see?
  2. Is there a way to guess this ID somehow? Can I write a code to try all the possible combinations of ID? If yes which bytes do you suggest to change?
  3. Is there from the arduino side a way to know when a bind attempt was successful? So if I make a loop to try all possible addresses to know when a bind attempt was successful and stop?
  4. In the drone side, is the address also sent localy to the module from drone's microcontroller? Can I eyesdrop there to read the receiver address?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions