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 Can Someone Review my Schematic for Android GPIO?
  • 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 7 replies
  • Subscribers 386 subscribers
  • Views 1225 views
  • Users 0 members are here
  • android
  • arduino nano
  • mcp2200
  • arduino
Related

Can Someone Review my Schematic for Android GPIO?

mjones517
mjones517 9 months ago

Okay, so I want to access Arduino GPIO pins via Android. My plan is to access them via a serial connection using an MCP2200. I can read / write to the serial port on Android, which can then interact with the Arduino.

The problem is I also want to be able to plug in the phone and have it charging while still being able to access the Arduino. I came up with this, but am pretty new to the electronics side of things and want to avoid blowing things up. Will this do what I want?

It's essentially two USB ports. One goes to the charger, the other to the phone. The Arduino and MCP2200 sit in the middle.

image

  • Sign in to reply
  • Cancel

Top Replies

  • wolfgangfriedrich
    wolfgangfriedrich 9 months ago +2
    Short answer is: No this will not work in the current form. Long answer: The basics: Connect all GND pins on both USB connectors, Arduino+ VSS and a schematic GND symbol Connect all VBUS on both…
  • shabaz
    shabaz 9 months ago +2
    Hi, I agree with everything Wolfgang mentioned. If you want to make life easier, it is possible for a few $ to obtain a ready-made USB OTG cable with extra port for charging. It will contain the electronics…
  • wolfgangfriedrich
    wolfgangfriedrich 9 months ago in reply to mjones517 +2
    I agree with everything shabaz mentioned. But if you want to go the fun route and design your own solution,here we go. Even as a USB device you need the 12 MHz crystal. The chip needs some sort of…
Parents
  • James_Smith
    0 James_Smith 8 months ago

    I am a newbie and reviewed your schematic. I have some points about your project. Correct me if I am wrong:

    The grounds of the MCP2200 (U2) and the Arduino Nano (U1) are properly connected, which is good. But if the USB ports don't share a ground, the phone might have trouble talking to the MCP2200, and it could also have issues charging.
    In any electric circuit, ground (GND) acts like a shared reference for voltages. If the grounds are separated:

    - Serial communication can fail because the signal lines (TX/RX) need a common voltage to function correctly.
    - Powering the phone might be inconsistent or could completely stop working.

    Beside this, Your circuit is well thought out for someone new to electronics, and it should work fine for charging and serial communication. Test the setup with a multimeter to confirm proper voltages and current flow. Slight smile

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Reply
  • James_Smith
    0 James_Smith 8 months ago

    I am a newbie and reviewed your schematic. I have some points about your project. Correct me if I am wrong:

    The grounds of the MCP2200 (U2) and the Arduino Nano (U1) are properly connected, which is good. But if the USB ports don't share a ground, the phone might have trouble talking to the MCP2200, and it could also have issues charging.
    In any electric circuit, ground (GND) acts like a shared reference for voltages. If the grounds are separated:

    - Serial communication can fail because the signal lines (TX/RX) need a common voltage to function correctly.
    - Powering the phone might be inconsistent or could completely stop working.

    Beside this, Your circuit is well thought out for someone new to electronics, and it should work fine for charging and serial communication. Test the setup with a multimeter to confirm proper voltages and current flow. Slight smile

    • 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