Show Posts
Pages: [1]
1  Forum 2005-2010 (read only) / Syntax & Programs / help with PWM on: March 28, 2007, 11:03:34 am
Hi,

Can anyone help me to understand how I can use the arduino to produce a simple tone on an 8 ohm speaker that has the volume modulated by a pot and the frequency modulated by an IR sensor. I know how to hook the sensors up and can read them into the arduino and have been able to produce a steady tone using the analodWrite command..  but I can't seem to figure out how to adjust the frequency or the volume of that tone. I have looked at the tutorials but they are all for playing melodies and I get lost in the code.

Any help is appreciated,
Dave
2  Forum 2005-2010 (read only) / Interfacing / Coding for Wiimote - arduino interface on: April 13, 2007, 01:55:18 pm
Hi,

I read abliss's post here:
http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1172459283

and found it very interesting as I've been playing around with the wiimote for awhile now. Unfortunately I'm not great with code and I'm not sure how I can get readings from the wiimotes' accelerometer and buttons and use it's bluetooth capabilities to have the arduino communicate with my PC as is mentioned in the above post. I don't really understand what the code in the abliss' post does. Primarily I would like to somehow interface the wiimote and the arduino together and send the date over the bluetooth connection to my PC and into Max/MSP.. is this doable?
3  Forum 2005-2010 (read only) / Interfacing / Coding for Wiimote - arduino interface on: April 13, 2007, 01:52:29 pm
Hi,

I read abliss's post here:
http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1172459283

and found it very interesting as I've been playing around with the wiimote for awhile now. Unfortunately I'm not great with code and I'm not sure how I can get readings from the wiimotes' accelerometer and buttons and use it's bluetooth capabilities to have the arduino communicate with my PC as is mentioned in the above post. I don't really understand what the code in the abliss' post does. Primarily I would like to somehow interface the wiimote and the arduino together and send the date over the bluetooth connection to my PC and into Max/MSP.. is this doable?
4  Forum 2005-2010 (read only) / Interfacing / Re: ultrasonic sensors on: April 01, 2007, 02:15:13 pm
Thanks for you help Daniel.. from what I can tell the martin lighting system uses a transmitter carried by the person that it tracks and is more $$$ and more advanced than I require. I need to be able to do this without the person in the room carrying anything and ideally for less than $100.. would I be able to modify the frequency of a few ultrasonic sensors so that I could use four of them in the same room to track movement and report it to max/msp without them interfering? or maybe use some very small delay so that none of them were "pinging" at the same time?
5  Forum 2005-2010 (read only) / Interfacing / ultrasonic sensors on: April 01, 2007, 08:20:10 am
Hi,

I am trying to set-up a system where I'll have four ultrasonic sensors, one on each wall of an square room, to track the location of a person walking around in that room. I am wondering if I could use something like this parking sensor...

http://cgi.ebay.ca/Parking-Reverse-Sensor-System-with-Audio-Colour-LCD_W0QQitemZ260095933638QQcategoryZ60203QQtcZphotoQQcmdZViewItem#ebayphotohosting

...and somehow modify it to send information to the arduino. Would the code for using multiple ultrasonic sensors to track this kind of movement be ridiculously hard to figure out? Are there any other methods that might be easier/more efficient to accomplish this x,y coordinate without having to have the person carry around any sort of sensor on them?

Thanks for any help,
Dave
Pages: [1]