Need programmer for ‘simple’ code

I need some help :slight_smile:

  1. Is it even doable?
  2. Is there anyone who wants to help me program it?
  3. I have a arduino uno r3 plus wifi module.
  4. A link to a manual or guide should be okay too

My wish: I want to receive a iphone notification when 2 arduino analog inputs drop from 5 to 0 volt.

But The messages need to come separate. Because the input voltage will never drop from
5V to 0V at the same time.

I.E.
at 18.00h the first analog input wil drop to 0V thus I receive message on iphone.
At 22.00h the second analog input drops to 0V i receive second message.
Then 2 days later the second input goes back to 5V. I receive a message again.
Then 1 day after that, the first input returns to 5V, i receive a message again.

It needs to be over Wifi (not BT).
I already installed pushsafer app for notifications

Is there anyone that can help me with this?

Thanks in advance

Sounds doable, but you have to be more detailed.

Specifically: below what voltage should the input be to be considered 0V, and above what voltage for 5V? What does the signal even look like? Why do you even want analog readings on this?

Other than that it has only one analog input I'd favour a NodeMCU for this project, not an Uno. But with your 0V and 5V input requirements, I wonder whether you really need analog readings rather than digital readings.

There is a pushsafer arduino library and example

So you have 99% of the code done if you pick an esp8266 platform

Assuming there is no voltage challenge (your sensors return 5V), and using a Level Shifter from 5V to 3.3V, detecting the drop from 5V to 0V is like detecting the press on an INPUT_PULLUP push-button for example.

So you could use the OneButton library from Matthias Hertel and attach callbacks to each pins that will use the example code to send a message.

if you know how to code a bit, that's within reach (some other example here)

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.