Head First Mini GaussSense

Tutorials - GaussToys Developers

Prerequisite

Hardware Materials

Please prepare the following hardware materials:

- 1 Mini GaussSense Box, including
    - Mini GaussSense
    - Mini GaussSense Breadboard Adapter
    - Magnet
- 1 Breadboard
- 1 Arduino Board & 1 USB Cable for the Board
- 7 Jumping Wires

Setting up Programming Environment

Also, please setup the following environments:
- Setup the Arduino Software (If you have Arduino installed already, you can skip this step.)
- Setup the Processing IDE (If you have Processing IDE installed already, you can skip this step.)
- Setup the GaussSense SDK for Processing
- Download the Arduino Firmware for 1x1 Mini GaussSense, this file is going to be uploaded to the Arduino board

Connecting the Mini GaussSense to Arduino

Wiring Circuit

Please connect all 7 wires between the Arduino board and the Mini GaussSense as follows:

Arduino Mini GaussSense
5VV
GNDG
A0A
20
31
42
53

Then, connect the Arduino board with a USB cable to your computer. If you see a blue LED lights up on the Mini GaussSense, you have finished connecting it to the Arduino. Congratulations!

Uploading Arduino Firmware

Now, it's time to upload the Arduino firmware to the board.
Please open the Mini_GaussSense_V1.ino file you have downloaded in the Arduino Software.
Click Tools to select your Arduino board and serial port.
Then, hit Upload to upload this code to the Arduino board.

Your First Project: Observe the Magnetic Field in Processing

Great! After setting up the programming environment and connecting the Mini GaussSense to your Arduino board, let's try your first Mini GaussSense project!

First, open File > Examples… > Contributed Libraries > GaussSense SDK for Processing.
You will see a sketch example e1_HelloGaussSense in Basics folder.

Please open the file and hit the Run button. You will see the visualizing effect of the magnetic field in red and blue.

Well Done! Let's explore the Basic Features of Mini GaussSense now.

Back to Tutorials