element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • 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 Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • 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
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • 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 IO Expansion Card
  • 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
  • State Suggested Answer
  • Replies 11 replies
  • Answers 11 answers
  • Subscribers 665 subscribers
  • Views 1433 views
  • Users 0 members are here
  • timers
  • pwm
  • dac
  • raspberry pi io
  • opto-couplers
  • opto-isolated
  • raspberry_pi
  • adc
  • relay
Related

IO Expansion Card

mbeffa
mbeffa over 8 years ago

I use a Raspberry PI for my home automation. Security, Heating, Cooling and Irrigation.

I use a mix-and-match of IO cards and relays. Wiring is a mess.

 

I looked for an compact IO card to do all I needed and could not find it, so I designed my own. I am thinking of trying to sell it.

The card is a stackable HAT, it passes through 23 GPIO's from Raspberry and it adds another 18 of it's own.

Twelve of the 18 GPIO's can be configured as 12 bit ADC's. It also has eight on board relays, eight optically isolated inputs and one DAC output.

Timers lurch in the dark, can be programmed if needed. STM processor on board with PWM and lots of other I/O resources.

 

Q1. What are the restrictions of using the Raspberry logo on HAT cards?

 

Q2. Anybody thinks this card is a good idea, or it's just in my head?

  • Sign in to reply
  • Cancel
Parents
  • Robert Peter Oakes
    0 Robert Peter Oakes over 8 years ago

    What are the specifications for the inputs and outputs, the Relays themselves are probably rated for mains but a HAT should NEVER be for so many reasons.

    You did not specify what the analogue IO is ranged at. Can you provide more details ?

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • mbeffa
    0 mbeffa over 8 years ago in reply to Robert Peter Oakes

    The opto-isolated inputs use standard Toshiba  TLP293TLP293 optocouplers

     

    The on-board processor is from ST Micro, STM8L151 - GPIO pins are connected directly to the expansion connector.

    If the price is right (under $40), why NEVER have so many features? Use only what you need.

     

    The relays and relay connectors are rated 10A/250V.

    There are 12 ADCs, 12 bit and up to 1Msps each.

    Due to connector limitation, the 12 ADC's are part of the 18 GPIO's - mix and match as you wish.

    All I/O's are memory mapped through the I2C interface. The card looks like an I2C EEPROM.

     

    I did not mention that there is also a DAC output, up to 7 timers, PWM and other stuff that we do not plan to support, at least in the first phase.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • Robert Peter Oakes
    0 Robert Peter Oakes over 8 years ago in reply to mbeffa

    thanks for the fast response and good information.

     

    My Only remaining query is with the relays

    Are you claiming and stating that the board supports 10A at 250V or simply that the relays are rated at that.

    Many of us TMs on the E14 community have had to step in with advice and more when it comes to designs of boards claiming to support Mains and High current, specifically mains voltages.

     

    Due to the nature of how a HAT connects to the PI and also the type of people that would be targeted for a HAT, we always advise, sometimes quite strongly that the approved volts be no more than about 30 or 40 volts. basically put, to have mains on a HAT is downright dangerous and a disaster waiting to happen. and there are so many better ways to control mains devices from any microcontroller.

     

    mcb1 and I have advised on many projects here on the E1 community when it comes to this kind of safety issue.

     

    If your not telling people you support Mains on the board, then great but then I would suggest a warning o folks not to do it, simply because the relay says it can (A common mistake many consumers make)

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • mbeffa
    0 mbeffa over 8 years ago in reply to Robert Peter Oakes

    I am claiming the relays and the connectors to get to them are rated 10A/250V.

    (Songle relays used by all relay boards)

    .

    I am using the relays to control sprinklers and heating/cooling of the house. All run at 24V.

    I would not run 250V or 10A into the board, but if someone wishes to do it, the relays claim to take it.

    Such a small board should not be used to drive industrial control equipment requiring many amps.

    The main application should be home automation, all 24V systems.

     

    The board will come with a browser interface for all I/O's, running on Raspberry's web server.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • Robert Peter Oakes
    0 Robert Peter Oakes over 8 years ago in reply to mbeffa

    I would be sure to add a disclaimer regarding Mains operation then to cover your ^&%(%. and activly discourage people from using it directly with mains. (Provide an alternate option for that as a simple external MAINS relay in a box or something. I personally use SONOFF Relay WIFI units, there based on ESP8266 chips, are really cheap and have CE certificate. for many models. Thould would easily cover the "Mains side of things and easily to integrate with the PI using MQTT or other methods.

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • mcb1
    0 mcb1 over 8 years ago in reply to mbeffa

    I would not run 250V or 10A into the board, but if someone wishes to do it, the relays claim to take it.

    The issue is not the relay but the pcb layout and sizing.

     

    A properly designed board for 230v will have cuts to reduce tracking across the board surface.

    The connectors, pads and track widths will be suitable sized to cope with 10A current, regardless of the voltage.

     

     

    mark

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • Workshopshed
    0 Workshopshed over 8 years ago in reply to Robert Peter Oakes

    A separate box with IEC sockets and plug would be a good approach.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • Robert Peter Oakes
    0 Robert Peter Oakes over 8 years ago in reply to Workshopshed

    Yes for sure, but I would also have a relay in that box with the IEC socket. the local one on the hat can drive it safely with low voltage.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • mbeffa
    0 mbeffa over 7 years ago in reply to mcb1

    High voltage specs on the board have been reduced to 24V and 4A.

    Another card is in the works with true 250V/10A capabilities and industrial specs (4-20mA and 0-10V in and out)

     

    Previous card is now available at sequentmicrosystems.com

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
Reply
  • mbeffa
    0 mbeffa over 7 years ago in reply to mcb1

    High voltage specs on the board have been reduced to 24V and 4A.

    Another card is in the works with true 250V/10A capabilities and industrial specs (4-20mA and 0-10V in and out)

     

    Previous card is now available at sequentmicrosystems.com

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • 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 © 2025 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