If you enjoy working with microcontrollers, this guide is for you. Arduino is a microcontroller-based development board, and its IDE makes programming straightforward. The IDE is both appealing and easy to use, and it lets you program and burn hex files onto boards other than an official Arduino. Below are the steps to hack an Arduino board, meaning you can program without owning one. Arduino boards are somewhat expensive, costing around Rs:1500, but you can build an Arduino equivalent for just about 100 bucks. I will explain the steps
1) The main components you need are one Atmega8, a serial programmer, a breadboard, and the Arduino software—that's all.
2)The serial programmer circuit and its software can be get from the site
below
http://www.sourabh.sankule.com/tutorial/avr/serial_prog.html
3) Download the ATPROG software; ATPROG is fully compatible with Wine on GNU/Linux.
4) Install the Arduino software on GNU/Linux.
5) Inside the Arduino folder there is a directory called hardware. In that folder, modify a file named board.txt. At the bottom of the file, it looks like this:
atmega8.name=Arduino NG or older w/ ATmega8
atmega8.upload.protocol=stk500
atmega8.upload.maximum_size=7168
atmega8.upload.speed=19200
atmega8.bootloader.low_fuses=0xdf
atmega8.bootloader.high_fuses=0xca
atmega8.bootloader.path=atmega8
atmega8.bootloader.file=ATmegaBOOT.hex
atmega8.bootloader.unlock_bits=0x3F
atmega8.bootloader.lock_bits=0x0F
atmega8.build.mcu=atmega8
atmega8.build.f_cpu=16000000L //modify this line by 1000000L
atmega8.build.core=arduino
6) Open the Arduino IDE and select the atmega8 old board. Load an LED blink program and compile it. On Linux, the hex file is temporarily generated in the /tmp/build……. folder.
7) Copy the hex file and burn it with ATPROG—it will work.
Enjoy!
1) The main components you need are one Atmega8, a serial programmer, a breadboard, and the Arduino software—that's all.
2)The serial programmer circuit and its software can be get from the site
below
http://www.sourabh.sankule.com/tutorial/avr/serial_prog.html
3) Download the ATPROG software; ATPROG is fully compatible with Wine on GNU/Linux.
4) Install the Arduino software on GNU/Linux.
5) Inside the Arduino folder there is a directory called hardware. In that folder, modify a file named board.txt. At the bottom of the file, it looks like this:
atmega8.name=Arduino NG or older w/ ATmega8
atmega8.upload.protocol=stk500
atmega8.upload.maximum_size=7168
atmega8.upload.speed=19200
atmega8.bootloader.low_fuses=0xdf
atmega8.bootloader.high_fuses=0xca
atmega8.bootloader.path=atmega8
atmega8.bootloader.file=ATmegaBOOT.hex
atmega8.bootloader.unlock_bits=0x3F
atmega8.bootloader.lock_bits=0x0F
atmega8.build.mcu=atmega8
atmega8.build.f_cpu=16000000L //modify this line by 1000000L
atmega8.build.core=arduino
6) Open the Arduino IDE and select the atmega8 old board. Load an LED blink program and compile it. On Linux, the hex file is temporarily generated in the /tmp/build……. folder.
7) Copy the hex file and burn it with ATPROG—it will work.
Enjoy!





1 comments:
Actually their IDE is attractive and simple, we can program using that IDE and burn hex files other than arduino board.Below are some steps to hack arduino board.best virtual assistant program
Post a Comment