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
Personal Blogs
  • Community Hub
  • More
Personal Blogs
NexGen Flight Simuator NexGen: Fuel Indicator: Wire & Power-up: 2
  • Blog
  • Documents
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: phoenixcomm
  • Date Created: 18 Nov 2020 7:26 PM Date Created
  • Views 1307 views
  • Likes 5 likes
  • Comments 5 comments
  • flight simulator
  • nexgen
  • mcp23017
  • arduino mega 2560
  • recycleretrofitch
  • c progrmming
  • diy electronics
Related
Recommended

NexGen: Fuel Indicator: Wire & Power-up: 2

phoenixcomm
phoenixcomm
18 Nov 2020

imageThis is now round two. last night I wondered if I popped the MCP23017 or, is the scanner software bad? So the first this I did was to stick an MCP2327  on a breadboard and ran the scanner. It still said No I2C address found. As I relooked at the documentation and other websites I noticed that the device has a reset pin which is low-active, so without it connected to a pull-up it floats. This keeps the device in reset and nothing will work.

Now the scanner is reporting I2C device at address 0x20!

Now to test my MCP23017 on my interface board. I put the device from the breadboard into the interface board, I got no device found again. Ok, I tried again I noticed that the reset pin was grounded after I put the pin to power and it worked. So now I put the original device back on the interface board, and it works. So I have to do a small re-wire on the interface board, the power, and the ground, as well as tie the reset to power the device.

image image
Working Breadboard Working Interface board with jumpers

 

With the fixes done, an addition of a wire between the display ground and the MCP23017 ground pin. Doing this will keep the logical ground between both devices the same. Now the scanner is reporting I2C device at address 0x20!

I could have wired the device's reset pin to the Arduino itself, In this way, I could keep the device reset until the software had a chance to initialize. I think that I will hold off on this for the moment.

In the next blog, I will be testing the interrupt circuit on my breadboard and test it with my oscilloscope. Then install it on the interface board.

  • Sign in to reply

Top Comments

  • phoenixcomm
    phoenixcomm over 5 years ago in reply to DAB +3
    DAB here is an example of "plug and play"! And by the way, have you ever heard of the server prayer? ~~Cris
  • dougw
    dougw over 5 years ago in reply to phoenixcomm +3
    Plug-and-play may not work but you can always plug-and-pray....
  • phoenixcomm
    phoenixcomm over 5 years ago in reply to dougw +2
    dougw
Parents
  • DAB
    DAB over 5 years ago

    You have to love integration work.

    Normally you assume that everything is plug and play, then you put everything together and discover that there are many subtle details needed before everything works.

     

    Good job Chris.

     

    DAB

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • phoenixcomm
    phoenixcomm over 5 years ago in reply to DAB

    DAB here is an example of "plug and play"!  And by the way, have you ever heard of the server prayer?  ~~Crisimage

    image

    • Cancel
    • Vote Up +3 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • dougw
    dougw over 5 years ago in reply to phoenixcomm

    Plug-and-play may not work but you can always plug-and-pray....image

    • Cancel
    • Vote Up +3 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • phoenixcomm
    phoenixcomm over 5 years ago in reply to dougw

    dougw image

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • DAB
    DAB over 5 years ago in reply to phoenixcomm

    No, but I am not surprised.

     

    I have seen a lot of bodged test gear in my day.

    Especially with a lot of the advanced prototype devices we had delivered to the lab.

     

    DAB

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
Comment
  • DAB
    DAB over 5 years ago in reply to phoenixcomm

    No, but I am not surprised.

     

    I have seen a lot of bodged test gear in my day.

    Especially with a lot of the advanced prototype devices we had delivered to the lab.

     

    DAB

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