Protocol
If you’ve already read any other projects on my website, you probably noticed that I like the use of simple and “chatty” protocols, where a high optimization of the number of bytes sent/received is not needed.
For BlueMatrix too I developed a protocol easy to understand:
commands starting with ? (question mark) are inquiry commands and BlueMatrix answers with the requested data without any headers:
[checklist]
- ?B = battery status (example of response: 25.4%)
- ?S = display status (ON on OFF)
- ?T = text actually displayed (example of response: hello world)
[/checklist]
Commands starting with ! (exclamation mark) request an action and have no response:
[checklist]
- !S = toggle the display status (from ON to OFF or vice versa)
- !Ttesto = change the text displayed with testo
[/checklist]
Arduino
The sketch running in Arduino is available on Github. You’ll find that most of the sketch is similar to what I’ve already developed and explained in the previous tutorials about the different modules (display, Lipo Fuel Gauge…).
To make the sketch more readable, I split it into different files:
Applications
I developed two applications to control BlueMatrix:
[checklist]
- a .Net application, developed in C#
- an Android app
[/checklist]
Both the applications have their source published in the project’s repository.
BlueMatrix was designed to be portable, therefore I suppose that it will be mostly controlled using a smartphone; this is the reason why the Android app is better designed than the desktop one and it’s also available on Google’s Play Store:
The app has been developed using the same guidelines and suggesions included in my tutorial about developing Android app with Bluetooth functionalities…
Gallery
Hi Luca,
Blue Matrix is nice!. FYI, Plessey is now manufacturing one of the smallest, thinnest LEDs we call the “dotLED”. It is only 1mm x 0.5mm x 0.2mm and is available in white and blue. You can see it on our web site at http://www.plesseysemi.com. Let me know if you would like to receive some free samples for your evaluation.
– Joe
Innanazitutto complimenti per il sito pieno di idee e progetti molto utili ed interessanti.
Tornando al progetto Blue Matrix volevo chiedere se è possibile avere il layout dei sostegni di base del contenitore.
Grazie.
Antonio
Ciao Antonio, tutti i pezzi di plexiglass inclusi i sostegni sono nel file per il taglio laser (formato InkScape):
https://github.com/lucadentella/BlueMatrix/tree/master/Case
Luca,
da https://github.com/lucadentella/BlueMatrix/tree/master/Case mi fa solo scaricare il file in html. Dove sbaglio?
Grazie.
Luca,
ho risolto :).
Luca,
ho aperto il file “case” con inkScape ma è un template e non riecco a trovare i sostegni. Dove sbaglio?
Grazie anticipatamente.
Antonio
probabilmente è nascosto il “layer” Your Design, selezionalo in basso e premi sull’icona a forma di occhio…
Ciao Luca, vorrei acquistare il display a matrice per costruire una sveglia bluetooth. Ho visto il display sul sito di sure electronic ma non si capisce molto bene i costi delle spedizioni, da dove spediscono e se ci sono eventuali tasse doganali. Potresti dirmi come è stata la tua esperienza con questo sito?
Grazie mille e complimenti per il progetto e per il sito!
Ciao Davide, quando ho ordinato io il display le spedizioni erano incluse; per le tasse doganali è sempre la solita “scommessa”, a volte fermano il pacco a volte no…
Grazie mille luca, tenterò la sorte! 🙂