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
Raspberry Pi
  • Products
  • More
Raspberry Pi
Raspberry Pi Forum My rPI Shield: 16 PWM + 16 GPIO + 4 16 bit ADC + Extras!
  • 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 18 replies
  • Subscribers 684 subscribers
  • Views 3693 views
  • Users 0 members are here
  • raspberry
  • pi
  • gpio
  • pwm
  • custom
  • raspberry_pi
  • ir
  • shield
  • nrf24l01
  • adc
Related

My rPI Shield: 16 PWM + 16 GPIO + 4 16 bit ADC + Extras!

vitormhenrique
vitormhenrique over 11 years ago

Hello everyone,

 

So, recently I started working on a robot project, I own one of those rover 5 robot platform, and wanted to control it with my rPI. The problem is that the controller board utilizes +5V PWM signals, I would need ADC inputs to read the current drawn from the motors, and some +5V enable GPIO for other stuff.

 

I could use one level shifter to do the job, and many other IC chips for each other feature, but I ended up creating one shield for my rPI that had it all, I named it the "tauShield".

 

All the features are:

  • 16 PWM, 12-bit PWM (frequency from 40 Hz to 1000 Hz)
  • 4 16-Bit Analog-to-Digital IO's
  • 16 GPIO'S through an expander IC
  • 8 native rPI GPIO with +5V logic input / output
  • IR emitter / receiver
  • nRF24L01 adaptor (ultra low power 2Mbps RF transceiver for the 2.4GHz , excellent to talk to Arduinos, remote control the robot, etc...)

 

Ordered the PCB from oshpark:

image

 

After 1 hour of hand soldering, the result:

 

image

The shield also has a power jack that power the Raspberry PI with a overcurrent protection. The IC's share a I2C bus, the address of each IC can be changed soldering the jumper pads.

 

This is my first real "board" and I already noticed some stuff that can be improved, but it is working like a charm.

 

I still have extra 2 boards of this revision, and 2 from the first revision (does not have the GPIO expander and utilizes sparkfun's nRF24L01 adaptor), if anybody is interested let me know, I would need to hand solder it and ship to you.

 

So what do you guys think of my shield? suggestions? improvements? what is missing?

 

Couple more pictures:

 

image

image

 

Best regards,

 

Vitor Henrique

  • Sign in to reply
  • Cancel
  • vitormhenrique
    vitormhenrique over 11 years ago

    Question: does anybody know a good and reliable right angle switch that can handle the current drawn from the rPI, if possible small too (~1A should be ok) ?

     

    I was digging on Digikey but could not find one.

     

    Vitor Henrique

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Robert Peter Oakes
    Robert Peter Oakes over 11 years ago in reply to vitormhenrique

    would something like this work or is it too big

    A101J1AV2Q004 - TE CONNECTIVITY / ALCOSWITCH A101J1AV2Q004 - SWITCH, ROCKER, SPST, 5A, 250V, BLACK | Newark element14 Ca…

     

    Peter

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • vitormhenrique
    vitormhenrique over 11 years ago in reply to Robert Peter Oakes

    That is toooo big...

     

    I was looking for something like this

     

    But there is no stock! =/

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Problemchild
    Problemchild over 11 years ago in reply to vitormhenrique

    To be honest you can use this or any smaller switch the current handling is hardly an issue for the 0.5 A@5V of the RPI you can safely go very small in deed image

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Robert Peter Oakes
    Robert Peter Oakes over 11 years ago

    well to be honest and in agreement with John even one of these wil work

     

    http://canada.newark.com/webapp/wcs/stores/servlet/Search?catalogId=15003&langId=1&storeId=10196&categoryId=800000005373&pageSize=25&showResults=true&pf=810097727

     

    there are a few rated at 500mA which though a little low in mA is more than made up for in the lower volts your switching, it should work well for your purpose

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Problemchild
    Problemchild over 11 years ago in reply to Robert Peter Oakes

    Of course thinking about it. You will not be switching in and out the power al the time so you can just use a 2 pin 0.1" post and a link ...nice and simple,cheap and small!!

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • vitormhenrique
    vitormhenrique over 11 years ago in reply to Problemchild

    I thought about this already, but i was concerned that the exposed header could be accidentally shorted when the board is placed in a robot / case.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Problemchild
    Problemchild over 11 years ago in reply to vitormhenrique

    True but they also come in 90 degree mounting style so you can have it coming out the side of the PCB..Small switch is better though.

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