March 26, 2014
Arduino, Brainstorming, Day 2, WiSe2013/2014
The day started with Arduino. It is the heart of our projects. With Arduino we can control lamps, movements and much more. This is possible through a programming interface on the notebook. It is a mixture of programming with C or Java. Afterwards the notebook transfers the final function to the Arduino. After we examined a few examples from Arduino Playground the first function we tried to control was to let a lamp blink. It was our first feeling of success with Arduino. The rest of the morning we made experiences with Potentiometer and Servo.
After the break we got our topic for the final projects. The topic is “Gute Miene, Böses Spiel(zeug)”. In the afternoon we had time to do a brainstorming. So, each group thought about an appropriate project to do. Here are the following findings:
The name of group one’s project is ‘Rescute’. It is about a teddy bear wich turns out to be a life safer. In this teddy bear several functions will help persons to safe their life from attackers. First step of defense will be barking sound. The next one will be blue light and noise of the police which comes out of the bears’ head. When the attacker is not yet scared the next step will be pepperspray which comes out of the teddy bear’s mouth. Optional the last step would be an emergency call to the police. The teddy bear will be small and fits in each bag.
The centric toy of group two’s project is the toy railway. On this railway there are several balls loaded. When the single trains get connected to a railway it starts. After a few meters the balls will start to fall apart and jump around.
Group three uses a teddy bear as well for their project. The sense is to connect two persons which have a long-distance relationship. The teddy bear has a blinking heart on it and the lover’s fragrance bottle in it. Every time one person receive an email from the other one the bear’s heart will blink. Additionally, fragrance bottle starts to spray. By clicking on the off button the functions will stop.
Looping Louie is the chosen toy from group four. It is called “grantiger Alois”. The sense is to attack one special player and to spare the others. This is achieved by using high sensors, a regulated motor, position and hit detection.
Group five will work with the ball labyrinth. By inverting axes, attaching a latency, a vibration, magnetics to deflect the ball or moving walls the game will be manipulated.
Group six has still two options not sure which one to take. The first option is to manipulate a polaroid camera. When someone takes a photo there will be ghosts in the background of photo or the camera won’t take a picture and instead makes crazy other things like pup sounds. The second option is the mole game known from amusement parks. Normally you have to hit these moles with an hammer. Group six wants to come out a hammer from the mole’s mouth to hit the player.
August 4, 2013
Arduino, Day 2, SoSe2013
The day started with an introduction to the Arduino and it’s playground. Arduino is a microcontroller based on the ATmega328. It has 14 digital I/O pins, 6 of them can be used for pulse width modulation, and 6 are analog inputs. The theoretical introduction gave already a hint, that we will have a lot of fun with the Arduino in the next days.
It turned out to be true – we learned how to let a LED blink, what the pulse width modulation is and played around with potentiometer, RGB LEDs, Servomotors and Buttons. Most errors were caused by encoding the wrong pin, using a too high resistor or a loose contact between the components.
After our first experiences with Arduino we were taught how to read a data sheet and how to test our plugged components. Useful tools are the circuit simulator and the circuit lab. Fritzing is useful to document the own work. Now, the real fun could start. We got many sensors to play with – light sensors, a piezo sensor, a temperature sensor (fortunately we could use the hairdryer of a student to test the sensor), a motion sensor and a proximity sensor.
Since it was very hot in the room, we were very happy when we got some actuators to use. First thing builded from some teams was a propeller against the heat. However, we also got other motors to use like e.g. a vibration motor and we played with magnets and a solenoid. The piezo element which can be used as a sensor or an actuator was mostly used to make music with, especially the song “Happy Birthday” were played quite often.
Having the necessary background to start our own project, our advisors introduced us to our theme “Reuse, Reduce, Recycle”. In particular, it means to upcycle old objects and give them a new functionality.
August 7, 2012
Arduino, Day 2
After diving into the world of moving electrons on day 1, the second day was dominated by exploring the “heart and soul” of Sketching with Hardware, the Italian-made microcontroller Arduino. With it´s easy to use programm-interface and broad community it is the perfect tool to support the implementation of our project-ideas. After clarifying the basics it was time to play around with sensors, servo-motors, transistors and LEDs. Lessons learned: Nothing is impossible, every idea has the potential to become an interactive reality!
The weekend is reserved to generate ideas for our projects, so now it was time for Sebastian and Hendrik to present the topic: This time the overarching theme is “Outdoor”, which is divided into “Traps”, “Distance” and “Energy Awareness”. Sounds fun!
March 9, 2012
Arduino, Day 2
The second day of the Sketching with Hardware course was dominated by the microcontroller “Arduino”. First, the advisor gave us an overview of the open-source project and the community around the Italian microcontroller. After a short introduction to the structure of the “Arduino” with its input and output pins we proceeded to install the required software on our computers. Once this was done we set out to test first simple examples. When all groups had a unit up and running, we could deal with more complex circuits.
Testing the particular examples was very practical. First, the advisors explained the circuits and their subtleties based on schematic drawings then each group could deal independently with the implementation. Input and output possibilities where covered. This included simple circuits with toggle switches which turned on and off an LED or more elaborate designs, which controlled the vibration velocity of a vibration motor with a variable resistor (potentiometer). The emphasis was on digital-read, analog-read and analog-write concepts.
Often, we were free to use any sensor to implement a particular principle which was fun to us and ensured that we understood the concepts and developed creative designs.
Towards the end of the day, the theme of the project week “Bionic” was presented. Some videos were used to further illustrate it. We were asked to gather ideas over the weekend which we would like to develop during next week.
October 11, 2011
Arduino, Day 2
(No, not the card game.)
The Arduino Board
The possibly most important component in this practical course was introduced on the second day: The arduino uno (and its hard-to-pronounce relatives). We started to get to know our new companion with several basic installments, the first of which was a blinking LED, which is the hardware equivalent to the famous “hello world”. After that, we gradually added more components, like buttons or a potentiometer. Parallel to the physical tinkering, we also learned how to tell the board logically what to do, i. e. the software-side of things.
Input with Sensors
To communicate with the arduino board in other ways than with buttons or the potentionmeter, several sensors proved to be beneficial. We learned about which types of sensors exist and instantly deployed some first experiments with them, e. g. with temperature, distance, magnetic presence or pressure.
Using a pressure sensor
Feedback with Actors
Actors complement the set of hardware utilities and allow the microcontroller to react to the (human) input. Apart from the classical LEDs, we also played around with servos, pushing-cylinders, vibration and an analogue number display. Some of these parts required more power than the arduino itself could offer, so we also learned how to apply transistors to create a basic control circuit. This then allowed us to use an external power supply.
Day number two has brought us valuable understanding of the various input and output methods, and – most importantly – how to apply these sensors and actors to the microcontroller. We also went our first steps with the arduino programming environment. Hopefully, we’re now ready to develop some great ideas to assemble our new hardware equipment and knowledge creatively!
March 11, 2011
Day 2, Theoretical
Day 2 starts with some circuit diagram exercises. Every task starts with a sketch of a circuit diagram and has to be translated to a real implementation on a bread board. The following diagrams were made with the fritzing software that can be found at http://fritzing.org
For the first implementation we use a red LED, a resistor, a button, a transistor and a power source. The transistor has three inlets: gate source and drain. The drain and source are connected to the first circuit that also contains the resistor and the LED, the gate inlet is connected to the button. If the button is pressed, the second circuit is closed and the gate inlet of the transistor gets a signal: the LED lights up.
With the previous setup the LED stays on as the electric charge can not drain. To avoid that the LED stays on after pressing the button we therefore have to add a pull-down-resistor from the button to the ground.
The second setup uses a IC timer, a LED, a resistor, two capacitors and a potentiometer (containing two variable resistors). The aim of the implementation is to let the LED blink in a frequency that can be regulated with the potentiometer. For the realization we use the LMC 555 SNC IC timer and description of the related datasheet (see “How to read a data sheet” post).