9
edits
No edit summary |
No edit summary |
||
Line 16: | Line 16: | ||
My final design is a ball with a diameter of 7cm that is hollow on the inside. It is made from silicone with a very low degree of hardness, so that the material is flexible and stretchable. On one side is a hole that can be used as a mouthpiece and on the other side there is a small smiling face. :) On the inside there is a sensor for barometric pressure, so that the device can keep track of how much air is blown into the ball. The silicone has a mint green to light turquoise color, which was achieved by mixing a very small amount of pigments to the silicone before casting it. | My final design is a ball with a diameter of 7cm that is hollow on the inside. It is made from silicone with a very low degree of hardness, so that the material is flexible and stretchable. On one side is a hole that can be used as a mouthpiece and on the other side there is a small smiling face. :) On the inside there is a sensor for barometric pressure, so that the device can keep track of how much air is blown into the ball. The silicone has a mint green to light turquoise color, which was achieved by mixing a very small amount of pigments to the silicone before casting it. | ||
[[File:photo_2021-03-29_13-41-45.jpg|400px]] | |||
The visual design was inspired by a pufferfish. (s. Encyclopaedia Britannica) The shape is kind of similar to its body, despite the missing spikes. Because the material is stretchy, the input device becomes a little bit bigger when there’s a lot of air in it, kind of like a pufferfish that is puffed up when in danger. | The visual design was inspired by a pufferfish. (s. Encyclopaedia Britannica) The shape is kind of similar to its body, despite the missing spikes. Because the material is stretchy, the input device becomes a little bit bigger when there’s a lot of air in it, kind of like a pufferfish that is puffed up when in danger. | ||
Line 32: | Line 32: | ||
The sensor used to read the barometric pressure is an Adafruit BME280. (s. Adafruit) It can also read temperature and humidity. It is connected to an Arduino Uno. (s. Ardunio) | The sensor used to read the barometric pressure is an Adafruit BME280. (s. Adafruit) It can also read temperature and humidity. It is connected to an Arduino Uno. (s. Ardunio) | ||
[[File:photo_2021-03-29_13-41-49.jpg|400px]] | |||
I used the BME’s example code to read out the barometric pressure, which is given to the Arduino as a float value. In the setup of the Arduino sketch, I compute the current average pressure by taking 10 samples within a second. From now on, the current pressure will be compared to the average, so I can tell how much the pressure has changed. I then map this value to a float between 0 and 255, so it can be used as an analog output for the Ardunio’s analog pins, which then goes to the ILSE’s input. | I used the BME’s example code to read out the barometric pressure, which is given to the Arduino as a float value. In the setup of the Arduino sketch, I compute the current average pressure by taking 10 samples within a second. From now on, the current pressure will be compared to the average, so I can tell how much the pressure has changed. I then map this value to a float between 0 and 255, so it can be used as an analog output for the Ardunio’s analog pins, which then goes to the ILSE’s input. | ||
edits