Outstanding Job. Very well done!
Dragging my Century in this century! Integrated phone replaces tape.
Ok. Proof of concept done, and it works!
At the moment I have tested it on my Galaxy S5, and it works as it should. Now I just need to integrate it into the Century, then call this mod complete.
Tech specs:
Teensy 2.0 setup as a HID keyboard with serial out (for debugging).
Arduino Beoremote library.
MicroUSB to USB adapter.
I will upload a video of it working when I get a chance. For those who know code, this is it.
#include "Beomote.h"
int irPin = 10;
int IRcmd;
void setup() {
Serial.begin(9600); // Debugging
Beo.initialize(irPin);
}
void loop() {
BeoCommand cmd;
if (Beo.receive(cmd)) {
IRcmd = cmd.command;
if (IRcmd == 52 || IRcmd == 30){
// Skip forward
Serial.println("Skip forward");
Keyboard.set_media(KEY_MEDIA_NEXT_TRACK);
Keyboard.send_now();
Keyboard.set_media(0);
Keyboard.send_now();
}
else if(IRcmd == 50 || IRcmd == 31){
// Skip backwards
Serial.println("Skip backwards");
Keyboard.set_media(KEY_MEDIA_PREV_TRACK);
Keyboard.send_now();
Keyboard.set_media(0);
Keyboard.send_now();
}
else if(IRcmd == 53){
// Play/pause
Serial.println("Play/Pause");
Keyboard.set_media(KEY_MEDIA_PLAY_PAUSE);
Keyboard.send_now();
Keyboard.set_media(0);
Keyboard.send_now();
}
else{
//Catch all for code capture for other things.
Serial.println(IRcmd);
}
}
}
Hi.
Ok, bit of an update. Seems that charging a phone and using USB OTG can be troublesome. No problem, lets use Bluetooth!
So to get my Beomote 1000 controlling both the Century and phone, I have cobbled together something that works remarkably well - with some added features.
1). Arduino connected to the existing IR sensor running the beomote library and some conditional code.
2). Adafruit Bluefruit EZKey HID bluetooth keyboard module.
3). Door sensor switch.
Briefly, this is how it works. The Arduino senses the pulses from the IR sensor. This is decoded by the beomote library. This allows me to have a very simple script that looks at the received command, and then sends out a new command to the bluetooth module. The BT module then sends the required key press to the phone. in this case I am using Media keys. Play/Pause, Skip etc..
Next up are the additional features I decided to add for a more consolidated system. Any other IR code not needed will prompt the phone to light up if it is dark. For example if the screen is off and you toggle the volume, it will light up. Power off the century, and the phone will stop the current track and go into standby.
Wake up the century and the phone comes on. Also I added a door sensor switch. So again if the screen is off and the door opens the phone switches on ready for any inputs. As I have a door sensor, and a new MCU onboard I could add some door open lights in the CD area - just like an overture etc.
Here are some pics.
The stuff. It is on a breadboard, as this is a reversable "hack". Also lets me add or change things easily. At the top is the Arduino or MCU. The bottom is the Bluetooth HID module. Wires go to the new door & IR sensor.
New door sensor switch. I probably scavenged this out of an old printer or something. It fit nicely, and with a bit of expoxy bonded into place. It is at the end of the carriage travel and does not interfere. Also hidden by the fascia.
Door sensor closed. I can easily detect the state of the switch - indicating if the door is open or closed.
Finally a video showing it all in action on the bench.
This is a great mod.
I love that you have made it reversible!
I have been thinking about the same kind of thing but the IR-Serial-Arduino stuff is not my kind of game.
Maybe i just have to man-up and dig in ;)
Please keep this thread alive if you do more to it :D
Thread started on the Beosound 3 Bluetooth mod ->
Hi
Great job.
I am trying to copy you - kind of :-)
Can you send a photo of the pins for connecting the aux on pcb?
It is definitely an ingenious piece of work and very carefully thought out. I still disapprove of it, though!
Also, how do you answer the phone when it rings? Do you have to pick up the whole Century and put it to your ear?
I'm trying to find whre to solder stereo cable for subwoofer OUT line on the BS Century PCB.
Did anyone try to do that in the past ?
Hi, wow old thread revival!
I can't remember the pins for the aux, I am sure the info is online somewhere.
The beo century is currently in the loft, not sure what to do with it now!
Please Log In to Reply
You must be logged in as a BeoWorld member to post replies to forum threads.
Join BeoWorld
Register to access the forums, reference material, and exclusive member benefits — including our monthly prize draw.
Become a Member