"Project BIG Button" with Barry Byford

Robert Wolff
|

Introduction

  • With help from guest Author, Barry Byford

I am sure you are all wondering… What happened in this week’s OpenHours?! Especially for those who missed the live call, this blog will hopefully outline the entire episode and provide all the promised resources mentioned during the episode. For anyone interested in recreating our featured guest’s project, you will surely find everything you need here.

That being said, this week we spoke with Barry Byford! An amazing 96Boards (more specifically DragonBoard 410c) enthusiast who came to us all the way from England. After announcements (see below for announcements) and taking a look back at last week’s episode, we went right into introductions.

As mentioned, Barry came to us via OpenHours conference call from England, where he lives. In the beginning of the episode, Barry spoke to us about himself, explaining how he ended up getting involved with 96Boards and the DragonBoard 410c. For a long time now, it has been a goal to get Bluetooth ® wireless technology Low Energy usable on Linux Single Board Computers from within the Python programming language to interact with peripheral devices. Barry explained about some of the false starts he has had with this goal although with this project good progress seems to have been made to his goal.

Announcements

  • OpenHours will begin to gamify! Attending our weekly OpenHours call, participating in 96Boards forum activity and over all contributing to the 96Boards community in any way possible will earn you community points(as long as we can track it). We will do our best to log community efforts on our side to ultimately generate a leaderboard for the website. Tracking and registering efforts might change as the team becomes more in tuned with collection process. Persons with the most community efforts will have chances to win 96Boards prizes such as boards, mezzanine, swag(96Boards, Linaro and member) and possibly a badge to the next Linaro Connect which will be held in San Francisco!

  • We have officially launched the OpenHours forum topics page! You are welcome to post/suggest new OpenHours related topics, open new questions to be addressed during the show, and/or tackle current issues that are facing the community.

“Project BIG Button” on OpenHours

Barry shared with us how he does STEM outreach to get the next generation interested in digital making. Being able to communication with multiple Bluetooth Low Energy (BLE) devices has lots of very practical application although the main goal Barry had for this build was to use as a way to talk about BLE to students.

Pre-requisites

  • Dragonboard 410c

    • The default version of BlueZ on Debian Jessie is 5.23. This project requires the version of BlueZ D-Bus API that is in BlueZ 5.43 release so you will need to upgrade. There are more detailed instructions on how to upgrade available at http://bluezero.readthedocs.io/en/latest/install_bluez.html

    • Debian Stretch should come with BlueZ 5.43 version as standard.

    • Python3 is a requirement for this project along with the guizero and pydbus libraries. Both can be installed with ‘sudo pip3 install

  • Micro:bit

    • For this project we used a pre-built image that exposes all the interesting micro:bit Bluetooth services. The pre-built image is available from the Bitty Software http://www.bittysoftware.com/downloads.html#microbit_blue website. We used the version that does not require pairing because we valued simplicity over security for this project.
  • Please see “Instructions” section of blog to find full Bill of Materials for project.

Instructions

Using a 96Boards DragonBoard 410c, several micro:bit microcontrollers, a driver board, some BIG buttons and various miscellaneous wires and tools, this set of instructions will walk you through setting up your very own BIG Button Game! This particular application focuses on the use of both onboard Bluetooth modules (DragonBoard and micro:bit) as well as Python for the base programming language.

Instructions to recreate “Project BIG Button” can be found here

Conclusion

By the end of this blog and Barry’s instruction set, you should be able to use BLE to seamlessly communicate between a 96Boards DragonBoard 410c and the micro:bit microcontroller. Thankfully, Barry was able to provide us with all of his code and experience. This baseline use-case BLE game will hopefully sets the foundation for future applications of a similar nature. We look forward to seeing what you all come up with! Feel free to bring your questions to the OpenHours forums. If anyone creates a derivative version of the BIG Button Game or another application around these efforts, we would love to feature it on the 96Boards website.

Resources

For 96Boards announcements and fun, be sure to visit and follow all of our social media channels!

Twitter |Linkedin |Facebook |YouTube

For those of you who prefer a mailing list, we have just the one for you! You can choose between our “Monthly Newsletter” and our “Weekly Digest”. Get ready for just the right amount of commitment and information, 2017 is calling and 96Boards is here to answer.

Every week at 4:00pm UTC the 96Boards team engages in the ultimate community driven experience - OpenHours. All are welcome to join LIVE, for free, to interact as equal members in the 96Boards tribe of enthusiasts and developers. This is your channel/means to bring up interesting/controversial topics, explore new possibilities around the 96Boards brand, and pretty much anything else you would like to talk about! You can also just simply join to hang out and have a quick chat while you enjoy your morning coffee/tea :D

OpenHours Image

Don’t forget, if you get stuck, 96Boards offers many helpful resources. Feel free to check out the 96Boards forums, 96Boards documentation landing page, and/or Freenode IRC channel #96Boards and #OpenHours (there are many ways to access IRC, this website is one of them). Dig around the docs and website, create a new forum thread, and/or post a question in the chat, myself or one of the 96Boards developers would love to help!

Other Blogs from Robert Wolff

comments powered by Disqus