Introduction: Getting Started With La COOL Board

Picture of Getting Started With La COOL Board

Disclaimer

Due to undergoing licensing procedures and code cleanup, the Arduino Software release is delayed, (don’t worry, it shouldn’t take longer than a week). It will then be fully open-sourced!

For those who have already bought a La COOL Board: rest assured, your COOL Board is fully functional. You can set it up by going through steps 6 to 8, Go ahead and start making full use of it.

Please note that the COOL Menu, while up and running, is still undergoing some fine-tuning.
We are doing our best to bring you a more perfect product.

This process shouldn’t take more than a week. Until then, feel free to request our temporary firmware code, we will be happy to provide a zip file, via a private message.

Introduction

"When we came up with the idea for La COOL Board, I imagined a mix between an Arduino with WiFi and a modular agronomic weather station. It had to consume very little energy for autonomous operation and I wanted to be able to control different variables like Pumps, Fans .. accelerating the process of monitoring and building controlled environments."
Simon, CTO La Cool Co

This Instructable shows you how to use La COOL Board.

La COOL Board is an Arduino board that features a ESP8266 micro-controller with on-board WiFi, a real time clock (RTC), a solar charger plug for LiPo Battery, and a sensor array that measures temperature, soil moisture, air humidity, atmospheric pressure, light (visible and IR radiation, UV index)

Step 1 through 5 are optional as your COOL Board comes already programmed. Steps 1 through 5 are applicable only if you wan't to go further.

Step 1 to 5 are useful if you want to re-program the board. It shows you how to
install Arduino and all dependencies on Windows, Linux or OS X.

If you are more interested in what you are growing, go to Step 7 and learn how to get an account on Le COOL Menu ;)

This was created to help our first fellows get started. We are working heavily on a custom installer which will be released soon and completely erases the need of installing Arduino and so on, meanwhile it's the best way to go.

Please refer to the installation guidelines behind the links for platform specific support.

This usually takes about an hour to download and install.

Step 1: Install Arduino

Picture of Install Arduino

You can find up to date Arduino Installers on https://www.arduino.cc/en/Main/Software

Windows

Mac OS X

→ for Linux please check out your distribution package manager or install manually

You need at least Version 1.8.3, but it should also work with versions down to 1.6 .

Step 2: Install ESP8266 With Board Manager

Picture of Install ESP8266 With Board Manager

Here we install the ESP8266 platform support

  1. Open Arduino, go to Menu / File / Preferences
  2. Add http://arduino.esp8266.com/stable/package_esp8266com_index.json (right click and copy the link) to Additional Boards Manager URLs (photo 1) *
  3. Close Arduino and re-open it.
  4. Go to Tools / Boards / Boards Manager
  5. Wait until Arduino downloaded all available Platforms and search for ESP8266 (photo 2)
  6. Install the version 2.3.0 of the plugin
  7. Restart Arduino and check if you see Generic ESP8266 under Tools / Boards (photo 3)
*If you have problems installing the esp8266 environment ensure that you copied the right link. If the problem persists please take a look at the project github : https://github.com/esp8266/Arduino

Step 3: Installation File System Storage

Picture of Installation File System Storage
  1. Go to : http://esp8266.github.io/Arduino/versions/2.0.0/doc/filesystem.html#uploading-files-to-file-system
  2. The installation instructions are described there and are operating-system independent
  3. Find your Arduino Folder (typ. on MacOS: ~/Documents/Arduino/) and create a “tools” folder inside it, as described on the website
  4. Follow this direct link to the RAR file
  5. Double check that the file is in the following location (typ. on MacOS: ~/Documents/Arduino/tools/ESP8266FS/tool/esp8266fs.jar)
  6. Restart Arduino Check under Tools if the “ESP8266 Sketch Data Upload” menu item is present (photo 1)

The Arduino environment is now ready but we still need to install the librairies.

Step 4: Installing Arduino Libraries

  1. Open your Arduino Folder (typ. on MacOS: ~/Documents/Arduino/)
  2. Uncompress the LaCOOLBoard-master.zip file and place its contents in the “libraries” folder inside your Arduino folder
  3. Download and install the TimeLib from this github in your libraries folder
  4. Do the same with this Library : DS1337RTC
  5. In Arduino: Go to Sketch / Include Library / Manage Libraries and wait until Arduino downloaded all updates
  6. Search and install the following libraries: ArduinoJson, NeoPixelBus, DallasTemperature, OneWire

Your Arduino Folder structure now should at least have this:


-/Arduino

---/libraries

------/ArduinoJson/..

------/DallasTemperature/..

------/DS1337RTC-master/..

------/LaCOOLBoard-master/..

------/NeoPixelBus-master/..

------/OneWire/..

------/Time-master/..

-/tools

---/ESP8266FS

------/tools/ESP8266FS/tool/esp8266fs.jar

Open a example project and click on compile, see if it compiles. If not please check for missing files or wrong parameters. In photo 3 I selected a code made for another board as an example.

ALWAYS READ THE ERRORS FROM TOP TO BOTTOM AND UNDERSTAND THEM!
THE SOLUTION IS ALWAYS IN THESE COMMENTS!

Step 5: Programming the COOLBoard

Picture of Programming the COOLBoard

If you didn't plug in the Sensor Board on your COOLBoard take a look at Step 6 and plug it before programming!

  1. Connect the COOLBoard to your computer with a USB Cable
  2. Copy the /Arduino/libraries/LaCOOLBoard/examples/WeatherStation folder to /Arduino/
  3. Restart Arduino and open the “WeatherStation” Sketch
  4. Take a look in the data Folder
  5. (OPTIONAL) Open mqttConfig.json with a text editor and give your COOLBoard a user name (e.g, “my first Basilic”)
  6. In Arduino go to Tools / Flash Size and select 4M (3M SPIFFS)
  7. Also select the right Serial Port (COM4 in my case)
  8. Put the sliding switch on the right side of the COOLBoard in LOAD position and push the RESET button once (see photo2.
  9. Go to Tools / ESP8266 Sketch Data Upload and click on it. After some seconds you should see running dots in the debug section of Arduino (photo 3). This takes about 10 minutes
  10. Once finished re-push the reset Button Click on the Arrow in the top left corner of arduino to upload the Sketch Once again you should see the (red) running Dots in the debug section of Arduino
  11. Once finished put the sliding switch on the right of the COOLBoard back in the RUN position!!
  12. Open the Serial Monitor chose 115200 on the bottom right, be shure you chose the right port! You should see the COOLBoard saying what it's doing (photo 4 on the left). If you see nothing press the RESET Button, maybe it's waiting for your input...

At this moment the programmation of the Coolboard is finished and you should see a bright blue Light on the top of the COOLBoard.

Check the avaliable WiFi Networks in your area, you should see a WiFi named COOLBoard-XXXXXXXXXXXX (photo 4 on the right)

Step 6: Plug Your COOLBoard

Picture of Plug Your COOLBoard
  1. Take your Coolboard and break away the SensorBoard on the top. Don’t use violence, just firmly break the head off… (photo 2)
  2. Also brake the little bits of printed circuit board visible on the head (photo 3)
  3. Plug the SensorBoard like in photo 4
  4. Put a CR1220 Coin Cell for the clock (optional, but highly recommended)
  5. Be sure that the sliding switch is in the RUN position!
  6. Now just plug in a micro USB Cable between your computer and the COOLBoard.
    Congrats, you're ready to start using your COOL Board !

Step 7: Configuring the WiFi Connection

Picture of Configuring the WiFi Connection

Plug a usb cable in the Coolboard and wait some seconds, you should see a bright blue Light on the top of the COOLBoard. If nothing happens verify that the sliding switch on the right is in RUN position and press the reset button (see images in last Step).

Check the avaliable WiFi Networks in your area, you should see a WiFi named COOLBoard-XXXXXXXXXXXX (photo 1 on the right) and connect to it

Now open your preferred Internet Browser and type : 192.168.4.1 in the Adresse bar.

  1. Wait until you see the "homepage" of your COOLBoard (photo 2)
  2. Click on Configure WiFi.
  3. In the next page you can see a list of available Networks (photo 3).
  4. Chose yours and type in the Password, these informations stay on the board and will never be transmitted.
  5. Don't forget to reconnect to your usual wifi network.

The COOLBoard will restart and is fully configured to monitor your plants !

If you feel like being on the go with your COOL Board, you can reconfigure the WiFi in the same manner, the COOLBoard can log up to 50 different networks and has in total 3 different communication models. But more on that in another Instructable..
Now go to preview.lacool.co and check out your data !

Step 8: Create an Account on the COOLMenu

Picture of Create an Account on the COOLMenu

Go to preview.lacool.co and click on “Create Account” or directly Create an Account here

  1. Type in your email and password
  2. Check your mail and type the confirmation code from it
  3. Log in to your Account
  4. Now claim your board (something like 1a:2b:3c:4d:5e:6f ) and give it a name
  5. Congratulations you can successfully get live data form your garden!

Now you just have to wait until some data arrives from your location to get a real idea on how it is going in the enviornment you have chosen for your plant.

Maybe one of the first things you want to do is build a nice case for Outdoors, take a look here: Outdoor Weather Station for La COOL Board

Thank you and till next time!

Comments

PaolB (author)2018-01-16

J'ai commencé à installer LaCoolBoard mais par contre petit problème avec le fichier LaCOOLBoard-master.zip, Antoine m'a dit d'aller à l'étape 6 mais ça bloque...

LaCoolCo (author)PaolB2018-01-16

hello, ca bloque comment a l’étape 6? et c'etait quoi t'es problemes avec le .zip? tu peu etre un peu plus precis stp?

cecio (author)2018-01-11

Not sure where to download the

LaCOOLBoard-master.zip

I don't see the link....thanks for your help

LaCoolCo (author)cecio2018-01-13

hello cecio,

sorry for the error, I added the disclaimer about the delayed Arduino release. To much code to clean and we only send the first of our boards...

https://www.facebook.com/LaCoolCo/photos/a.370356073108950.1073741828.340918442719380/1248142151997000/?type=3&theater

I can send you a link if you want to?

Thank you, simon

cecio (author)LaCoolCo2018-01-13

Thank you Simon. Yes, please if it's not an issue, please send it to me at b38911 [at] gmail [dot] com

thanks!

DIY Hacks and How Tos (author)2018-01-09

Very well written tutorial. You should enter this into the Arduino contest that is currently running.

About This Instructable

680views

11favorites

More by LaCoolCo:Automatic Watering System With La COOL BoardGetting Started With La COOL BoardOutdoor Weather Station for La COOL Board
Add instructable to: