microbit as ultibo peripheral

General discussion about anything related to Ultibo.
mark
Posts: 1319
Joined: Mon Oct 03, 2016 2:12 am
Location: Indianapolis, US

Re: microbit as ultibo peripheral

Postby mark » Wed Jan 23, 2019 7:27 pm

develone wrote:Hello All
Testing Mark's code with C/C++ offline compiler on a RPi3B+

These are the steps that I did to generate
microbit-samples-combined.hex
on RPi3B+

https://github.com/develone/microbit-test/blob/master/first_ex_mark/9428e34f/doc/steps.txt


https://github.com/develone/microbit-test/blob/master/first_ex_mark/9428e34f/hex/microbit-blebuttonsbroadcaster.hex


This is the hex file generated on RPi3B+ using the C/C++ offline compiler RPi3B+.

https://github.com/develone/microbit-test/blob/master/first_ex_mark/9428e34f/hex/microbit-samples-combined.hex

see the images of results
https://github.com/develone/microbit-test/blob/master/first_ex_mark/9428e34f/pic/start.jpeg

https://github.com/develone/microbit-test/blob/master/first_ex_mark/9428e34f/pic/buttons.jpeg


Good job Mark!!


Thanks, and thanks again for testing. FYI if you use the URL button when entering urls, they will appear in your posts as links. I think you might be using the Quote button instead. Regards, Mark.
User avatar
Jyv
Posts: 159
Joined: Mon Feb 08, 2016 1:30 pm

Re: microbit as ultibo peripheral

Postby Jyv » Mon Jan 28, 2019 1:28 pm

Hello Mark,

Just tested your repo
https://github.com/markfirmware/ultibo- ... /v20190123

IMG_20190128_140634.jpg
IMG_20190128_140634.jpg (215.61 KiB) Viewed 56 times


This is really great that the MicroBit does not need to be connected to the RPi anylonger.
IMG_20190128_141842.jpg
IMG_20190128_141842.jpg (211.44 KiB) Viewed 56 times

My MicroBit is living on battery by itself with the setup you recommended,
I can carry it in a different room without line of sight between MicroBit and RPi ,
pressing button A displays properly "Chord: A" on the screen.
(it displays "Pending: B" when I hold the button before releasing it).

Now I need to order a secondary MicroBit to see if there are conflicts in the air.

EDIT: Amazing achievement,
thank you to the whole Garry’s team for their dedication to fixing the serial driver defect,
thank you to Paul who has bootstrap BLE initialization and communication.
Overall, Well done Mark to have managed all parties to successfully release fully functional Ultibo kernel image with MicroBit BLE program.
Last edited by Jyv on Tue Jan 29, 2019 9:54 am, edited 1 time in total.
mark
Posts: 1319
Joined: Mon Oct 03, 2016 2:12 am
Location: Indianapolis, US

Re: microbit as ultibo peripheral

Postby mark » Mon Jan 28, 2019 2:59 pm

@Jyv, thank you for your kind words. For the record, the rock-solid Ultibo core along with Garry’s team’s dedication to repairing a tedious serial driver defect were what made the project even feasible. That implies a lot more can be done with Ultibo based just on that. As for bluetooth, Paul was the one who rolled up his sleeves and got it started by getting the initialization and communication working. Testing participation and feedback was and is essential so thanks to those who did that and also to those who showed interest and encouragement.

Gavin found a defect in that a quick series of presses will only show that last chord. The repair is straightforward and I will do that soon. However, I am not going to have the time that I have had to (any time soon) finish having Ultibo load the flashware into the microbit and also store the pi’s bluetooth address in the microbit.

Cheers, Mark


Jyv wrote:Hello Mark,

Just tested your repo
https://github.com/markfirmware/ultibo- ... /v20190123

IMG_20190128_140634.jpg


This is really great that the MicroBit does not need to be connected to the RPi anylonger.
IMG_20190128_141842.jpg

My MicroBit is living on battery by itself with the setup you recommended,
I can carry it in a different room without line of sight between MicroBit and RPi ,
pressing button A displays properly "Chord: A" on the screen.
(it displays "Pending: B" when I hold the button before releasing it).

Now I need to order a secondary MicroBit to see if there are conflicts in the air.

Amazing achievement Mark. Well done.

Return to “Discussion”

Who is online

Users browsing this forum: No registered users and 0 guests