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
Sudden Impact Wearables Design Challenge
  • Challenges & Projects
  • Design Challenges
  • Sudden Impact Wearables Design Challenge
  • More
  • Cancel
Sudden Impact Wearables Design Challenge
Forum Analog ADT7420FBZ Question
  • Blog
  • Forum
  • Documents
  • Polls
  • Files
  • Events
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Verified Answer
  • Replies 18 replies
  • Subscribers 5 subscribers
  • Views 3050 views
  • Users 0 members are here
  • safe_field_hockey
  • sudden_impact
Related

Analog ADT7420FBZ Question

hawkeyethehacker
hawkeyethehacker over 11 years ago

Hi all, I was just looking through the documentation for the ADT7420FBZ flex evaluation board here, and I have hit a bit of an issue.

 

Below is the wiring guide supplied by Analog:

ColorReference Designator
RedVCC
BlackGround
WhiteSCL
BlueSDA

 

From what I can see, this appears to be I2C, however I have hooked this up to a Raspberry Pi I have and tried to run i2cdetect, and it is not detected as a device. It's also clearly not SPI as there is no RX line on the temperature sensor.

 

Any ideas, great minds of element14?

 

Josh

  • Sign in to reply
  • Cancel

Top Replies

  • sunnyiut
    sunnyiut over 11 years ago in reply to hawkeyethehacker +2
    ummm... i am not sure, but i think pi B has 1.8k pull ups for i2c lines. i don't know about pi B+. however, u can give it a try and let us know. 7420 suggests typically 10k for interfacing. Edit -> for…
  • shabaz
    shabaz over 11 years ago in reply to hawkeyethehacker +1
    The SDA and SCL pins are floating, and need to be connected to +3.3V using resistors, i.e. basically something like this (and repeat for the SCL line too). And connect the 0V line between the board and…
  • shabaz
    shabaz over 11 years ago in reply to hawkeyethehacker +1
    Hi Joshua, Did you really mean GPIO5, or did you mean pin5? The clock should be connected to pin5, i.e. GPIO03. Could you confirm this is what you've got? Similarly for Data, that should be pin3, i.e.…
  • hawkeyethehacker
    0 hawkeyethehacker over 11 years ago in reply to shabaz

    Apologies, yes. I was following a different diagram. image

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • ravi_butani
    0 ravi_butani over 11 years ago

    have u received parts for Sudden Impact Design Challenge ?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • hawkeyethehacker
    0 hawkeyethehacker over 11 years ago in reply to ravi_butani

    Ravi, I have receieved the parts from Farnell I have ordered with the budget (not the outsourced parts, however).

    I am still awaiting the challenge kit, eg: Oscilloscope, Analog Kits, etc.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • hawkeyethehacker
    0 hawkeyethehacker over 11 years ago

    Still having this issue - not sure what is wrong

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • shabaz
    0 shabaz over 11 years ago in reply to hawkeyethehacker

    Hi Joshua,

     

    Could you confirm how the module is wired to the RPI, i.e. Data line to physical pin 3 on the RPI, and Clock line to physical pin 5, VCC to physical pin 1 and Ground to physical pin 6?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • hawkeyethehacker
    0 hawkeyethehacker over 11 years ago in reply to shabaz

    Exactly as you said above - all wires to the marked points.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • shabaz
    0 shabaz over 11 years ago in reply to hawkeyethehacker

    I see, in that case it may be a software issue. From memory, the RPI needs I2C enabled I think, i.e. using the raspi-config program, and then via the 'Advanced' menu option.

    I'm presuming you're plugging in just the small board, and not the full eval board? What I2C address are you writing to?

    I presume you're following the PDF datasheet pages 13-20 and particularly page 19, which has the read operation?

    If you are, then I think scope traces are needed to confirm that the RPI is sending out the correct signals : (

    You could also confirm with any other I2C device, to check that your code can successfully talk to I2C devices.

     

    When you get to the register reading stage, from the datasheet page 19 it is clear that you need 'repeated start' capability - and I don't know which RPI libraries support this function

    (e.g. if you are using Python for example) - I've never done this on the RPI but I'm sure it has been done by others. Even without repeated start is is possible to successfully write to the device for now (of course the read capability is essential).

    I noticed a reference to the ADT7420 in this thread, so it may be worth posting a query on that forum in case anyone has example code to share, to save you time (saves reinventing

    the wheel). But I would definitely google for how to do I2C repeated start for the language you plan to use - for example, for C there is the linux/i2c-dev.h functions you could use, as long as the

    underlying hardware (i.e. the RPI BCM chip) supports it - I'm fairly sure it does, just I don't have enough experience with the RPI to know for sure, so I hope others can confirm.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Reject Answer
    • Cancel
  • hawkeyethehacker
    0 hawkeyethehacker over 11 years ago in reply to shabaz

    Well, I do have a scope on hand so I should be able to check the signals.

    In the end the RasPi won't be handling the sensor, but rather the Electric Imp. As I have yet to receive this part, I won't be able to try that.

    I was just trying to use the pi to see if I could get it to run, but it seems to be more pain than necessary.

     

    Thanks shabaz, yet again!

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

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube