this post was submitted on 12 Feb 2026
15 points (100.0% liked)

Ask Electronics

4042 readers
11 users here now

For questions about component-level electronic circuits, tools and equipment.

Rules

1: Be nice.

2: Be on-topic (eg: Electronic, not electrical).

3: No commercial stuff, buying, selling or valuations.

4: Be safe.


founded 2 years ago
MODERATORS
 

i am building a 3d printed Stargate with lights and sounds using a D1 mini and a DFPlayer mini. The code is from this github repo: (https://github.com/spradlinb/Stargate_3D). when i compile the code in the Arduino IDE i get a SPI error as depicted in the image. I've tried remapping the gpio pins with no success. what am i doing wrong? BTW here is a video of what i'm trying to build: https://youtu.be/y01J-hymaDs

you are viewing a single comment's thread
view the rest of the comments
[โ€“] batvin123@reddthat.com 1 points 2 weeks ago (1 children)

The code looks like it uploads and fails to make noise or light up the led strip. and the serial output is a garbled mess (I tried different baud rates with no success). I have also check my wiring with a multi meter and scoured any wiring schematics.

[โ€“] Shadow@lemmy.ca 2 points 2 weeks ago* (last edited 2 weeks ago)

Double check you have the right board type defined in the Arduino ide, may way to try a couple different options