# Tutorial



These tutorials show you how to connect to peripheral devices or 3rd party services. Please choose a topic below:

* [SMD Buttons](tutorial/smd-buttons)
* [RGB LED](tutorial/rgb-led)
* [Potentiometer](tutorial/potentiometer)
* [IMU 9DOF v2.0 (MPU-9250)](tutorial/imu-9dof-v2.0-mpu-9250)
* [Temperature and Humidity Sensor Pro (AM2302)](tutorial/temperature-and-humidity-sensor-pro-am2302)
* [Grove Ultrasonic Ranger](tutorial/grove-ultrasonic-ranger)
* [Light Sensor (LM358)](tutorial/light-sensor-lm358)
* [Grove OLED Display 0.96" (SSD1308Z)](tutorial/grove-oled-display-0.96-ssd1308z)
* [LED Bar v2.0 (MY9221)](tutorial/led-bar-v2.0-my9221)
* [Relay](tutorial/relay)
* [Mini Servo (EMAX 9g ES08A Servo)](tutorial/mini-servo-emax-9g-es08a-servo)
* [Driving 7-segment Displays with 74HC595](tutorial/driving-7-segment-displays-with-74hc595)
* [Driving 7-segment Displays with MAX7219](tutorial/driving-7-segment-displays-with-max7219)
* [Driving 8x8 Dot Matrices with MAX7219](tutorial/driving-8x8-dot-matrices-with-max7219)
* [Using OLED module (SH1106 / SSD1306... etc.)](tutorial/using-oled-module-sh1106-ssd1306...-etc.)
* [Driving 1602 LCD with PCF8574 / PCF8574A](tutorial/driving-1602-lcd-with-pcf8574-pcf8574a)

Below are tables for you to quickly refer to corresponding materials of a specific component:

* [General Components](#tutorial-generalcomponents)
* [Grove Components](#tutorial-grovecomponents)

### General Components <a href="#tutorial-generalcomponents" id="tutorial-generalcomponents"></a>

| Component                         | Driver IC                      | Library for LinkIt 7697                                                                                                                          | Tutorial |
| --------------------------------- | ------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------ | -------- |
| 7-segment Display                 | 74HC595                        | -                                                                                                                                                | ✓        |
| 7-segment Display Module          | MAX7219                        | -                                                                                                                                                | ✓        |
| Dot-matrix Display Module         | MAX7219                        | -                                                                                                                                                | ✓        |
| Generic OLEDs                     | SH1106 / SSD1306... etc.       | [✓](https://github.com/MediaTek-Labs/linkit-7697-peripheral-drivers-for-arduino/tree/master/U8g2_Arduino-master)                                 | ✓        |
| Hitachi HD44780 1602 LCD Module   | PCF8574A / PCF8574             | [✓](https://github.com/MediaTek-Labs/linkit-7697-peripheral-drivers-for-arduino/tree/master/LiquidCrystal_I2C)                                   | ✓        |
| Stepper Motor Module              | ULN2003                        | [Built-in Class](https://www.arduino.cc/en/Reference/Stepper)                                                                                    | -        |
| Barometric and Temperature Sensor | BMP183                         | [✓](https://github.com/MediaTek-Labs/linkit-7697-peripheral-drivers-for-arduino/tree/master/Adafruit_BMP183_Library-master)                      | -        |
| NeoPixels                         | WS2812                         | [✓](https://github.com/MediaTek-Labs/linkit-7697-peripheral-drivers-for-arduino/tree/master/Adafruit_NeoPixel)                                   | -        |
| HC-SR04 Ultrasonic Sensor         | -                              | [✓](https://github.com/MediaTek-Labs/linkit-7697-peripheral-drivers-for-arduino/tree/master/HCSR04Ultrasonic)                                    | -        |
| 9 DOF Sensor                      | MPU-9250                       | [✓](https://github.com/MediaTek-Labs/linkit-7697-peripheral-drivers-for-arduino/tree/master/Grove_IMU_9DOF_MPU9250)                              | ✓        |
| Temperature and Humidity Sensor   | AM2302 / DHT22 / DHT11... etc. | [✓](https://github.com/MediaTek-Labs/linkit-7697-peripheral-drivers-for-arduino/tree/master/Grove_Temperature_And_Humidity_Sensor_AM2302-master) | ✓        |
| Light Sensor                      | LM358                          | -                                                                                                                                                | ✓        |
| OLED 0.96" (128x64)               | SSD1308                        | [✓](https://github.com/MediaTek-Labs/linkit-7697-peripheral-drivers-for-arduino/tree/master/OLED_Display_128X64_SSD1308Z-master)                 | ✓        |
| OLED 1.12" (96x96)                | SSD1327                        | [✓](https://github.com/MediaTek-Labs/linkit-7697-peripheral-drivers-for-arduino/tree/master/OLED_Display_96X96_SSD1327-master)                   | -        |
| LED Bar                           | MY9221                         | [✓](https://github.com/MediaTek-Labs/linkit-7697-peripheral-drivers-for-arduino/tree/master/Grove_LED_Bar_MY9221-master)                         | ✓        |
| Servo                             | -                              | [Built-in Class](https://www.arduino.cc/en/reference/servo)                                                                                      | ✓        |
| IR                                | -                              | [✓](https://github.com/MediaTek-Labs/linkit-7697-peripheral-drivers-for-arduino/tree/master/Arduino-IRremote-master)                             | -        |

### Grove Components <a href="#tutorial-grovecomponents" id="tutorial-grovecomponents"></a>

| Component                       | Driver IC                      | Library for LinkIt 7697                                                                                                                          | Tutorial |
| ------------------------------- | ------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------ | -------- |
| IMU 9 DOF Sensor                | MPU-9250                       | [✓](https://github.com/MediaTek-Labs/linkit-7697-peripheral-drivers-for-arduino/tree/master/Grove_IMU_9DOF_MPU9250)                              | ✓        |
| Temperature and Humidity Sensor | AM2302 / DHT22 / DHT11... etc. | [✓](https://github.com/MediaTek-Labs/linkit-7697-peripheral-drivers-for-arduino/tree/master/Grove_Temperature_And_Humidity_Sensor_AM2302-master) | ✓        |
| Light Sensor                    | LM358                          | -                                                                                                                                                | ✓        |
| OLED 0.96" (128x64)             | SSD1308                        | [✓](https://github.com/MediaTek-Labs/linkit-7697-peripheral-drivers-for-arduino/tree/master/OLED_Display_128X64_SSD1308Z-master)                 | ✓        |
| OLED 1.12" (96x96)              | SSD1327                        | [✓](https://github.com/MediaTek-Labs/linkit-7697-peripheral-drivers-for-arduino/tree/master/OLED_Display_96X96_SSD1327-master)                   | -        |
| Ultrasonic Ranger               | -                              | [✓](https://github.com/MediaTek-Labs/linkit-7697-peripheral-drivers-for-arduino/tree/master/Grove_Ultrasonic_Ranger-master)                      | ✓        |
| LED Bar                         | MY9221                         | [✓](https://github.com/MediaTek-Labs/linkit-7697-peripheral-drivers-for-arduino/tree/master/Grove_LED_Bar_MY9221-master)                         | ✓        |
| EMAX 9g ES08A Mini Servo        | -                              | [Built-in Class](https://www.arduino.cc/en/reference/servo)                                                                                      | ✓        |

### Download <a href="#tutorial-download" id="tutorial-download"></a>

Check all drivers on our [GitHub repository](https://github.com/MediaTek-Labs/linkit-7697-peripheral-drivers-for-arduino).
