So your thinking about building a multirotor of your own? Good it's alot of fun, but requires a lot of research and some skills, as in you should have moved away from the protoboards and blinking led sketches. But don't be scared by that once you understand how all of the stuff in this field works then moving a step higher you can always rely on the steps you have been thorough already. With that i seriously suggest you to go find only the bare minimum in under 200 dollars euros, to get flying with your first quad. And i mean Quadcopter, because it really is the simplest. But don't count the transmitter in that price, that one is with you for the longhaul.
Quick suggestions what to get or have before getting anything multirotor related.
A good MULTIMETER that has instant continuity, volts, amps, diode function and good set of leads-crocodiles and sharp pointy ones (preferably sub 1mm or equivalent diameter).
Atmega programmer USBASP or equivalent will do, if your ready for some googling and failures.
Usb-FTDI adapter. You will not believe how much this will help you out in troubelshooting, firmware updates, etc. Preferably 3.3V variant.
Soldering iron, atleast 60w heating element, tips should be exchangeable, temperature-controllable. Most parts are made in the great land of China so be prepared to spend a few hours with troubleshooting with a multimeter and after that fixing some solderjoints so a small tip is a must. Also solder-wick, good solder (i have great experience with stannol brand), solder gel should be close-by.
A selection of wires in different sizes, pliers needlenose and regular. Selection of miniature screwdrivers flat, philips, torx and hex. Medium strength loctice threadsealant. Box cutter or exacto knife, drill with different types of small drillbits 2mm 2.5mm and so on. Tapping equipment in the same small measures. Most of the time you will meed M2 M3 M4 (sizes of bolt shafts) bolts, washers, nuts and grubscrews. M3 grubscrews i reccoment buying in bulk you will go through them in the bucketloads.
And as you can see we still haven't gotten to anything multirotor related yet. And in this break in your concentration i will try to apologize somewhat, because it looks like i am rambling quite a bit, but i wish that you will have a better start in the hobby than i have had. I sort of just went with mi vision of things, but it was totally unexpected to how complicated and how quick it will become at first.
Showing posts with label Arduino. Show all posts
Showing posts with label Arduino. Show all posts
Tuesday, February 10, 2015
Wednesday, February 4, 2015
Multirotors and Atmega
It came as a surprise to me that atmel processors are used in rc multicopters. There are purpose built boards for this kind of a hobby. There are mainly 3 different trees evolved in this scene
1st ardupilot (APM) a mega2560 based board, basically a arduino mega with barometric, acceleration and gyro sensors built in, as of 2.7 version boards lacking a magnetometer which is put in a GPS add on. Its regarded as a goto board for GPS functionality. It has a separate windows GUI mission planner. Board has special connectors builtin for connecting gps , power sensors speed sensors and almost everything else you can imagine to add to your flying apparatus. Its very easy to upgrade just go online in GUI and press a button. Downside is that its relatively expensive, bulky and fine tuning is a bit cumbersome. As of now it has evolved from 8bit Atmega controllers to 32bit St chipset, board is codenamed PixHawk or PIX for short.
2nd Multiwii. Basically its like a proprietary mega or 328 board. Everything applies except updating from mission planner. But for the price its a lot better. Coming from an arduino background you should go this route. You don't need to buy a multiwii board. A regular arduino will do. Go to eBay and acquire some sensors, Velcro tape or a glue gun and you're set. Code is open and developed on a daily basis. Also its much easier to add your own code to it. Code is all commented and easy to understand and modify.
3rd are proprietary 3rd party flight controllers for example-32bit CC3d, KK board series (latest 2,1), built-in types, where the board is a part of the frame. They arent that common but they have quite a following most of the time, for example there are some enthusiast who will bash whatever choice of FC(flightcontroller) you have as long as it isn't a KK board.
All of the ESC(Electronic speed controller)-s that i have come across have been controlled by Atmega8 series processors. They are used to make DC voltage into AC that controls the brushless motors on the multirotor. Atmega is used for getting the information from the FC and after that to control the RPM of the motor that it's connected to. All of the main calculations as to hoq fast every motor has to is done by the FC. ESC is just a dumb device that gets a signal and makes the propellers go zoom.
Today I disected a Ublox 6M Gps receiver, and it too had an Atmega chip as a supplementary communications platform.
Labels:
accelerometer,
apm,
Arduino,
ardupilot,
atmega,
control,
data,
gryro,
i2c,
megapirate,
microcontroller,
motion,
motor,
mpu6050,
multiwii,
mwc multiwii flightcontroller quad rotor multirotor
Tuesday, March 11, 2014
Arduino 4x20 LCD and 2 inputs comparator
//4x20 LCD, 2 sensors in A0 and A1 compare them and output to the LCD // include the library code: #include <LiquidCrystal.h> // initialize the library liquidcrystal.h with the numbers of the interface pins LiquidCrystal lcd(12, 11, 5, 4, 3, 2); int sensorPin1 = A0; // defines input pin int sensorValue1 = 0; // make a varianle sensorValue int sensorPin2 = A1; int sensorValue2 = 0; void setup() { // set up the LCD's number of columns and rows: lcd.begin(20, 4); } void loop() { sensorValue1 = analogRead(sensorPin1); // get the value of sensor 1 sensorValue2 = analogRead(sensorPin2); // get valur for sensor 2 lcd.setCursor(0, 0); // Set cursor to top left lcd.print(sensorValue1); lcd.setCursor(0, 1); lcd.print(sensorValue2); if (sensorValue1 < sensorValue2){ lcd.setCursor(0, 2); lcd.print("1 is higher than 2"); } else{ lcd.setCursor(0, 3); lcd.print("2 is higher than 1"); } delay(200); lcd.clear(); }
Labels:
20x4,
Arduino,
data,
description,
detect,
detection,
lcd,
learning,
microcontroller,
output,
sensing,
sensor
Sunday, February 2, 2014
Max7219 and a LED matrix with Arduino, blinking LED-s the hard way
![]() |
| DIY led matrix |
![]() |
| DIY 7805 PSU |
So mi first attempt. To replicate or try it for yourself you need.
- Soldering iron
- 30 LED-s
- MAX7219 IC
- 7805 Voltage regulator
- 10 uF and 100 uF capacitors
- jumper wires
Labels:
5v,
7219,
7805,
Arduino,
blinking,
data,
description,
getting started,
graphics,
learning,
LED,
max7219,
microcontroller,
PSU,
screen,
sending,
soldering
Wednesday, January 22, 2014
Wireless 433mHz with Arduino, hitting the radiowaves
![]() |
| 433mHz sender unit(left) and receiver unit (right) |
Labels:
433mhz,
Arduino,
control,
data,
description,
detect,
io,
microcontroller,
output,
receiver,
sending,
transceiver,
transmitter,
wireless
ACS712 30A interface with Arduino, measuring power usage
![]() |
| ACS712 30A sensor |
LCD and Arduino, getting readable output
![]() |
| 16x2 on the top and 20x4 LCD on the bottom |
MPU-6050 and Arduino, sensing board movement
![]() |
| MPU-6050 sensor board |
Labels:
6050,
accelerometer,
Arduino,
control,
electronics,
gryro,
gyroscope,
i2c,
motion,
motion sensing,
MPU-6050,
mpu6050,
sensing
Monday, January 20, 2014
ULN2003 and Arduino, steppermotor control
![]() |
| ULN2003 and stepper motor 5V |
First impressions for this set is that you get what you pay for. The ULN2003AN is a Texas Instruments DIP chip. Circuitboard measures 32mm in width and 35mm in length. Chip is seated on a socket so if there are any complications, as in the magic white smoke leaking out, you can replace the chip. All of the board is a full through hole design so again if anything misbehaves just replace it. Soldering job is adequate for this kind of cheap-o standard. One solderbridge but that's the only thing that's amiss.
The Stepper motor supplied has the markings a 28BYJ-48, so it has 4 phases 8 beats. With internal gearing in 1:64. It's rated at 5V DC. Motor-s diameter is 28mm. And is supplied with 20cm wires.On the sides it has two mounting holes for screws, rivets or anything else you can think of for mounting.
Code for testing
What is Arduino
Arduino is a tool for making computers that can sense and control more of the physical world than your desktop computer. It's an open-source physical computing platform based on a simple microcontroller board, and a development environment for writing software for the board (as said by the developers of Arduino).
In all things combined it's the next best thing since the computers were invented. Anything you can imagine you can develop with it, and if you want to go to masses you can always strip it and use the Atmega microcontroller.
Okay there are a few defects, mainly no integrated graphics department. But there are workarounds for that, although not as powerful that there should be but still it's a possibility.
In mi opinion why it's the next best thing is because it's popularity has skyrocketed. Because of that there are endless add-ons for it. That's why I said you can do everything with it, and so much has already been done by the community. Also the community who can argue with that. If you could ever get in some kind of trouble, there is always someone who can help you.
![]() |
| Cheapest arduino choices |
In all things combined it's the next best thing since the computers were invented. Anything you can imagine you can develop with it, and if you want to go to masses you can always strip it and use the Atmega microcontroller.
Okay there are a few defects, mainly no integrated graphics department. But there are workarounds for that, although not as powerful that there should be but still it's a possibility.
In mi opinion why it's the next best thing is because it's popularity has skyrocketed. Because of that there are endless add-ons for it. That's why I said you can do everything with it, and so much has already been done by the community. Also the community who can argue with that. If you could ever get in some kind of trouble, there is always someone who can help you.
Subscribe to:
Posts (Atom)










