CREU Project Blog

September 27, 2007, 4:12 am
Filed under: download, Electronics, LED Display, Multitouch

We basically set up our bi-directional LED the circuit according to diagram shown in the last last post.  We did followed all the instruction stated the paper on the implementation of a simple bidirectional LED demo, but it just doesn’t work!!   There are I think two possibilities why this is not working.  

  1. We did something seriously wrong
  2. Something is wrong with the microcontroller

At the current moment, I really don’t know how to fix this but here is a picture of the setup followed by the source code 


#define digi_fwd 2
#define digi_rev 3
void setup(){
  pinMode(digi_fwd, OUTPUT);
  pinMode(digi_rev, OUTPUT);

void loop(){
  digitalWrite(digi_fwd, HIGH);
  digitalWrite(digi_rev, LOW);

//Reverse Bias
  digitalWrite(digi_fwd, LOW);
  digitalWrite(digi_rev, HIGH);

  digitalWrite(digi_rev, LOW);
  pinMode(digi_rev, INPUT);

  count = 0;


  Serial.println(count, DEC);
  pinMode(digi_rev, OUTPUT);

The Arduino Sketch can be downloaded here


Finally Recieved the Parts!
September 24, 2007, 9:43 pm
Filed under: Electronics

We finally recieved the parts we ordered from sparkfun Electronics. Here are some pictures of the microcontroller, bluetooth module and the accelerometer!!  At the current moment we are hoping to familiar ourselves with the microcontroller first and hopefully we will be able to implement a prototype of the Multitouch LED display as soon as possible. 


 The Arduino Stamp ships with an on-board ATmega168 microcontroller and it comes with an open source multiplatform (currently works on MacOSX, Windows, and Linux) IDE which can be downloaded  for free.  The Arduino Stamps connect to the computer via the serial port.  Due to the compact design of the stamp, an additional adapter is required.  The following is a picture of the Arduino Serial USB Board.  Using the FT232RL, the Arduino Serial USB Board emulates a com port on the computer allowing communication between the computer and the Arduino Stamp.  This is especially convieient since my MacBook doesn’t comes with a serial port =) 

We also bought the BlueSMiRF bluetooth module from sparkfun.  The bluetooth module connects to the Tx/Rx pins on the Arduino Stamp.  And it will shows up as an bluetooth serial port on the computer side.  It is capable of transmitting serial stream from 9600 to 115200bps from as far as 160m.


And here is our last piece of goodies… The IMU 5 Degree of Freedom from sparkfun.  The “Inertia Measurement Unit” is only 1 square inch in size and it ships with an on-board 3-axis accelerometer from Analog Device and a dual axis gyro from InenSense.   By combining these sensor, this board will allow us to sense the 5 degrees of freedom (Roll, Pitch, X, Y, Z).  Mounting this on the our device will hopefully allow us to sense the rotational and translational movements of the device. 

Total Cost:

  1. Arduino Stamp   $38
  2. Arduino USB Board $21
  3. BlueSMiRF  $65
  4. IMU 5 DOF   $110