Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

moonboard app doesn´t send anything to led #32

Open
smai86 opened this issue May 20, 2021 · 9 comments
Open

moonboard app doesn´t send anything to led #32

smai86 opened this issue May 20, 2021 · 9 comments

Comments

@smai86
Copy link

smai86 commented May 20, 2021

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

@8cH9azbsFifZ
Copy link
Contributor

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

@domenko
Copy link

domenko commented Aug 10, 2021

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!

@8cH9azbsFifZ
Copy link
Contributor

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?

@domenko
Copy link

domenko commented Aug 10, 2021

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. :)

@FabianRig
Copy link

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).

@domenko
Copy link

domenko commented Aug 10, 2021

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

@avzh72
Copy link

avzh72 commented Oct 22, 2021

Thanks Fabian. It works. Wonderful!

@FabianRig
Copy link

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

@domenko
Copy link

domenko commented Oct 22, 2021

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants