Final PCB : Cost and Modularity

A project log for UltraTower

Grow vegetables with ultraponics tower

J GleyzesJ Gleyzes 10/01/2022 at 08:401 Comment

This latest version of the board allows you to choose what you want to monitor in the tower. This board has been designed to be modular to suit your needs.

We will look at each module one by one:

Main module :

This module is mandatory. It is the brain of the tower with the ESP32 and it is the one that allows the power supply of the board, the generation of the fog and the filling of the small tank thanks to the pump.

Lolin 32 Lite12.85€Aliexpress
CN3903 5V 3A 
DC-DC Step down
Capacitor 400V104J  20.12€
DC Charger connector 10.2€
18-20 V Charger  112€
330uH coil20.32€
100 ohm resistor20.025€
10K ohm resistor20.025€
FQB19N20LTM   21.81€Onsemi
Mini JST 2.0 PH  30.088€
Usb Pump connector 10.3€
5V Pump110€Aliexpress
108kHz Disk22€Aliexpress

EC module:

This module allows you to know the mineral concentration of the solution. Optional module.

330 ohm resistor20.025€
22nF capacitor10.013€
Mini JST 2.0 PH  10.088€
EC probe11€

pH module:

This module allows the acidity of the solution to be known, given that a pH between 5.5 and 6.5 is desired. This module is optional.

BNC connector10.73€Aliexpress
pH probe111€
200k ohm resistor20.025€
10k ohm resistor20.025€
22K ohm resistor10.025€
82k ohm resistor10.025€
4.7k ohm resistor10.025€
1uF capacitor20.013€
10uF capacitor20.013€

Temperature module:

It provides information on the temperature of the ambient air, the root chamber and the water in the main tank. It also compensates for pH and EC sensor values that are correlated to the water temperature. This module is optional. You can also use a single sensor depending on your needs.

10k ohm resistor10.025€
4.7k ohm resistor10.025€


The electronics of the tower cost 61.4€ with all the modules but it works with only the main module which costs 36.4€. You can reduce the price by recycling an old laptop 18-20V charger.

This PCB can also control 2 additional pumps to adjust the pH and nutrient concentration. But I haven't implemented this in the code yet.

You can find the gerbers in the project files. (gerber_PCB_final)



Bernard wrote 5 days ago point

Hi, tried to compile the code. Found it was too big for the Lolin32 board, error was:


Sketch uses 1399930 bytes (106%) of program storage space. Maximum is 1310720 bytes.
Global variables use 52740 bytes (16%) of dynamic memory, leaving 274940 bytes for local variables. Maximum is 327680 bytes.
Sketch too big; see for tips on reducing it.
text section exceeds available space in board

Compilation error: text section exceeds available space in boad


Any idea's ?

  Are you sure? yes | no