I'm currently using an esp07-slave triggered by events that sends a message to the esp12-master. The esp12 then directs the ardunio to turn-off a solenoid & sends push notification to the app. The arduino also supports an HC-05 module linked to the android app. The simple app can open or close the solenoid. Arduino also uses a manual push button momentary switch to open or close the solenoid.
This project is to simplify the earlier project without losing any of the functionality. This projects will eliminate the arduino, and the HC-05 bt. Instead use the esp12 in server mode & the esp01 & android device in client mode to perform the same tasks as BLE.
1). Would need to plug the arduino code into the esp12 to control the solenoid & enable the esp12 server mode, The esp01 & app as client modes. See screen shot of how the code might be written for a server/client mode.
2). Enable the Esp12 to send & display temperature to my app. Make any necessary mods to the app temp page so the readings are displayed correctly. Trigger the solenoid closed at 32*F or 0*C temp reading.
Flow chart: Description (attached)
Master’s IP (assigned by the router, statically or dynamically (DHCP) is configured into slaves code so that slave can send data to master over GET request.
Master would connect to router to send data (Push Notification) to web, from web to android app. Slave pings to master’s IP to send GET request, and receives ECHO payload that contains the necessary data (active polling method).
Summary: 1. Client posts data to master , 2. Client retrieves acknowledgment after posting data to server-esp12, 3. Server-esp12 creates AP that client connects to, 4. Server-esp12 connects to router to send push notification to hosted web server, back to android 5. No internet access needed from router, for client, server or app talk. Intranet connected.
Brief description: (esp01- Client function)
Esp01 if triggered sends message to esp12 server to close solenoid & send push notification message. Green led is (ON) when client is in triggered state. When client is out of triggered state led is (OFF). When client is powered up the first time green led blinks (3) times.
Brief description: (esp12- Server function)
The server esp12 when triggered by the client closes the solenoid and sends push notification to android device. The esp12 can open or close the solenoid by momentary switch. Push once to close, Push again to open solenoid. This event also sends the push notification. The app can open or close the solenoid. The esp12 temp reading can trigger the solenoid closed & send push notification. When solenoid is closed red led is (ON). When solenoid is open green led is (ON), red led is (OFF). When esp12 receives message from esp01 Green led blinks (5) times. When esp12 is powered up for the first time green led blinks (3) times, then all led's are off.
3. Trigger switch- 2 wire probes
2. 2 leds (Indicates if solenoid is open/closed by LED color)
3. Reset Switch
4. H-bridge > Solenoid
5. Temp sensor DS18B20
Attached flow chart.
Should be able to demonstrate by short video clip that the esp01 communicates with the esp12 as described. Will provide the arduino/esp12-master/slave files formatted to open/close solenoid from earlier project.
The budget for this project is $125usd. Time frame 3-6 days.
Được trao cho:
14 freelancer đang chào giá trung bình $172 cho công việc này
I have ever done such project and I am familiar for bluetooth and wifi like cc2540 and esp8266 . I have development boards so that I can test it on time perfectly. I am all ready. Best Regards