Projects   /   Development Boards & Kits

Amicus18: Arduino-style platform for PIC fans using PIC18F25K20

Arduino needs no introduction; it is an easy-to-use yet powerful open source embedded system development platform that has gained huge amount of popularity...

Published

At a glance

CategoryDevelopment Boards & Kits
IncludesDownload files
Reading time~6 min

Summary of Amicus18: Arduino-style platform for PIC fans using PIC18F25K20

Amicus18 is an Arduino-inspired development board using a Microchip PIC (default PIC18F25K20) with USB-serial bootloader and optional ICSP. It operates at 3.3 V I/O, easing interfacing with 3.3 V peripherals but posing risks with 5 V devices unless precautions or a 5 V PIC replacement are used. The platform includes a free Proton BASIC compiler in its IDE; replacing the MCU may require external programming and alternate toolchains. Recent compiler updates add PIC18F25K22 support, though bootloader support for that part is not confirmed.

Parts used in the Amicus18:

  • Amicus18 development board
  • PIC18F25K20 microcontroller (default)
  • USB A-type receptacle on board
  • Preloaded bootloader (occupies top 128 bytes of program memory)
  • ICSP (In Circuit Serial Programming) interface
  • On-board regulated 5V supply
  • Proton BASIC compiler bundled in Amicus18 IDE
  • Optional PIC18F2550 or PIC18F25K22 microcontrollers (pin-compatible alternatives)
  • A Male to A Male USB cable

Arduino needs no introduction; it is an easy-to-use yet powerful open source embedded system development platform that has gained huge amount of popularity in past few years, specially among hobbyists. The standard hardware consists of an 8-bit Atmel AVR processor with on-board headers providing access to its I/O pins. The processor is pre-programmed with a serial bootloader that simplifies the uploading of user programs to the on-chip flash memory without the need of any external programmer. Because of its low cost, user-friendly software development environment (open-source C/C++ like programming platform), rich set of libraries, and tons of resources available online, Arduino has become a common choice for electronics hobbyists these days. Hundreds of plug-in application boards, called Arduino shields, are also commercially available to extend the functional capabilities of the Arduino board. The growing influence of Arduino inspired others to build a number of different versions of it. Amicus18 is also an Arduino-inspired embedded system development platform designed by Les Johnson and introduced by Crownhill Associates; however, it uses a Microchip PIC processor instead of the AVR microcontroller. This article reviews the features of the Amicus platform.

Amicus 18 Board

Communication with the Amicus18 board is through an USB interface, which presents itself as a standard serial port on the PC. The preloaded bootloader (which occupies the very top 128 bytes of the program memory) allows you to program the microcontroller directly through this port. However, if the need arises, an ICSP (In Circuit Serial Programming) interface is provided on the board to program the microcontroller with an external programmer. The board contains USB A-type receptacle (not very standard), which means you need A Male to A Male type USB cable to connect the board to the host PC.

It is important to note that the PIC microcontroller provided with the Amicus18 board is 3.3 V type, which means the logic high I/O voltage is also 3.3 V. This allows the Amicus18 board to directly interface with modern devices like 23K series SPI RAM, SD/MMC card, and ENC28J60 (Ethernet controller), which all operate at 3.3 V. However, it could be an issue while interfacing with some other devices that strictly operate at 5 V. Most 5 V devices might accept 3.3 V as logic high input, but their 5 V outputs may not be acceptable to the I/O pins of PIC18F25K20, as they are not tolerant to this voltage. So care must be taken while doing so. For example, writing to a 5 V HD44870 based character LCD module is OK, but reading data from the LCD could be harmful to the PIC18F25K20 I/O pins. In such a case, if reading data from the LCD is not important, the R/W line of the LCD should be permanently grounded so that the LCD data pins could never output data. The same issue could also limit the usage of some of the Arduino shields that strictly operate at 5 V. While the Amicus18 board provides a regulated 5V supply on-board to power those shields, that does not guarantee that the direct interface between the I/O pins of the 3.3 V and 5 V devices would be reliable and safe. So, if your design strictly requires to be operated at 5V, you can replace the on-board PIC18F25K20 PIC device with another pin-compatible 5V PIC. Yes, you can do that but the key thing here is you may lose the programming support of the Amicus18 IDE. The Amicus18 IDE contains Crownhill’s powerful Proton BASIC compiler specially adapted for the Amicus18 development platform. This special version of the Proton Basic compiler is free and has no restrictions or time limits. It originally supported only PIC18F25K20 and so if you want to replace it with, say, PIC18F2550 (which is a 5V device and pin compatible with PIC18F25K20), you have to use a different platform (MPLAB or any other compiler) for firmware development and require an external programmer (such as PICkit) to program the chip. If you do so, the Amicus18 board is just like any other PIC development boards, except it has the form factor of popular Arduino. To me what seems to be the most important aspect of Amicus18 is the free version of the fully-functional and powerful Proton Compiler as well as the bootloader application, which are bundled with the Amicus18 IDE. Crownhill people also realized this thing and recently updated the Amicus18 compiler, providing additional support for PIC18F25k22 device, which is simply a 5V version of the PIC18F25K20 microcontroller. By default, the Amicus18 board comes with a PIC18F25K20 microcontroller. If you replace it with PIC18F25K22, you also need to correct the connections at Pad Q1 on the board (read the Amicus18 hardware manual) to provide +5 V (instead of 3.3 V) to the new PIC processor. However, I haven’t seen any official announcement on Amicus page so far regarding the bootloader support for PIC18F25K22, which means if you choose this device you still need an external programmer to load the HEX file into its program memory.

 

For more detail: Amicus18: Arduino-style platform for PIC fans using PIC18F25K20

  • How do you communicate with the Amicus18 board?
    Communication is through a USB interface that presents as a standard serial port on the PC.
  • Can the Amicus18 be programmed without an external programmer?
    Yes; the preloaded bootloader allows programming the microcontroller directly through the USB serial port.
  • Does the Amicus18 provide an ICSP interface?
    Yes; an ICSP interface is provided to program the microcontroller with an external programmer.
  • What is the default operating voltage of the Amicus18 PIC microcontroller?
    The default PIC microcontroller is a 3.3 V device.
  • Can Amicus18 directly interface with 5 V devices?
    Not reliably; PIC18F25K20 I/O pins are not 5 V tolerant, so careful interfacing or avoidance of 5 V outputs is required.
  • What should you do if you need the board to operate at 5 V?
    You can replace the on-board PIC with a pin-compatible 5 V PIC, but you may lose Amicus18 IDE programming support and need an external programmer or different toolchain.
  • Does the Amicus18 IDE include a compiler?
    Yes; it includes Crownhill’s Proton BASIC compiler, free and fully functional for the supported device.
  • Is there support for PIC18F25K22 in the Amicus18 tools?
    The Amicus18 compiler was updated to provide additional support for PIC18F25K22, but official bootloader support for that device has not been announced.
Development Boards & Kits · PIC18F4520

Voltage Measurement with A PIC Microcontroller

Voltage Measurement with PIC Microcontroller articulates a methodical framework for facilitating analog voltage measurement using the PIC18F4520, an advanced member of Microchip’s...

Development Boards & Kits

Ultra-Low Power: Microcontroller Standby Current to 130uA with OPEnS Power Control Board

At the OPEnS Lab, a key focus for our projects is achieving exceptionally long battery life. This was particularly true for the...

Development Boards & Kits

An Integrated Approach to Developing Applications with Microchip PIC Microcontrollers

1. Introduction In our daily lives, a variety of devices such as telephones, household appliances, and cars incorporate "smart" electronics, typically manifested...

Development Boards & Kits

Microcontroller-Driven AC Voltage Control with Soft Start Feature

1. INTRODUCTION PWM-based AC voltage controllers find extensive application in uninterruptible power supplies (UPS) and high-power flexible AC transmission systems. This variable...

Development Boards & Kits

PIC Microcontroller-Based IC Tester for Efficient Integrated Circuit Verification

1. INTRODUCTION Within the electronics industry[1], as circuit complexity undergoes a drastic increase and the demand for higher reliability rises, a significant...

Development Boards & Kits · PIC16F887

Hands-On Microcontroller Projects: BK300 Development Board Featuring PIC16F887 Chip Lab

1. INTRODUCTION The study of microcontroller systems is experiencing a global surge across various fields within science, engineering, and technology departments of...

Ibrar Ayyub

Ibrar Ayyub

I am an experienced technical writer holding a Master's degree in computer science from BZU Multan, Pakistan University. With a background spanning various industries, particularly in home automation and engineering, I have honed my skills in crafting clear and concise content. Proficient in leveraging infographics and diagrams, I strive to simplify complex concepts for readers. My strength lies in thorough...