Learn

MAKE A DONATION TO ROBOPROJECT.IT

On this web site you have the opportunity to take advantage of content released under the GNU / GPL v3 License.
As you know some electronic components used in my projects have a significant cost, so if you feel like giving me the opportunity to continue to invest on these projects, you can make a donation via PayPal! 

Your donation will be used ONLY for the purpose of improving actual or future robotic projects and this website!

THANK YOU!

 

MAKE A DONATION
 Free registration to download the Source Code of the projectsJOIN NOW 

Power (USB / Barrel Jack)

Every Arduino board needs a way to be connected to a power source. The Arduino UNO can be powered from a USB cable coming from your computer or a wall power supply that is terminated in a barrel jack. In the picture the USB connection is labeled (1) and the barrel jack is labeled (2).

The USB connection is also how you will load code onto your Arduino board. 

 

Pins (5V, 3.3V, GND, Analog, Digital, PWM, AREF)
The pins on your Arduino are the places where you connect wires to construct a circuit. They usually have black plastic ‘headers’ that allow you to just plug a wire right into the board. The Arduino has several different kinds of pins, each of which is labeled on the board and used for different functions.

  • GND (3): Short for ‘Ground’. There are several GND pins on the Arduino, any of which can be used to ground your circuit.
  • 5V (4) & 3.3V (5): the 5V pin supplies 5 volts of power, and the 3.3V pin supplies 3.3 volts of power. Most of the simple components used with the Arduino run happily off of 5 or 3.3 volts.

**NOTE: Do NOT use a power supply greater than 20 Volts as you will overpower (and thereby destroy) your Arduino. The recommended voltage for most Arduino models is between 6 and 12 Volts.

The Arduino development environment contains a text editor for writing code, a message area, a text console, a toolbar with buttons for common functions, and a series of menus. It connects to the Arduino hardware to upload programs and communicate with them.

Software written using Arduino are called sketches.

 

 Verify / Compile: checks your code for errors

 Upload: compiles your code and uploads it to Arduino Board

First of all you have to know that QuadCopters (and multirotor in general) are one of the simplest aerial vehicles imaginable. They are not aereodynamic and they are completely unstable, so you need a flight controller to make them fly.

One of the most common and advanced flight controller is APM ArduPilot. Thanks to this small board, with time, patience, basic knowledge of electronics, hard work and some inevitable failures, you will be able to realize a fully autonomous aerial vehicle. 

**NOTE: you can use this board for Planes, Helicopters, Multirotor and Ground Vehicles too. There are also other boards on the market, but in these pages I will deal APM ArduPilot only, because it is the board that I use and I know better. 

 

Thanks to Visual Micro pug-in you can code and work with Arduino on Microsoft Visual Studio. The main advantages are the following:

  • A great IDE to work with every models of Arduino boards
  • Advanced autocomplete functions
  • Advanced real-time debugging

As you probably know, with the Arduino IDE you need to initialize Serial Communication and print on the Serial Monitor the variables to watch what happends inside the Arduino.
With Visual Micro you don't need to write extra code anymore! You only need to press F9 on selected line and you have set a breakpoint. With right-click you can personalize the breackpoint with funtions like "Location", "Condition", "Hit Count", "Filter", "When Hit" and so on.

EXAMPLE
I have 6 LEDs and 2 for-cycles that switch on and off my LEDs. I want to know which values take the temporary variables of my cycles.


With Visual Studio IDE + Visual Micro
VisualMicro_LED_debug_2

 

**The contents offered on this page are extracted from Painless360 YouTube Channel who kindly allowed me to publish his work

 

To fly a multirotor we have to overcome gravity.
The amount of thrust that the motors generates has to be more than gravity to make it rise into the air. For exemple if we have a 1000g multirotor, we need twice the amount of thrust to hover and each motor will have to deliver an element of that thrust. 

Subcategories

  1. Who's Online
  2. Weblinks

We have 35 guests and no members online