If you are a programmer ...

Do you know Arduino? Getting started

IDE Arduino

The first step is to understand the programming environment: the Arduino IDE, you can download it from the official website: http://arduino.cc/es/Main/Software.

When you download and install it, brings several examples for you to do some tests. The classic is the one called blink (to make a LED blinks).

You can find a complete reference of the language syntax in the following link: http://arduino.cc/es/Reference/HomePage

 

The bootloader. What is it? Why do I need it?

Actually there is no need for anything but a help. So, the simplicity of this system is that I download the programming environment (IDE Arduino) I install it, connect my device USB, I write my program and send it to the device by simply clicking an option from the IDE, it's that simple.

This is because the device is "waiting" for my program and for doing this, it needs to have a program already loaded which is "the base" on which to run my code.

If I not have a bootloader? Can I to program the board? Yes, of course. But you need an AVR ISP programmer (in system programmer). In this way, I do not send my program choosing an option in the software, I have to compile and send the compiled file to the device via the programmer and with the Atmel software, the AVR Studio, available on the website http://www.atmel.com

Actually the bootloader is another program, when I want, I can send it (the bootloader hex file comes with the Arduino IDE) and I have an Arduino. When I send my program, I have no one Arduino, I have a circuit board with Atmel microcontroller running my program.

 

Winkhel recommended

The advantages of the bootloader are obvious: avobe all very easy to test. But it also has disadvantages: it takes memory and also the board takes time to boot. When the device starts, some outputs are activated and deactivated and it takes a few seconds to start the program sent. It cannot be in this way where we want our device working in a real installation.

Therefore, our recommendation is this: when you are developing your program, send the bootloader and do all the tests you need. When you finish your program, open the AVR Studio and send the compiled file to the device. Thus, we have all the advantages of both systems.

 

Libraries

Because of the success that is having Arduino, many contributions being made by the developer community, so we can find libraries for almost everything, visit the official website to see if one fits your needs: http://arduino.cc /en/Reference/Libraries,and their are open source, you can change them.

 

How can I program winkhel devices?

We have modules that can be connected directly to a PC via a USB cable, as WK0100 or WK0500. With these modules can be tested with the Arduino environment. You can order them in This e-mail address is being protected from spambots. You need JavaScript enabled to view it

For the rest of the devices is also simple, you just need a converter USB - RS485, as all our products have this communications port to make a bus between them.

When you want to send your program without bootloader, no problem, all modules have a connector for an AVR programmer.

Thus, you can use our products like PLCs in real installations, try them!