Does It Conduct

Introduction

Lots of things conduct electricity, but lots of other things don’t. How do we work out what conducts and what doesn’t? CodeBug has the answer! This guide will show you how to use CodeBug to test whether an object conducts electricity.

You will need
CodeBug CodeBug
Computer
Micro USB cable
Crocclips
Items to test their conductivity

2 Questions

Why objects conduct electricity

Objects conduct electricity because the atoms that make up the object have a loose bond to some of their electrons, meaning the electrons can move freely. When there is a flow of electrons, the loosely bound electrons in the material will jump from one atom to the next, again and again.


2 Questions
  • How does this work damas5 @ Sept. 20, 2018, 4:49 a.m.


    Answer this question:

  • -1

    v gra ehy6wyewbhywy 008788 @ July 26, 2018, 12:16 a.m.

    • Hi — damas5 @ Sept. 20, 2018, 4:49 a.m.


    Answer this question:

  • Ask a new question:

Write your program

You want your program to simply detect if a leg, say 0, has been connected to the ground leg. If it has you need to let the user know by turning on some LEDs, if leg 0 isn’t connected to ground, then you should turn the LEDs off.


6 Questions
  • I have completed the activity and the emulator shows the pixel lighting up when the input is grounded, but when I download the program the pixel flashes until the leg is grounded, when it stays on and then flashes when not grounded. I have tried setting another pixel and it changes the pixel but remains flashing. Why? dougie42 @ March 28, 2016, 5:40 p.m.

    • Please save and provide a link to your code — Thomas Macpherson-Pope @ March 29, 2016, 7:04 a.m.

    • I have just re=run the same program and it is now doing as expected. — dougie42 @ March 30, 2016, 2:02 p.m.


    Answer this question:

  • In the tutorial, I am able to click the "Show Leg Controls" button, however there is no "Configure emulator" button to click. Should this appear automatically or am I looking in the wrong place? jeffbloggs @ Jan. 14, 2016, 1:56 p.m.


    Sorry, 'Configure emulator' has been changed to 'Apply' Thomas Macpherson-Pope @ Jan. 15, 2016, 10:52 a.m.

    Answer this question:

  • deleted


    Answer this question:

  • deleted


    Answer this question:

  • Hi! I have the same problem as dougie42 had in the first answer. Here is a link to my code: http://www.codebug.org.uk/create/codebug/9772/input-reading/ also here is a video of CodeBug doing something unexpected. http://floppylab.com/butykolde/codebug.mp4 In the video you can see that I do not even touch the croc clip and it is flashing. I have tried loading the program again, but it didn't work. What am I doing wrong? Leah Der @ May 26, 2016, 2:07 p.m.


    Hi Leah, try putting CodeBug on a different surface (some tables & table cloths can act as a ground). Also try a new battery :) hope that helps. What is the item you have croc-clipped to leg 0? Thomas Macpherson-Pope @ May 26, 2016, 2:40 p.m.
    • the touch sensitivity will typically work better when using USB as it is 5 volts — Thomas Macpherson-Pope @ May 26, 2016, 2:42 p.m.

    • Wow! :) Thanks. I had the surface problem. Anyway, it was a half dead leaf of a flower... :) :P — Leah Der @ May 26, 2016, 2:48 p.m.


    Answer this question:

  • Hi, I have struggled with steps 2 and 3. When you click on the start block cog to bring up the window of options it does not have the input option we are supposed to choose. You have to select it instead of dragging the code into the space. It has 3 options for different legs and a drop down menu with options to choose digital or analogue inputs and outputs. Where am I going wrong? Thanks — Sara @ Sept. 30, 2016, 10:14 a.m.


    Answer this question:

  • Hi, I have struggled with steps 2 and 3. When you click on the start block cog to bring up the window of options it does not have the input option we are supposed to choose. You have to select it instead of dragging the code into the space. It has 3 options for different legs and a drop down menu with options to choose digital or analogue inputs and outputs. Where am I going wrong? Thanks — Sara @ Sept. 30, 2016, 10:14 a.m.

    • Sample of working program: http://www.codebug.org.uk/create/codebug/14022/grounded/ — Richard Elkins @ Oct. 27, 2016, 4:50 p.m.


    Answer this question:

  • Richard Kelly @ Oct. 3, 2016, 8:03 a.m.


    Answer this question:

  • Ask a new question:

Wire up your circuit

Connect a croc-clip to leg 0 on and connect another croc-clip to the GND leg on CodeBug. Now touch each clip to an end of your test item. If the LED on CodeBug lights up, then there must be a strong electrical connection through the croc-clips.


1 Question
  • Do i need to hold the ground clip? stebbi ben @ Jan. 17, 2016, 6:56 p.m.


    for codebug to register an input, a connection must be made from the GND leg to the 0 leg. Thomas Macpherson-Pope @ Feb. 8, 2016, 10:55 a.m.

    The only requirement for the pixel to light up is a completed (closed) circuit. This is similar to an LED lighting or a lamp lighting when a switch is turned ON (creating a closed circuit). No need to hold the ground clip; just attach it. If you are holding the metal part, you won't get injured because the electron flow is not very high (relatively weak circuit). Richard Elkins @ Oct. 27, 2016, 4:21 p.m.

    no you dont gpapid @ Sept. 8, 2017, 10:34 a.m.

    Answer this question:

  • deleted

    • Yes youdo — kwadwo @ April 13, 2017, 6:02 p.m.


    Answer this question:

  • deleted



    -1
    What I got is, that only Firefox or GoogleChrom works fine. (Especially to save your program in the cloud) The If block you will find under the blocky. It is the second block. I have no problems. The leg is very senstive. Already with wet fingers between leg 0 and GND, the conductive is strong enough, that the LED lights constantly. ge1ge @ Feb. 5, 2016, 11:17 p.m.

    Answer this question:

  • Ask a new question:

Conduct your experiments

Gather items you want to test the conductivity of and test them one by one, noting them down as you go. Identify any similarities you may notice in items that are conductive or nonconductive and list the materials they are made from to see what materials conduct electricity well.


1 Question

What next?

Create your own amazing conductive fruit keyboard to control CodeBug!


4 Questions
  • what Ehoughton @ Feb. 26, 2017, 11:37 p.m.

    • is the meaning of life — Brewmaster Kaif @ July 28, 2017, 12:18 a.m.

    • What is the meaining of death — Spicy Memes @ July 28, 2017, 12:21 a.m.

    • What is the meaining of death — Spicy Memes @ July 28, 2017, 12:21 a.m.


    Answer this question:

  • fghfdhfshdghghghghghghghgh zak hansford @ June 15, 2016, 9:11 a.m.

    • do you have autism or something? — Brewmaster Kaif @ July 28, 2017, 12:25 a.m.

    • You read my mind Master queef — Spicy Memes @ July 28, 2017, 12:26 a.m.

    • You read my mind Master queef — Spicy Memes @ July 28, 2017, 12:26 a.m.




    I would answer if you were speaking english and not chinese Brewmaster Kaif @ July 28, 2017, 12:27 a.m.

    Answer this question:

  • how does it work? sreyner @ Oct. 29, 2016, 6:26 p.m.


    with the power of my magic Brewmaster Kaif @ July 28, 2017, 12:26 a.m.

    Answer this question:

  • why am I being forced to do this? =( Brewmaster Kaif @ July 28, 2017, 12:18 a.m.


    Answer this question:

  • Ask a new question:

Back to top