Show Posts
Pages: [1]
1  Using Arduino / Project Guidance / Re: Real Life Mario Coin Block on: March 22, 2014, 12:32:27 pm
Since retro game sounds are "8-bit", you really don't need a MP3 player to do this.   It can be made with an Arduino and a simple piezo speaker using the "tone" library.

Buzzer: https://www.sparkfun.com/products/7950
(You can also find these at RadioShack)

Tone Library for Arduino:
https://code.google.com/p/rogue-code/wiki/ToneLibraryDocumentation

You can hear an example of the tone library here:
https://www.youtube.com/watch?v=EhEQseK01Zc

You can get lots of arcade tones (look for RTTTL format) from here:
http://arcadetones.emuunlim.com/nes.htm

I don't have a specific tone already programmed for the coin box sound, but I'm sure it wouldn't be hard with a little experimentation.

Good luck!

John
2  Using Arduino / Programming Questions / How to call a simple webpage with WiShield 2.0 on: September 18, 2012, 05:54:31 am
I'm trying to figure out the easiest way to call a webpage using my WiShield 2.0. I've been poking around with the Web Client example code but can't seem to get it working. Note that examples to do this with the Ethernet shield are not of much use because the libraries are not compatible.

This is for a test project and all I want to do is call a site such as http://xxx.xxx.xxx.xxx/pagename.php?q=variabletext

I thought I might be able to use webclient_get() for this such as: webclient_get(server_ip, 80, texttopass); but that doesn't seem to work. When I debug I can see that "texttopass" correctly shows up as: "/pagename.php?q=texttopass"

I suspect I'm using webclient_get() incorrectly but it doesn't throw any errors during compile or debugging.

Any tips?

John
3  Using Arduino / Audio / WiShield 2.0 with Adafruit Waveshield? on: September 08, 2012, 07:45:46 am
Wondering if anyone has been able to get the Waveshield working with a WiShield 2.0.

I've tried changing the WiShield interrupt from DP2 to DP8 but when I do that nothing works.

Thanks,

John
Pages: [1]