Hello,
I wanted to use the Arduino Micro controller to create a project that uses light, sound and motion. This project would use the following Adafruit products
Arduino Micro http://www.adafruit.com/product/1315
VS1053 Breakout http://www.adafruit.com/products/1381
Digital RGB LED's http://www.adafruit.com/product/306
Triple-Axis Accelerometer http://www.adafruit.com/product/1231
I was going to use the following pins, but wanted to make sure they would work
Accelerometer:
GND->GND
VIN->+5v
SDA->SDA (Analog 4)A4
SCL->SCL (Analog 5)A5
VS1053
VCC -> 5v
GND -> GND
CLK -> Arduino 13
MISO -> Arduino 12
MOSI -> Arduino 11
CS -> Arduino 10
RST -> Arduino 9
XDCS-> Arduino 8
SDCS -> Arduino 4
DREQ -> Arduino 3
Digital Leds (x2 Strips)
VCC -> 5v
GND -> GND
Clock 1 -> 5
Data 1 -> 6
Clock 2 -> 7
Data 2 -> ????
So I am not sure if I have enough pins to do what I am trying.
Any and all assistance would be appreciated.
Thanks,
Joshua
Wiring assistance, combining VS1053, Accelerometer and LED Strip
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- joshuakane
- Posts: 282
- Joined: Sat Apr 13, 2013 4:40 pm
- adafruit_support_bill
- Posts: 88093
- Joined: Sat Feb 07, 2009 10:11 am
Re: Wiring assistance, combining VS1053, Accelerometer and LED Strip
If you can chain the two strips you will only need the two pins. Another option is to use the neopixel strips. http://www.adafruit.com/index.php?main_ ... ixel+strip
These only require 1 pin to drive.
These only require 1 pin to drive.
- joshuakane
- Posts: 282
- Joined: Sat Apr 13, 2013 4:40 pm
Re: Wiring assistance, combining VS1053, Accelerometer and LED Strip
Hey Bill,
Thanks for the reply.
I purchased 5 meters of the other lights, so I kind of wanted to use them. Can I connect both 1m segments to the same clock and data pins so they in essence "mirror" each other? I would be fine going that way. If I can't do that, is there an alternative pin-out scheme that will work? If all else fails I can always purchase the Neopixels, but I was hoping to save some money and not have to re-order anything for this project.
Thanks,
Joshua
Thanks for the reply.
I purchased 5 meters of the other lights, so I kind of wanted to use them. Can I connect both 1m segments to the same clock and data pins so they in essence "mirror" each other? I would be fine going that way. If I can't do that, is there an alternative pin-out scheme that will work? If all else fails I can always purchase the Neopixels, but I was hoping to save some money and not have to re-order anything for this project.
Thanks,
Joshua
- adafruit_support_bill
- Posts: 88093
- Joined: Sat Feb 07, 2009 10:11 am
Re: Wiring assistance, combining VS1053, Accelerometer and LED Strip
If you connect them in parallel, they will mirror each other.
Also, it appears you are not using all the analog pins. These can be used for digital IO as well.
Also, it appears you are not using all the analog pins. These can be used for digital IO as well.
- joshuakane
- Posts: 282
- Joined: Sat Apr 13, 2013 4:40 pm
Re: Wiring assistance, combining VS1053, Accelerometer and LED Strip
Thanks Bill,
I ordered the 60 LED's per meter Neo-Pixels anyway I think they will bring more of a "Wow Factor" to the project. I should have them by Thursday. Thanks again for all the help!
-- Joshua
I ordered the 60 LED's per meter Neo-Pixels anyway I think they will bring more of a "Wow Factor" to the project. I should have them by Thursday. Thanks again for all the help!
-- Joshua
- joshuakane
- Posts: 282
- Joined: Sat Apr 13, 2013 4:40 pm
Re: Wiring assistance, combining VS1053, Accelerometer and LED Strip
I have started the easy part of the project, roughing out the hardware. I still need to supply power to the Arduino Micro, find a small speaker to attach to the VS1053, as well as program the Arduino, but the installation thus far has gone smoothly. Any suggestions for a speaker and power supply would be greatly appreciated. Here are some photos of the work in progress, let me know what you guys think.
-- Joshua
-- Joshua
- adafruit_support_bill
- Posts: 88093
- Joined: Sat Feb 07, 2009 10:11 am
Re: Wiring assistance, combining VS1053, Accelerometer and LED Strip
Beautiful! Nicely done.
As for a speaker. The VS1053 will not drive one directly. You will need some amplification. You could cannibalize a set of inexpensive amplified computer or iPod speakers. We also have this amplifier module: http://www.adafruit.com/products/987
Most of the battery solutions in this guide would work for the Micro as well: http://learn.adafruit.com/battery-power ... and-stripsI still need to supply power to the Arduino Micro, find a small speaker to attach to the VS1053,
As for a speaker. The VS1053 will not drive one directly. You will need some amplification. You could cannibalize a set of inexpensive amplified computer or iPod speakers. We also have this amplifier module: http://www.adafruit.com/products/987
- joshuakane
- Posts: 282
- Joined: Sat Apr 13, 2013 4:40 pm
Re: Wiring assistance, combining VS1053, Accelerometer and LED Strip
Thanks BIll!
The Sword was fabricated by Sean Bradley, he is an awesome artist. This one is from the game "Halo".
I was going to do the Phono-Out from the VS1053, as it looks like your amplifier is out of stock. I can then have that attach to a pair of amplified speakers.
For the battery, i was going to use 2 nine volt batteries but have them in series before your power buck, so I deliver a clean 5v to the processor and lights
http://www.adafruit.com/products/1385
Would i still need to use a diode if I did that. I was also going to put in a traditional on/off slide switch in the hilt to turn off the sword while not in use.
Thanks,
Joshua
The Sword was fabricated by Sean Bradley, he is an awesome artist. This one is from the game "Halo".
I was going to do the Phono-Out from the VS1053, as it looks like your amplifier is out of stock. I can then have that attach to a pair of amplified speakers.
For the battery, i was going to use 2 nine volt batteries but have them in series before your power buck, so I deliver a clean 5v to the processor and lights
http://www.adafruit.com/products/1385
Would i still need to use a diode if I did that. I was also going to put in a traditional on/off slide switch in the hilt to turn off the sword while not in use.
Thanks,
Joshua
- joshuakane
- Posts: 282
- Joined: Sat Apr 13, 2013 4:40 pm
Re: Wiring assistance, combining VS1053, Accelerometer and LED Strip
One more question, as I have only played with the Flora.
When connected via USB, when I am programming the controller, will it be powered by the USB Bus?
When connected via USB, when I am programming the controller, will it be powered by the USB Bus?
- adafruit_support_bill
- Posts: 88093
- Joined: Sat Feb 07, 2009 10:11 am
Re: Wiring assistance, combining VS1053, Accelerometer and LED Strip
9v alkalines do not fare well in high-drain applications. I'd suggest LiPo. You could chain 2 or 3 of our smaller cells in similar space for a lot more run-time. If you prefer not to hassle with the recharging, you can build a pack from a few CR123 primary cells.For the battery, i was going to use 2 nine volt batteries but have them in series before your power buck, so I deliver a clean 5v to the processor and lights
If you are using the UBEC, you don't need a diode. It will put out a solid 5v.
- joshuakane
- Posts: 282
- Joined: Sat Apr 13, 2013 4:40 pm
Re: Wiring assistance, combining VS1053, Accelerometer and LED Strip
What do you guys sell here that I can buy?
- adafruit_support_bill
- Posts: 88093
- Joined: Sat Feb 07, 2009 10:11 am
Re: Wiring assistance, combining VS1053, Accelerometer and LED Strip
Here is our selection of LiPo cells & chargers: http://www.adafruit.com/index.php?main_ ... rch&q=lipo
We have a tutorial on multi-cell charging here too: http://learn.adafruit.com/multi-cell-lipo-charging
We have a tutorial on multi-cell charging here too: http://learn.adafruit.com/multi-cell-lipo-charging
- joshuakane
- Posts: 282
- Joined: Sat Apr 13, 2013 4:40 pm
Re: Wiring assistance, combining VS1053, Accelerometer and LED Strip
I went with the LiPo batteries
Purchased:
2x 3.7v 1300mAh: http://www.adafruit.com/product/258
1x Charger: http://www.adafruit.com/product/259
I also picked up some JST-PH Battery Extension Cables so I can easily connect and disconnect them from the unit I am building.
http://www.adafruit.com/products/1131
As I mentioned before I also have the 5V UBEC
http://www.adafruit.com/products/1385
For the wiring I was going to do something like this, do you think it will work correctly for the microcontroller, LED's, Accelometer and VS1053?
Purchased:
2x 3.7v 1300mAh: http://www.adafruit.com/product/258
1x Charger: http://www.adafruit.com/product/259
I also picked up some JST-PH Battery Extension Cables so I can easily connect and disconnect them from the unit I am building.
http://www.adafruit.com/products/1131
As I mentioned before I also have the 5V UBEC
http://www.adafruit.com/products/1385
For the wiring I was going to do something like this, do you think it will work correctly for the microcontroller, LED's, Accelometer and VS1053?
- adafruit_support_bill
- Posts: 88093
- Joined: Sat Feb 07, 2009 10:11 am
Re: Wiring assistance, combining VS1053, Accelerometer and LED Strip
You have those LiPo cells connected in parallel which would give you 3.7v. You would need to connect them in series. In series, you will get about 7.4v, which is well within the UBEC 5-23v inpt range.
- joshuakane
- Posts: 282
- Joined: Sat Apr 13, 2013 4:40 pm
Re: Wiring assistance, combining VS1053, Accelerometer and LED Strip
Here is the sword running the strand test for the lights.
https://www.youtube.com/watch?v=qTzKOIkfWZw
https://www.youtube.com/watch?v=qTzKOIkfWZw
Please be positive and constructive with your questions and comments.