1. Introduction
The Keyestudio ESP32 Smart Farm Kit is an educational Internet of Things (IoT) kit designed to introduce users to smart agriculture concepts through hands-on building and programming. It features an ESP32 development board, various sensors, and actuators to simulate a smart farm environment. Users can learn C++ programming (Arduino IDE) and graphical programming (Scratch 3.0/MicroPython) to control and monitor the farm remotely via an application.
2. Specifications
| Feature | Detail |
|---|---|
| Brand Name | Keyestudio |
| Type | Voltage Regulator (IoT Kit) |
| Control Board | ESP32 |
| Supply Voltage | DC 3-5V |
| Working Voltage | 5V |
| Battery Voltage | 9V (for external power) |
| Operating Temperature | 0-40°C |
| Bluetooth Protocol | v4.2 Full Standard |
| WiFi Working Principle | 2.4G |
| Application | Arduino IoT Kit |
| Tutorials | Arduino Tutorial, Scratch Tutorial |
| Package Dimensions (L x W x H) | 29 x 22 x 7 cm (282 x 210 x 65 mm) |
| Package Weight | 1.1 kg (975g) |
3. Setup and Assembly
This kit requires assembly of wooden components and wiring of electronic modules. Follow the steps carefully. A detailed PDF manual is available for visual guidance (see Warranty/Support section for link).
3.1. Component List
The kit includes various electronic modules, wooden pieces, and fasteners. Ensure all components are present before starting assembly.
3.2. Base Assembly (Installation 1-3)
Begin by assembling the base plate and attaching the Keyestudio ESP32 PLUS development board and the relay module using the provided M3 and M4 screws and nuts. Then, assemble the small wooden box structure and secure it to the base.
3.3. Servo Motor Installation (Installation 4)
Before installing the servo motor for the window, it is crucial to adjust its angle to 0 degrees. Use the provided code and burn it to the ESP32 main board to set the servo's initial position. Then, assemble the servo with its gear and cross coupling, and attach it to the designated wooden parts.
3.4. House Structure Assembly (Installation 5-8)
Assemble the main house structure, integrating the I2C1602 LCD module and the temperature and humidity sensor. Secure these components using the specified screws and nuts.
3.5. Sensor and Fan Module Assembly (Installation 9-10)
Install the ultrasonic module, PIR motion sensor, button, photosensitive resistor sensor, water drop sensor, and the 130 motor module (fan). These modules will be integrated into the house structure.
3.6. Main Board Integration (Installation 11)
Attach the fully assembled house structure to the main base board, ensuring all connections align properly.
3.7. Water System & Fences (Installation 12-16)
Install the water tank, soil sensor, water level sensor, and the water pump. Route the water pump's tubing through the designated holes. Finally, attach the decorative fences around the farm.
3.8. Decorative Elements & Solar Panel (Installation 17-19)
Add the tree, buzzer, LED, and other decorative elements. Attach the solar panel to the roof of the house using tape, ensuring its wires are routed correctly.
3.9. Wiring Instructions
Carefully follow the wiring diagram to connect all electronic components to the ESP32 board. Pay close attention to the pin assignments and ensure correct polarity (yellow to yellow, red to red, black to black for general connections).
| Component | Wire Type | ESP32 Pin |
|---|---|---|
| Fan | 4pin (Black, Red, Blue, Green) | D18 (IN-), D19 (IN+) |
| PIR Sensor | 3pin 15cm | 23 |
| Button | 3pin 15cm | io5 |
| Ultrasonic Sensor | 4pin (Black, Green, Blue, Red) | D12 (TRIG), D13 (ECHO) |
| LCD1602 | 4pin | I2C |
| Temperature/Humidity Sensor | 3pin 15cm | D17 |
| Water Drop Sensor | 3pin 15cm | D35 |
| Photosensitive Sensor | 3pin 15cm | D34 |
| Servo Motor | 26 | |
| Buzzer | 3pin 20cm | 16 |
| LED | 3pin 20cm | D27 |
| Water Level Sensor | 3pin 25cm | 33 |
| Soil Sensor | 3pin 20cm | 32 |
| Relay Water Pump | 25 |
4. Operating Instructions
The Keyestudio ESP32 Smart Farm Kit is designed for interactive learning and control. Once assembled and programmed, you can operate its various functions.
4.1. Programming the ESP32 Board
The kit supports two main programming methods:
- Arduino IDE (C++): For more advanced users, allowing detailed control and custom logic.
- Scratch 3.0 / MicroPython Graphical Programming: Ideal for beginners, offering a visual drag-and-drop interface to create programs.
Refer to the provided tutorials for detailed instructions on how to set up your development environment and upload code to the ESP32 board.
4.2. Remote Control via APP
The kit can be controlled and monitored remotely using a dedicated application. This allows you to:
- Monitor environmental data: Temperature, air humidity, soil humidity, brightness, water level, and rainwater detection.
- Control farm functions: Such as lighting, irrigation, and feeding systems.
4.3. Key Features in Operation
- Lighting System: Control the farm's lighting based on ambient light conditions or a schedule.
- Automatic Irrigation: The water pump can be programmed to irrigate plants based on soil moisture levels or a set schedule.
- Farm Temperature Control: Monitor temperature and activate the fan to regulate the internal temperature of the farm.
- Smart Feeding: Utilize sensors (e.g., ultrasonic) to detect presence and trigger feeding mechanisms.
- Solar Power System: The integrated solar panel can provide power to the system, demonstrating renewable energy concepts.
5. Maintenance
To ensure the longevity and proper functioning of your Keyestudio ESP32 Smart Farm Kit, follow these general maintenance guidelines:
- Keep Dry: Electronic components are sensitive to moisture. Ensure the kit is operated and stored in a dry environment.
- Clean Connections: Periodically check all wiring connections to ensure they are secure and free from dust or corrosion.
- Dust Removal: Gently clean the components and wooden parts with a soft, dry cloth or a soft brush to remove dust buildup.
- Handle with Care: The wooden structure and electronic modules are delicate. Avoid dropping or applying excessive force.
- Software Updates: Regularly check the Keyestudio official website for any firmware updates or improved programming tutorials.
6. Troubleshooting
If you encounter issues with your Smart Farm Kit, consider the following common troubleshooting steps:
- No Power/Component Not Responding:
- Check all power connections to the ESP32 board and individual modules.
- Ensure the power supply (DC 3-5V) is correctly connected and providing sufficient power.
- Verify battery voltage if using external battery power (9V recommended).
- Module Not Functioning:
- Recheck all wiring connections for the specific module against the wiring diagram (Page 39 of the PDF manual). Ensure correct pin assignments and polarity.
- Verify that the correct code has been uploaded to the ESP32 board for that module's function.
- Ensure the module itself is not damaged.
- APP Connectivity Issues:
- Ensure the ESP32 board is successfully connected to your Wi-Fi network (2.4G).
- Check your smartphone's Wi-Fi connection.
- Restart both the ESP32 board and the application.
- Servo Motor Malfunction:
- Ensure the servo was calibrated to 0 degrees before installation (refer to Setup section 3.3).
- Check servo wiring and power supply.
- Sensors Reading Incorrectly:
- Ensure sensors are clean and free from obstructions.
- Verify sensor wiring.
- Check the programming logic for sensor readings and calibration.
7. User Tips
- Family Activity: The assembly process can be a fun and educational activity to share with family members, especially children.
- Follow Tutorials Closely: The provided Arduino and Scratch tutorials are comprehensive. Follow them step-by-step for successful programming and operation.
- Double-Check Wiring: Before powering on, always double-check all wiring connections to prevent short circuits or damage to components.
- Experiment Safely: Once familiar with the basic functions, feel free to experiment with different code modifications and sensor placements to explore new functionalities, always ensuring safety.
8. Frequently Asked Questions (FAQ)
- Q: What are the dimensions of the assembled kit?
- A: The assembled kit has dimensions of approximately 28.2 cm (Length) x 21 cm (Width) x 6.5 cm (Height).
- Q: Can the kit be modified to be larger, for example, 50 cm long?
- A: The kit is designed with specific dimensions for its wooden components. While advanced users might attempt modifications, it is not officially supported and would require custom fabrication of parts.
- Q: Are the instruction manuals and instructional videos available in other languages, such as Spanish?
- A: The primary tutorials and documentation are provided in English. Please check the official Keyestudio website or contact their support for availability in other languages.
- Q: Does the battery pack recharge via the photovoltaic panel?
- A: Yes, the kit includes a solar power system with a photovoltaic panel, which is designed to demonstrate renewable energy concepts and can be integrated to power or recharge the system's battery (depending on your specific implementation and code).
9. Warranty and Support
For detailed technical support, additional tutorials, or inquiries regarding your Keyestudio ESP32 Smart Farm Kit, please refer to the following resources:
- Official User Manual (PDF): A comprehensive PDF manual with detailed assembly diagrams and wiring instructions is available. You can access it here.
- Keyestudio Official Website: Visit the Keyestudio website for the latest documentation, programming examples, and community forums.
- Seller Support: Contact the seller directly through the platform for product-specific questions or issues.
Please retain your purchase receipt for any warranty claims.