github repositories
mongodb error
mongod -f /data/data/com.termux/files/home/.termux/mongod.conf
about to fork child process, waiting until server is ready for connections.
forked process: 24236
ERROR: child process failed, exited with 1
To see additional information in this output, start without the "--fork" option.
MongoDB debug console
- instructions to set up the control app and debugging console g-slide
- example
Checking CRC :6FD4
CRC Ok
functionCode 3
READEEPROM address 42
0000803F
READEEPROM address 46
00000000
isOnDemand true
voltage is 0xAD1CB03F
formulaType 01
READEEPROM address 82
65938442
READEEPROM address 86
00C085C2
Checking CRC :6FD4
CRC Ok
functionCode 3
READEEPROM address 42
0000803F
READEEPROM address 46
00000000
isOnDemand true
voltage is 0x4035B03F
formulaType 01
- Mongodb compass filtering
Hydroponic system with two hubs
+---------------------+
| Raspberry Pi |
| (Master) |
+----------+----------+
|
|
+-------------+-------------+
| |
v v
+-------------------+ +-------------------+
| Arduino | | Arduino |
| (Node #1) | | (Node #2) |
+-------------------+ +-------------------+
| Temperature | | Nutrient |
| & Humidity | | Dispenser |
| Sensor | | Pump |
| Relay Control | | Relay Control |
+-------------------+ +-------------------+
| |
| |
v v
+-------------------+ +-------------------+
| LED Lighting | | Air Pump |
| System | | Control |
| Relay Control | | Relay Control |
+-------------------+ +-------------------+
| |
| |
v v
+-------------------+ +-------------------+
| Home | | Home |
| Assistant | | Assistant |
| Integration | | Integration |
+-------------------+ +-------------------+
initial requirements
-
Container: This will be used to hold the water and nutrient solution that the plants will grow in. You can use a plastic container or a large plastic bucket.
-
Growing medium: This is the material that supports the plant roots and helps with water and nutrient retention. Examples include coconut coir, rockwool, perlite, and vermiculite.
-
Water and nutrient solution: This will be the primary source of nutrients for the plants. You can either purchase pre-made nutrient solutions or make your own by mixing the necessary minerals and elements.
-
Water pump: This will be used to circulate the water and nutrient solution to the plants.
-
Air pump: This is needed to provide oxygen to the plants’ roots.
-
pH meter: This will be used to monitor and adjust the pH level of the nutrient solution to ensure optimal plant growth.
-
EC/TDS meter: This will be used to measure the electrical conductivity (EC) or total dissolved solids (TDS) of the nutrient solution, which can give you an indication of nutrient levels.
-
Temperature and humidity sensor: This will be used to monitor the environmental conditions inside the growing area.
-
Lighting: Depending on the type of plants you are growing, you may need to provide supplemental lighting. LED grow lights are a popular choice for indoor hydroponic systems.
-
Microcontroller board: A microcontroller board, such as an Arduino or Raspberry Pi, can be used to control the water and air pumps, as well as the lighting and environmental sensors.
-
MQTT broker: You will need an MQTT broker to handle the messaging between the microcontroller and the various sensors and actuators. Node-red
-
RS485 communication module: You will need an RS485 communication module to enable communication between the microcontroller and the various sensor nodes in the system.
- For a hydroponic system prototype, you will need the following materials:
- pH sensor
- Temperature and humidity sensor
- EC/TDS sensor
- CO2 sensor
- Water pump
- Air pump
- LED grow light
- Tubing and connectors
- Nutrient solution
- Growing medium
- Arduino
- Raspberry Pi 4
- Breadboard and jumper wires
- Power supply
- Start by setting up the physical system, connecting the sensors and actuators to the Arduino, and testing them individually.
- Use the Raspberry Pi as the control node and set up the MQTT server and clients to communicate between the sensor and actuator nodes.
- Write code for the Arduino and Raspberry Pi to read sensor data, control the water and air pumps, and adjust the LED grow light.
- Implement a simple control algorithm based on the sensor data to automate the hydroponic system.
- Monitor the system performance and adjust the control algorithm as needed to optimize plant growth.
The following wiki, pages and posts are tagged with
Title | Type | Excerpt |
---|---|---|
Quasar framework for smartFarm | post | Tue, Apr 16, 24, iot dashboard that displays node status and control page for node configuration |
smartfarm "Visual Programming for IoT and API Integration" | page | Node-RED is an open-source flow-based development tool for visual programming, ideal for IoT applications and integrating APIs. It offers a web-based GUI for... |
Quasar framework for smartFarm | page | Tue, Apr 16, 24, iot dashboard that displays node status and control page for node configuration |