OLIMEX AgonLight2 User Manual
Hide thumbs Also See for AgonLight2:

Advertisement

Quick Links

AgonLight2
User Manual
Document revision 1.2., June 2023
www.olimex.com
1

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the AgonLight2 and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for OLIMEX AgonLight2

  • Page 1 AgonLight2 User Manual Document revision 1.2., June 2023 www.olimex.com...
  • Page 2: Table Of Contents

    Table of Contents Introduction..............................3 What is AgonLight2?..........................4 Order codes for AgonLight2 and accessories:..................5 The differences between AgonLight and AgonLight2:.................6 First time start up or how to prepare the SD card and boot..............7 AgonLight references documents:......................8 HARDWARE.............................9 AgonLight2 layout:..........................10 AgonLight2 schematic:........................11 AgonLight2 power supply and consumption:..................16...
  • Page 3: Introduction

    Introduction...
  • Page 4: What Is Agonlight2

    What is AgonLight2? AgonLight2 is a re-design of the original AgonLight eZ80F92 retro computer, designed as a hobby project by Bernardo Kastrup; AgonLight2 is a complete Single Board Computer (SBC) with VGA display output, PS2 keyboard, and SD card (acting as an external disk). This means that to write and run programs you do not need an external computer like Arduino boards do;...
  • Page 5: Order Codes For Agonlight2 And Accessories

    Order codes for AgonLight2 and accessories: Single board BBC Basic Z80 Retro style AgonLight2 Computer You need a microSD card to store Basic and MICRO-SD-CLASS software (demos, examples) DIY expansion kit with big proto area; compatible AgonLight2-Proto with AgonLight2 BOX-AGONLIGHT2-BLACK...
  • Page 6: The Differences Between Agonlight And Agonlight2

    Fixed GPIO and programming connector pin ordering; • Replaced the naked header 32-pin connector with a plastic boxed 34-pin connector following the same layout and adding two additional signals Vbat and Vin which allow AgonLight2 to be powered by this connector too; •...
  • Page 7: First Time Start Up Or How To Prepare The Sd Card And Boot

    8. Insert the microSD card into the board. 9. Connect a VGA monitor and a PS/2 keyboard (or a PS/2-compatible USB keyboard, via a PS/2 adapter) to the AgonLight2 unit. 10. Turn the AgonLight2 board on by connecting it to the USB cable:...
  • Page 8: Agonlight References Documents

    AgonLight references documents: Here we link original AgonLight Hardware Manual, QuickStart Guide Firmware Installation Guide.
  • Page 9: Hardware

    HARDWARE...
  • Page 10: Agonlight2 Layout

    AgonLight2 layout: Buzzer Reset USB-C Power Audio Out Micro SD card USB-PS2 keyboard Buzzer enable Access bus ESP32 UART disable EZ80 programming ESP32 programming LiPo battery UEXT GPIO...
  • Page 11: Agonlight2 Schematic

    AgonLight2 schematic: The current AgonLight2 schematic is available for download and print on GitHub...
  • Page 16: Agonlight2 Power Supply And Consumption

    8 hours of stand-alone operation. The LiPo battery connector is JST 2.0 mm connector and with Olimex’s battery polarity. If you use batteries from other manufacturers please make PLUS and MINUS are connected properly as you may...
  • Page 17: Gpio Connector

    GPIO connector: Pin.1 is connected to the Li-Po battery PLUS you can connect external battery on this pin or to use battery voltage to external circuits. Pin. 2 is 5V power supply connected to USB-C +5V signal, you can power the board from this signal if the USB-C is not connected.
  • Page 18: Uext Connector

    Pin.34 is +3.3V output capable to source up to 2A note that 200mA are used by AgonLight2 Pin.4 is +5V output capable to source up to 2A (1.8A + AgonLight2 0.2A), it’s backed by LiPo UPS so even if there is interruption on power supply if LiPo battery is attached there will be 5V on this pin.
  • Page 19: Access Bus Connector

    Access bus connector: This is I2C and power supply with 3.3V levels.
  • Page 20: Ez80 Programming Connector

    This connector is used for initial programming of eZ80 microcontroller. AgonLight2 comes with pre- programmed firmware so you do not need to use this connector nor programmer for it. If you want to develop your own firmware...
  • Page 21: Jumpers

    Jumpers: Typically you don’t need to change the positions of the jumpers to use the board. BUZ_EN1 – buzzer enable jumper – when closed the buzzer plays the sound commands. Default state: Open (Buzzer disabled) ESP_PROG1 – ESP programming enabled when closed ESP32 enters bootloader mode at reset and can be programmed over the USB connector.
  • Page 22: Software

    SOFTWARE:...
  • Page 23: General Agonlight2 Firmware

    Can be found in the repository here: https://github.com/OLIMEX/AgonLight2/tree/main/SOFTWARE/FIRMWARE Disclaimer: Most of the examples located in the repository above are NOT written by Olimex. We have just tested them and confirmed them working at the time of release. The repository contains: examples taken from...
  • Page 24: Mos Commands

    MOS commands: LOAD “” SAVE “” *CAT *DIR *CD / *MKDIR *BYE *CPM *ERA file *ESC [ON OFF] *EXEC file *OPT *REN oldfile ewfile *SAVE file aaaa bbbb *SPOOL file *TYPE file *| comment...
  • Page 25: Bbc Basic Commands Reference

    BBC Basic commands reference: Variables: X – float X% - integer X$ - string &X – hex Pressing ESC key breaks the code execution This is list of the BBC Basic commands click on the command name for more info and use. LOMEM REPORT MID$...
  • Page 26: Software Access To Gpios

    Software access to GPIOs: eZ80 ports are described in the eZ80-specification. Port direction register set if the port is INPUT or OUTPUT. Upon RESET all GPIOs are set as Inputs. Direction registers are 8 bit and each bit corresponds to port signal. If 1 is written on the corresponding port will be set as Input if 0 as Output.
  • Page 27: Software Access To I2C

    Software access to I2C:...
  • Page 28: Software Access To Spi

    Software access to SPI:...
  • Page 29: Software Access To Vpu

    Software access to VPU:...
  • Page 30: Revision History

    Revision History Revision 1.0 January 2023 - initial release Revision 1.1 January 2023 - added “How to prepare the SD card and boot the first time”, taken and edited from “Agon light™ Firmware Installation Guide.pdf” Revision 1.2 June 2023 -general improvements to the structure of the document; added more info about first steps with the board...

Table of Contents