3.5. ARDUINO SHIELDS
ARDUINO is popular platform for development by beginners and people with little knowledge in
electronics. This platform is gaining popularity and there are lot of projects using it. Arduino allows
various hardware modules to be stacked on top of each other. They are called
SHIELDS
.
DuinoMite
and
DuinoMite-Mega
have this connector to allow ARDUINO SHIELDS to be connected.
This connector is also very useful for jumper wiring to an external breadboard.
The DuinoMite-Mini has no ARDUINO shield connector on board but has the 26pin GPIO connector
which can be connected to an external
DuinoMite-Shield
board, which adds the ARDUINO SHIELD,
connected via a 26 pin ribbon cable.
The ARDUINO SHIELD has these signals:
D0,D1,D2,D3,D4,D5,D6,D7,D8,D9,D10,D11,D12,D13,
AREF, A0,A1,A2,A3,A4,A5
VIN, GND, 5V, 3.3V, RST, CTS, RTS
D0 – D13 are digital I/Os,
A0-A5 are analog I/Os,
VIN – input power which allows you to power
DuinoMite (or Mega)
by an external power supply
RST – reset
CTS, RTS – handshake signals from the
Mega's
RS232 connector, they are TTL levels.
MM-BASIC can access ARDUINIO SHIELDS with the PIN() function.
These ports may be digital inputs, digital outputs and analog inputs, note max voltage to these ports
should not exceed 3.3V as they may be damaged:
ARDUINO.A0
→
PIN(1)
ARDUINO.A1
→
PIN(2)
ARDUINO.A2
→
PIN(3)
ARDUINO.A3
→
PIN(4)
ARDUINO.A4
→
PIN(5)
ARDUINO.A5
→
PIN(6)
These ports may be digital inputs, digital outputs, they are 5V tolerant, so the maximum input voltage
which you should apply to them should not exceed 5V.
ARDUINO.D0
→
PIN(11) → COM1:RX →
COM4:RX from RS232 connector
ARDUINO.D1
→
PIN(12) → COM1:TX →
COM4:TX from RS232 connector
ARDUINO.D2
→
PIN(13) → COM1:RTS
ARDUINO.D3
→
PIN(14) → COM1:CTS
ARDUINO.D4
→
PIN(15) → COM2:RX
ARDUINO.D5
→
PIN(16) → COM2:TX
ARDUINO.D6
→
PIN(17)
ARDUINO.D7
→
PIN(18)
Summary of Contents for DuinoMite
Page 27: ...4 SOFTWARE...