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.
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
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
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!
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.
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.