Archive

Author Archive

Individual Assignment: Advanced Microcontrollers & Wired/Wireless Communications [Wi-Fi signal + LED indicator]

January 11, 2011 Leave a comment

In this assignment I have decided to work with the following set of post-it notes:

I wanted to make a LED indicator that shows how strong the Wi-Fi signal is by using the CUI32 board and BlinkM LED. The idea is that the BlinkM LED indicates if the Wi-Fi signal is strong or weak by turning into a specific color. Furthermore if there is no Wi-Fi signal at all the BlinkM LED will turn off. The following items describe how the concept works:

  • If Wi-Fi signal is strong the BlinkM LED turns green.
  • If Wi-Fi signal is between strong and weak the BlinkM LED turns blue.
  • If Wi-Fi signal is weak the BlinkM LED turns red.
  • If there is no Wi-Fi signal the BlinkM LED turns off.

Here is the BASIC code:

10 dim i, cmd as byte, r as byte, g as byte, b as byte, z as byte
20 rem -- stop script --
30 let cmd = 'o'
40 while 1 do
50 for i = 0 to 3
60 let cmd = 'c', r = 0x5*(i==2), g = 0x5*(i==0)
70 let cmd = 'c', b = 0x5*(i==1), z = 0x0*(i==3)
80 i2c start 0x9
90 i2c write cmd, r, g, b, z
100 i2c stop
110 sleep 5000 ms
120 next
130 endwhile
end

And lastly here is the concept video:

Categories: Uncategorized

Individual Assignment: Thermometer Exercise [Room Temperature]

January 5, 2011 Leave a comment

For this assignment I have chosen to work with room temperature by using the CUI32 board, RGB LED-strips, TMP102 sensor and a small piezo speaker. The idea behind this concept is that the RGB LED-strips indicate if it is comfortable, too hot or too cold in a room by blinking a certain color depending on the temperature, which is measured by the TMP102 sensor. Additionally the piezo speaker plays a warning tone if it is too hot or too cold in a room, but if it is comfortable it mutes. The following items describe how the system works:

  • If room temperature is between 20° – 30 ° the RGB LED-strips turn green (comfortable) and no warning tone is played.
  • If room temperature is > 30° the RGB LED-strips turn red (too hot) and a warning tone is played.
  • If room temperature is < 20° the RGB LED-strips turn blue (too cold) and a warning tone is played.

Here is the BASIC code:

10 dim i, j
12 dim audio as pin rd1 for frequency output
20 dim cmd as byte, rsp[2] as byte
30 dim temp
40 dim leds[20] as byte
50 dim latch as pin rg9 for digital output open_drain
60 dim sync as pin rg6 for digital output open_drain
70 let latch = 0, sync = 0
80 while 1 do
81 if temp>30 then
82 let audio = temp*80
83 elseif temp<20 then
84 let audio = temp*40
85 else
86 let audio = 0
87 endif
101 print temp
121 let j = j+1
122 for i = 0 to leds#-1
123 if temp>30 then
124 let leds[i] = 0x80+0x4*(i==j%leds#)
125 elseif temp<=30&&temp>=20 then
126 let j = j+1
127 let leds[i] = 0x80+0x3
131 elseif temp<20 then
132 let j = j+1
134 let leds[i] = 0x80+0x10*(i==j%leds#)
135 endif
136 next
137 qspi leds
140 let latch = 1, latch = 0
150 let cmd = 0
160 i2c start 0x48
170 i2c write cmd
180 i2c read rsp
190 i2c stop
200 let temp = rsp[0]
240 endwhile
end

And finally here is the concept video:

Categories: Uncategorized

MEA10732 – Poster

November 16, 2010 Leave a comment

This is our poster for a tactile bracelet:

Categories: mea10732, Uncategorized

Individual Assignment: 2D press-fit construction kits [Pen Holder]

October 4, 2010 Leave a comment

For this assignment, I have chosen to design a pen holder and make use of plexiglass (0.5 mm) as the main materiale. I began the process by sketching some different pen holder models:

After this I picked out the model I liked best (nr.4) and started to design the individual parts (including the measurements) for the chosen model:

Now that I have designed the individual parts of the pen holder. I decided to make a prototype of it, in order to get a better feeling of the overall design and to see if the measurements of the individual parts were appropriated as well:

After some adjustments in the measurements of the individuals parts. I draw this project in Adobe Illustrator CS 5 and exported it to AutoCAD:

Finally the pen holder was ready to be cut out with help from the lasercutter and the right settings in AutoCAD. Here is the final result:

Categories: Uncategorized