Page 1 of 1

#59: Blue Dot

Posted: Sun Jul 02, 2017 4:31 pm
by elkberry
Issue #59: the short article about Blue Dot ... many thanks for making me aware of it, this was right on time!

For some time I was in need of a simple remote control to a set of demonstration Pi Zero Ws and 3Bs, which I need to cleanly shut down after a demo. So far, I had to ssh into them. While Python has very good Bluetooth support, I was lost; and then I would need to come up with a small Android app too.

Thanks to the Blue Dot I could quickly integrate it into my demo Pis. Beside a looong press of the blue dot for shutdown, I also added some other remote control functionality that works by tapping the dot, or by press-n-hold, and then swiping.

So, this volume of the MagPi is my favorite one!

Re: #59: Blue Dot

Posted: Sun Jul 02, 2017 6:18 pm
by LetHopeItsSnowing
I'm really pleased you found it useful.

If you haven't already take a look at the docs, there is lots more to discover


Re: #59: Blue Dot

Posted: Sun Jul 02, 2017 6:40 pm
by elkberry
I already did :) and was immediately pleased by the quality of your documentation.

I'm now thinking about writing a multi-modal blue dot class that shall encapsulate the slightly tricky code to handle simple presses, long presses, and tap-hold-slide correctly for the same single blue dot. Reminds me of mouse event handling for a single button mouse (oh no! Apple lawyers knocking at my front door!). At the moment I have the basic code in my specific project, but it would probably be better to put it into its own support class. Others might benefit from it too.

Re: #59: Blue Dot

Posted: Sun Jul 02, 2017 7:41 pm
by LetHopeItsSnowing
Please share or create an issue in the Blue Dot repository for an enhancements. I'll see if they fit into the a future version.

Re: #59: Blue Dot

Posted: Sun Jul 23, 2017 9:24 am
by ColonelDare
A really nice piece of software with easy-to-follow recipes (even for me!), providing a gentle learning curve. Excellent!

Thank you so much. Now all I need to do is build my buggy, attach my reclaimed Big Trak drivetrain and off we go exploring Mars...

btw will Bluetooth reach that far?.... ;-)

Re: #59: Blue Dot

Posted: Sun Jul 23, 2017 10:05 am
by B.Goode
btw will Bluetooth reach that far?.

Perhaps consider using WiFi between your earth station and the Orbiter, and just use BT for the final leg from the Orbiter to the Martian surface.

Fully agree with the comments about the usefulness of Martin's BlueDot solution and supporting documentation.

Re: #59: Blue Dot

Posted: Sun Jul 23, 2017 4:55 pm
by LetHopeItsSnowing
No - Bluetooth wont stretch to mars!

One of the tests I did when creating Bluetooth was ensuring that the app & library handled a close of connection in the event of a loss of signal. However I couldn't get it to lose connection, the length of my house and garden wasn't long enough.

So after putting a Pi Zero W in a box then wrapping it in foil and walking probably 20m away, I finally lost signal!