Mittwoch, 25. Juni 2014

Further stuff with Arduino

Last lesson we learned about the Arduino Servo motor and several sensors that respond to it.
 


We started to connect the motor to the circuit. Then we used an example code from the Arduino software so that we could control the value of the moving angle. The value must be between 100 and 200! The motor can move from 0 to 180 degree. The little rotation button helped to control the motor. If you turn it, the motor will respond to it (depending on the value that is written in the code). The potentiometer is a simple knob that provides a variable resistance. In addition it has 3 "legs": The middle part is for the data. The ones on the left and right are for power.


We also tried some sounds with another component of the Arduino box. There are several possibilities to play a melody. Of course it is just peeping/frequence but you can say how long and how often it is played. There has to be resistance to the !

In action with movement and sound:






Samstag, 7. Juni 2014

Arduino: Servo

This week we also got a first, short look towards another Arduino component: The Servo motor.

Some first notes:
brown = is the ground
red = plus
orange = data cable

It gets strong power via red. 

Freitag, 6. Juni 2014

More of Arduino

More Arduino stuff! We continued with the Arduino kit. This time we used a RGB light with all 3 colours. We used some resistances to prevent the lights from getting broken. The resistances are inserted on the positive side before the lamp.


To get a white light, all other colours have to be equal (same value). This can be done by the value HIGH or a number between 0 and 255. If you want to use an analog code you have to use a ~ plus plug socket.

The white lamp has 4 sticks. The longest of them is the minus point. The Other 3 are red, green and blue.
Creating combined colours (for example lila or turquoise).
The Code for a diming light.
Part of the code for a changing colour lamp: The value t can be set negative or positive to become darker or brighter.


Mittwoch, 4. Juni 2014

Arduino project inspiration

Last week we started with Arduino, an open-source electronics prototyping platform based on flexible, easy-to-use hardware and software. It's intended for artists, designers and so on. We tried some basics and searched for other exapmles of Arduino projects. Here are 3 examples of what you can do with it:

- A cosplay with LEDs
- More photos of the cosplay

- Arduino clock:


- Coffee Table: