e-sr / moonboard

GNU General Public License v3.0
96 stars 43 forks source link

Does this still work? #61

Open PaulPiq opened 9 months ago

PaulPiq commented 9 months ago

I'm new to rpi and github, so bear with me:

I'm having trouble getting this installed -

  1. Using the install command in the software description section brings up a shell from a different github page (8cH9azbsFifZ/moonboard) which is all commented out
  2. Next I try to instead run the installer from the e-sr/moonboard page - while this shell looks to be more up to date it still includes code to clone the github 8cH9azbsFifZ/moonboard, which seems to be missing files which are needed

My next try will be to download the install shell from e-sr/moonboard and then edit the shell code to clone e-sr/moonboard instead of 8cH9azbsFifZ/moonboard, but I'm starting to think I'm doing something wrong, since others have gotten this to work and I don't see comments about installation problems like this from other users.

I also noticed I need to have the working directory = "pi" for any references to work

Thanks in advance for any help

PaulPiq commented 9 months ago

I was able to get this to work, but it was excruciating. I would advise not to try this if you're not up for a lot of problem solving (using linux, understanding and editing code). It appears this may have been working a couple years ago, and maybe was in the process of being enhanced but never finished? First thing you'll find is that the install script refers to an old shell script which was commented out. If you do want to pull your hair out, here are a couple tips:

  1. After a lot of searching I found leds strings with long enough length in between leds on ali-express, from Hong Kong, total = ~$50 + ~$50 shipping
  2. Buy a pi zero with pins, and get some jumper wires, or be ready to solder
  3. Don't try to run the pi headless, you'll need a usb->micro-usb converter and a hdmi->mini-hdmi (not micro) converter
  4. You don't need an external power supply. MB problems only have <10 lights on at a time, a normal 5V micro usb charger (but not a cheap phone charger) will have plenty of amps for that.
  5. When you set up the pi, you can use the newest OS. Make sure your username = "pi"
  6. requirements.txt: This file includes versions, but the versions cause problems. Remove all of the versions and it will work
  7. Clone from e-sr and then run the install.sh file from the "pi" directory (or it will install to the wrong directory)
  8. in install.sh comment out the clone script since it's already cloned
  9. To get it to run on boot, run fix_startup.sh on boot (google how to do it, it's not too bad)

There are probably other things to deal with I am forgetting Good luck

e-sr commented 9 months ago

Hi, sorry to see, yes the project is not anymore used. I use the https://github.com/e-sr/moonboard_nrf52 project(arduino). much more stable. Think it will be easy to port to other mcu too.

reinarrow commented 9 months ago

I have a working version using my own fork here: https://github.com/reinarrow/moonboard

It's been a couple of years since I last set it up and it's still running correctly. I managed to solve many issues, mainly related to Bluetooth connectivity. However I don't know about compatibility with latest Raspi OS or other libraries latest version.