Giter VIP home page Giter VIP logo

Comments (14)

Jstar018 avatar Jstar018 commented on August 26, 2024 2

Hi @FabianRig @sviga

I downgraded the platform and it works perfectly. I can see the output in the monitor with the correct LEDs referenced. Bluetooth connects.

Thank you!

from arduinomoonboardled.

FabianRig avatar FabianRig commented on August 26, 2024 1

Thank you for letting us know! Great find!

@Jstar018 Could you please change the line to "platform = [email protected]" in platformio.ini (https://github.com/FabianRig/ArduinoMoonBoardLED/blob/main/platformio.ini) and check if it works? If yes, we have a fix.

from arduinomoonboardled.

FabianRig avatar FabianRig commented on August 26, 2024

Those are "only" warnings and in the end it says "SUCCESS". It might still work.

Could you connect the Nano to your computer and check the Nano's console logs? What does it say?

from arduinomoonboardled.

Jstar018 avatar Jstar018 commented on August 26, 2024

Hi Fabian,

After uploading the project the nano does not connect and the com-port not recognised. I have tested some simple programs to blink and respond and I am able to upload then connect back in wiht the computer and monitor the output. However when I upload the project it disconnects - See below outputs.

It looks like something is creating an error in the code.

Any advice is appericated.

image Screenshot 2023-05-31 075250

from arduinomoonboardled.

FabianRig avatar FabianRig commented on August 26, 2024

Sorry for taking so long to answer. Currently, I don't have a lot of time... Sorry!

Do you have an original "Arduino Nano 33 BLE" or another brand?

Have you tried starting totally fresh? Reinstalling VS Code, Platform IO and all packages?

from arduinomoonboardled.

FabianRig avatar FabianRig commented on August 26, 2024

I just gave it a try in a new environment. There are indeed 45 warnings with respect to the libraries used. Warnings aren't errors however and the build is successful:

RAM: [=== ] 26.7% (used 69920 bytes from 262144 bytes)
Flash: [=== ] 33.3% (used 327476 bytes from 983040 bytes)
=========================== [SUCCESS] Took 38.53 seconds ===========================

The problem you're seeing might be something else. As soon as you successfully flash that file, you should see messages in the terminal.

from arduinomoonboardled.

Jstar018 avatar Jstar018 commented on August 26, 2024

Hi Fabian,

Apologies, I have been traveling. Yes I am using an original "Arduino Nano 33 BLE"

I have reinstalled VS Code, Platform IO and the project.

Interestingly I am getting 47 error messages not the 45 you got on your build. Build size etc is exactly the same.

Still crashing and not able to monitor the COM Port or link in with Blue tooth....

from arduinomoonboardled.

FabianRig avatar FabianRig commented on August 26, 2024

That's weird. Let's try a systematic approach.

  • Can you flash the image without errors?
  • Can you make sure that you try to connect to the correct COM port?
  • Do you have access to another computer to try that?
  • Have you tried flashing it without any connections but the USB cable?
  • Could you try to flash another project and read from the COM port?

from arduinomoonboardled.

Jstar018 avatar Jstar018 commented on August 26, 2024

I can flash without errors
I can connect to the right com port with only the USB connection and nothing else connected to the PC
I can flash another project and monitor it

I have not tried with another PC...

from arduinomoonboardled.

FabianRig avatar FabianRig commented on August 26, 2024

OK. That's a good start. If you can successfully flash it without errors and connect to it without any error, then it should work. (Otherwise you should see "BLE setup failed!" -- check https://github.com/FabianRig/ArduinoMoonBoardLED/blob/main/src/main.cpp line 29.)

What puzzles me is that the MoonBoard app doesn't see the device. I've used many different Android devices (mobile phones, tablets) and friends are successfully using various iPhones. The range isn't too good (less than 4 or 5 meters for me), other than that it's stable and reliable.

If you're using an Android phone: Please make sure the app has the location permission which is needed for bluetooth. Perhaps try reinstalling the app? Or could you maybe try another mobile device?

from arduinomoonboardled.

FabianRig avatar FabianRig commented on August 26, 2024

One more idea: If you're using an Android device, please download nRF Connect for Mobile (https://play.google.com/store/apps/details?id=no.nordicsemi.android.mcp&hl=de&gl=US) and use the scanner. You should see "MoonBoard A". This app also needs the location permission.

from arduinomoonboardled.

sviga avatar sviga commented on August 26, 2024

I also had a problem with bluetooth, neither moonboard app nor nRF Connect for Mobile was discovered the device. But the issue was with nordicnrf52 v.9.6.0 platform (see issue here), so I downgraded it to 9.5.0 and it started to work.

from arduinomoonboardled.

jordigrau83 avatar jordigrau83 commented on August 26, 2024

from arduinomoonboardled.

FabianRig avatar FabianRig commented on August 26, 2024

Great! Good to know that it works now. I'll include the fix asap.

And thanks for the info regarding the ESP32!

from arduinomoonboardled.

Related Issues (19)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.