Hello everyone
Recently I tried to build a custom remote for future projects.
It uses 433mHz modules and two Arduino Nano boards (one on the remote, one on a
breadboard together with a receiver).
Unfortunately the radio communication does not work, and the receiver unit does not
receive the characters I send.
I used buttons to control the commands that are sent to the receiver, and I know
that their input is received by the transmitter board.
I don't know how to fix this problem, and I would greatly appreciate some help.
Regards
Hello everyone
Recently I tried to build a custom remote for future projects.
It uses 433mHz modules and two Arduino Nano boards (one on the remote, one on a
breadboard together with a receiver).
Unfortunately the radio communication does not work, and the receiver unit does not
receive the characters I send.
I used buttons to control the commands that are sent to the receiver, and I know
that their input is received by the transmitter board.
I don't know how to fix this problem, and I would greatly appreciate some help.
Regards
Since we are not mind readers or have remote vision, you have to publish ALL your source code and wiring diagrams that WE can see clearly. Hand drawn is ok.
First computer 1959. Retired from my own computer company 2004.
Hardware - Expert in 1401, and 360, fairly knowledge in PC plus numerous MPU's and MCU's
Major Languages - Machine language, 360 Macro Assembler, Intel Assembler, PL/I and PL1, Pascal, Basic, C plus numerous job control and scripting languages.
My personal scorecard is now 1 PC hardware fix (circa 1982), 1 open source fix (at age 82), and 2 zero day bugs in a major OS.
@zander Of course.
I just wanted to know what you needed before sharing any files.
In the next days I will prepare a diagram, take some pictures and publish the source code.
Have a nice day
@valerio Did you use Bill's sketches to start then just modify to accommodate for the buttons?
First computer 1959. Retired from my own computer company 2004.
Hardware - Expert in 1401, and 360, fairly knowledge in PC plus numerous MPU's and MCU's
Major Languages - Machine language, 360 Macro Assembler, Intel Assembler, PL/I and PL1, Pascal, Basic, C plus numerous job control and scripting languages.
My personal scorecard is now 1 PC hardware fix (circa 1982), 1 open source fix (at age 82), and 2 zero day bugs in a major OS.
Here are code files for transmitter and receiver, as well as pictures.
Pleases tell me if you need a wire diagram.
Have a nice day
@valerio Q wire diagram would be good.
If you power both with USB, do they still mis-behave?
First computer 1959. Retired from my own computer company 2004.
Hardware - Expert in 1401, and 360, fairly knowledge in PC plus numerous MPU's and MCU's
Major Languages - Machine language, 360 Macro Assembler, Intel Assembler, PL/I and PL1, Pascal, Basic, C plus numerous job control and scripting languages.
My personal scorecard is now 1 PC hardware fix (circa 1982), 1 open source fix (at age 82), and 2 zero day bugs in a major OS.
@zander Yes, they do not work even when they are both powered with usb.
@valerio Post the serial logs so I can see what is happening.
First computer 1959. Retired from my own computer company 2004.
Hardware - Expert in 1401, and 360, fairly knowledge in PC plus numerous MPU's and MCU's
Major Languages - Machine language, 360 Macro Assembler, Intel Assembler, PL/I and PL1, Pascal, Basic, C plus numerous job control and scripting languages.
My personal scorecard is now 1 PC hardware fix (circa 1982), 1 open source fix (at age 82), and 2 zero day bugs in a major OS.
@valerio I see ChatGPT in your comments. I am deleting your sketches from my PC. I have tested ChatGPT and it can not write a real full program. If I can't talk to the programmer then I can't help.
First computer 1959. Retired from my own computer company 2004.
Hardware - Expert in 1401, and 360, fairly knowledge in PC plus numerous MPU's and MCU's
Major Languages - Machine language, 360 Macro Assembler, Intel Assembler, PL/I and PL1, Pascal, Basic, C plus numerous job control and scripting languages.
My personal scorecard is now 1 PC hardware fix (circa 1982), 1 open source fix (at age 82), and 2 zero day bugs in a major OS.
I used ChatGPT only to correct a few mistakes.
I wrote all of the program except for the lines with "ChatGPT" as a comment.
Also I got the same errors without the code suggested by chatGPT
@valerio You seem to have a lot of trouble understanding clear directions. SHOW US THE SERIAL LOGS from both transmitter and receiver.
First computer 1959. Retired from my own computer company 2004.
Hardware - Expert in 1401, and 360, fairly knowledge in PC plus numerous MPU's and MCU's
Major Languages - Machine language, 360 Macro Assembler, Intel Assembler, PL/I and PL1, Pascal, Basic, C plus numerous job control and scripting languages.
My personal scorecard is now 1 PC hardware fix (circa 1982), 1 open source fix (at age 82), and 2 zero day bugs in a major OS.
Recently I tried to build a custom remote for future projects.
It uses 433mHz modules and two Arduino Nano boards (one on the remote, one on a
breadboard together with a receiver).
Doesn't 433 use the serial comm system ? Try removing the Serial.begin() from both sketches and use an LED or something to indicate success on the receiver.
Anything seems possible when you don't know what you're talking about.
@will Don't know, but Bill's receiver sketch has a Serial.begin statement sooooooo????
First computer 1959. Retired from my own computer company 2004.
Hardware - Expert in 1401, and 360, fairly knowledge in PC plus numerous MPU's and MCU's
Major Languages - Machine language, 360 Macro Assembler, Intel Assembler, PL/I and PL1, Pascal, Basic, C plus numerous job control and scripting languages.
My personal scorecard is now 1 PC hardware fix (circa 1982), 1 open source fix (at age 82), and 2 zero day bugs in a major OS.
I can't remember, it's been a long time since I used the 433. Maybe it just because it uses SPI ?
Anything seems possible when you don't know what you're talking about.