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...
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;...
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...
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; •...
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:...
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...
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.
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.
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...
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.
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...
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$...
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.
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...
Need help?
Do you have a question about the AgonLight2 and is the answer not in the manual?
Questions and answers