Skip to content

laboite is a connected clock that displays a lot of information from the Internetz

License

Notifications You must be signed in to change notification settings

redgick/Redgick_Laboite

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Redgick_Laboite

laboite is a connected clock that displays a lot of information from the Internetz.

laboite.gif

Requirement

  • Redgick_GFX, the core graphics library;
  • WiFiManager;
  • ESP8266HTTPClient by Markus Sattler
  • ArduinoJson by Benoit Blanchon

Installation

Download this repository and unzip it into the Arduino libraries folder on your computer. You should rename the folder Redgick_Laboite-master in Redgick_Laboite.

In the Arduino IDE, look at File/Examples/Redgick_Laboite folder to load an example sketch.

Building laboîte maker

Material

The CAD models of the frame and the screen can be edited on Tinkercad

Schematic

laboîte maker as been tested with two types of NodeMCU : V2 and V3. Both come with the chip ESP-12E. If you compare the pin layout of the V3, there’s only a tiny difference to the V2 layout. V3 use one of the two reserve pins for USB power out and the other for an additional GND.

schematic NodeMCU V2 / NodeMCU V3

NodeMCU V2NodeMCU V3LED Matrix
PinGPIOPinGPIOPin
Vin (+5V)-VV (+5V)-+12V
GND-GND-GND
D7GPIO13D7GPIO13DIN
D8GPIO15D8GPIO15CS
D5GPIO14D5GPIO14CLK
  • MAX7219 Dot Matrix Modules should be connected together in serial. Only input pins are welded on the modules, so start by welding output pins on the upper MAX7219 Dot Matrix Module.
  • Then insert the Colson collar in the frame to fasten the NodeMCU on the rear side of the frame.
  • Insert MAX7219 Dot Matrix Modules in the frame and plug the PMMA screen on it.
  • Connect the MAX7219 Dot Matrix Modules and the NodeMCU following the schematic bellow :

schematic

lenuage.io

  • Create an account in lenuage.io and add a new boîte. An API Key is automatically generated.

Firmware

  • Start Arduino IDE and open File > Preferences window.
  • Enter http://arduino.esp8266.com/stable/package_esp8266com_index.json into Additional Board Manager URLs field.
  • Open Tools > Board: > Boards Manager... menu and find ESP8266 by ESP8266 Community and install it.
  • Select Tools > Board > NodeMCU 1.0 (ESP-12E Module).
  • Open library manager from Sketch > Include library > Manage Libraries... and find ArduinoJson by Benoit Blanchon and install the latest version 5 (do not install a beta version 6).
  • Then find WifiManager by tzapu and install the stable version v0.12.0.
  • Download Redgick_GFX libraries, copy and past Redgick-GFX and Redgick_MatrixMax72XX into your Arduino library folder.
  • Download Redgick-Laboite into your Arduino lbrary folder. Remove the trailling extension (-master) of the library folder name.
  • Open File > Exemples > Redgick_laboite > laboite_maker_edition
  • First click on Verify/Compile, if an error message appears, get sure that you have correctly placed the files with the right name.
  • Replace 00000000-0000-0000-0000-000000000000 with your API key
  • Connect the NodeMCU, upload and enjoy !

WiFi

  • At the first boot, laboîte create an WiFi access point named "laboite". Connect to it with your smartphone, open a navigator à http://192.168.4.1 and set the SSID and Password of you WiFi network.
  • laboîte will reboot and automatically connect to the given WiFi network. That's it !

Going further ...

Explore lenuage.io interface to configure apps and have fun !

About

laboite is a connected clock that displays a lot of information from the Internetz

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages