RC India
Welcome Guest, please login or register.
 
Pages: [1]   Go Down
0 Members and 1 Guest are viewing this topic. Topic Tools Topic Tools 
Read
« on: March 12, 2015, 05:16:40 PM »
Himadri Roy
Plane Lover
Forum Hero

*****

Reputation Power: 12 
Himadri Roy has no influence.
Offline Offline

City: Navi mumbai
State: Maharashtra
RC Skills: Intermediate
Posts: 969
Join Date: Jan, 2015




This tutorial was originally posted By :Oscar Liang
http://blog.oscarliang.net/flash-esc-simonk-firmware-arduino-without-usbasp/

I had couple of HK F-30A laying around and decided to flash those with SimonK...but i dint have a USBAsp ( Sad my bad!) Buy hey after seeing the pinout of the esc(RST,5V,GND,MOSI,ISO,SCK[all available on Arduino]) i decide to do it with arduino

http://i1380.photobucket.com/albums/ah197/Himadriroy1997/IMG_20150312_160739_zpsoptr4fs4.jpg
Flashing ESC with arduino
[/url]

Things required: Arduino Uno(i used this only the pins would vary with different boards), DIY wire clamp
1)Cut the shrink wrap like this
http://i1380.photobucket.com/albums/ah197/Himadriroy1997/IMG_20150312_160951_zpsrxqj06bw.jpg
Flashing ESC with arduino

http://i1380.photobucket.com/albums/ah197/Himadriroy1997/IMG_20150312_160710_zpsicxjqupc.jpg
Flashing ESC with arduino


2)Here's a photo of the DIY wire clamp i made using some clips and coloured wire
http://i1380.photobucket.com/albums/ah197/Himadriroy1997/IMG_20150312_160650_zpsidvrjpkn.jpg
Flashing ESC with arduino

I will let this upto you use your imagination to make this.. Wink
Logged

For once you have tasted flight you will walk the earth with eyes skywards for there you have been and there you will long to return
- Leonardo Da Vinci

https://www.youtube.com/himadrifpv
 

Read
« Reply #1 on: March 12, 2015, 06:32:31 PM »
Himadri Roy
Plane Lover
Forum Hero

*****

Reputation Power: 12 
Himadri Roy has no influence.
Offline Offline

City: Navi mumbai
State: Maharashtra
RC Skills: Intermediate
Posts: 969
Join Date: Jan, 2015



3)Prepare the Arduino..upload Arduino ISP code from examples in Arduino IDE to the board

4)Connect the wire clamp to Arduino

SCK->13
MISO->12
MOSI->11
RESET->10

http://i1380.photobucket.com/albums/ah197/Himadriroy1997/IMG_20150312_161216_zpsgagc2tai.jpg
Flashing ESC with arduino



5)Download the following softwares
Flashing tool: KKMulticopter Flashtool(http://lazyzero.de/en/modellbau/kkmulticopterflashtool)
SimonK Firmware Download: https://github.com/sim-/tgy/downloads (just get the latest one)

6)Unzip the flashing tool files into C or D drive in a folder name "flash"
Unzip the Flashing files into C or D drive in a folder name "esc"

7)Connect the clamp to esc
http://i1380.photobucket.com/albums/ah197/Himadriroy1997/IMG_20150311_153415_zpshs3j3kq0.jpg
Flashing ESC with arduino



8)In command prompt write the following code(replace the com value with your Arduino's COM port and the drive with which you're using)

C:\flash\lib\avrdude\windows\avrdude.exe -P COM10 -b 19200 -c arduino -p m8  -v -e -U flash:w:"C:\esc\bs_nfet.hex":i

9)Before hitting enter hold your esc so to prevent any error(don't panic if you get an error. you haven't fried the ESC just redo the connections again)

http://i1380.photobucket.com/albums/ah197/Himadriroy1997/IMG_20150312_162229_zps2jfxqx1e.jpg
Flashing ESC with arduino


10)After few seconds you should get the following output
http://i1380.photobucket.com/albums/ah197/Himadriroy1997/IMG_20150312_163533_zpstzkfwyid.jpg
Flashing ESC with arduino

http://i1380.photobucket.com/albums/ah197/Himadriroy1997/IMG_20150312_163545_zpshhunskwz.jpg
Flashing ESC with arduino


Congratulations you have your SimonK ESC...don't forget to test it..you should notice the quick response and higher resolution of change of speed...
The ESC now runs cooler and huge performance change and no more irritating beeps when the throttle is idle

Don't connect the power line in reverse polarity you will surely burn the MCU
If you get any errors check you connections..
I would recommend scratching the pads lightly to remove the flux(worked for me! Grin)and then flashing
Try to keep your hands steady while flashing!
Any Good Luck flashing ESC!  Grin
Logged

For once you have tasted flight you will walk the earth with eyes skywards for there you have been and there you will long to return
- Leonardo Da Vinci

https://www.youtube.com/himadrifpv
 

Read
« Reply #2 on: March 12, 2015, 06:35:18 PM »
Himadri Roy
Plane Lover
Forum Hero

*****

Reputation Power: 12 
Himadri Roy has no influence.
Offline Offline

City: Navi mumbai
State: Maharashtra
RC Skills: Intermediate
Posts: 969
Join Date: Jan, 2015



This will also work for F-20A ESC
Logged

For once you have tasted flight you will walk the earth with eyes skywards for there you have been and there you will long to return
- Leonardo Da Vinci

https://www.youtube.com/himadrifpv
 

Read
« Reply #3 on: March 13, 2015, 11:38:05 AM »
miginstruments
Plane Lover
Forum Hero
*****

Reputation Power: 8 
miginstruments has no influence.
Offline Offline

City: Bangalore
State: Karnataka
RC Skills: Beginner
Posts: 705
Join Date: Feb, 2014



Hello sir I was trying to upgrade my kk board to the latest firmware using arduino, but dint succeeded. can you help me out in this regard.
Logged
 

Read
« Reply #4 on: March 13, 2015, 11:39:33 AM »
Himadri Roy
Plane Lover
Forum Hero

*****

Reputation Power: 12 
Himadri Roy has no influence.
Offline Offline

City: Navi mumbai
State: Maharashtra
RC Skills: Intermediate
Posts: 969
Join Date: Jan, 2015



Please no 'Sir' formality i'm only 17...what error are you getting? which kk your using kk2.0 or kk2.1?
Logged

For once you have tasted flight you will walk the earth with eyes skywards for there you have been and there you will long to return
- Leonardo Da Vinci

https://www.youtube.com/himadrifpv
 

Read
« Reply #5 on: March 13, 2015, 11:45:35 AM »
miginstruments
Plane Lover
Forum Hero
*****

Reputation Power: 8 
miginstruments has no influence.
Offline Offline

City: Bangalore
State: Karnataka
RC Skills: Beginner
Posts: 705
Join Date: Feb, 2014



don't no what error it is, I did it last month so don't remember what error it was. ll give a try again n let you know.
Logged
 

Pages: [1]   Go Up
Jump to:  

Related Topics
Subject Started by Replies Views Last post
30 Arduino Projects Evil Genius:- Great book to start Arduino Projects
Multirotors
rcpilotacro 5 9100 Last post July 05, 2012, 10:23:44 AM
by xxkrishxx
kkmulticopter flashing jig
For Sale - Completed
paladugu_sujith 0 1852 Last post October 22, 2012, 05:06:34 PM
by paladugu_sujith
FS9x Flashing
Radios and Receivers
docnayeem 5 3091 Last post January 02, 2014, 12:07:51 PM
by docnayeem
Q Brain Esc Flashing...
Multirotors
Nehutech 2 6100 Last post January 10, 2014, 01:59:13 PM
by devangflyer
free service of flashing the ESC's firmware
Multirotors
cyromanish 0 1396 Last post June 19, 2016, 12:30:54 AM
by cyromanish