Archive for the 'flickr' Category
Programming a TV remote with IR and RF capabilities
Sunday, March 14th, 2010Stepping forward with Arduino Bluetooth communication
Sunday, February 7th, 2010The video shows that changing the display state can either be done locally (by pushing a button) or by receiving data via the Bluetooth RFCOMM link. On a state change data is also transmitted via this link. For the Arduino this is done by just using the serial port.
See the Arduino code below:
#include <S65Display.h>
S65Display lcd;
int state=0;
const int button1_pin=2;
const int button2_pin=3;
void drawText_0(void)
{
lcd.drawTextPGM(30, 50, PSTR("State 0"), 2, RGB(0, 0, 255), RGB(255, 255, 255));
}
void drawText_1(void)
{
lcd.drawTextPGM(30, 50, PSTR("State 1"), 2, RGB(0, 0, 255), RGB(255, 255, 255));
}
void setup()
{
state=0;
//init LCD
lcd.init(4); //spi-clk = Fcpu/4
//clear screen
lcd.clear(RGB(255, 255, 255));
drawText_0();
pinMode(button1_pin, INPUT);
pinMode(button2_pin, INPUT);
Serial.begin(9600);
}
void loop()
{
static byte recvd_byte=' ';
if (Serial.available() > 0)
{
recvd_byte=Serial.read();
}
if ((state == 0) && ((digitalRead(button2_pin) == LOW) || (recvd_byte=='1')))
{
state=1;
drawText_1();
Serial.println("State 1");
recvd_byte=' ';
}
if ((state == 1) && ((digitalRead(button1_pin) == LOW) || (recvd_byte=='0')))
{
state=0;
drawText_0();
Serial.println("State 0");
recvd_byte=' ';
}
}
Setting up a bidirectional Bluetooth link between iPod / iPhone and Arduino
Sunday, January 31st, 2010beagleboard up and running in less than 2 hours
Saturday, January 10th, 2009Thanks to the very good instructions at BeagleBoardBeginners document I got the board up and running in less than 2 hours.
It has output on a TFT monitor, USB keyboard and mouse and even full Internet connectivity via an USB-2-Ethernet adapter.
Started working with a beagleboard
Friday, January 9th, 2009I worked with Gumstix, NSLU2 and other small Linux systems before - but now, let’s start with a beagleboard.
Will be part of a wearable computer and drive a HMD finally. I’m therefore especially happy about S-Video out and USB OTG.




