Attached is the complete project and revised firmware part of the receiver.
I made a mistake posting the post here; see the post on ask-ook tx rx
I found a bug in the receiver. The receiver stops working after a short time. The cause is that when it receives characters that aren't the correct string, these characters are added to the array. /************************************************************** DRTEK Name: ask-ook-rx-WL101-2 Micro: ATTINY85 Date: 29/08/2025 Ver: 00.07 Description: Receiving via ASK/OOK and turning on the LED if it receives the string "DRTekTx1=1" ------------------------------------------------------------------------------------------------------------------------------------------...
I made a mistake this is the code for the ask-ook receiver ..sorry.
The receiver stopped working after a while, the cause is that when it receives characters that are not the right string, these characters are added to the array and it seems to overflow.
RX
TX
Hi, I noticed a bug in the receiver. Apparently, if the receive string isn't reset, it stops working after a short time due to overflow. I solved it this way. See the code; it can definitely be improved. Regarding the datasheet for the RX and TX modules, they aren't officially available, but you can find the documentation online. Sorry for the bug. /************************************************************** DRTEK Name: ask-ook-rx-WL101-2 Micro: ATTINY85 Date: 29/08/2025 Ver: 00.07 Description:...