In this tutorial we make a SCROLLING DOT MATRIX device with Bluetooth connection and a real time clock to show time, date, temperature and day of the week. I've made an Android app to control this and change speed, brightness and select modes and also to send text to be scrolled on the display. See the parts we need, how to connect them, upload the code and test the display. Let's start.
We need a few simple parts. The Arduino, of course to run the code and 9 dot matrices modules. I've tried more than 9 but the library can't do more than that so 9 is max. To receive wireless data I've used the HC06 Bluetooth module and to get the real time, I've used a DS3231 real time clock. We need a few more parts to regulate the voltage and charge the batteries. And yes, we need 2 18650 batteries with a 2S BMS module to charge them. The case is made out of plywood and with carbon fiber vinyl on top.
The schematic has a few connections. Let's start from the power part. To charge the betteries we need to give exactly 8.4V to the BMS board. So, from the 12V DC trasnformer jack, connect the buck converter and set it to 8.4V. Then add a sliding switch to separate the circuits. Connect the BMS mdoule to the 2 batteries in series. Then at the output add the on and off switch and at the output of this switch add another small buck converter and set this one to 5V. The Arduino has a voltage regulator but is not powerful enough.
Then connect the RTC module to the Arduino. The Bluetooth module uses the RX and TX pins. So make sure you upload the code before you connect the module, otherwise the code won't uplaod. We can't have anything connected to the TX and RX pins when we uplaod the code. Go below, downlaod it and uplaod it. Then connect the Bluetooth module and the dot matrices in series as in the schematic above.
First, make the circuit on a breadbaord and test if it works. Also, see the direction of the LED matrices in order to know how to place those inside the case. Go below and downlaod the code and the App and give it a test. See if you receive the text, set time, etc.
Now, we make the power part. Connect the BMS to the battery. Connect the DC jack of the transformer to the big buck converter and set it to 8.4V. Then connect that to the sliding swithc and that to the BMS input/output. From there add the on and off switch and that to the second buck converter and set it to 5V. Now we have our voltage and we can connect that to the Arduino and modules.
Ok, now we connect all the matrices in series. Make some measurements and cut some plywood parts to make the case. Then make then hole for 9 matrices on the front part. Place all matrices in that hole and use some hot glue to fix them in place. Add the side walls of the case and then we could connect all the modules. But first go below and downlaod the code and upload it. Then we connect the modules.
Now add all the modules, I glue the batteries on the back plywood and add everythiong. Put the on off swithc on top of the case and glue everything. Now I can close the case. Remember to uplaod the code from next step. Now you could let the case like this or add that carbon fiber vinyl.