LED Animated Sand

Please tell us which board you are using.
For CircuitPython issues, ask in the Adafruit CircuitPython forum.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
User avatar
sailsailor
 
Posts: 92
Joined: Sun Mar 12, 2023 2:47 pm

LED Animated Sand

Post by sailsailor »

Got it all assembled and software up to date, libraries installed, compiled and uploaded. I am missing something as I can't get it to function. Only thing I can visually notice different from instructions is I don't get the red screen. Does tell me verify and upload successful. Accelerator board has green light, orange light on feather, matrix does nothing. Any help mucho appreciated.

User avatar
dastels
 
Posts: 15819
Joined: Tue Oct 20, 2015 3:22 pm

Re: LED Animated Sand

Post by dastels »

Please provide more details: Exactly what hardware are you using? Please post clear photos of your, projects, and the various connections.

Dave

User avatar
sailsailor
 
Posts: 92
Joined: Sun Mar 12, 2023 2:47 pm

Re: LED Animated Sand

Post by sailsailor »

Following is list of installed components:

Adafruit Feather MO Basic Proto-ATSAMD21 Cortex MO
Adafruit LIS3DH Triple-Axis Accelerometer (+- 2g/4g/8g/16g)
Adafruit 15X7 Charlieplex LED Matrix Display FeatherWing Yellow
Wouldn't I receive error messages if wiring was incorrect?

User avatar
dastels
 
Posts: 15819
Joined: Tue Oct 20, 2015 3:22 pm

Re: LED Animated Sand

Post by dastels »

You wouldn't get build errors, that has nothing to do with wiring problems.

Again, please post clear photos of your project, and the various connections.

Dave

User avatar
sailsailor
 
Posts: 92
Joined: Sun Mar 12, 2023 2:47 pm

Re: LED Animated Sand

Post by sailsailor »

Thank you for the feedback. I think my problem is with loading the sketch to make it work. I loaded Blink to see if I could get that to work. Appears to be working, see photo. That's only the redlight on the Feather MO, blinking once per second as advertised. The green light is on the Accelerometer, nothing on the Charlieplex Matrix. My question is, can I verify anything without disassembling the project? I will if I have to but I double checked prior to assembling.
Image
Attachments
IMG_0409 (1).jpg
IMG_0409 (1).jpg (79.49 KiB) Viewed 140 times

User avatar
dastels
 
Posts: 15819
Joined: Tue Oct 20, 2015 3:22 pm

Re: LED Animated Sand

Post by dastels »

Try verifying each component without disassembly. I.e. run the accel demos, run a matrix demo, https://learn.adafruit.com/adafruit-15x ... de-2998477 would do.

Dave

User avatar
sailsailor
 
Posts: 92
Joined: Sun Mar 12, 2023 2:47 pm

Re: LED Animated Sand

Post by sailsailor »

I try running the code for verifying each component, as I do with the blink and this is the error message I get:

Compilation error: invalid preprocessing directive #SPDX

Thanks for your help. I'm new at all this code work at this level, I still have problems with windows 11. Been away too long. Should I be breaking the code into sections?

User avatar
dastels
 
Posts: 15819
Joined: Tue Oct 20, 2015 3:22 pm

Re: LED Animated Sand

Post by dastels »

Hmm. exactly what code are you building?

Dave

User avatar
sailsailor
 
Posts: 92
Joined: Sun Mar 12, 2023 2:47 pm

Re: LED Animated Sand

Post by sailsailor »

the ones you suggested. https://learn.adafruit.com/adafruit-15x ... de-2998477 on Arduino IDE 2.0.4. I use new sketch then paste the code. Just like I did for the blink code. Only get the compilation error.

User avatar
dastels
 
Posts: 15819
Joined: Tue Oct 20, 2015 3:22 pm

Re: LED Animated Sand

Post by dastels »

Yeah, sorry that's Python code. Use they C++ demo: https://learn.adafruit.com/adafruit-15x ... mo-1953993

Dave

User avatar
sailsailor
 
Posts: 92
Joined: Sun Mar 12, 2023 2:47 pm

Re: LED Animated Sand

Post by sailsailor »

Not sure what I'm doing wrong but I have the correct libraries installed and copy and paste into new sketch and this is the result I get:

Compilation error: 'Adafruit_IS31FL3731_Wing' does not name a type

Should I disassemble and check wiring?
I really appreciate the assistance you are providing, thank you.

User avatar
dastels
 
Posts: 15819
Joined: Tue Oct 20, 2015 3:22 pm

Re: LED Animated Sand

Post by dastels »

No, open the example from the file menu: File->Examples->Adafruit_IS31FL3731->featherswirldemo

Dave

User avatar
sailsailor
 
Posts: 92
Joined: Sun Mar 12, 2023 2:47 pm

Re: LED Animated Sand

Post by sailsailor »

Mine doesn't say featherswirl demo, just swirl demo. I try it, it compilies, uploads then nothing.

User avatar
dastels
 
Posts: 15819
Joined: Tue Oct 20, 2015 3:22 pm

Re: LED Animated Sand

Post by dastels »

Check all the connections to the matrix. Since nothign happens, pay close attention to the power and ground connections.

Dave

User avatar
sailsailor
 
Posts: 92
Joined: Sun Mar 12, 2023 2:47 pm

Re: LED Animated Sand

Post by sailsailor »

Disassembled and checked continuity of all wiring, all checked good. Then checked DC v at the matrix board and it was 3.2v, analog meter. Don't know if that matters. I then plugged it in and tried to load, same message compilied, and upload, no joy on working. At a loss where to go from here. You can check my wiring from photos, maybe I hosed it up somewhere. Thanks again for your patience and assistance.
Attachments
IMG_0412.jpg
IMG_0412.jpg (52.42 KiB) Viewed 101 times
IMG_0411.jpg
IMG_0411.jpg (65.76 KiB) Viewed 101 times
IMG_0410.jpg
IMG_0410.jpg (60.57 KiB) Viewed 101 times

Locked
Please be positive and constructive with your questions and comments.

Return to “Feather - Adafruit's lightweight platform”