Hi guys,
So I'm super beyond newbie and started to follow the piano glove project.
I soldered everything according to the diagrams and when plugged in the flora to test the circuit the following showed up:
The neopixel just has a constant yellow light and the color sensor is pretty irresponsive. Where do I start?
Trouble with Piano Glove project
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- adafruit_support_bill
- Posts: 88145
- Joined: Sat Feb 07, 2009 10:11 am
Re: Trouble with Piano Glove project
The "Does not name a type" error means that the compiler could not find the TCS34725 library in the expected location. Make sure it is installed according to this guide: http://learn.adafruit.com/adafruit-all- ... nstall-use
- ladysputnick
- Posts: 14
- Joined: Wed Oct 22, 2014 8:38 pm
Re: Trouble with Piano Glove project
Thank you!
So I managed to make a lot of progress except I can't get any sound coming out of the speaker, only some estatic and whatnot. But the color sensor and the neopixel are working fine! I found a post from last year from a user who went through the exact same things viewtopic.php?f=8&t=42671.
After reading a few other posts I realized the new version of the VS1035B has pins in a bit of a different order than the ones shown in the tutorial (this user posted pictures of the different versions viewtopic.php?f=8&t=52757&p=315241#wrap). So I was wondering maybe that's whats going wrong? I made sure I connected things to the right pins according to the diagram on the piano glove tutorial (ex. the GND pin is definitely different on V2) and based on what I read the GBUF pin is an AGND pin on the v2 so i just used the AGND pin instead... so i'm not sure if there's anything else I can do or why its not working. Any insight or help please would be wonderful, I really wanted to get this project done before the end of the week.
So I managed to make a lot of progress except I can't get any sound coming out of the speaker, only some estatic and whatnot. But the color sensor and the neopixel are working fine! I found a post from last year from a user who went through the exact same things viewtopic.php?f=8&t=42671.
After reading a few other posts I realized the new version of the VS1035B has pins in a bit of a different order than the ones shown in the tutorial (this user posted pictures of the different versions viewtopic.php?f=8&t=52757&p=315241#wrap). So I was wondering maybe that's whats going wrong? I made sure I connected things to the right pins according to the diagram on the piano glove tutorial (ex. the GND pin is definitely different on V2) and based on what I read the GBUF pin is an AGND pin on the v2 so i just used the AGND pin instead... so i'm not sure if there's anything else I can do or why its not working. Any insight or help please would be wonderful, I really wanted to get this project done before the end of the week.
- adafruit_support_bill
- Posts: 88145
- Joined: Sat Feb 07, 2009 10:11 am
Re: Trouble with Piano Glove project
If you post some photos that clearly show all your connections we'll take a look and see if we can spot any problems.
- ladysputnick
- Posts: 14
- Joined: Wed Oct 22, 2014 8:38 pm
Re: Trouble with Piano Glove project
I had to resolder it several times so it looks fairly messy...
- ladysputnick
- Posts: 14
- Joined: Wed Oct 22, 2014 8:38 pm
Re: Trouble with Piano Glove project
i also just tested a second vs1053 with all connections on the mini breadboard before soldering and the same exact thing is happening so im thinking it might not be the soldering work/ the board being deffective after all but really just something im connecting wrong?
sorry the colors are kinda tricky
sorry the colors are kinda tricky
- adafruit_support_bill
- Posts: 88145
- Joined: Sat Feb 07, 2009 10:11 am
Re: Trouble with Piano Glove project
You photos don't show where the other ends of the wires go. But you do have a lot of solder joints where the solder has not flowed onto the pad. For a reliable electrical connection, the cross-section of the joint should look like the diagram below. Please review this guide for tips on identifying and fixing problem solder joints:
https://learn.adafruit.com/adafruit-gui ... n-problems
On your breadboard, none of the headers appear soldered, so I would not expect that to work either.
https://learn.adafruit.com/adafruit-gui ... n-problems
On your breadboard, none of the headers appear soldered, so I would not expect that to work either.
- ladysputnick
- Posts: 14
- Joined: Wed Oct 22, 2014 8:38 pm
Re: Trouble with Piano Glove project
Ok, so i literally started from scratch, new board/ sound jack/ breadboard and resoldered everything as neatly as possible following the instructions and everything i learned about the difference in pin placements for the v2 of the vs1053
aligator clipped things so i dont have to keep soldering / resoldering the wires to the flora but basically
Flora vs1053
3.3v -- 3v3 and 1
D10 -- RX
D9 -- RST
GND -- 0 an GND (on the opposite side of the board, i used the orange jumper wire you can see in the back)
I still can't get it to work :(
I also ran the midiexample from the vs1053 library and didnt get any sound to come out.
When I'm running the piano glove sketch and plug in my earphones its all completely dead but when i plug in my speakers i can hear a super faint tap each time i run over a color...
Please anyone, ideas on what to do?
aligator clipped things so i dont have to keep soldering / resoldering the wires to the flora but basically
Flora vs1053
3.3v -- 3v3 and 1
D10 -- RX
D9 -- RST
GND -- 0 an GND (on the opposite side of the board, i used the orange jumper wire you can see in the back)
I still can't get it to work :(
I also ran the midiexample from the vs1053 library and didnt get any sound to come out.
When I'm running the piano glove sketch and plug in my earphones its all completely dead but when i plug in my speakers i can hear a super faint tap each time i run over a color...
Please anyone, ideas on what to do?
- adafruit_support_bill
- Posts: 88145
- Joined: Sat Feb 07, 2009 10:11 am
Re: Trouble with Piano Glove project
Can we get a clearer shot of the top of the board? It is too small and fuzzy to see the pin labels or soldering.
- adafruit_support_rick
- Posts: 35092
- Joined: Tue Mar 15, 2011 11:42 am
Re: Trouble with Piano Glove project
Did you solder the header pins to the protoboard before you soldered on the VS1053?
- ladysputnick
- Posts: 14
- Joined: Wed Oct 22, 2014 8:38 pm
Re: Trouble with Piano Glove project
ohh sh*t i didnt! that might actually be it
this is gonna be a pain to resolder but lets give it a go :)
this is gonna be a pain to resolder but lets give it a go :)
- adafruit_support_rick
- Posts: 35092
- Joined: Tue Mar 15, 2011 11:42 am
Re: Trouble with Piano Glove project
Good luck.ladysputnick wrote:ohh sh*t i didnt! that might actually be it
this is gonna be a pain to resolder but lets give it a go :)
Place the header pins so that the black plastic on the other side of the protoboard. Then you can solder the pins on the bottom of the board.
- ladysputnick
- Posts: 14
- Joined: Wed Oct 22, 2014 8:38 pm
Re: Trouble with Piano Glove project
Thank you so muuuch!
It worked perfectly :) very much in time for my project
Now, just one curiosity: If i wanted to use all 4 neopixels instead of just one, are there any changes i'd need to make in the coding? or can i just go ahead and solder the 3 other pixels to the circuit and expect it to work fine?
It worked perfectly :) very much in time for my project
Now, just one curiosity: If i wanted to use all 4 neopixels instead of just one, are there any changes i'd need to make in the coding? or can i just go ahead and solder the 3 other pixels to the circuit and expect it to work fine?
- adafruit_support_rick
- Posts: 35092
- Joined: Tue Mar 15, 2011 11:42 am
Re: Trouble with Piano Glove project
Just make sure you set the number of pixels to 4 in the constructor:
Code: Select all
#define N_LEDS 4 /* number of LEDs in the circuit */
Adafruit_NeoPixel strip = Adafruit_NeoPixel(N_LEDS, LED_PIN, NEO_GRB + NEO_KHZ800);
Please be positive and constructive with your questions and comments.