Waveshield Problems

Adafruit Ethernet, Motor, Proto, Wave, Datalogger, GPS Shields - etc!

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
User avatar
adafruit_support_rick
 
Posts: 35092
Joined: Tue Mar 15, 2011 11:42 am

Re: Waveshield Problems

Post by adafruit_support_rick »

I'm not sure what you mean by "import the libraries". Are you getting compilation errors?

wwischer
 
Posts: 37
Joined: Wed Jan 04, 2012 8:01 pm

Re: Waveshield Problems

Post by wwischer »

I should add that this is a new computer and I have not had problems in the past loading libraries, but have been having this problem with the new computer.[img]
libraries.png
libraries.png (37.73 KiB) Viewed 1065 times
[/img] Under arduino - sketch - import library, this is what happens[img]
libraries.png
libraries.png (37.73 KiB) Viewed 1065 times
[/img]
Attachments
sketch.png
sketch.png (23.67 KiB) Viewed 1065 times

wwischer
 
Posts: 37
Joined: Wed Jan 04, 2012 8:01 pm

Re: Waveshield Problems

Post by wwischer »

and yes if I upload the sketch and compile I get errors saying the libraries aren't there, that is why I have been going to the import library to see if it shows up.

User avatar
adafruit_support_rick
 
Posts: 35092
Joined: Tue Mar 15, 2011 11:42 am

Re: Waveshield Problems

Post by adafruit_support_rick »

What do you see in the Import Libraries pop-up? It should look like this, with the standard libraries at the top, and the user libraries in the lower section.
wavehc_menu.jpg
wavehc_menu.jpg (133.21 KiB) Viewed 1064 times

wwischer
 
Posts: 37
Joined: Wed Jan 04, 2012 8:01 pm

Re: Waveshield Problems

Post by wwischer »

It looks exactly like that[img]
Screen Shot 2012-10-11 at 12.04.27 PM.png
Screen Shot 2012-10-11 at 12.04.27 PM.png (78.07 KiB) Viewed 1060 times
[/img]

User avatar
adafruit_support_rick
 
Posts: 35092
Joined: Tue Mar 15, 2011 11:42 am

Re: Waveshield Problems

Post by adafruit_support_rick »

OK, then your libraries are in the right place. When you go over and select WaveHC from the popup, nothing happens? Nothing goes into the sketch? That's very strange.

Try loading one of the sample sketches. Post any compilation errors here.

wwischer
 
Posts: 37
Joined: Wed Jan 04, 2012 8:01 pm

Re: Waveshield Problems

Post by wwischer »

I loaded the simple sample digital audio player. The compilation errors were long, here are some[img]
Screen Shot 2012-10-11 at 3.15.07 PM.png
Screen Shot 2012-10-11 at 3.15.07 PM.png (13.73 KiB) Viewed 1034 times
[/img][img]
Screen Shot 2012-10-11 at 3.15.00 PM.png
Screen Shot 2012-10-11 at 3.15.00 PM.png (13.76 KiB) Viewed 1034 times
[/img][img]
Screen Shot 2012-10-11 at 3.14.52 PM.png
Screen Shot 2012-10-11 at 3.14.52 PM.png (27.93 KiB) Viewed 1034 times
[/img] Thanks.

User avatar
adafruit_support_bill
 
Posts: 88093
Joined: Sat Feb 07, 2009 10:11 am

Re: Waveshield Problems

Post by adafruit_support_bill »

Scroll to the very top of the error list. The first few lines are typically the most relevant to the source of the problem.

User avatar
adafruit_support_rick
 
Posts: 35092
Joined: Tue Mar 15, 2011 11:42 am

Re: Waveshield Problems

Post by adafruit_support_rick »

Did you unzip the WaveHC folder you downloaded?

User avatar
pburgess
 
Posts: 4161
Joined: Sun Oct 26, 2008 2:29 am

Re: Waveshield Problems

Post by pburgess »

A picture is worth 2048 bytes:
1kwords.png
1kwords.png (13.29 KiB) Viewed 1020 times

wwischer
 
Posts: 37
Joined: Wed Jan 04, 2012 8:01 pm

Re: Waveshield Problems

Post by wwischer »

That worked, I removed it from the file, just put in the WaveHC that was included in the zip with everything else but only put the WaveHC in the library and now it imports the libraries as well as compiles correctly. Thank you. I misread a comment on a general forum for importing libraries that said to unzip it in the library and then another prompting to change the name to WaveHC.
Thanks for all the help! Now with using it :)

wwischer
 
Posts: 37
Joined: Wed Jan 04, 2012 8:01 pm

Re: Waveshield Problems

Post by wwischer »

I went to test the sketch with the code, now that the libraries are working, it is the proper version and I got the same print out from the print monitor.[img]
Screen Shot 2012-10-12 at 9.59.38 AM.png
Screen Shot 2012-10-12 at 9.59.38 AM.png (27.81 KiB) Viewed 962 times
[/img][img]
Screen Shot 2012-10-12 at 9.59.27 AM.png
Screen Shot 2012-10-12 at 9.59.27 AM.png (22.33 KiB) Viewed 962 times
[/img] Any suggestions?

User avatar
adafruit_support_rick
 
Posts: 35092
Joined: Tue Mar 15, 2011 11:42 am

Re: Waveshield Problems

Post by adafruit_support_rick »

What sketch are you using? That output almost looks like it came from the sample sketch daphc.pde in the WaveHC examples folder. But it's not quite the same.

Find the daphc.pde sketch in the WaveHC examples folder. This will be inside the WaveHC folder in your library.

User avatar
pburgess
 
Posts: 4161
Joined: Sun Oct 26, 2008 2:29 am

Re: Waveshield Problems

Post by pburgess »

There has to be a vestigial duplicate of the old library somewhere. Printing the filenames as ASCII numbers cannot happen with the latest library and Arduino 1.0.

Download and install a clean, fresh version of the latest Arduino IDE. Maybe ZIP your old one just in case there's something there you need. Whatever, make sure the old copy is in a non-executable state.

Clean out your Documents/Arduino folder. Or better yet...just rename it and set it aside (call it Arduino-old or something). Make a new Arduino folder (and a new Libraries sub-folder). You can move your old projects over later, once this is sorted out.

Download a fresh version of the WaveHC library. Install it in the Arduino/Libraries directory as shown above. Do not "show contents" on Arduino.app, there's no need for that. Never. Use the Libraries folder in your home directory. Always.

Launch the Arduino IDE. Select File->Sketchbook->Libraries->WaveHC->daphc, compile and upload to board.

If you still get the long number filenames at that point, physics has been violated.

wwischer
 
Posts: 37
Joined: Wed Jan 04, 2012 8:01 pm

Re: Waveshield Problems

Post by wwischer »

I changed the name of the old arduino file from the documents folder to arduino old and moved it to the desktop. I created a new arduino folder and new library folder that was empty in the user/documents folder. I then zipped the program and bundled library folder from my applications folder and put it on the desktop.
I then uninstalled the arduino application making sure to go under user/libraries/references and remove the arduino preferences from there. I then emptied the trash and restarted the computer.
I then installed the latest arduino application (this time no bundle library folder appeared in the applications folder)
I then downloaded the latest WaveHC library and made sure to put the WaveHC from inside the wavehc20110919 folder into the user/documents/arduino/libraries folder.
Then I opened the arduino program.
The libraries were there upon sketch/import library/
I pasted the digital audio player sketch in a new arduino window and compiled - successful
I then uploaded to the board - successful
but on opening the print monitor I got the same decibel numbers and not reading the wav files.
Am I missing something?

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

Return to “Arduino Shields from Adafruit”