Grove Pro Mini LP
0097-060916-01
P r o d u c t S p e c i f i c a t i o n
I2C: A4 (SDA) and A5 (SCL). Support I2C (TWI) communication using the
There is another pin on the board:
Reset. Bring this line LOW to reset the microcontroller. Typically used to add a n external reset
function.
Communication
The Grove Pro Mini LP has a number of facilities for communicating with a computer, another Arduino, or
other microcontrollers. The ATmega328 provides UART TTL serial communication, which is available on
digital pins 0 (RX) and 1 (TX). The Arduino software includes a serial monitor which allows simple textual
data to be sent to and from the Arduino board via a USB connection.
A
allows for serial communication on any of the Pro Mini's digital pins.
The ATmega328 also supports I2C (TWI) and SPI communication. The Arduino software includes a Wire
library to simplify use of the I2C bus; see the
for details. To use the SPI communication, please see
the ATmega328 datasheet.
Programming
The Grove Pro Mini LP can be programmed with the Arduino software
. For details, see the
The ATmega328 on the Grove Pro Mini LP comes preburned with a
code to it without the use of an external hardware programmer. It communicates using the original STK500
protocol
You can also bypass the bootloader and program the ATmega328 with an external programmer; see
Automatic (Software) Reset
Rather then requiring a physical press of the reset button before an upload, the Arduino Pro Mini is designed
in a way that allows it to be reset by software running on a connected computer. One of the pins on the six-
pin header is connected to the reset line of the ATmega328 via a 100 nF capacitor. This pin connects to one
of the hardware flow control lines of the USB-to-serial convertor connected to the header: RTS when using
an FTDI cable. When this line is asserted (taken low), the reset line drops long enough to reset the chip. The
Arduino software uses this capability to allow you to upload code by simply pressing the upload button in the
Arduino environment. This means that the bootloader can have a shorter timeout, as the lowering of the reset
line can be well-coordinated with the start of the upload.
This setup has other implications. When the Grove Pro Mini LP is connected to either a computer running
Mac OS X or Linux, it resets each time a connection is made to it from software (via USB). For the following
half-second or so, the boot loader is running on the Pro. While it is programmed to ignore malformed data
______________________________________________________________________________________
SwitchDoc Labs, LLC, 20089 E Glenbrook Ave,, Liberty Lake, Washington 99016 - [email protected]
Version 3.0 - Page of
4
19