background image

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

    

accurate timekeeping when main power to the device is interrupted. The integration of the crystal resonator 

enhances the long-term accuracy of the device.  

The RTC maintains seconds, minutes, hours, day, date, month, and year information. The date at the end of 

the month is automatically adjusted for months with fewer than 31 days, including corrections for leap year. 

The clock operates in either the 24-hour or 12-hour format with an AM/PM indicator. Two programmable time-

of- day alarms and a programmable square-wave output are provided. Address and data are transferred 

serially through the I2C bidirectional bus. 

 

A precision temperature-compensated voltage reference and comparator circuit monitors the status of VDD 

to detect power failures, to provide a reset output, and to automatically switch to the backup supply (battery 

included) when necessary. Additionally, the RST pin is monitored as a pushbutton input for generating a µP 

reset.  

Note that the 32KHz line and the NINT/SQW Line are connected to D3/D2 on the Grove Pro Mini LP 

respectively.   This allows you to use the DS3231 as a timer and alarm source of interrupts. 

The specifications for this device is on the SwitchDoc Labs Grove Pro Mini LP product page. 

AT24C32 32KB EEPROM 

The AT24C32 provides 32,768 bits of serial electrically erasable and programmable read only memory 

(EEPROM) organized as 4096 words of 8 bits each.   The EEPROM drivers are included in the SwitchDoc  

driver software. 

______________________________________________________________________________________

  SwitchDoc Labs, LLC,  20089 E Glenbrook Ave,, Liberty Lake, Washington 99016  - [email protected]  

Version 3.0 - Page   of 

6

19

Summary of Contents for 0097-060916-01

Page 1: ...plications Grove Connector Compatibility for IOT Prototyping ATmega328P Processor Arduino Pro Mini Compatible Pinout Under 1mA sleep current DS3231 Real Time Clock Included 3 3V 5V Arduino IDE Compatible Thousands of drivers available Compatible with Hundreds of Grove Sensors Low Cost Full Test Code Supplied Quantity Discounts Available Immediate Availability The Grove Pro Mini LP is an Arduino co...

Page 2: ...tes Software provided Combine the Grove Pro Mini LP with a SunAir or SunAirPlus board to create a solar powered IOT device Additional code and examples on www switchdoc com on the Grove Pro Mini LP Product Page Theory of Operation Pro Mini Arduino Operation ______________________________________________________________________________________ SwitchDoc Labs LLC 20089 E Glenbrook Ave Liberty Lake W...

Page 3: ... resistor disconnected by default of 20 50 kOhms In addition some pins have specialized functions Serial 0 RX and 1 TX Used to receive RX and transmit TX TTL serial data These pins are connected to the TX 0 and RX 1 pins of the six pin header External Interrupts 2 and 3 These pins can be configured to trigger an interrupt on a low value a rising or falling edge or a change in value See the attachI...

Page 4: ...ginal STK500 protocol reference C header files You can also bypass the bootloader and program the ATmega328 with an external programmer see these instructions for details 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...

Page 5: ...ard Manager and then ATmega328 3 3V 8Mhz Note you can run the board at 5V but you must still choose the 3 3V 8MHz from the menu This board runs at 8MHz to reduce current consumption I2C Interface The I2C interface has two sections J3 and J7 provide Grove I2C connectors 3 3V or 5V and JP4 provides a pin header I2C interface DS3231 EEPROM Real Time Clock The SwitchDoc Labs DS3231 EEPROM combination ...

Page 6: ...t monitors the status of VDD to detect power failures to provide a reset output and to automatically switch to the backup supply battery included when necessary Additionally the RST pin is monitored as a pushbutton input for generating a µP reset Note that the 32KHz line and the NINT SQW Line are connected to D3 D2 on the Grove Pro Mini LP respectively This allows you to use the DS3231 as a timer ...

Page 7: ...Current Measurement Results The tall spikes are when the radio transmitter is on for a very short time we still end up with 5mA average current Min Normal Max Unit VDD 3 313V 5 25 V Idd 5 mA ______________________________________________________________________________________ SwitchDoc Labs LLC 20089 E Glenbrook Ave Liberty Lake Washington 99016 sales switchdoc com Version 3 0 Page of 7 19 ...

Page 8: ...mm Arduino Device Power Comparison Device Current while Running Current While Sleeping Operating Voltage Arduino UNO 59mA 43mA 5V Arduino Mega2560 85mA 62mA estimate 5V Arduino Mini Pro 18mA 11mA 5V Grove Mini Pro LP 9mA 0 600mA 5V Grove Mini Pro LP 3 8mA 0 400mA 3 3V ______________________________________________________________________________________ SwitchDoc Labs LLC 20089 E Glenbrook Ave Lib...

Page 9: ...e connector on all our future I2C boards The white connectors on the Grove Pro Mini LP board picture at the top are Grove connectors for easy non soldered connections to the I2C bus and for data inputs The picture below shows the SunRover robot built using Grove connectors for the 8 different I2C busses in the robot A Grove OLED display is shown underneath the picture Connecting to Grove Connector...

Page 10: ...nes coming into the Grove plug The two signal lines are generically called D0 and D1 Most modules only use D0 but some do like the LED Bar Grove display use both Often base units will have the first connector called D0 and the second called D1 and they will be wired D0 D1 and then D1 D2 etc Grove Digital Pin 1 D0 Primary Digital Input Output Pin 2 D1 Secondary Digital Input Output Grove Digital __...

Page 11: ...nal Power and Ground are the same as the other connectors This is another special version of the Grove Digital Connector In fact often the I2C bus on a controller like the ESP8266 Raspberry Pi and the Arduino just uses Digital I O pins to implement the I2C bus The pins on the Raspberry Pi and Arduino are special with hardware support for the I2C bus The ESP8266 is purely software Note that the Gro...

Page 12: ... I2C Clock Pin 2 SDA I2C Data Pin 3 VDD Power for Grove Module 5V or 3 3V Pin 4 GND Ground ______________________________________________________________________________________ SwitchDoc Labs LLC 20089 E Glenbrook Ave Liberty Lake Washington 99016 sales switchdoc com Version 3 0 Page of 12 19 ...

Page 13: ...nder See articles and application notes on www switchdoc com J3 Grove I2C Pin 1 A6 Analog A6 Input Pin 2 A7 Analog A7 Input Pin 3 VDD Power for Grove Module Pin 4 GND Ground J6 Grove I2C Pin 1 A2 Analog A2 Input Pin 2 A3 Analog A3 Input Pin 3 VDD Power for Grove Module Pin 4 GND Ground ______________________________________________________________________________________ SwitchDoc Labs LLC 20089 E...

Page 14: ...r for Grove Module Pin 4 GND Ground J7 Grove I2C Pin 1 SCL I2C Clock Pin 2 SDA I2C Data Pin 3 VDD Power for Grove Module Pin 4 GND Ground J1 Grove Digital Pin 1 D3 Digital I O Pin 3 Pin 2 D4 Digital I O Pin 4 Pin 3 VDD Power for Grove Module Pin 4 GND Ground J4 Grove Digital Pin 1 D8 Digital I O Pin 8 Pin 2 D9 Digital I O Pin 9 J4 Grove Digital _____________________________________________________...

Page 15: ...tions Pin 3 VDD Power for Grove Module Pin 4 GND Ground J4 Grove Digital J8 Grove Digital Pin 1 D6 Digital I O Pin 6 Pin 2 D7 Digital I O Pin 7 Pin 3 VDD Power for Grove Module Pin 4 GND Ground J2 Grove Digital Analog Pin 1 D2 Digital I O Pin 2 Pin 2 A1 Analog A1 Input Pin 3 VDD Power for Grove Module Pin 4 GND Ground ________________________________________________________________________________...

Page 16: ...ch byte can be read and written instantaneously like SRAM but will keep the memory for 95 years at room temperature Each byte can be read written 10 000 000 000 000 times JP8 Optional FRAM Address Used to set other I2C addresses for the Optional I2C FRAM Module These are the I2C address selection pins By NAME PIN I O DESCRIPTION VDD JP6 1 A VDD GND JP6 2 A GND WP JP6 3 I Write Protect pin This is ...

Page 17: ...d You must supply regulated VDD through the VDD pin VCC pin on the diagram or through the USB power port on the board Note that there is no second I2C Analog pin header as shown at the bottom of the board This is replaced by Grove connectors and by JP2 and JP3 NAME PIN I O DESCRIPTION A2 JP3 1 I High selection bit use A2 A1 A0 as three bits and add to 0x50 A1 JP3 2 I Middle selection bit use A2 A1...

Page 18: ...ith an integrated temperature compensated crystal oscillator TCXO and crystal The device incorporates a battery input and maintains accurate timekeeping when main power to the device is interrupted This is included with the Weather Board Board When plugging the DS321 module into the Weather Board make sure to align the GND pins Battery side towards the center of the board NAME PIN I O DESCRIPTION ...

Page 19: ... turn on the internal Arduino pullup on D2 to use SQW JP10 2 O Active Low Interrupt or Square Wave Output This is an open drain pin When enabled it is connected to D3 on the Grove Pro Mini LP Often used as an alarm output from the DS3231 You must turn on the internal Arduino pullup on D3 to use SCL JP10 3 I Serial bus clock line open drain input SCL SDA JP10 4 I O Serial bus data line open drain i...

Reviews: