moonboard icon indicating copy to clipboard operation
moonboard copied to clipboard

moonboard app doesn´t send anything to led

Open smai86 opened this issue 3 years ago • 9 comments

Hello,

got the problem that my iphone 5 won´t send any signal to the LEDs. Im using a pi zero with fresh installed os...

Any Ideas?

Thanks! Steffen

smai86 avatar May 20 '21 16:05 smai86

Did you check whether the bluetooth command transfer works on the raspi?

8cH9azbsFifZ avatar Jun 16 '21 00:06 8cH9azbsFifZ

Did you check whether the bluetooth command transfer works on the raspi?

I am sorry if this is an obvious answer perhaps, but how does one go about checking that? I am a relative novice when it comes to RasPi and coding ...

I have gotten so far that my RasPi is installed, working, services seem to be running (used ps aux command), I've made a custom layout for the LEDs (every second is lit, as I needed), the test script runs through, seemingly ok, yet the Moonboard app can not find the LED box.

Any advice would be much appreciated, thank you and best regards!

domenko avatar Aug 10 '21 17:08 domenko

So if the test script runs fine I assume your installation is basically working. With the current raspian I have a problem starting the services, too. My workaround is given here:

https://github.com/8cH9azbsFifZ/moonboard/blob/master/scripts/fix_startup.sh

Can you try this and check whether you can find the board afterwards in the moonboard app?

8cH9azbsFifZ avatar Aug 10 '21 19:08 8cH9azbsFifZ

Thanks for your swift response! I have tried running the fix_startup.sh before and just tried again after a fresh reboot of the raspi. The app has been searching for a MoonBoard for several minutes without success.

It hasn't informed me that it can't find anything as it normally would neither though. I have paired and connected my phone with the raspi before, but NOT while I'm trying to connect it with the Moonboard app.

I am using an iPhone XS Max if that is of any consequence. :)

domenko avatar Aug 10 '21 19:08 domenko

I encountered the same issues with an iPhone and some Android devices, too. I couldn't get it to work reliably so I wrote my own Python based solution which showed similar issues on iPhones (but not on Android devices). There are quite a few reports concerning iPhones, BLE, and Rasperry Pis... Therefore, I think the problem might be in the BLE layer.

My solution was to create a new project based on an Arduino. It's been working flawlessly for 2 months and I decided to publish it. If you want, you can check out the repository (https://github.com/FabianRig/ArduinoMoonBoardLED).

FabianRig avatar Aug 10 '21 20:08 FabianRig

Thanks Fabian, it sounds interesting and I will look into it as well!

domenko avatar Aug 10 '21 20:08 domenko

Thanks Fabian. It works. Wonderful!

avzh72 avatar Oct 22 '21 09:10 avzh72

Great, I'm glad to hear that. :-) Have fun using it!

FabianRig avatar Oct 22 '21 20:10 FabianRig

I didn’t think to reply here as you closed our thread before I finished the project, Fabian. I can happily report thay the Disco Shed was a success and everything works superbly. Thanks for everything!

domenko avatar Oct 22 '21 21:10 domenko