Death Star Christmas tree Topper Help

56 views
Skip to first unread message

Matthew Nelson

unread,
Oct 6, 2016, 9:48:17 AM10/6/16
to Arduino MN

I’m wondering if I could get some help. I‘m trying to build a Death Star Christmas Tree Topper and I’m kind of stuck. I came across this Instructables project  http://www.instructables.com/id/Death-Star-Christmas-Tree-Topper/  and thought it would be a fun project to do. I got the circuit made and most of the programing done but it didn’t work.  I have made some changes to both, but still no luck. I’m wondering if someone might be able to help me finish it off. I’ll admit my programing skills aren’t very good. I put a couple images and the schematic up here and i attached the Arduino code as well.

 

Any Help with this would be greatly appreciated. 


Thank you








DeathStar_Arduino.ino
DSCT My Schem.jpg

Minh Anderson

unread,
Oct 7, 2016, 12:50:41 AM10/7/16
to Arduino MN
Matthew,

If you are planning to use 8 LEDs for the circle, you can't use the sound wave shield as some of the pins are conflicting. You'll have to use an extra Arduino for the sound wave shield. Just let me know and I'll fix it up for you.

Minh

Matthew Nelson

unread,
Oct 7, 2016, 1:07:32 AM10/7/16
to Arduino MN

I didn't know that. Am i able to double up and run 2 LEDs parallel with each other so i only need to use 4 pins?

Minh Anderson

unread,
Oct 7, 2016, 8:10:05 PM10/7/16
to Arduino MN
Matthew,

You are right. 4 LED pins would work. What is the LED you are using? Instead of parallel, it's better to use 2 LEDs in series. 2 in parallel might draw more current than the pin could provide.

Minh

Matthew Nelson

unread,
Oct 7, 2016, 8:35:51 PM10/7/16
to Arduino MN
Just some basic Clear green LEDS i got off ebay http://www.ebay.com/itm/100pcs-5mm-Red-Green-Blue-Yellow-White-Ultra-Bright-LED-Light-Bulb-Lamp-20000mcd-/181436212943?hash=item2a3e70e6cf:g:KhYAAOSwWnFWAC15

I can make some adjustments to run them in series off 4 pins. Any chance you might be able to look at the code for me? 

Minh Anderson

unread,
Oct 7, 2016, 9:42:17 PM10/7/16
to Arduino MN
Mathew,

Please try the attached file. You can actually use the analog pins for to hook up the 4 other LEDs. See Pin assignments in the code for details. Let me know if it still doesn't work.

Minh
 
DeathStar_Arduino.ino

Matthew Nelson

unread,
Oct 7, 2016, 11:54:07 PM10/7/16
to Arduino MN
Yeah still nothing. Im not sure what it is. I'm not sure if this will help but the Message it gives me when i flash it is 

C:\Users\Matthew Nelson\Desktop\DeathStar_Arduino\DeathStar_Arduino.ino:53:65: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

 char *wavFiles[] = {"IMPERIAL.WAV", "FIRING.WAV", "DEATHSTR.WAV"};

                                                                 ^

C:\Users\Matthew Nelson\Desktop\DeathStar_Arduino\DeathStar_Arduino.ino:53:65: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

C:\Users\Matthew Nelson\Desktop\DeathStar_Arduino\DeathStar_Arduino.ino:53:65: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]


Sketch uses 9,626 bytes (29%) of program storage space. Maximum is 32,256 bytes.
Global variables use 1,435 bytes (70%) of dynamic memory, leaving 613 bytes for local variables. Maximum is 2,048 bytes.

Minh Anderson

unread,
Oct 8, 2016, 12:46:30 PM10/8/16
to Arduino MN
Matthew,

I don't have time this weekend, but next week, I'll mock up a bunch of LEDs and test it.

Minh

Matthew Nelson

unread,
Oct 8, 2016, 7:47:00 PM10/8/16
to Arduino MN
Thank you. Yeah I wish i new more about this stuff. Hardware im not to bad with but programing isn't my strong point. 

Minh Anderson

unread,
Oct 16, 2016, 12:56:28 PM10/16/16
to Arduino MN
Matthew,

I don't have the sound wave shield so I can't check that. But I've verified the LEDs part is working.

Minh

Matthew Nelson

unread,
Oct 17, 2016, 9:17:14 AM10/17/16
to Arduino MN
Thanks for checking. Im not sure it might be a problem on my end then. I might have to rethink the design or something. 

Minh Anderson

unread,
Oct 18, 2016, 8:45:25 PM10/18/16
to Arduino MN
Matthew,

I could help you in person this weekend. Are you going to the iot hackathon?

Minh

Matthew Nelson

unread,
Oct 19, 2016, 1:45:38 AM10/19/16
to Arduino MN

That would be great, but unfortunately i'm not able to make it. I have to work this weekend. Would you be avaliable another time maybe?


Also just a thought I wonder if it would be easier to use a different MP3 Module instead of the Wave Shield. I have a few others laying around from when i was working on a Arduino Star Wars Blaster project. 

Minh Anderson

unread,
Oct 22, 2016, 9:43:57 AM10/22/16
to Arduino MN
Matthew,

Next week would be fine with me too

Minh

Matthew Nelson

unread,
Oct 22, 2016, 10:38:30 AM10/22/16
to Arduino MN

Im Free Monday until 3pm and pretty much all day Wednesday or Thursday. Would any of those days work for you?

Minh Anderson

unread,
Oct 24, 2016, 7:27:58 PM10/24/16
to Arduino MN
Matthew,

Wednesday evening would work for me.

Minh

Matthew Nelson

unread,
Oct 24, 2016, 8:57:52 PM10/24/16
to Arduino MN
Sounds good message me on FB and we can go from there if that works with you. https://www.facebook.com/mattnelson521

Also just wondering what Arduino board you're using?
Reply all
Reply to author
Forward
0 new messages