Thing Plus Dual-Port Logging Shield Hookup Guide

Pages
Contributors: Ell C, PaulZC
Favorited Favorite 1

Example 4: Sleep SDIO

In this example, we're going to look at the deep sleep functionality, and like Example 3, this example will also bring up the Dual Port Logging Shield as a drive. Go ahead and bring up example 4 in Arduino:

Where to find Example 4 in the menu

Having a hard time seeing the details? Click the image for a closer look.

Note: If you are using an Artemis Thing Plus, you will need to change Wire to Wire1 in the example code!

Make sure you've chosen the correct board and port (as seen in example 1) and then upload the code to your Thing Plus. When you open the Serial Monitor with the correct baud, you should see something like the following:

Output shows putting the shield into deep sleep, then SDIO mode, then waits 30 seconds

Having a hard time seeing the details? Click the image for a closer look.

Make sure your Dual Port Logger is ALSO plugged in, and when the example runs, you'll see an additional drive pop up like so:

Check out that extra USB drive!

Having a hard time seeing the details? Click the image for a closer look.