Standalone Arduino Programmer: Difference between revisions

From lechacal
Jump to navigation Jump to search
No edit summary
Line 1: Line 1:


[[File:P1000441.JPG_small.png|360px]]


=Overview=
=Overview=
Line 10: Line 11:
You will need to program the Arduino Mega only once with a computer then the programmer will be stand-alone and only need connection with a power source.
You will need to program the Arduino Mega only once with a computer then the programmer will be stand-alone and only need connection with a power source.


[[File:P1000441.JPG_small.png|360px]]
 
[[File:P1000463.JPG small.png|360px]]


=Features=
=Features=

Revision as of 15:14, 7 October 2023

Overview

The standalone Arduino Programmer can programme many atmel chip in stand alone mode which means it does not need a computer to operate. This is very useful for automating the programming of large number of chips.

This product is a shield for the Arduino Mega.

You will need to program the Arduino Mega only once with a computer then the programmer will be stand-alone and only need connection with a power source.


Features

  • Onboard Micro SD card.
  • 3 operation LED (work / ok / error).
  • 3 operation button.
  • 6 pin SPI connection to target.
  • Additional GPIO pins available for expansion.
  • Provision for use of a small LCD screen.

Usage

Preparing the programmer

  • Compile the target sketch on Arduino IDE.
  • Locate the produced hex file.
  • Copy it to the SD card.
  • Rename the file as 'firmware'hex'.
  • Insert the SD card in the programmer.

Production Usage

  • Connect the 6 pin ribbon cable to the target device.
  • Press the OK button.
  • Sucessful flash will be indicated with the green led 'ok'

Firmware

Several firmwares that can be used on the programmer.

Factory firmware

The default firmware allow programming with the buttons and confirmation is indicated with leds.

It is loaded in the programmer at factory. Instructions below are here for reference if you need to reflash the programmer.

The firmware can be downloaded from this github repo:.

https://github.com/nickgammon/arduino_sketches

Choose the sketch named Atmega_Hex_Uploader_Fixed_Filename

A special version of SDFat library is needed. Download it from here below. Do not use the latest version of this library or compilation will fail.

https://github.com/greiman/SdFat/releases/tag/1.1.4