How to setup

PicoFarmLED-OS

logo-supergreentomato
Author: PicoFarmLED
Credit: PicoFarmLED

Welcome to PicoFarmLED!

Ok so you probably went through the "How to setup with arduino" guide, and thought you might want something more complete?

You're at the right place, if you wanted to start from scratch, check the guide below:

Checkout this guide
How to setup with arduino

Welcome to PicoFarmLED!

In this little guide we will go through setting up the PicoFarmLED panel with arduino.

Any arduino compatible board should work, just make sure it's either 3.3v or 5v with PWM output. Which is probably the case of 90% of them.

This guide will help you create your own automation program, if you are looking for a ready-to-go firmware alternative, checkout the guide below:

What you'll need

Selected region:
World
Click to change

US$27.14

*price may vary *converted to local currency

Wago plugs BY Wago

From amazon.de

Solderless connectors

US$10.43

*price may vary *converted to local currency

US$10.43

*price may vary *converted to local currency

US$62.63

*price may vary *converted to local currency

US$62.63

*price may vary *converted to local currency

US$11.78

*price may vary *converted to local currency

US$11.78

*price may vary *converted to local currency

US$4.83

*price may vary *converted to local currency

Esp-32 introduction

logo-supergreentomato
Author: PicoFarmLED
Credit: PicoFarmLED

Esp-32 introduction

Ok so what you will need to setup the PicoFarmLED-OS is any esp-32 based prototyping board.

Make sure it's an esp32-wroom32 with at least 4MB or flash.

The setup is quite simple, this guide will take you through the setup using either windows, or any Unix OS (linux/macOSX)

Got a feedback/suggestion? click here

What you'll need

Selected region:
World
Click to change

US$11.78

*price may vary *converted to local currency

US$11.78

*price may vary *converted to local currency

Download the firmware files

Done
logo-supergreentomato
Author: PicoFarmLED
Credit: PicoFarmLED

Download the firmware files

Done

Click the link below to download the firmware files for the PicoFarmLED-OS.

If you'd rather compile from source, the github repository link is below too.

Once downloaded unzip the archive, and continue to the next section for windows, or skip to the right section for your OS.

Attachements Useful links Got a feedback/suggestion? click here

Flash using windows

Done
logo-supergreentomato
Author: PicoFarmLED
Credit: PicoFarmLED

Flash using windows

Done

For windows the best is to use the flash download tools below.

Once downloaded run the executable, select ESP-32 as chip type and Develop as work mode.

Uncheck the LockSettings checkbox to unlock the interface.

At the top of the application you will find an empty list of paths, fill them like the screenshot on the left.
Each box has to be filled with the corresponding file and address as listed:

  • ota_data_initial.bin at 0xd000
  • bootloader.bin at 0x1000
  • firmware.bin at 0x10000
  • partitions.bin at 0x8000
  • spiffs.bin at 0x3f0000

Make sure each file's checkbox on the left is checked.

Useful links Got a feedback/suggestion? click here

Connect esp32 and flash

Done
logo-supergreentomato
Author: PicoFarmLED
Credit: PicoFarmLED

Connect esp32 and flash

Done

At the bottom of the application you can find the flashing section.

First connect your esp-32 board to your computer using the usb cable.

Select the COM for your board, if you are not sure which one, disconnect your board to see which one disappears.

BAUD should be at 921600.

Click the START button to start flashing your device.

Got a feedback/suggestion? click here

How to flash using UNIX (Linux/Macosx)

Done
logo-supergreentomato
Author: PicoFarmLED
Credit: PicoFarmLED

How to flash using UNIX (Linux/Macosx)

Done

The archive comes with two bash scripts that will flash the firmware.

They work with python, so make sure you have it installed.

Open a terminal.

First step is to locate you serial port device file. To do so, unplug your esp-32, then type `ls /dev/tty*`, it will output a list of files. Plug your esp-32 in your computer and restart the previous command.
Note that there is at list one new file, this is your esp-32.

Let's set it as an environment variable with the command:

export SERIAL_PORT=/dev/ttyUSB0

(replace ttyUSB0 with the device file you found above)

Got a feedback/suggestion? click here

Run the flashing scripts

Done
logo-supergreentomato
Author: PicoFarmLED
Credit: PicoFarmLED

Run the flashing scripts

Done

Use the `cd [ insert files path location ]` command to navigate your terminal to the location of the downloaded files.

You're now ready to flash your esp-32, run this command:

./flash.sh && ./write_spiffs.sh

Got a feedback/suggestion? click here

First start!

Done
logo-supergreentomato
Author: PicoFarmLED
Credit: PicoFarmLED

First start!

Done

Ok now your esp-32 is ready to run PicoFarmLED!

To make sure it's running, look at your wifi list, you should see a new wifi called 🤖🍁
Connect to it with the `multipass` password, and navigate to http://192.168.4.1/fs/app.html to display the control interface.

Got a feedback/suggestion? click here

Plug a PicoFarmLED panel

logo-supergreentomato
Author: PicoFarmLED
Credit: PicoFarmLED

Plug a PicoFarmLED panel

Here is the final schematic we want to have at the end.

If you're not sure how to do it, just follow the guide:)

Got a feedback/suggestion? click here

Insert white wire

Done
logo-supergreentomato
Author: PicoFarmLED
Credit: PicoFarmLED

Insert white wire

Done

First thing to do is insert the white wire included in the kit.

FYI: It's a JST-XH 3-pins.

Got a feedback/suggestion? click here

White wire pinout

Done
logo-supergreentomato
Author: PicoFarmLED
Credit: PicoFarmLED

White wire pinout

Done

Here's the pinout on the other end of the white wire once plugged in.

Got a feedback/suggestion? click here

Wago #1 - 24v wires

Done
logo-supergreentomato
Author: PicoFarmLED
Credit: PicoFarmLED

Wago #1 - 24v wires

Done

Ok let's first setup the 24v wire.

Take the first wago plug and insert the V+ wire coming from the power supply.

Checkout the guides below to see how to prepare your power supply.

Checkout these guides
How to setup a small power supply

Probably the most convenient power supply for up to two panels.

The main advantage is the adaptor system, one of them being a simple screw based output.

How to setup a large power supply

This type of power supplies have the advantage of being very powerful, some of them could power dozens of PicoFarmLED panels, but does not come with the wires, but don't worry this guide will take you through the setup:)

Check your local amazon, they all have a large number of variants for those, make sure it's 24v.

How to setup a medium power supply

Those are the most common power supply that can be found anywhere.

If you find one that looks like this, make sure its output is 24v, with at least 21w per panels.

Those rarely go higher than around 150w, so they're perfect for at most 7 panels.

Got a feedback/suggestion? click here

Wago #2 - Ground wires

Done
logo-supergreentomato
Author: PicoFarmLED
Credit: PicoFarmLED

Wago #2 - Ground wires

Done

Now take the second wago plug and insert the ground wire from the power supply.

Checkout these guides
How to setup a small power supply

Probably the most convenient power supply for up to two panels.

The main advantage is the adaptor system, one of them being a simple screw based output.

How to setup a large power supply

This type of power supplies have the advantage of being very powerful, some of them could power dozens of PicoFarmLED panels, but does not come with the wires, but don't worry this guide will take you through the setup:)

Check your local amazon, they all have a large number of variants for those, make sure it's 24v.

How to setup a medium power supply

Those are the most common power supply that can be found anywhere.

If you find one that looks like this, make sure its output is 24v, with at least 21w per panels.

Those rarely go higher than around 150w, so they're perfect for at most 7 panels.

Got a feedback/suggestion? click here

Wago #1 - LED 24v power

Done
logo-supergreentomato
Author: PicoFarmLED
Credit: PicoFarmLED

Wago #1 - LED 24v power

Done

Ok, now we have our power wagos setup.

Let's plug the 24v power to the LED panel.

Make sure to use the right pin in the white wire!

24v is the middle pin.

Got a feedback/suggestion? click here

Wago #2 - LED ground wire

Done
logo-supergreentomato
Author: PicoFarmLED
Credit: PicoFarmLED

Wago #2 - LED ground wire

Done

Now take the Ground wago.

Add a jumper wire between the arduino GND gpio and the V- pin of the white wire.

Got a feedback/suggestion? click here

Wago #2 - controller ground

Done
logo-supergreentomato
Author: PicoFarmLED
Credit: PicoFarmLED

Wago #2 - controller ground

Done

Alright, now we need to link the GND from the system to the controller.
Add a jumper wire to the Wago #2, and plug that jumper to a GND gpio of your arduino.

Got a feedback/suggestion? click here

Esp-32 GND gpio

Done
logo-supergreentomato
Author: PicoFarmLED
Credit: PicoFarmLED

Esp-32 GND gpio

Done

And now we're going to plug the controlling jumper.
Add a jumper wire to the pin IO33, then plug that jumper wire to the white wire hole named "PWM".

Got a feedback/suggestion? click here

(Optional) add a sensor

Done
logo-supergreentomato
Author: PicoFarmLED
Credit: PicoFarmLED

(Optional) add a sensor

Done

The firmware is compatible with the following sensors:

  • SHT2x: temperature and humidity
  • SCD30: temperature, humidity and CO2
  • HX711: weight sensor, experimental, the idea is to detect when the soil needs watering

Those sensors are using the i2c protocol, which means they have 4 wires:

  • GND: goes to a GND pin of the esp-32
  • 3v: goes to the 3.3v pin of the esp-32
  • SDA: goes to the gpio 18 of the esp-32
  • SCL: goes to the gpio 5 of the esp-32
Got a feedback/suggestion? click here

Use it with the SGL app!

logo-supergreentomato
Author: PicoFarmLED
Credit: PicoFarmLED

Use it with the SGL app!

Aaand there's a little bonus.
You can either use your newly setup controller through its admin web interface.

Or you can use the SuperGreenLab app on your appstore!

Useful links Got a feedback/suggestion? click here

Guides to see next

How to setup with arduino

Welcome to PicoFarmLED!

In this little guide we will go through setting up the PicoFarmLED panel with arduino.

Any arduino compatible board should work, just make sure it's either 3.3v or 5v with PWM output. Which is probably the case of 90% of them.

This guide will help you create your own automation program, if you are looking for a ready-to-go firmware alternative, checkout the guide below:

Welcome to

PicoFarmLED is a community of maker growers.
checkout our dedicated grow lights and join the community!
Start growing

Subscribe

Stay tuned with our newsletter and get exclusive promotions.
Subscribe
© 2023 PicoFarmLED. All Rights Reserved