I have a board setup with a switch and a temperature sensor. When I try to combine the two sketches I get multiple errors.
Can someone take a quick look at combining the two sketches?
@Vuinne-Ryvmar You seem to be confused about what this forum is. Maybe you just ended up here on a random Google search?
But in our case on an Arduino, D3 is literally the name for one of the metal legs coming off of the little controller, and we call it a pin sometimes. @tbowmo was looking for how to send the command to turn the power on or off to that part of the board, not a code to enable connecting up a controller to their phone.
I see that a D3 game controller is a thing, but I doubt you will have any luck getting help with that here. It's not what this site is about.
This is what we work with:
@Eme
Thank you for coming back to report how you solved your problem! Your comments will help other people.
I am a big fan of Frugal Tech and I think MySensors is great for that.
Alas, MySensors is not well supported anymore. Right now I'm having problems linking to the home page It's people like you and me that will keep MySensors going.
Thanks for your help.
OSD
You write "...clicking is heard..." Is that a single click or a click click click ...?
After getting the LOW signal, wait a period of time and if it's still low, send the message that there is a flame. Likewise for a HIGH signal.
Perhaps instead of a relay, an opto-isolator?
@mvader Turn the time delay adjustment preset on your PIR module to the minimum.. Now try it.. You will not get a continuous output..Also, prepare the circuit using a long wire from the back to the sensor of your module.