A
Arduino2mo ago
mac

pls help me

i wanted to build something with 433mhz but the thing is i know nothing im pretty new and i got an error when i try to upload my code to the adruino i will show some pictures
No description
8 Replies
mac
macOP2mo ago
No description
No description
mac
macOP2mo ago
thats the code of the receiver
pseud0
pseud02mo ago
You cannot have both the servo library and the RH_ASK library use the same timer interrupt Line 1 has no effect at all The addition of
#define RH_ASK_ARDUINO_USE_TIMER2
#define RH_ASK_ARDUINO_USE_TIMER2
must be done in the RH_ASK.cpp file of the library, not the sketch https://github.com/dragino/RadioHead/blob/43720d1ed6fbf6719968f5f8cfad21a561b9bbe2/RH_ASK.h#L231-L235 I.e., that library should be in C:\Users\<user>\Documents\Arduino\libraries\RadioHead\RH_ASK.cpp
yourboi8500
yourboi85002mo ago
433Mhz is pretty fast. You’re 18% of the way there to a standard microwave oven at 2400Mhz. I’m not sure the capabilities of the audrino with small signal voltages at that level.
yourboi8500
yourboi85002mo ago
No description
yourboi8500
yourboi85002mo ago
The clock speed of the microcontroller is 16-20Mhz I think. I am a layman for computer engineering but the signal speed you are sending is higher than the microcontrollers clock speed? By several orders of magnitude
yourboi8500
yourboi85002mo ago
That is Semantics.
No description

Did you find this page helpful?