-
Notifications
You must be signed in to change notification settings - Fork 9
Jebao DP4 WiFi Hack
diverjoe edited this page May 17, 2018
·
14 revisions
- The DP4 was used because it had the pumps already mounted in a nice box as well as the electronics to turn the pumps on and off.
- The connector on the controller card that the ESP8266 hooks into is connected pretty much directly to a 74HC595 Shift Register. The code uses the pump number from the topic and the 1 or 0 from the payload and sets the registers using Shifty, a standard Arduino library.
- The ESP8266 gets its commands from the system over WiFi using MQTT - a kinda of email for computers. It has a subject or topic and a body called the payload. You can add as many other named tags you want to be used by the subscriber. In this case it is the pump.