Skip to content

Commit

Permalink
Add development board pinouts + fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
MCUdude committed Mar 1, 2019
1 parent d4c953a commit be8ed6d
Showing 1 changed file with 14 additions and 6 deletions.
20 changes: 14 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@ ATmega3208, ATmega4808, ATmega3209 and ATmega4809.
* Add ArduinoAPI as subtree for easy maintainance (just need to get some PRs such as printf functionality merged first)
* Readme
- Need some good intro text at the beginning
- Getting started section for various HW (~~Curiosity Nano~~, ~~AVR-IOT WG~~, ~~Uno Wifi Rev2~~, ~~Xplained pro~~)
- Add pinout pics for Curiosity Nano and AVR-IOT-WG
- Minimal setup schematics
* Proper testing with updated toolchain (I'm experiencing trouble with the 32kB chips)

Expand Down Expand Up @@ -113,13 +111,23 @@ Open Arduino IDE, and a new category in the boards menu called "MightyCoreX" wil

## Getting your hardware working
### Arduino Uno WiFi Rev2
[The Arduino Uno WiFi Rev2](https://store.arduino.cc/usa/arduino-uno-wifi-rev2) is the easiest board out of these because it's officially supported by Arduino. It uses an ATmega4809, and recommended pinout is *Uno WiFi*. Printing to the serial monitor on your PC is done by initializing `Serial.begin(baud)`. You'll also have to choose **Atmel mEDBG (ATmega32u4)** as your programmer in order to upload code. For more information about this board please see the product page and its schematic.
[The Arduino Uno WiFi Rev2](https://store.arduino.cc/usa/arduino-uno-wifi-rev2) is the easiest board out of these because it's officially supported by Arduino. It uses an ATmega4809, and recommended pinout is *Uno WiFi*. Printing to the serial monitor on your PC is done by initializing `Serial.begin(baud)`.
You'll also have to choose **Atmel mEDBG (ATmega32u4)** as your programmer in order to upload code. For more information about this board please see the product page and its schematic.

### Curiosity Nano
[The Curiosity nano](https://www.microchip.com/developmenttools/ProductDetails/DM320115) uses an ATmega4809 and but a different pinout than the Uno Wifi Rev2. Recommended pinout for this board is *48 pin standard*. Note that the serial port connected to the nEDBG chip (often refered to as the debug serial port) is UART3. This means You'll have to use `Serial3.begin(baud)` in order to print to the serial monitor. You'll also have to choose **Atmel nEDBG (ATSAMD21E18)** as your programmer in order to upload code. For more information about this board please refer to the userguide and its schematic.
[The Curiosity Nano](https://www.microchip.com/developmenttools/ProductDetails/DM320115) uses an ATmega4809 but has a different pinout than the Uno Wifi Rev2. Recommended pinout for this board is *48 pin standard*. Use the `LED_BUILTIN` macro to control the onboard LED. Note that UART3 is connected to the nEDBG chip (often refered to as the debug serial port). This means You'll have to use `Serial3.begin(baud)` in order to print to the serial monitor.
You'll also have to choose **Atmel nEDBG (ATSAMD21E18)** as your programmer in order to upload code. For more information about this board please refer to the userguide and its schematic.

Click to enlarge:
<img src="https://i.imgur.com/hmqXz8W.jpg" width="350">

### AVR-IOT WG
[The AVR-IOT WG](https://www.microchip.com/developmenttools/ProductDetails/AC164160) uses the ATmega4808 in a 32 pin package. *32 pin standard* is the correct pinout for this board. Note that the serial port connected to the nEDBG chip (often refered to as the debug serial port) is UART2. This means You'll have to use `Serial2.begin(baud)` in order to print to the serial monitor. You'll also have to choose **Atmel nEDBG (ATSAMD21E18)** as your programmer in order to upload code. For more information about this board please refer to the userguide and its schematic.
[The AVR-IOT WG](https://www.microchip.com/developmenttools/ProductDetails/AC164160) uses the ATmega4808 in a 32 pin package. *32 pin standard* is the correct pinout for this board. Use the `LED_BUILTIN` macro to control the onboard LED marked with *WIFI*. Note that UART2 is connected to the nEDBG chip (often refered to as the debug serial port). This means You'll have to use `Serial2.begin(baud)` in order to print to the serial monitor.
You'll also have to choose **Atmel nEDBG (ATSAMD21E18)** as your programmer in order to upload code. For more information about this board please refer to the userguide and its schematic.

Click to enlarge:
<img src="https://i.imgur.com/o0A4mmq.jpg" width="350">

### ATmega4809 Xplained Pro
[The ATmega4809 Xplaied Pro](https://www.microchip.com/developmenttools/ProductDetails/atmega4809-xpro) uses an ATmega4809. Recommended pinout for this board is *48 pin standard*. Note that the serial port connected to the EDBG chip (often refered to as the debug serial port) is UART1. This means You'll have to use `Serial1.begin(baud)` in order to print to the serial monitor. You'll also have to choose **Atmel EDBG (AT32UC3A4256)** as your programmer in order to upload code. For more information about this board please refer to the userguide and its schematic.
[The ATmega4809 Xplained Pro](https://www.microchip.com/developmenttools/ProductDetails/atmega4809-xpro) uses an ATmega4809. Recommended pinout for this board is *48 pin standard*. Note that the UART1 is connected to the EDBG chip (often refered to as the debug serial port). This means You'll have to use `Serial1.begin(baud)` in order to print to the serial monitor.
You'll also have to choose **Atmel EDBG (AT32UC3A4256)** as your programmer in order to upload code. For more information about this board please refer to the userguide and its schematic.

0 comments on commit be8ed6d

Please sign in to comment.