As begun with https://hackaday.io/project/2746-furious-tooth-fairy-door-unlock/log/49242-time-for-a-update/discussion-69901
I still have some plans for this project.
- 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, TX void setup() { // 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"); } void loop() // run over and over { if (mySerial.available()) Serial.write(mySerial.read()); if (Serial.available()) mySerial.write(Serial.read()); }
Hmm.. maybe tomorrow i get some enlightment.
Discussions
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.