This is the GCB code for the WL102 transmitter. I managed to put it into sleep mode and use the PIR sensor to send an alarm. I looked for an example but couldn't find it. I couldn't put it into deep sleep mode with Arduino... but I did manage to do it with GCB. I hope this helps. If you're interested, I have the receiver part for the WL101, but it's written for Arduino Nano.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Sorry for my English, but I noticed a mistake in the diagram: the PIR is powered by 5 volts, but it needs to be powered by 3 volts due to communication levels. JP1 is not used at the moment. Sorry again.
I'd like to post my working example of a WL102 module sending a string using a PIR sensor and an Attiny85.
I look forward to your reply. Thank you.
Sounds a great solution. Do share and l will include in the Demonstrations!
This is the GCB code for the WL102 transmitter. I managed to put it into sleep mode and use the PIR sensor to send an alarm. I looked for an example but couldn't find it. I couldn't put it into deep sleep mode with Arduino... but I did manage to do it with GCB. I hope this helps. If you're interested, I have the receiver part for the WL101, but it's written for Arduino Nano.
Lo schematic
Thank you. I have taken your code and hopefully I have helped by documenting the program.
Please have a look thru and hopefully these are documentation changes only, and, focused on the use of English.
If this ok. Then, I will put into GitHub.
Post the receiver part for the WL101. We should publish the completed solution.
Evan
Sorry for my English, but I noticed a mistake in the diagram: the PIR is powered by 5 volts, but it needs to be powered by 3 volts due to communication levels. JP1 is not used at the moment. Sorry again.