Search results

  1. A

    Compiling SimonK ESC Firmware and Reversing the Motor Direction in Software Instead of Hardware

    And there is a whole heap of tweaks that SimonK left in there too that can greatly improve the performance of your ESC if you know what you are doing. I noticed there is a variable for dead time, it is set to a very conservative value (understandably) but if you knew exactly what MOSFETs (or...
  2. A

    Compiling KK2.1 Steveis Firmware from Source Files

    Well, my tests with the props off look really good, raise the quad and it doesn't do anything, lower it and the props start to spin, drop it and the props go crazy trying to stop it from falling. With the props on however it's disastrous, it wants to fly away. All my code is attached if anyone...
  3. A

    Compiling KK2.1 Steveis Firmware from Source Files

    So, here is my attempt at a controlled decent when the Receiver is lost. It's not perfect, it has bugs and I haven't tested it with props on but it looks like it's working. You've been warned... Don't wave your Quad around when it is turning on, for some reason it Arms if it detects it's...
  4. A

    Compiling KK2.1 Steveis Firmware from Source Files

    Yeah I'm first going to test it without props (i.e. arm, turn off Transmitter, pick up quad, slowly lower it to the ground and see if the props spin, raise it hopefully the props stop, put it on the ground hopefully the quad disarms) Then once I'm happy things are working then I'll tie the...
  5. A

    Compiling KK2.1 Steveis Firmware from Source Files

    All my cables into my flight controller are now tied down with zip ties so it's a mission to disconnect anything on my Quad. Just recompiled the menu mod into a hex file, it is attached. My first attempt at a 'controlled crash' is attached too, I do not recommend anyone use it except for...
  6. A

    Compiling KK2.1 Steveis Firmware from Source Files

    lol, no, not that virus... I added some code to detect if the Rx has been lost and it automatically disarms the flight controller. Not overly useful mid flight...
  7. A

    Compiling KK2.1 Steveis Firmware from Source Files

    Ah damn, just realised I left some old test code in the arm.asm file. Best to get the latest Steveis source files and replace the arm.asm file.
  8. A

    Compiling KK2.1 Steveis Firmware from Source Files

    I was thinking along similar lines. It probably wouldn't work in manual mode but stabilised mode would work okay.
  9. A

    Compiling SimonK ESC Firmware and Reversing the Motor Direction in Software Instead of Hardware

    I might do a bit of a word doc instruction with some pics later on.
  10. A

    Compiling SimonK ESC Firmware and Reversing the Motor Direction in Software Instead of Hardware

    I came across this neat trick while building my first quad. Basically instead of going to all the effort of swapping two motor leads you can simply change one bit in the SimonK firmware on your ESC to reverse the motor direction. This is especially useful if you are like me and don't want the...
  11. A

    Compiling KK2.1 Steveis Firmware from Source Files

    I'm not sure how many physical inputs the Atmel chip has, it could be maxed out already. Alternatively it might be possible to do away with the 5th input and use it for serial comms with another Atmega chip like the 2560? Although programming serial comms in Assembly from scratch sounds like a...
  12. A

    Compiling KK2.1 Steveis Firmware from Source Files

    Okay, so adding a menu is trivial, seems it's coded quite well and it's easy enough to follow minus the whole assembler scene... So in the attached project (and .hex file) I have added a reset item to the main menu and you can loop directly from top and bottom of the menu.
  13. A

    Compiling KK2.1 Steveis Firmware from Source Files

    This is a rather minor mod, but it shows it is possible to add functionality to the Steveis Firmware. Using the menu on the KK2.1 gets a bit cumbersome if you want to go back to the top from the bottom of the menu, so I've added a 'loop back to top/bottom' function that allows to user to return...
  14. A

    Compiling KK2.1 Steveis Firmware from Source Files

    Also thanks GJH105775 for all your help up to this point, my quad would still be on the ground without your help!!
  15. A

    Compiling KK2.1 Steveis Firmware from Source Files

    For anyone else interested in compiling the Steveis Pro firmware, in particular KK2V1_1V18S1Pro, so that they can customise things: Install VS2010 and install VS2010 SP1 Download and install Atmel Studio 6.2 (it may ask to update VS2010 again, just do it) Start a new Assembler project, make up...
  16. A

    Problems with First Quad Build, Can't Take Off Without Full Throttle

    Yep it sure can, and you can indeed start a C project for that exact microcontroller in Atmel Studio and generate a horribly formatted assembly file and a '.hex' file. The only drama is the code has been written in assembly so it would need to be painstakingly manually converted to C. While it...
  17. A

    Problems with First Quad Build, Can't Take Off Without Full Throttle

    Will do, I'll put some sort of tutorial there in the next few days. I think I've finally nutted out my mod, I've attached what I've added. Now to test and see if it resets while armed and I turn off my cheap receiver. It should just reset the flight controller and go back into the main menu...
  18. A

    Problems with First Quad Build, Can't Take Off Without Full Throttle

    Okay, getting somewhere now!!! Got VS2010 to compile a .hex file and it matches the one provided in the .zip file, first milestone!!! For anyone else interested in compiling the Steveis Pro firmware, in particular KK2V1_1V18S1Pro : Install VS2010 and install VS2010 SP1 Download and install...
  19. A

    Problems with First Quad Build, Can't Take Off Without Full Throttle

    Out of curiosity, what Transmitter / Receiver do you have? On a side note, I'm slowly getting the Dev Environment ready to compile the Steveis Firmware. You need VS2010 (check) but then you also need some extra SP1 patches, and you need the latest AVR Studio...
  20. A

    Problems with First Quad Build, Can't Take Off Without Full Throttle

    Hmm just looking through the Steveis code. It would be pretty easy to add a "jmp reset" in if armed and has lost the throttle input... I'll think about it some more, I'm thinking modding the Steveis code might be better than a hardware hack.
Top