Ligne 153 : | Ligne 153 : | ||
|Step_Picture_04=VERBIS_-_Desktop_8x8_RGB_LED_Matrix_Word_Clock_IMG_20190213_154444_M.jpg | |Step_Picture_04=VERBIS_-_Desktop_8x8_RGB_LED_Matrix_Word_Clock_IMG_20190213_154444_M.jpg | ||
|Step_Picture_05=VERBIS_-_Desktop_8x8_RGB_LED_Matrix_Word_Clock_IMG_20190214_091902_M.jpg | |Step_Picture_05=VERBIS_-_Desktop_8x8_RGB_LED_Matrix_Word_Clock_IMG_20190214_091902_M.jpg | ||
+ | }} | ||
+ | {{ {{tntn|Tuto Step}} | ||
+ | |Step_Title=The Software. Programming the ESP-01 Board | ||
+ | |Step_Content=There are several ways for programming the ESP-01 board, my way for flashing the ESP-01 is using an adapter with a PL2303 chip (USB to Serial converter). Also to make the programming easier, I used a breadboard adapter like in the image and I connected it to the USB to Serial converter. You can see the wiring between these two modules: 3.3v-RED, Ground-BLACK, RX from the converter to TX on adapter-PURPLE, TX from the converter to RX on adapter-GREY. On the adapter I soldered a switch (PROG) between GPIO0 and GND pins and a switch (RESET) between RST and GND pins. | ||
+ | |||
+ | Step by step instructions: | ||
+ | * download and install the [https://www.arduino.cc/en/main/software Arduino IDE][https://www.arduino.cc/en/main/software Arduino IDE]; | ||
+ | * download the source for the [https://github.com/ancalex/VERBIS Verbis word clock]; | ||
+ | * install in Arduino IDE the ESP support libraries - more [https://www.arduino.cc/en/main/software here]; | ||
+ | * insert the ESP-01 Board in the breadboard adapter and connect the USB to Serial converter to an USB port of the computer; | ||
+ | * open in Files-Examples-ESP8266 the CheckFlashConfig sketch and then make the configuration options in TOOLS like in the image (you will have another COM port eventually); | ||
+ | * open a serial monitor (TOOLS - SERIAL MONITOR), make the configs (Both NL&CR, 115200 baud) and push the RESET switch on the breadboard adapter; | ||
+ | * you will see something like in the image above with the 'ready' word on the last line, it means the ESP Board is working and you can find on your phone a new WiFi Access Point; | ||
+ | * to put the ESP board in programming mode, gently push the PROG switch and keep pushing, then push and release the RESET switch, THEN(!) release the PROGRAM switch, in the SERIAL MONITOR you must see a garbled line after the ready line (see image); | ||
+ | * click the UPLOAD button in the Arduino IDE, wait for the sketch to be compiled and uploaded, then verify the SERIAL MONITOR again, if you have a line with 'Flash Chip configuration ok' then the programming options in the Arduino IDE are good. If no, make the necessary changes; | ||
+ | * unzip the sources and open, with the Arduino IDE, the VerbisMain.ino file, put the ESP board in programming mode and upload the program, if everything is good you will see in the SERIAL MONITOR the word clock's initial configuration and a WiFi Access Point on your phone. | ||
+ | The programming of the ESP-01 board can be made before you solder any wire to the module (see step 2 - The Electronics) but can also be made when the soldering is already made (everything assembled in the electronics box). In this case '''remove the RED wire between the converter and the adapter''' (very important !!!) because you will use 3.3v from the stabilizer module, not from the USB to Serial Converter (see image). | ||
}} | }} | ||
{{ {{tntn|Notes}} | {{ {{tntn|Notes}} |
Auteur Erdei Andrei Csaba | Dernière modification 9/12/2019 par Clementflipo
word clock, clock, esp8266, ws2812 VERBIS_-_Desktop_8x8_RGB_LED_Matrix_Word_Clock_desk_wordclock_ro_wall_800x600.png en-gb none Technique 0
There are many other Word Clock projects on the Internet so it is rather difficult to choose a project as a source of inspiration because each of them offered me useful ideas. But if I must choose one, it's going to be the one that started all, the beautiful project created by Doug Jackson, presented on Wikifab.
It's hard to bring something new with any future design, but hopefully my project will grab your attention with the fresh and cool ideas inside.
What are the pros of my project?
The idea behind this Word Clock is to have all the words necessary for telling the time and to place these words in an 8x8 letters layout as in a word search puzzle. In this way, with a small number of leds we can tell the time minute by minute. Because the words are placed randomly you can tell the time by reading the flashing words each after another (the words are already displayed on the clock face). I started with using only one color, red, also green 8x8 matrix led arrays.
Sadly, the electronics were a little bit complicated when using the MAX7219 led driver and the ESP12 module of ESP8266 microcontroller, the wiring was tedious and prone to errors. But with the WS2812 RGB Led Matrix things became much easier (and cheaper ...). The schematics are simple, there is no need for the esp12 board, an ESP-01 module can be used. Also the flashing words are gone, I used color change to accentuate the words for telling the time (using many colors was a big deal).
Youtube
Enclosure:
Electronics
Wooden photo frame
You can make your own frame, there are a dozen of articles about this, even here on Instructables. But a simpler solution would be finding a framing company where you can order a personalized frame with your required dimensions and you can choose from many frame types. This is exactly what I did. I ordered my frames with a specific dimension: the framed photo, in my case object (display) is 80x80mm. I also asked for an accurate dimension, I didn't want the frame to be too big for the 3D printed plastic grid.
Plexiglass support
The plexiglass support can be also be made DIY but for an amateur it is not very easy to cut and blend plexiglass. So I ordered several supports from an advertising company that makes all kinds of plexiglass objects. The dimensions I used are: width - 120mm, first part length - 180mm, second part length - 50mm, 15° bending angle.
Display plexiglass sheet
The 3mm grey smoked plexiglass sheet can be cut from a bigger sheet, obtaining the required 80x80mm dimension.
Plastic grid
The STL file for 3D printing can be downloaded from Tinkercad
Display Printed Paper Sheet
The SVG file for the Printed Paper Sheet is attached, and it can be edited with Inkscape. You can make your own display layout based on this SVG file, I used Word Search Construction Kit software to generate a words layout for the time display. You can print the file repeatedly on the same sheet of paper to achieve a good, opaque, black background. I got very good results with a cheap inkjet printer and standard white copier paper. I cut off the layout with a pair of scissors.
Plastic box for electronics
The files that you can 3d print are also on Tinkercad. I used some already purchased jewelry boxes, I only designed a new box base because the boxes were too tall. The files on Tinkercad are based on this type of boxes.
Detailed instructions (follow the images above)
The last image shows an almost finished enclosure.
ESP-01
Cheap and versatile microcontroller module with WiFi capability, if you don't know about it read this good how-to A Beginner's Guide to the ESP8266.
3.3v stabilizer module
The ESP-01 requires to be powered with 3.3v, I used here a 4pin module.
Led Matrix 64led RGB Matrix with WS8212 IC
You can read more in Getting Started With NeoPixel / WS2812 RGB LED by Open Green Energy.
3 Pin Header and connector
I used this connector because it permits easy assembly-disassembly of the enclosure.
DC connector and DC power supply
The power supply is 5v and 1.5A maximum, it is rather enough because not all leds are lightened up at full brightness and full white. Also I opted for a separate DC connector because it is simple to replace a defective power supply.
Schematics - Very simple, made with Fritzing, see the image above.
Detailed instructions
There are several ways for programming the ESP-01 board, my way for flashing the ESP-01 is using an adapter with a PL2303 chip (USB to Serial converter). Also to make the programming easier, I used a breadboard adapter like in the image and I connected it to the USB to Serial converter. You can see the wiring between these two modules: 3.3v-RED, Ground-BLACK, RX from the converter to TX on adapter-PURPLE, TX from the converter to RX on adapter-GREY. On the adapter I soldered a switch (PROG) between GPIO0 and GND pins and a switch (RESET) between RST and GND pins.
Step by step instructions:
The programming of the ESP-01 board can be made before you solder any wire to the module (see step 2 - The Electronics) but can also be made when the soldering is already made (everything assembled in the electronics box). In this case remove the RED wire between the converter and the adapter (very important !!!) because you will use 3.3v from the stabilizer module, not from the USB to Serial Converter (see image).
Draft
Vous avez entré un nom de page invalide, avec un ou plusieurs caractères suivants :
< > @ ~ : * € £ ` + = / \ | [ ] { } ; ? #