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
That would be perfect. I dont know how difficult it is. Since im totally new with arduino and iot.
But im a aircraft engineer electrical. So I understand the basic principals of electronics, but programming is just totally different from that.
A guide or tutorial but be good as wel but writing it would be fantastic!!
That would be perfect. I dont know how difficult it is. Since im totally new with arduino and iot.
But im a aircraft engineer electrical. So I understand the basic principals of electronics, but programming is just totally different from that.
A guide or tutorial but be good as wel but writing it would be fantastic!!
In general, in this forum we are glad to help someone who makes an attempt at coding, however we don't code from scratch. There is a forum where you can solicit and pay someone to write code for you.
It is easy to understand and has a good mixture between explaining important concepts and example-codes to get you going. So give it a try and report your opinion about this tutorial.
As mentioned before you will need to do the programming yourself. If you only have 5v & 0v logic levels, then a digital reading would suffice. If you only need 2 separate readings, you actually don't need the Uno. The ESP8266 in it's smallest form ESP-01 has 4 data pins, 2 of which are normally in use as a UART, but can also be used as normal GPIO's if the UART isn't being used. Using just one board simplifies matters significantly.
Check this tutorial on setting up the ESP8266 boards. If you have an ESP-01 you do not have a USB port connected, so to flash the ESP with your own sketch you could use the UNO. There are some tutorials that google would show you, but i have remarks with all i saw on page 1 this one is pretty good, but it leaves the RST pin on the ESP-01 not connected and really it should be connected to 3.3v+ or it will just not work ! They all draw their 3.3v from the Uno's 3.3v pin, buit you would be better of having your own 3.3v regulator since the ESP is a rather power hungry device.