Datasheet
4D SYSTEMS GOLDELOX Processor
© 2012 4D SYSTEMS Page 9 of 25 www.4dsystems.com.au
GOLDELOX PROCESSOR
GPIO Functions and Features
Function
IO1
IO2
Digital Input
√
√
Digital Output
√
√
A/D Converter 8/10 bits
√
--
Dallas 1-Wire support
√
√
Sound Generation, RTTTL Tunes
√
√
Joystick – 5 position multi-switch
√
--
Input/Output:
Both IO1 and IO2 pins can be programmed to be
Inputs or Outputs. Diagram below shows a LED
connected to IO1 (programmed as an output) and
a button connected to IO2 (programmed as an
input).
Analogue to Digital Converter:
The IO1 pin can be programmed as an A/D input.
Option is available to select 8 bit or 10 bit
resolution. Diagram below is a circuit of a Light
Dependant Resistor (LDR) connected to IO1 to
measure and record changes in ambient light.
Dallas 1-Wire:
The Dallas 1-Wire protocol is a form of serial
communications designed to operate over a single
data line plus ground reference. Multiple 1-Wire
devices can be attached to the same shared data
line to network many devices. One wire device
support is available on both the IO1 and the IO2
pins.
The diagram below depicts a typical 1-Wire
temperature sensor interface.
Joystick - Multi Switch:
Multiple buttons or a multi-switch Joystick can be
connected to the IO1 pin. Up to 5 buttons or a 5
position multi-switch joystick connects to a
junction of a resistor ladder network that forms a
voltage divider. The A/D converter of the IO1 pin
internally reads the analogue value and decodes it
accordingly. This feature is supported by dedicated
4DGL library functions. The following diagrams
indicate how to connect up to 5 individual buttons
or a multi-switch joystick to the IO1 pin.
Unused buttons do not need resistors to be
connected to the circuit. The table below lists the
buttons and corresponding resistor values.