First plan was to create a simple clock which would show the time and do some cool extra stuff - but by demand i created a Clock with count-up.
The count-up will tell how much time passed since the reception of the alert. The Alert is received by a "emergency service pager" (BOSS).
The Alert triggers a Relay which is detected by the circuit.
The purpose of this build is to tell when the first fire brigade car has to leave the fire station.
Get the Data of the alarm message from the dme. [done with Software Serial and a small circuit]
Set up the ESP
Connect via FTDI 3.3V Cable ==> works
Connect to Arduino UNO TX and RX ==> Do i need to switch RX and TX when using the Terminal versus when using the Uno?
Connect to Software Serial ==> Don't work properly .. Echo works, Responses get scrambled.. See below code (Mostly from Example) [1]
Tell the ESP to call a specific Website with specific received data (not begun)
#include <SoftwareSerial.h>SoftwareSerial mySerial(10, 11); // RX, TXvoidsetup(){
// Open serial communications and wait for port to open:
Serial.begin(115200);
while (!Serial) {
; // wait for serial port to connect. Needed for Leonardo only
}
Serial.println("Goodnight moon!");
// set the data rate for the SoftwareSerial port
mySerial.begin(115200);
mySerial.println("AT");
}
voidloop()// run over and over{
if (mySerial.available())
Serial.write(mySerial.read());
if (Serial.available())
mySerial.write(Serial.read());
}