DCS Vivaldi and Logitech

Since I got the Vivaldi stack, I have been searching for a remote solution to turn the clock display on and off. Finally I got it, via an Arduino project.

I was able to emulate the remote code on an Arduino, blast it to the clock (using an IR Blaster module), and then teach the code to my Logitech Harmony.

For those who may be interested, the total cost is about $10, and the sketch is as follows (it is based on the IR-Remote-Master library).

The remote code here is F07, that will toggle the display on and off. It works for each command of the clock. You just have to swap the 07 for the last 2 digits of the remote code that dCS publishes.

Hope it helps those interested.

/*
 * IRremote: IRsendDemo - demonstrates sending IR codes with IRsend
 * An IR LED must be connected to Arduino PWM pin 3.
 * Version 0.1 July, 2009
 * Copyright 2009 Ken Shirriff
 * http://arcfn.com
 */


#include <IRremote.h>

IRsend irsend;

void setup()
{
}

void loop() {
	for (int i = 0; i < 3; i++) {
		irsend.sendRC5(0xF07, 12);
		delay(40);
	}
	delay(5000); //5 second delay between each signal burst
}
2 Likes