I always run a print on my 3D printer and went to do other works. Sometimes my printer runs for a long time after finishing the print. And I don't know when my print finished, without being aware of the time.
That's why I make this mod for my 3D printer. When a print is completed, the printer head will move and press a push button of the device, and it will send a notification to the mobile phone via the Blynk IoT platform.
On the hardware part, I use an ESP8266 (in ESP01 form-factor) as the brain for the system because of its built-in WIFI and small tiny size.
I design an encloser for the system in Fusion 360 and print it with PLA filament.
I use Arduino Nano to Upload the code to the ESP01 module.
To upload code to the ESP01 module the connection are given below,
ESP01 ---> Arduino Nano
TX ---> TX
RX ---> RX
GPIO0 ---> GND
GND ---> GND
Chip select pin ---> 3.3V
VIN ---> 3.3V
Arduino GND toArduino RST
After that, remove all the connections and connect as below,
GPIO2 ---> PUSH pin 1
GPIO2 + 10k Resistor + VIN
VIN ---> Chip select PIN
PUSH pin 2 ---> GNDBlynk Setup
After Downloading and creating the account on the Blynk platform, create a new project and choose Device as ESP8266 and connection type as Wi-Fi.
Then this message pops up. press ok, an Authentication token will be sent to your email address we need while programming.
After that from the widget box, select notification widget, and everything is done here.
I use Arduino IDE to program the esp01 module. And Blynk IoT library to send notifications to the mobile. When the push button is pressed, the ESP module detects it and sends a notification to the mobile via Blynk App.
you need to install the Blynk library to run this code.
Use the auth token from your email in the auth [] of your code.
Comments
Please log in or sign up to comment.