Greenhouse project using arduino

Hello everyone, everything good? I'm doing a tcc together with my group that involves the use of embedded systems, such as Arduino, I have some doubts regarding which Arduino to use.

We are planning to make an automated greenhouse (controlled space) using Arduino sensors.

At first, we will use the soil moisture sensor to send an alert and water the plant automatically using another sensor that sends a signal to a water pump and water the plant automatically.

Furthermore, we plan to use the temperature sensor in conjunction with a lamp to control the temperature and brightness of the place.

For the first time, we are planning to use the Arduino Uno, together with a bluetooth module, because there will also be an application to monitor the environment.

I wanted to know if it is possible to do this with the Arduino Uno, since it has few analog inputs and outputs and we will use several sensors, resistors and relays.

If anyone can help me, we would be grateful, thank you very much.

Put together a list of the I/O the project needs.
Define exactly the sensors needed.
Datasheets for the devices used, please.

suggest you use an ESP32 which has onboard WiFi, Bluetooth Classic and BLE, plenty of Flash, SRAM and IO facilities
it is supported by the Arduino IDE and libraries for WiFi, BLE, etc etc

we intend to make a greenhouse in a wooden box, at first, we will use

1 soil moisture sensor
1 PH sensor
1 water level sensor
1 external 12V DC power source

and 2 fans

Water pump and hose for self-watering, temperature and light sensor.

and 1 Bluetooth module

Due to the number of sensors, 150 ohm resistors, I'm afraid if the Arduino UNO is enough, I don't know if there's a way to extend the inputs.

We are starting to do it in Tinkercad, but first we are clearing up any project doubts.

Second the ESP32. Digitial inputs and outputs are easily added with GPIO expanders like MCP23008, MCP23017, MCP23008, MCP23017, PCF8574.

okay, so can I replace the Arduino Uno with the ESP32 and add the other outputs?

Sorry if I didn't understand, I'm still a bit of a layman.

yes
specify your IO requirements

  1. digital input/output
  2. analogue ADCs/DACs
  3. what voltages? the ESP32 uses 3.3V logic
    etc etc

okay

the data did not come out on a board but on an application that we are putting together to show the telemetry

the voltage would be 5v, we could use a 12V DC source due to the number of components

Since you don't seem to be ready to create a schematic which would clarify a lot of your project needs, please fill in the following:
For each input device you will connect,

  • voltage(important)
  • current(if known)
  • signal characteristics - digital(what voltage), analog(what voltage range)
  • what does it do/signify - temperature, humidity, water level, etc.

For each output device you will connect,

  • voltage (important)
  • current (important)
  • control method(e.g. for a LED, it might be "digital output", for a pump it might be "digital output via mosfet, or relay)
  • if you are using a relay interface board, specify
  • signal input
  • power input
  • connection arrangement (e.g. 12V power)

If you can't do this, I simply wish you luck with your project.
That's a start.

ok, thanks for the help, and yes, I'm still a layman in this area, I'm reading some topics and studying the electronics and Arduino architecture together with my team to improve the project and also convey our idea to you on the forum, any updates I open another related topic, thank you for your help :slight_smile:

Possible. I fixed code for a member in Budapest in 2014, for a mushroom barn. That one used GSM to send data to internet.

It has I2C and SD and motors and a keypad/LCD controller but
that code is his.

But yeah, possible. Thing is it requires non-blocking code to work so learn that if you don't know... you can get a dozen teachers and even more links to lessons online. With that, one controller can do 100 things together smoothly. Without, jerk and stutter at best.

It's incredible, with these microcontrollers we can do a lot of things.

Yes, about learning, it's real, a lot of things my group and I still have to learn, but I'm prioritizing some things.

As there is a whole monetary issue behind it and also the project deadline, which is at the end of the year, I decided to use the Arduino UNO itself, as it works with the voltage I need (5v) and most components need this. to work properly, and of course, if something burns or breaks, it's easier to find.

With an Uno with chip in socket, if you have a bootloaded spare (they come blank, you can bootload your own on a breadboard) then if you burn a pin you can pop the spare in and keep going. Last time I bought a few (discount each from when buying fewer) they ran me $2.15 ea.

BTW, a Nano and a breadboard costs less than an Uno but burn a Nano pin and the board is junk. So be careful with those pins!

Okay, thanks

Here are my project details as requested.

Capacitive Soil Moisture Sensor

Voltage: 3.3v - 5v

3v Analog Signal

The sensor will only measure the humidity of the project, initially we will use a so-called digital LED to test the integrity of the device.

DHT 11 (Air humidity and temperature sensor)

Voltage: 3.3v - 5.5V DC

In this case I will work with a different so-called, in the future this information will be connected to an application, using so-called analogues. and a bluetooth module

5v 2 channel relay

Voltage: 5v

Digital signal

The relay will work in conjunction with the security system, we will use a submersible pump and a fan that will be activated for security and temperature control.

5v source to power the water pump

9v source for the arduino.

Anyway, that's it, in the meantime I studied a little about the structure of the Arduino and I will use the mega for the final prototype, which already comes with a built-in Wifi card and has more digital and analog inputs.

The last item we added is a lamp suitable for growing food in controlled environments.

All this data will be output to an application, but for analysis it will be converted to the IDE and also the digital output with LEDs to check operation.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.