With today's short blog, there are only 21 days left until December 24th. and what is behind door no. 3? We don't want to reveal that at this point, but with this component you will take one step more into the world of micro controllers, sensors, actuators and programming.
Today the topic should be what you have to do to use the component behind door no. 3 and also implement the first example. First of all, it should be said here that these instructions are aimed at our customers with a Windows operating system.
So that you can implement this short blog, you need the following:
- Surprise behind door no. 3: microcontroller board with USB cable
- USB 2.0 - connector type A to type B
- Arduino IDE in the latest version, see https://www.arduino.cc/en/software
The installation of the Arduino IDE
In order to implement your projects on an Arduino or ESP today and later, you need the Arduino IDE. This is the programming environment with which you write your code and transfer it to the micro controller. The name IDE = Integrated Development Environment already indicates that this is not all you can do with the IDE. But that shouldn't be part of this short blog.
Download the Arduino IDE from the homepage mentioned above, depending on your internet connection, the download can take 112MB. After a successful download, install the program on your PC or laptop.
Now start the Arduino IDE via the shortcut on your desktop or via the start menu.
Figure 1: Shortcut Arduino IDE
Immediately after opening the Arduino IDE, you will be shown a default program, see Figure 2. These are the two required functions setup () to carry out basic initialization of I / Os or other hardware and loop (), which serves as the entry point for your program and is processed cyclically over and over again.
Figure 2: Arduino IDE after starting
Now connect the component from door no. 3 to the PC using the USB cable. Select Tool -> Board -> Arduino AVR Boards -> Arduino Uno, see Figure 3.
Illustration 3: Select board
In the next step, select the correct COM port so that you can transfer the code to the end device later, see Figure 4.
Illustration 4: Select the COM port for the device
You have now made all the necessary preparations. Now open the example "Blink", which you can find under File -> Examples -> 01.Basics -> Blink, see Figure 5.
Illustration 5: Open code example "Blink"
You can now use the button, see this code Figure 6 red border, the key combination Ctrl + U or via the toolbar Sketch -> Upload, upload.
Illustration 6: Upload the program
In the lower part of the Arduino IDE you should see a success message and an LED should light up cyclically for surprise number 3.
This was a quick start. If you want to learn more about the Arduino IDE, I can only recommend the blog series "Arduino IDE - Programming for Beginners" by the author Andreas Wolter.