ステップ1: 作る
説明
2つのワニクリップを使ってmicro:bitを使って、物質が電気を通すかどうかを調べましょう。古典的な科学実験を行う簡単な方法です!
使い方
- 以下のコードをmicro:bitに転送するか、自分でプログラムを作成したい場合は上記のコーディングビデオを見てください。
- micro:bitの下部には5つの大きなピンがあります。 ピン1とGNDまたはグランドピンをワニ口クリップ付きコードで接続すると、電気回路が完成します。
- 安全のために - GNDと3V端子を直接接続しないでください。micro:bitを損傷する可能性があります。
- 2つのワニクリップリードを取り付けた場合、1つはピン1、もう1つはGNDピンに取り付けます。 2つの端の間にシルバー箔やフィルム等の素材を貼ることで、それが導電性か絶縁体かを調べることができます
動作の仕組み
- The project uses selection. If an electrical circuit is made (because the material conducts) then the micro:bit will show a heart on its LED display and play the note Middle C.
- Else, if a circuit is not made, the micro:bit will clear its LED display and a note will not play - the micro:bit is instructed to play a note at a frequency of 0Hz.
- The program uses a forever or infinite loop to keep on testing until you disconnect your micro:bit from a power supply.
必要なもの
- micro:bit (or MakeCode simulator)
- MakeCodeエディター
- バッテリーパック(任意ですが推奨)
- our pins introduction video may be useful
You may like
The Conductivity tester recording sheet can be used to record which materials conduct and which do not in a classroom or coding club.

ステップ2: プログラムする
ステップ3: 改善する
- Adjust the code to show a different icon or play a different sound if the material is conductive.
- Try out a wide range of materials with your conductivity tester such as pencil graphite, PlayDoh, and dry and damp tissue paper.
- It can be fun to use a human being as the test material! Simply hold the crocodile clip leads in both hands, or form a human chain.