Skip to content

The ENSAino-200A is an open source development board, it is an expansion of the ENSAino-100A project, also based on the ATmega 2561 microcontroller.

License

Notifications You must be signed in to change notification settings

ENSATecnologia/ENSAino-200A

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ENSAino-200A

The ENSAino-200A is an open source development board, it is an expansion of the ENSAino-100A project, also based on the ATmega 2561 microcontroller.

This project is based on the excellent project: 👍 @MCUdude/MegaCore

MegaCore

Build Status MegaCore forum thread

How to install

Boards Manager Installation

This installation method requires Arduino IDE version 1.6.4 or greater;

  • Open the Arduino IDE;
  • Open the File > Preferences menu item;
  • Enter the following URL in Additional Boards Manager URLs: https://mcudude.github.io/MegaCore/package_MCUdude_MegaCore_index.json
  • Open the Tools > Board > Boards Manager... menu item;
  • Wait for the platform indexes to finish downloading;
  • Scroll down until you see the MegaCore entry and click on it;
  • Click Install (version 2.1.1);
  • After installation is complete close the Boards Manager window.

Getting started with MegaCore

Ok, so you're downloaded and installed MegaCore, but how to get started? Here's a quick start guide:

  • Hook up your microcontroller as shown in the pinout diagram;
    1. If you're not planning to use the bootloader (uploading code using a USB to serial adapter), the FTDI header and the 100 nF capacitor on the reset pin can be omitted;
  • Open the Tools > Board menu item, select MegaCore and select our preferred target;
  • Select your preferred clock frequency. 16 MHz is standard on most Arduino boards;
  • Select what kind of programmer you're using under the Programmers menu;
  • Hit Burn Bootloader. If an LED is connected to pin PB5/PB7, it should flash twice every second;
  • Now that the correct fuse settings is sat and the bootloader burnt, you can upload your code in two ways:
    1. Disconnect your programmer tool, and connect a USB to serial adapter to the microcontroller, like shown in the pinout diagram. Then select the correct serial port under the Tools menu, and click the Upload button. If you're getting some kind of timeout error, it means your RX and TX pins are swapped, or your auto reset circuity isn't working properly (the 100 nF capacitor on the reset line).
    2. Keep your programmer connected, and hold down the shift button while clicking Upload. This will erase the bootloader and upload your code using the programmer tool.

Your code should now be running on the microcontroller!

Pinout

ATmega2561 (64-pin chip)

Since there are no standardized Arduino pinout for this chip family, MCUdude created one tried to make it as simple and logical as possible. The standard LED pin is assigned to Arduino pin 13 (PB5), However, on the ENSAino-200A it is on the LED LD6, and will blink twice if you hit the reset button.

Programmers

Select your microcontroller in the boards menu, then select the clock frequency. You'll have to hit Burn bootloader in order to set the correct fuses and upload the correct bootloader. Make sure you connect an ISP programmer, and select the correct one in the Programmers menu. For time critical operations an external oscillator is recommended.

About

The ENSAino-200A is an open source development board, it is an expansion of the ENSAino-100A project, also based on the ATmega 2561 microcontroller.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published