element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
    About the element14 Community
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      •  Vietnam
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
CodeBug
  • Learn
  • Learning Center
  • STEM Academy
  • CodeBug
  • More
  • Cancel
CodeBug
Documents 10 CodeBug Projects in 10 Days
  • Blog
  • Forum
  • Documents
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join CodeBug to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Engagement
  • Author Author: element14Dave
  • Date Created: 17 Sep 2015 4:51 PM Date Created
  • Last Updated Last Updated: 6 Oct 2021 8:42 PM
  • Views 15249 views
  • Likes 20 likes
  • Comments 106 comments
Related
Recommended

10 CodeBug Projects in 10 Days

imageIntroducing CodeBug!

image  What is CodeBug

image  10 CodeBug Projects in 10 Days

image  Are You a STEM Educator?

 

 

 

                        image

You don't have permission to edit metadata of this video.
Edit media
x
image
Upload Preview
image

 

 

CodeBug is a fun, low-cost, programmable wearable device that anyone can learn to use. It's designed to teach the fundamentals of programming, physical computing and electronics. While being friendly and non-intimidating for beginners. Join us every week day for the next 10 days as we post fun projects to do with CodeBug! Read each project, "like" your favorite two and get an element14 CodeBug Badge!

 

Want to get your own CodeBug? We'll be giving away a CodeBug every day during the program. Let us know what project you would create in the comments section below for your chance to WIN! Terms and Conditions apply. See attached for details.

 

 

CodeBug Project Skill Level Time to Complete Winner
Scrolling Name Badge!Beginner10 Minutesgregoryfenton
Many Faced Bug Intermediate 15 Minutes jkutzsch
Fruit KeyboardIntermediate35 Minutes notdodgy
Flashing an LEDBeginner 10 Minutes

jelektro

Pushing ButtonsBeginner 15 Minutesvincentb
Steady Hand GameIntermediate 25 Minutes jagness
Tethering CodeBug with PythonAdvanced30 Minutes calgal
A Card For All OccasionsIntermediate 30 Minutes wondergy
Raspberry Pi Controlled CodeBug with I2CAdvanced15 Minutes yjeanrenaud
CodeBug and Raspberry Pi ClockAdvanced 15 Minutestyner
Attachments:
image10 CodeBug Projects in 10 Days Giveaway_Terms and Conditions.pdf
  • students
  • code_bug
  • codebug
  • stem
  • educators
  • projects
  • Share
  • History
  • More
  • Cancel
  • Sign in to reply

Top Comments

  • element14Dave
    element14Dave over 10 years ago in reply to gregoryfenton +3
    Get ready for that spare CodeBug gregoryfenton you are our day 1 winner! Keep those ideas coming! Dave
  • element14Dave
    element14Dave over 10 years ago in reply to jkutzsch +3
    Hello jkutzsch , We will be sending an CodeBug your way!
  • balearicdynamics
    balearicdynamics over 10 years ago in reply to notdodgy +3
    Hey Roger, NOT a lollypop stick, just a lollypop ! (I imagine the distributor workers obliged to suck lot of lollypops a day to produce the sticks ...) Enrico
Parents
  • jelektro
    jelektro over 10 years ago

    I would like to create a light follower which is capable of detecting and following the light source on the traveling path.

    The light following robot includes: CodeBug, 2 phototransistors and 2 gear motors. The light will be used to steering the robot.

    If the light falls on the left phototransistor, the robot will turn left. Likewise, the robot will turn right if the light falls on the right optic sensor.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • Former Member
    Former Member over 10 years ago in reply to jelektro

    I was planing on doing the Line following robot design with my codebug.

     

    The Line following sensors I have pull high when active, Codebug has internal pullups on the legs so we will need to use a transistor to invert the sensor output signal. (unless we find a line sensor that pulls low when activated).

     

    Here's what I've done so far: https://bmsdoug.wordpress.com/tag/codebuggy/

     

    The first codebuggy I saw was by Mike Redrobe http://codebugforum.co.uk/viewtopic.php?f=11&p=165#p165

    his servo driving code is here:  CodeBug – Code buggy - Servo Rover

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • jc2048
    jc2048 over 10 years ago in reply to Former Member

    The pull-ups must be pretty high in value. One of these projects pulls the input down using body resistance to GND. I measure about 2Mohms left hand to right hand [just measured myself with a multimeter], so the pull-up is probably a good bit higher than that (10M or 22M perhaps?). If you add your own pull down of 47k, or something like that, it will easily defeat the onboard pullup and you should then be able to just run your sensor output straight into it without inverting.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • Former Member
    Former Member over 10 years ago in reply to jc2048

    I had thought that would be the best approach, so I asked on the CodeBug website (In the Experimenters Kit Tutorial):

    I'd like to connect a peripheral which will pull it's output high (5V) when it's condition is satisfied, all of the instructions I have found so far indicate how to operate a switch that connects to ground rather than one that pulls high. Should I add a physical pulldown resistor (as there isn't a pulldown option in blockly)? Will I need to add a voltage divider to the output to drop the voltage level onto the input leg?


    I (eventually) received the following reply:


    Tom Macpherson-Pope wrote:

     

    CodeBug has pullup resistors so the inputs default to high. To achieve what you need you could use a transistor to pull the pin to CodeBug's ground when your peripheral

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
Comment
  • Former Member
    Former Member over 10 years ago in reply to jc2048

    I had thought that would be the best approach, so I asked on the CodeBug website (In the Experimenters Kit Tutorial):

    I'd like to connect a peripheral which will pull it's output high (5V) when it's condition is satisfied, all of the instructions I have found so far indicate how to operate a switch that connects to ground rather than one that pulls high. Should I add a physical pulldown resistor (as there isn't a pulldown option in blockly)? Will I need to add a voltage divider to the output to drop the voltage level onto the input leg?


    I (eventually) received the following reply:


    Tom Macpherson-Pope wrote:

     

    CodeBug has pullup resistors so the inputs default to high. To achieve what you need you could use a transistor to pull the pin to CodeBug's ground when your peripheral

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
Children
No Data
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2026 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube