BlueMatrix

by luca
10 comments

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

 

 

 

Related Posts

10 comments

Joseph Simanis Tuesday May 20th, 2014 - 09:49 PM

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

Reply
Antonio Monday March 23rd, 2015 - 03:03 PM

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

Reply
luca Monday March 23rd, 2015 - 08:28 PM

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

Reply
Antonio Monday March 23rd, 2015 - 11:11 PM

Luca,
da https://github.com/lucadentella/BlueMatrix/tree/master/Case mi fa solo scaricare il file in html. Dove sbaglio?
Grazie.

Reply
Antonio Monday March 23rd, 2015 - 11:53 PM

Luca,
ho risolto :).

Reply
Antonio Wednesday March 25th, 2015 - 11:39 PM

Luca,
ho aperto il file “case” con inkScape ma è un template e non riecco a trovare i sostegni. Dove sbaglio?
Grazie anticipatamente.
Antonio

Reply
luca Sunday March 29th, 2015 - 10:13 AM

probabilmente è nascosto il “layer” Your Design, selezionalo in basso e premi sull’icona a forma di occhio…

Reply
Davide Sunday July 26th, 2015 - 01:11 PM

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!

Reply
luca Monday July 27th, 2015 - 08:26 AM

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…

Reply
Davide Monday July 27th, 2015 - 10:56 AM

Grazie mille luca, tenterò la sorte! 🙂

Reply

Leave a Comment

4 + 20 =