RC India
Welcome Guest, please login or register.
 
Pages: [1] 2  All   Go Down
0 Members and 1 Guest are viewing this topic. Topic Tools Topic Tools 
Read
« on: April 18, 2016, 04:32:22 PM »
Voice of deaf
Plane Lover
Forum Veteran

****

Reputation Power: 4 
Voice of deaf has no influence.
Offline Offline

State: Rajasthan
RC Skills: Intermediate
Posts: 297
Join Date: Apr, 2016




hi everyone i have 2 atmega 8 mcu.
I want to burn arduino bootloader into it . But the problem is i dont have any usb to ttl/ftdi adapter or any arduino or any serial port i my pc . So how can i burn arduino bootloader in them ?
Logged

Born for FPV, Forced to LOS.
 

Read
« Reply #1 on: April 18, 2016, 05:14:47 PM »
Darshan for multirotors
Well now it flies!!
Heli Lover
Forum Hero
*****

Reputation Power: 11 
Darshan for multirotors has no influence.
Offline Offline

City: Mumbai
State: Maharashtra
RC Skills: Beginner
Posts: 855
Join Date: Feb, 2015



You can use usbasp for burning bootloader. Go to arduino ide and in the tools section click burn bootloader.
It should do the job
Every PC has a serial port...
Logged

put your heart in flying and flying will never leave your heart
 

Read
« Reply #2 on: April 18, 2016, 05:30:12 PM »
Voice of deaf
Plane Lover
Forum Veteran

****

Reputation Power: 4 
Voice of deaf has no influence.
Offline Offline

State: Rajasthan
RC Skills: Intermediate
Posts: 297
Join Date: Apr, 2016



i dont have a usbasp
Logged

Born for FPV, Forced to LOS.
 

Read
« Reply #3 on: April 18, 2016, 05:34:30 PM »
Voice of deaf
Plane Lover
Forum Veteran

****

Reputation Power: 4 
Voice of deaf has no influence.
Offline Offline

State: Rajasthan
RC Skills: Intermediate
Posts: 297
Join Date: Apr, 2016



i have serial port but my tv monitor is plugged into that port
Logged

Born for FPV, Forced to LOS.
 

Read
« Reply #4 on: April 18, 2016, 05:37:42 PM »
a3ruz
Plane Lover
Forum Veteran

****

Reputation Power: 1 
a3ruz has no influence.
Offline Offline

City: Kochin
State: Kerala
RC Skills: Advanced
Posts: 325
Join Date: Jul, 2015


Re:

What ?
Logged

It's all about beging in air
CT6B | HK Bixler | APM | S550 | Tarot XYZ M | Turnigy 9x | Naza M V2 | Phantom 2 | Phantom 4 | Taranis X9D+ | F450 | ZMR250 | Naze | Omnibus | Martian II | Airypix | Airytek | Drone Racers Kerala
 

Read
« Reply #5 on: April 18, 2016, 06:00:26 PM »
Balakrishna Reddy
Plane Lover
Forum Hero
*****

Reputation Power: 8 
Balakrishna Reddy has no influence.
Offline Offline

City: Hyderabad
State: Telangana
RC Skills: Intermediate
Posts: 698
Join Date: Feb, 2015



What else do you have other than atmega8. Do you have any other arduino board or usbasp, serial port(com port 9 pin).
Logged
 

Read
« Reply #6 on: April 18, 2016, 06:07:28 PM »
Voice of deaf
Plane Lover
Forum Veteran

****

Reputation Power: 4 
Voice of deaf has no influence.
Offline Offline

State: Rajasthan
RC Skills: Intermediate
Posts: 297
Join Date: Apr, 2016



sir i dont have a usbasp and i have 2 serial ports on my pc . One is male and one is female . The female is connected to vga monitor and other port is free .
Logged

Born for FPV, Forced to LOS.
 

Read
« Reply #7 on: April 18, 2016, 06:09:18 PM »
Darshan for multirotors
Well now it flies!!
Heli Lover
Forum Hero
*****

Reputation Power: 11 
Darshan for multirotors has no influence.
Offline Offline

City: Mumbai
State: Maharashtra
RC Skills: Beginner
Posts: 855
Join Date: Feb, 2015



If you connect a device to the PC through the usb port, the PC gives it a serial port. Usbasp doesn't have a port.
Logged

put your heart in flying and flying will never leave your heart
 

Read
« Reply #8 on: April 18, 2016, 06:10:17 PM »
Darshan for multirotors
Well now it flies!!
Heli Lover
Forum Hero
*****

Reputation Power: 11 
Darshan for multirotors has no influence.
Offline Offline

City: Mumbai
State: Maharashtra
RC Skills: Beginner
Posts: 855
Join Date: Feb, 2015



You are not understanding the meaning of serial port...
Logged

put your heart in flying and flying will never leave your heart
 

Read
« Reply #9 on: April 18, 2016, 06:15:06 PM »
Voice of deaf
Plane Lover
Forum Veteran

****

Reputation Power: 4 
Voice of deaf has no influence.
Offline Offline

State: Rajasthan
RC Skills: Intermediate
Posts: 297
Join Date: Apr, 2016



so i dont have usbasp nor a arduino etc. I just have a pc and 2 types of atmega8l 1is dip and 1 is smd
Logged

Born for FPV, Forced to LOS.
 

Read
« Reply #10 on: April 18, 2016, 06:21:15 PM »
Darshan for multirotors
Well now it flies!!
Heli Lover
Forum Hero
*****

Reputation Power: 11 
Darshan for multirotors has no influence.
Offline Offline

City: Mumbai
State: Maharashtra
RC Skills: Beginner
Posts: 855
Join Date: Feb, 2015



You will need to buy a usbasp for burning bootloader... What purpose is the board serving?
Logged

put your heart in flying and flying will never leave your heart
 

Read
« Reply #11 on: April 18, 2016, 06:40:53 PM »
Voice of deaf
Plane Lover
Forum Veteran

****

Reputation Power: 4 
Voice of deaf has no influence.
Offline Offline

State: Rajasthan
RC Skills: Intermediate
Posts: 297
Join Date: Apr, 2016



robu.in/product-category/development-board/programmer/
which should i buy ?
Well that chip will be used for making a brushed esc
Logged

Born for FPV, Forced to LOS.
 

Read
« Reply #12 on: April 18, 2016, 06:43:49 PM »
Darshan for multirotors
Well now it flies!!
Heli Lover
Forum Hero
*****

Reputation Power: 11 
Darshan for multirotors has no influence.
Offline Offline

City: Mumbai
State: Maharashtra
RC Skills: Beginner
Posts: 855
Join Date: Feb, 2015



This is usbasp
http://robu.in/product/usbasp-avr-programming-device-for-atmel-proccessors/
Logged

put your heart in flying and flying will never leave your heart
 

Read
« Reply #13 on: April 18, 2016, 06:45:30 PM »
Voice of deaf
Plane Lover
Forum Veteran

****

Reputation Power: 4 
Voice of deaf has no influence.
Offline Offline

State: Rajasthan
RC Skills: Intermediate
Posts: 297
Join Date: Apr, 2016



www.robu.in/product/usbasp-avr-programming-device-for-atmel-proccessors
how is this ?
Logged

Born for FPV, Forced to LOS.
 

Read
« Reply #14 on: May 13, 2016, 12:23:39 PM »
Dipanjan
Plane Lover
Forum Veteran
****

Reputation Power: 4 
Dipanjan has no influence.
Offline Offline

City: Ichapur
State: West Bengal
RC Skills: Beginner
Posts: 326
Join Date: Aug, 2015



There are two ways,

Either you can use an Arduino board, then burn the "Arduino As ISP" sketch, then use the board to programme the Atmega8
Or, you can use usbasp to burn the bootloader into the Atmega8.
Arduino Pro-mini boards are pretty cheap ,so are the UsbAsp devies. Check ebay for low price.
Regards,
Dipanjan
Logged
 

Read
« Reply #15 on: May 13, 2016, 12:26:15 PM »
Dipanjan
Plane Lover
Forum Veteran
****

Reputation Power: 4 
Dipanjan has no influence.
Offline Offline

City: Ichapur
State: West Bengal
RC Skills: Beginner
Posts: 326
Join Date: Aug, 2015



This is perfectly fine. You can buy it. Also buy some female to male headers with wires. it would be much easier to interface with the IC.
« Last Edit: May 13, 2016, 04:14:24 PM by Dipanjan » Logged
 

Read
« Reply #16 on: May 13, 2016, 01:32:36 PM »
Voice of deaf
Plane Lover
Forum Veteran

****

Reputation Power: 4 
Voice of deaf has no influence.
Offline Offline

State: Rajasthan
RC Skills: Intermediate
Posts: 297
Join Date: Apr, 2016



Got it.
Btw i am not able to burn any thing into that atmega8L . I think my fuses are locked.
Logged

Born for FPV, Forced to LOS.
 

Read
« Reply #17 on: May 13, 2016, 01:52:03 PM »
Dipanjan
Plane Lover
Forum Veteran
****

Reputation Power: 4 
Dipanjan has no influence.
Offline Offline

City: Ichapur
State: West Bengal
RC Skills: Beginner
Posts: 326
Join Date: Aug, 2015



what IDE are you using? Arduino? What errors are you getting?
Logged
 

Read
« Reply #18 on: May 13, 2016, 01:54:16 PM »
Dipanjan
Plane Lover
Forum Veteran
****

Reputation Power: 4 
Dipanjan has no influence.
Offline Offline

City: Ichapur
State: West Bengal
RC Skills: Beginner
Posts: 326
Join Date: Aug, 2015



fuses aren't locked by default. You can get them locked if you modified the boards.txt file
Logged
 

Read
« Reply #19 on: May 13, 2016, 02:59:00 PM »
Voice of deaf
Plane Lover
Forum Veteran

****

Reputation Power: 4 
Voice of deaf has no influence.
Offline Offline

State: Rajasthan
RC Skills: Intermediate
Posts: 297
Join Date: Apr, 2016



Okay got it.
Thanks
but if i know that the fuses are locked as the mcu is second hand , i bought a failed project of water level indicator and i retrieved the atmega 8L dip version.
I plan to use it to read analog inputs , and some pwm inputs and use them to generate a 12 channel  ppm stream .
So the above could be used to make a simple  transmitter .
What i want to include in tx are
10 channels variable
1 channel 6 position switch
1 channel 3 position switch
port for head tracking inputs
programming in arduino language
independent channel mapping.
Buzzer
DIGITAL TRIMS only on throttle
wireless programming
NO LCD DISPLAY


i wish to know that all these be possible ?
And could this be done in arduino ide language ?
  thanks
Logged

Born for FPV, Forced to LOS.
 

Read
« Reply #20 on: May 13, 2016, 04:09:36 PM »
Dipanjan
Plane Lover
Forum Veteran
****

Reputation Power: 4 
Dipanjan has no influence.
Offline Offline

City: Ichapur
State: West Bengal
RC Skills: Beginner
Posts: 326
Join Date: Aug, 2015



Atmega8 has 6 analog inputs. So you can implement 6 Potentiometers/multiple position switches at max.
If you want more analog inputs, you can opt for Arduino Mega board.

So basically you need to read the analog values from the pots/switches, turn them into a ppm stream, and send it via RF module. Yes it is possible from the Arduino IDE.

For the Atmega8 you have, what error is it exactly showing? from my personal experience, I can tell you that most of the time failing to burn programme, occurs from wrong circuit/ Oscillator problem. If you are wiling to use that Atmega8, It would be much more helpful if you post the schematic diagram and the picture of the setup.

Am making one DIY transmitter too. Hope to make it soon.

Regards,
Dipanjan
Logged
 

Read
« Reply #21 on: May 13, 2016, 05:22:57 PM »
Voice of deaf
Plane Lover
Forum Veteran

****

Reputation Power: 4 
Voice of deaf has no influence.
Offline Offline

State: Rajasthan
RC Skills: Intermediate
Posts: 297
Join Date: Apr, 2016



First thanks dipanjan sir
are you on opentx fw ?
For 12ch i plan to use 6 pots on analogue in and 6 with the help of flip flop pwm conversion.
The flip flop will read analog value and convert into pwm . So the pwm will be feed into digital inputs of the atmega .
Am i right ?
Logged

Born for FPV, Forced to LOS.
 

Read
« Reply #22 on: May 13, 2016, 08:11:45 PM »
prabal276
In the Air
Plane Lover
Forum Hero

*****

Reputation Power: 15 
prabal276 has no influence.
Offline Offline

City: Delhi
State: Delhi
RC Skills: Intermediate
Posts: 1417
Join Date: Mar, 2013

One step at a time :)



@ tanmay;
Ill be the first to buy your radio if sucessful. Smiley
Best of luck Wink
Logged
 

Read
« Reply #23 on: May 14, 2016, 11:58:46 AM »
Voice of deaf
Plane Lover
Forum Veteran

****

Reputation Power: 4 
Voice of deaf has no influence.
Offline Offline

State: Rajasthan
RC Skills: Intermediate
Posts: 297
Join Date: Apr, 2016



Sure prabal
The second piece will be yours.
Will have open source hardware and software designs.
Target price  without module -  1400 rs
Logged

Born for FPV, Forced to LOS.
 

Read
« Reply #24 on: May 14, 2016, 12:07:28 PM »
prabal276
In the Air
Plane Lover
Forum Hero

*****

Reputation Power: 15 
prabal276 has no influence.
Offline Offline

City: Delhi
State: Delhi
RC Skills: Intermediate
Posts: 1417
Join Date: Mar, 2013

One step at a time :)



hmm...
Good Wink
Logged
 

Pages: [1] 2  All   Go Up
Jump to:  

Related Topics
Subject Started by Replies Views Last post
what r the most possible reasons of esc burning .....
Electric Power
saurab 6 4082 Last post December 21, 2011, 03:36:21 PM
by saurab
Regarding Receiver Burning.....
Radios and Receivers
aseem_mat 6 4339 Last post December 11, 2013, 02:07:33 PM
by buzz_rc
No Respons from the bootloader || SOLVED !!
Kites, Trains, Free Flight and All Others
MakerHand 0 1829 Last post November 29, 2017, 08:29:40 PM
by MakerHand
Turnigy 9XR Pro bootloader and shutting down issue
Radios and Receivers
gauravrockstar8 4 2796 Last post July 16, 2018, 05:00:33 PM
by gauravrockstar8
ESC's kept on burning
Electric Power
satvikbansal 9 2963 Last post April 02, 2019, 04:17:21 PM
by KALYANPRODHAN