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
Arduino
  • Products
  • More
Arduino
Arduino Forum Help on I2C question
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Arduino to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Not Answered
  • Replies 11 replies
  • Subscribers 394 subscribers
  • Views 863 views
  • Users 0 members are here
  • iot_holidaylights
  • sparkle_ball
Related

Help on I2C question

clem57
clem57 over 10 years ago

Looking for a method/device to address as I2C to turn on/off 12+ volts. It needs to be very small and can have an address set. I will have around 50 different addresses to control 3 lights.

 

Thanks

Clem

  • Sign in to reply
  • Cancel

Top Replies

  • bobcroft
    bobcroft over 10 years ago +1
    Clem, Not I2C but SPI. Have a look at Majenko.co.uk he does a 32 port IO expander board and up to 4 can be used on 4 wires from the Arduino i.e. 128 IO! I use these to drive banks of 8 relays via opto…
Parents
  • clem57
    0 clem57 over 10 years ago

    @bobcroft

         I could use SPI interface from what you show. Researching that angle. Would like something elegant/simple to do...

     

    @Michael Oldfield

         Need to check this one out too because transistors should be rather inexpensive. MCP23008 could be the key to switching these. About how fast do you think this can occur (the switching).

     

    Thanks to all,

    Clem

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • binarygenius
    0 binarygenius over 10 years ago in reply to clem57

    The MCP23008 according to the datasheet MCP23008 - Interface- Serial Peripherals can switch at 100kHz, 400kHz and 1.7MHz I2C with the transistors depends on which ones you use but normally very fast and to save on pins you could do a 7x7 matrix and it should only use 8 pins i think if you have a common ground but that would only be 49 transistors. if you where going to use SPI the 595 series shift register at 20mhz could be a cheap option http://www.nxp.com/documents/data_sheet/74HC_HCT595.pdf but can use a lot of memory and you would still need transistors but like i say it is hard to offer solutions without knowing more like how many amps at 12v, what type of load the more info the better.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • clem57
    0 clem57 over 10 years ago in reply to binarygenius

    Looking at 300 LED's at 20 mA each for a total around 6 A if all on with white! Really hope not to do this... I plan on feeding this with old 120V-> 20 volt/6 A laptop regulator rated at 90 watt's into a buck DC to DC down to 12 Volts. Am I crazy? LOL

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • clem57
    0 clem57 over 10 years ago in reply to clem57

    Oh I plan on dividing these into groups of 3-6 LED's per cup...

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Reply
  • clem57
    0 clem57 over 10 years ago in reply to clem57

    Oh I plan on dividing these into groups of 3-6 LED's per cup...

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