|Apr 21, 2012, 09:12 PM|
Joined Apr 2012
Help with HobbyKing Multi-Rotor Control Board V2.1 (Atmega168PA)
I am building a quadrocopter using a HobbyKing Multi-Rotor Control Board V2.1 (Atmega168PA) and a USBasp AVR Programming Device for ATMEL proccessors for the electronics. I read the manual but I am still confused on how to program the control board and how to get the right firmware. Like is the firmware already on the control board or must I download it?
|Apr 21, 2012, 09:24 PM|
Joined Dec 2010
It already has firmware on it, preloaded for Quad+ flying.
Download and read the manual from HK (click files tab).
It explains how to set it up.
You can also fly Quad+ in QuadX if your transmitter supports delta mixing.
So unless you need a mixer other than Quad or have some particular firmware you want to load (doesn't sound like it), you can just stay with what's preloaded.
|Apr 21, 2012, 10:17 PM|
It has the + configuration firmware installed by default, but that's not the configuration I wanted personally. I just spend the last two days trying to get the programming to work myself.
First off, you'll need the driver for the programmer
The easiest way to flash firmware to the board is lazyzero's flash tool
I'm using Windows 7 64bit, and the latest beta v.60 is working well so far for me
Regardless of what version you use, you need to be sure that you have the Java platform installed on your machine since the tool itself is a Java based program. If you're using a 64bit version of Windows, this is extremely important, as by default when you try to install Java from the web, it installs the 32bit version. You'll more than likely have to install the 64bit version manually.
Once you have the flash tool .zip file downloaded, extract the contents into a folder. To launch the tool, simply double click on kkMulticopterFlashTool (the executable file, not the jar file). A command prompt window will open momentarily as the tool loads, then the tool itself will open.
From there, just select the correct programmer in the top drop down box ("usbasp (USBasp, http://www.fischl.de/usbasp/)"). Then select your board in the controller drop down box ("HobbyKing Quadcopter Control Board V2/V2.1 (16kb flash)"). Lastly, choose the firmware you want to flash in the drop down box that by default says "all firmware types". The box will populate with only firmware types that will work with the board, so there's no choosing one that simply wont work at all with your board (which is nice). In that drop down box, select "XCopter", and then you can select what firmware variation you want to use in the "firmware" drop down box (v4.7 being the most popular). You can view the technical info of each firmware before flashing just by selecting the firmware and then clicking on the round blue info button to the right of the firmware selection drop down box.
Once you've got the firmware you want to flash selected, make sure our programmer is plugged into your PC and the drivers are properly installed and the USBasp device is showing up in the device manager (the programmer will have a green LED lit when connected), and make sure the cable between the programmer and the board is plugged in correctly on the control board (when plugged in, the cable/ribbon should face towards the vertical PCB that holds the yaw gyro. the board's LED will flash once momentarily when connected to the programmer that's connected to the PC), and then click the round green button to the far right of the firmware selection drop down box to flash the firmware to the board.
During programming, the red LED will be lit on the programmer while you'll see the flash tool working and showing progress on your PC screen. Once the writing is done, the control board's red LED will flash once to confirm the write, and the controller's green LED will come back on, and only then is it safe to unplug everything from the controller.
|Category||Thread||Thread Starter||Forum||Replies||Last Post|
|Discussion||!!NEW!! HobbyKing Multi-Rotor Control Board V3.0||ishaan65||Multirotor Talk||8||Jul 25, 2012 05:36 AM|
|Question||Quad Build Using HobbyKing Multi-Rotor Control Board V3.0 (Atmega328 PA)||SJackson||Multirotor Talk||27||Apr 30, 2012 09:51 PM|
|Discussion||Hobbyking Quadcopter control board V2.1 for $12.34||hallstudio||Multirotor Talk||12||Feb 08, 2012 08:57 PM|
|Question||Connect the ESC to the KK Board V2.1 (Atmega168PA)||Flying Barry||Multirotor Talk||3||Jan 24, 2012 02:03 PM|
|For Sale||HobbyKing Quadcopter Control Board V2.1 (Atmega168PA)||Chad2323||Aircraft - Electric - Multirotor (FS/W)||0||Jan 13, 2012 09:52 PM|