Show Posts
Pages: [1]
1  Using Arduino / Project Guidance / Arduino -> AVRCP Bluetooth protocol on: October 16, 2012, 02:08:55 pm
Here's my situation: I can only find modules that stream audio via A2DP and also support AVRCP. Also, I can also only find Arduino's that support serial communication through bluetooth.

I don't need either of those smiley

I am looking for a module that is simply for controlling a bluetooth avrcp enabled device. Such as, play/pause/forward/back/volume+/-. I do -not- want audio streamed to my bluetooth device, that's most definitely not where this is headed. I just need to control my blackberry/iphone/wp7 devices. They already have their own amplified stereos.

The setup I'd like to see:
A) Pair iPhone to Android/Bluetooth module.
B) Connect Play/Pause buttons to my Arduino.
C) Click the button, Pause the music.
D) ...profit?

Any pointers?
2  Forum 2005-2010 (read only) / Syntax & Programs / Re: Does this code look right? on: May 29, 2008, 07:04:22 pm
You are correct! semester one revision here i go! smiley-razz
3  Forum 2005-2010 (read only) / Syntax & Programs / Does this code look right? on: May 29, 2008, 01:49:45 pm
How does this code look? Its supposed to run multiple PIEZO's and send the data to my serial program.

//###############################################
//VARIABLES
//###############################################
const int numOfAnalogs = 3; //Change the integer to incorporate the amount of analog inputs you use.
int       midiChannel        = 9;
int       outPin             = 13;       // the number of the output pin, main LED
int       analogSmooth       = 2;        // Amount of change needed to send control change...
int       lastAnalogArray[numOfAnalogs];
int       reading[numOfAnalogs];
//###############################################
//END OF VARIABLES
//###############################################
void setup()
{
  Serial.begin(9600);
}

void loop()
{
  for (int i = 0; i<numOfAnalogs; i++) {
    reading = analogRead(i)/8; // change 0-1024 into 0-127
    if (abs(reading-lastAnalogArray) > analogSmooth) {
      lastAnalogArray = reading;
      sendToSerial(i,reading);
    }
  }
}
void sendToSerial(byte pin, byte velocity) {
  digitalWrite(outPin,HIGH);  // indicate we're sending MIDI data
  Serial.print(pin, BYTE);
  Serial.print(velocity, BYTE);
  digitalWrite(outPin,LOW);  // indicate we're sending MIDI data
}
4  Forum 2005-2010 (read only) / Development / Netbeans + Arduino? on: May 29, 2008, 08:08:09 pm
Is it possible to program arduino in a Java environment?
5  Forum 2005-2010 (read only) / Interfacing / Re: Midi direct via USB? on: May 26, 2008, 07:37:57 am
Is there a forum for this dedicated to windows, im sick of seeing mac
6  Forum 2005-2010 (read only) / Interfacing / USB Midi, without hacking FTDI Driver. on: May 28, 2008, 12:35:11 pm
Well, my brother and I are working on a program to take information from the serial port, and output to a MIDI-ox virtual midi. If you're interested, Here is the installer, it is C#. I will later post source, and updates. This is currently only accepting one input. This takes any information coming into the serial port and outputs to a midi-ox port of your choice...Any questions, just ask.

http://rapidshare.de/files/39549480/publish.zip.html
Get 'er done boys. I think it uses 9600baud, but just give 'er a try. its definitely beta. BTW, it uses Com 1. The software is hardcoded and beta.
Pages: [1]