Allgemein @en

Arduino UNO R3

Unit 20 – My digital pet 2/2

Let’s program our digital pet. It’s still a way to go. We have to teach the digital pet some things. It should blink with the eyes (LEDs). It should purr when it’s stroked. It should grumble when it is ignored. … weiterlesen »

Arduino UNO R3

Unit 19 – My digital pet 1/2

Now, we will create our own digital pet. It will have blinking eyes, be able to detect, if you stroke it and it will get impatient when it’s ignore for to long. We can easily make blinking eyes with two … weiterlesen »

Arduino UNO R3

Unit 18 – Touch sensitive instrument

Do you know, that your body also conducts electricity? The resistance of your skin can be used as analog input, too. Let’s use it to build another instrument. Since the human body consists of a lot of water it conducts … weiterlesen »

Unit 16 – One-Button-Piano

Unit 16 – One-Button-Piano

Do you want to build a real musical instrument? Then let’s go! Circuit Used parts 1 2 3 4 5 6 7 8 9 Now, we will create a piano with only one button. The piano should always play a … weiterlesen »

Unit 15 – Array

Unit 15 – Array

The code of the last example is very long. But actually almost the same things are repeated all the time, no? We can do it easier – using the array. An array is a special type of variable. It can not … weiterlesen »

Unit 14 – Melody

Unit 14 – Melody

After so much work we must not forget to celebrate. Therefore, we will need some music! In order to play a tone we have to create an acoustic wave. If you hit a drum the drumhead starts to vibrate. This … weiterlesen »

Unit 11 – The Button

Unit 11 – The Button

So, you come a long way! Was it fun? That is very important. Let’s continue and I show you how to connect and program a button. What is a button? A button can close a circuit when it’s pushed. If … weiterlesen »

Unit 10 – For-Loop and the LED calculator

Unit 10 – For-Loop and the LED calculator

A great thing in programming are loops like the for-loop. It repeats tasks like blinking an LED a specific number. The for-loop is repeated for a specific number. It looks like that: for (StartValue; Test; FollowUp){ } We can simply … weiterlesen »

Unit 9 – Variables!

Unit 9 – Variables!

A very important thing in programming are variables. I guess you already know it from math class. If you say x=10 it means that everywhere x can be replaced by 10. Thing of variables as little boxes or containers in … weiterlesen »

Unit 8 – It’s blinking!

Unit 8 – It’s blinking!

Did your LED light up? Good work! Now let’s make it blinking. We can simply use the circuit of unit 7. To make a LED blinking we need to switch it on and off. You already switched it on using … weiterlesen »

Unit 7 – Digital Out: Finally we start!

Unit 7 – Digital Out: Finally we start!

Did you build the circuit from Unit 6? Perfect! If you already connected the Arduino to the computer plug it out again. Open the Arduino software on your computer and let’s do two little adjustments. 1 In the menue click … weiterlesen »

Unit 6 – Digital Out Preparation

Unit 6 – Digital Out Preparation

Until now we only used the Arduino as power source. Now it is time to program something, right? Used Parts Build the following circuit. (You can reassemble the one of Unit 4). Circuit 1 2 3 4 5 Like in … weiterlesen »

Unit 5 – The Breadboard

Unit 5 – The Breadboard

You already used the breadboard but we totally forgot to talk about it. We can use a breadboard (protoboard) to connect electrical components. Inside the breadboard are metal clamps. Since metal conducts electricity, components in the same clamps are connected. … weiterlesen »

Unit 4 – Our first Circuit

Unit 4 – Our first Circuit

But now let’s really build something. Take two LEDs, two long patch cables, a resistor, the breadboard and the Arduino and build the following circuit. Circuit Used Parts 1 2 3 4 If you now connect the Arduino with your … weiterlesen »

Unit 3 – Circuit

Unit 3 – Circuit

Current always flows from plus pole to minus pole. You already know that from batteries. They’ve got a plus and a minus side. If you put batteries for instance into a flashlight it lights up. But that will only happen … weiterlesen »

Unit 2 – The Arduino

Unit 2 – The Arduino

Now, I’m gonna show you the Arduino. That is a pretty decent thing. The Arduino-Board is like a small computer. We can programm it and attach a huge number of electronic components, for instance LEDs, motors, buttons and sensors. Now, … weiterlesen »

Unit 1 – Preparation

Unit 1 – Preparation

Oh there you are. Perfect! At first, we have to get the Arduino software. We will use it to program the Arduino. In the next unit I will explain what that is. You are probably used to install computer software. … weiterlesen »