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
  • 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
Raspberry Pi
  • Products
  • More
Raspberry Pi
Raspberry Pi Forum 11 year old's blog and adc question
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Raspberry Pi to participate - click to join for free!
Featured Articles
Announcing Pi
Technical Specifications
Raspberry Pi FAQs
Win a Pi
Raspberry Pi Wishlist
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 6 replies
  • Subscribers 677 subscribers
  • Views 678 views
  • Users 0 members are here
  • raspberry
  • python
  • digital
  • to
  • pi
  • converter
  • raspberry_pi
  • rpi
  • analog
Related

11 year old's blog and adc question

Former Member
Former Member over 12 years ago

I'm an 11-year old girl who has been using the RPi for about 5 months.  I've used Python in VIM, IDLE, Midory, OpenELEC, Scratch, and GPIO so far.  Check out my adventures on my blog at http://raspberrypikid.wordpress.com and some of my projects in Scratch are here: http://scratch.mit.edu/krystal92586 (I think the website is down until May 9th.  I can't wait for Scratch 2.0!)

 

I bought an analog to digital converter from Adafruit, but the instructions are way too hard for me (bit banging?).  Anybody have a set of simple instructions?  I'd just like to use sound, light, temperature probes with my RPi.

 

Krystal

  • Sign in to reply
  • Cancel
Parents
  • Former Member
    Former Member over 12 years ago

    Hey Krystal,

     

    Kudos to you! I think what you're doing is really cool.

     

    Interfacing with an analog to digital converter is not really much harder than what you have already been doing, so let's see if we can get you going.

     

    First of all, let's start by figuring out which device you bought. They all work pretty much the same way, but there are some differences. Just post a link to the product you bought.

     

    Before trying to connect light or temperature sensors, I'd recommend connecting a simple potentiometer. That way, you can get used to the ideas behind analog to digital conversion without having to think about how to work with a particular kind of sensor.

     

    So let's start with the model of AtoD you bought and take it from there.

     

    best,

     

    Derek

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Former Member
    Former Member over 12 years ago in reply to Former Member

    Thanks everyone.  It is the mcp3008 found here: http://www.adafruit.com/products/856

    I love adafruit's website, but that's where I saw the instructions that were way too hard for me.  It's the same instructions that Drew linked to.  For example, I have no idea what any of this means, "Advanced users may note that the Raspberry Pi does have a hardware SPI interface (the cobbler pins are labeled MISO/MOSI/SCLK/CE0/CE1). The hardware SPI interface is super fast but not included in all distributions. For that reason we are using a bit banged SPI implementation so the SPI pins can be any of the raspberry pi's GPIOs (assuming you update the script)."

     

    Thanks!

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • mcb1
    mcb1 over 12 years ago in reply to Former Member

    Krystal

    Some of the instructions are hard for me as well, but at your age learning is a lot easier.

     

    SPI is used on the PiFace Digital.

    There is some information here that may help.

    http://www.farnell.com/datasheets/1686131.pdf

     

     

    Mark

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Reply
  • mcb1
    mcb1 over 12 years ago in reply to Former Member

    Krystal

    Some of the instructions are hard for me as well, but at your age learning is a lot easier.

     

    SPI is used on the PiFace Digital.

    There is some information here that may help.

    http://www.farnell.com/datasheets/1686131.pdf

     

     

    Mark

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • 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