Comments (14)
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.
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.
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.
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](https://private-user-images.githubusercontent.com/134174367/242106624-ebc3187c-42ce-4133-bf73-da1e4ffc3e86.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MDk4MjUxMzIsIm5iZiI6MTcwOTgyNDgzMiwicGF0aCI6Ii8xMzQxNzQzNjcvMjQyMTA2NjI0LWViYzMxODdjLTQyY2UtNDEzMy1iZjczLWRhMWU0ZmZjM2U4Ni5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwMzA3JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDMwN1QxNTIwMzJaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT0yZDM5ZTZkNzVhMTY2YTdkZGYyOTRmZTdlNTM0NmQzYzM1OGE3ZjgzOGUzMDVlNjZmYWE0NTc3YTIwYmE5OWQyJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.vRi-5laGvnNu0HetmvhtpeIfPexxrHjcyLCK7mxsHWw)
![Screenshot 2023-05-31 075250](https://private-user-images.githubusercontent.com/134174367/242106727-35040907-9e07-4cf2-8f24-c93a8dd3a7cb.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MDk4MjUxMzIsIm5iZiI6MTcwOTgyNDgzMiwicGF0aCI6Ii8xMzQxNzQzNjcvMjQyMTA2NzI3LTM1MDQwOTA3LTllMDctNGNmMi04ZjI0LWM5M2E4ZGQzYTdjYi5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwMzA3JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDMwN1QxNTIwMzJaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1mMmNiODhmNzg1ZTVjYzliZGU0ZTNkY2EyZTI3YjBhNjk1NWIyOTJkZjgzY2Y1YjEwMDFiMDUyYjVmMTcyZGQyJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.z7YlxP66JCh-zAqDhApSrRJCFaCSjqur1ky20oWlCzc)
from arduinomoonboardled.
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.
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.
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.
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.
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.
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.
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.
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.
from arduinomoonboardled.
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)
- LED Mapping HOT 11
- Logiclevel shifter for LED Dataline? HOT 3
- Has anyone tried with the official led lights + Arduino combo? HOT 16
- New moonboard app doesn't light up green blue lights HOT 7
- How to download the ArduinoMoonBoardLED project HOT 6
- Trouble Flashing HOT 6
- wrong starting- and finishing holds light up, but problem holds work fine HOT 2
- How many leds? HOT 3
- Are multiple user connects at the same time supported? HOT 14
- Source for LEDs HOT 2
- Wiring diagram HOT 10
- Multi user support HOT 14
- Only the first light is lighting up HOT 2
- Powering LED HOT 5
- Power supply HOT 4
- Other System Boards HOT 3
- Circuit Diagram HOT 6
- Fun... HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from arduinomoonboardled.