February 7th, 2010
The 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=' ';
}
}
Posted in uC and embedded systems , communication systems , gadgets , flickr | No Comments »
January 31st, 2010
This is work in progress - video of setup in operation to follow.
The photo has additional notes on Flickr.
Posted in wearable computing , uC and embedded systems , communication systems , gadgets , flickr | No Comments »
January 3rd, 2010
The module will enable wireless connectivity from e.g. an MCU / Arduino to an iPhone via the standard WLAN way.
There is more info on the Flickr page that you reach when clicking on the photo.
Posted in wearable computing , uC and embedded systems , communication systems , gadgets , iPhone external keyboard | No Comments »
October 3rd, 2009
Work in progress
The photo has notes on Flickr.
Posted in wearable computing , uC and embedded systems | No Comments »
August 5th, 2009
Matthias came up with an OpenGL ES demo that shows a WiiMote
in sync with an iPhone via Bluetooth.
Posted in wearable computing , uC and embedded systems , gadgets | No Comments »
June 18th, 2009
A LEGO Mindstorms NXT connects to an Arduino via I2C.
This enables all kinds of new (intelligent) sensor / actor combinations. Also - the NXT provides Bluetooth wireless connectivity.
Posted in uC and embedded systems , gadgets | No Comments »
June 7th, 2009
A Symbian S60 Nokia E71 connected to an Arduino Mega via Bluetooth.
The E71 may also be used as a “gateway” with an uplink via WLAN or GSM - which basically make the LEDs switchable from everywhere in the world. This photo illustrates a potential usage scenario with a remote controlled vehicle.
Posted in wearable computing , uC and embedded systems , gadgets | No Comments »
June 5th, 2009
Using the standardized Arduino boards and development environment can speed up things - while still being cost-efficient and flexible.
This is work in progress - the vehicle will soon be controlled via a Bluetooth link.
Posted in uC and embedded systems , communication systems , gadgets | No Comments »
June 3rd, 2009
Just to give an idea.
Integration of Bluetooth and servo control code still to be finished.
Posted in uC and embedded systems , gadgets | No Comments »