Archive

Archive for November, 2010

Thermometer – using CUI32, Temperature sensor, LED strip & Speaker (Khoa)

November 23, 2010 Leave a comment

For this individual assignment I wanted to enhance the thermometer with the purpose to measure the temperature in the living room. It should give a visual representation of the temperature but also an audible feedback if the temperature is above or below the threshold of the accustomed room temperature. That is, either too hot or cold.

For the implementation I used the CUI32 to communicate with the TMP102 temperature sensor, LED strip capable of outputting RGB colors and a small speaker. While the programming was handled using StickOS. The code is available by clicking here.

Scenario example

The person presses a button on the thermometer which tells it to measure the room temperature. For the actual output the following three scenarios can occur:

  • 1. Assuming that the room temperature is set to be between 20-27ºC, if it is inside this threshold the thermometer will produce no sound while the LEDs will light up a constant green color.

  • 2. If the temperature is below the threshold then the LEDs will start to ‘chase’ and light up a blue color. At the same time a sound is produced. As the temperature gets lower the frequency of the sound and the speed of the LED chase will decrease as well.

  • 3. If the temperature is above the threshold the LEDs will start to chase and light up a red color. A sound is produced as well. As the temperature rises the frequency of the sound and the speed of the LED chase will increase.

Below is a demonstration of the thermometer showing the output more thoroughly.

Categories: Uncategorized

Isabel // Assignment for Advanced Microcontrollers and Wired/Wireless Communications

November 23, 2010 1 comment

For this assignment, I chose the this flash-card pair:

Everyone is familiar with the following scenario.

It’s early in the morning and the alarm goes off. But: one is tired and always tempted to hit the snooze button one more time, not realizing how late it already is.

If only someone turned on the light once the alarm rings the first time…

………………………………………………………………………………………….

I made a prototype using Processing and the LINKM USB smart LED controller: once an alarm goes off, the program will turn the BlinkM LED on. To detect the alarm, the audio input (received by the built-in micophone of my computer)  is  analyzed using the audio library Minim in Processing.

Categories: Uncategorized

Thermometer assignment – Casper & Rene

November 22, 2010 Leave a comment

Hi again guys ! 😉

We have just finished implementing our thermometer code and thought we wanted to share it with you.

As the assignment required, we connected the TMP102 to the CUI along with an LED-strip and a speaker:

On a PC we downloaded the tera-term software and installed the StickOS drivers for windows.

The concept we have implemented is applicable when being on a ski vacation. The CUI is programmed to alert with a red light on the LED-strip and a tone of approx 100hz when the temperature gets below -15 celcius. When it is between -15 and -5 the LED-strip turns yellow and low vibrating tone is emitted from the speaker. Above -5 celcius, there is no alert, so the LED-strip turns green, and the speaker doesn’t make a sound.

Below is a video of how the final implementation works:

And the actual StickOS code:

10 dim i, j
20 dim cmd as byte, rsp[2] as byte
30 dim temp
40 dim freq
50 dim audio as pin rd1 for frequency output
60 dim leds[20] as byte
70 dim latch as pin rg9 for digital output open_drain
80 dim sync as pin rg6 for digital output open_drain
90 let latch = 0, sync = 0, audio = 0
100 while 1 do
110 print temp
120 if temp<=25 then
130 let audio = temp*4
140 for i = 0 to leds#-1
150 let leds[i] = 0x80+0x4
160 next
170 endif
175 if temp>25 && temp <=28 then
180 let audio = temp*1
190 for i = 0 to leds#-1
200 let leds[i] = 0x80+0x5
210 next
220 endif
225 if temp >28 then
230 let audio = 0
240 for i = 0 to leds#-1
250 let leds[i] = 0x80+0x3
260 next
270 endif
280 qspi leds
290 let latch = 1, latch = 0
300 let cmd = 0
310 i2c start 0x48
320 i2c write cmd
330 i2c read rsp
340 let temp = rsp[0]
350 i2c stop
360 endwhile

Note that the temperature intervals has been changed, in order to be able to demonstrate and show the functionality of the concept.

Categories: mea10730

Laser Cutter assignment: Casper Slynge

November 18, 2010 Leave a comment

For my laser cutter assignment I came up with a concept of developing a new type of lego. Instead of lego always before very “square” and “rough”, I thought about how you could make a construction kit that would emit more flow and softness. So I came up with organic lego: Slego (Slynge’s lego 😉

Here’s a blackboard sketch of the concept and design of Slego:

Initially I thought about making my construction kit shaped like cylinders. Below is a picture of my initial design and as you can see, the slego bricks are made in “three dimensions”:

However, when choosing my material for the construction set, I chose to start of with a 3 mm plexiglass, limiting my opportunities of making all intended bricks. I removed those that weren’t possible to make in the laser cutter giving the material I bought and ended with these pieces for my Slego set:

Pictures of my final laser cutted pieces will be uploaded soon.

Categories: mea10730

MEA10732 – Poster

November 16, 2010 Leave a comment

This is our poster for a tactile bracelet:

Categories: mea10732, Uncategorized

Isabel // Temperature Sensor + LEDs + Speaker

November 15, 2010 Leave a comment

For the individual assignment on haptic feedback I connected a TMP102 temperature sensor,  an RGB LED-strip and a speaker to the CUI32 board.

The sensor measures the temperature in the room. Using both haptic and visual feedback the program indicates whether it’s too hot or too cold in the room (assuming a normal room temperature range of 20-29°C).

  • At room temperature, the LEDs light up green and steady. Also, the speaker is not vibrating.

  • If it’s too cold in the room, the LEDs flash blue while the speaker is vibrating.

  • If it’s too hot in the room, the LEDs flash red while the speaker is vibrating.

The video below demonstrates how the prototype works:

 

Scenario:

Having both haptic as well as visual output could help both blind (haptics) and deaf persons (visual+haptics) in their daily life. They could feel and see whether it is too hot or cold immediately and react by adjusting the heater.

Download the StickOS program code.

Categories: Uncategorized

MEA10731 // 3D input devices and haptic feedback poster// eMotion

November 15, 2010 Leave a comment

This is a poster of a motion capture concept. It assumes that the “ideal solution” of 3D input devices discussed on page 12 of the Allosphere survey article (top link) actually exists today.

 


Categories: mea10731

mea10730 Rene Olesen and Casper Slynge Poster (3D input devices and tactile feedback) assignment

November 15, 2010 Leave a comment

This is our finished poster. It is presenting a concept that makes use of tactile feedback to prevent traffic accidents. Should be quite self-explanatory:

– Casper and Rene, group 730

Categories: mea10730

MEA10731 // Interface Prototyping // Wiimote-stand

November 12, 2010 Leave a comment

For our semester project, we are implementing a multitouch gesture based interface using IR tracking. To do so, we chose to work with the Nintendo Wiimote controller which comes with a very good IR-camera, as well as an IR LED array that sends out the light which then is reflected off the users’ fingers (using reflective tape).

To visualize this concept, we made use of Bill Verplank’s interaction design framework:

IDEA: using only your fingers to interact

ERROR: mostly, devices are needed: mice, keyboards etc.

METAPHOR: conductor hands scores to orchestra

SCENARIO: teach Emma (9) about orchestral interplay

MODEL: one-to-many interactions

TASK:

(1) setup IR camera+ LED array

(2) track finger movements (send out IR light & receive finger reflection)

DISPLAY: project onto floor

CONTROL: hover over icons etc.

To set up the Nintendo Wiimote, we need a stand to hold it in place. The following drawings show the iterations of our design:



We added an arm to the original design to stabilize the Wiimote and got rid of the clipping-ends to save material. If we need need even more stabilization, we can drill holes into the sides and strap the Wiimote in with a rubber band.

In 3D Studio Max we made a 3D model of the stand:

We also want to be able to tilt the Wiimote so it can be positioned according to the height of the users. Thus we are mounting the Wiimote-stand onto the top part of a common microphone stand:

To print the model in 3D at a more reasonable price, we devided it into 2 parts (female & male end). That way, we were able to save a lot of support material.

Once assembled, this is what it looks like:

Categories: mea10731

mea10730 Rene Olesen and Casper Slynge Interaction Design Framework assignment

November 5, 2010 Leave a comment

With inspiration from the vast amount of post-it notes/flashcards, we have come up with a concept that improves certain aspects of furniture handling. By using Bill Verplank’s interaction design framework (https://ccrma.stanford.edu/wiki/Interaction_Design_Framework) the various aspects of the concept are clarified.

If some of the writings of these sketches aren’t readable, this is what they say:
Stackable Furniture:
– Idea – Make use of the third dimension
– Metaphor – Building blocks
– Model – Reduce transport time – Predefined assembly
– Display – Recognizable patterns to make it easy to assemble
– Error – Difficult to transport, move and/or store furniture
– Scenario – – John has bought a new apartment – he finds it difficult to transport efficiently
– Task – Cases A and B – 1A Disassemble, 2A Use as regular furniture – 1B Assemble, 2B Transport easily
– Control – 1. Assemble, 2. Transport by sack trolley

The next step was to create a prototype of the concept. For this, we decided to create a model that could be printed by a 3d printer. This was done by using 3d Studio Max. These images show an example of a potential stackable furniture collection:


At the time of writing, the models haven’t yet been printed, but this post will be updated when this happens.

– Casper and Rene, mea10730

Categories: mea10730