SKU_BOS0012_Conductivity_Switch_i12-DFRobot

Introduction

A conductivity switch can be used to detect if an object has electrical conductivity. It can detect not only good conductors like wire, coin, and metal, but also poor electrical conductors such as human, fruit, and plants. Use this module to make interactive applications, for instance, fruit pianos, musical wind chimes or interactive video games.

Specification

Pinout

BOS0012 Pinout

Number Name Description
1 GND Negative
2 VCC Positive
3 Signal Digital Signal Line
4 LED Switch Indicator
5 Alligator Clip Conduct electricity

Usage Description

Touch the positive and negative points of the switch in figure below to change the output state of the switch; or connect them to a fruit to generate digital signal.

Principle

The conductivity switch detects the existence of the current, then generate and output digital signal.

Application

(1) Detect the conductivity of objects

Description: connect the module and fruits with wires and display the result on the OLED module.

Components:

Alligator Clip
BOS0012 Conductivity Switch Alligator Clip BOS0044 OLED Display Module
BOS0035 Mainboard-3IO MBT0039 micro:bit BOS0040 micro:bit

Tips: micro:bit and Micro:bit BOSON expansion boards are used in the programming example.

Non-programming Sample

Connection:

Connection 1

Programming Sample

Connection:

Connection 2

Flow Chart:

Flowchart 1

Mind+ Sample Program:

Makecode Sample Program:

Video Demo:

Non-programming Programming

(2) Detect Metal Object

Description: When a metal object is detected, the buzzer starts buzzing.

Components:

Alligator Clip
BOS0012 Conductivity Switch Alligator Clip BOS0020 Buzzer Module
BOS0035 Mainboard-3IO MBT0039 micro:bit BOS0040 micro:bit

Tips: micro:bit and Micro:bit BOSON expansion boards are used in the programming example.

Non-programming Sample

Connection:

Connection 3

Programming Sample

Connection:

Connection 4

Flow Chart:

Flowchart 2

Mind+ Sample Program:

Makecode Sample Program:

FAQ

For any questions, advice or cool ideas to share, please visit the DFRobot Forum

Turn to the Boson Kit Page