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
Experimenting with Current Sense Amplifiers
  • Challenges & Projects
  • Design Challenges
  • Experimenting with Current Sense Amplifiers
  • More
  • Cancel
Experimenting with Current Sense Amplifiers
Challenge Blog Tuning MAX40080 "Introduction to the project and goals"
  • Blog
  • Forum
  • Documents
  • Files
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: embeddedguy
  • Date Created: 25 Apr 2022 5:17 AM Date Created
  • Views 534 views
  • Likes 3 likes
  • Comments 0 comments
  • Experimenting with Current Sense Amplifiers
Related
Recommended

Tuning MAX40080 "Introduction to the project and goals"

embeddedguy
embeddedguy
25 Apr 2022

I am glad to take part in this element14 Experimenting with Current sense Amplifier challenge as a part of 10 sponsored challenges from element14.

I have received the kits for the challange on 14th April 2022 and since than I have got a good introductory impression of the kit and specially the current sense Amplifier in General.

The kit contains the following parts.

  • Raspberry Pi model 3
  • MAX40080 based Current 6 Click from Microelectronica.
  • Pi-3-click-shield with two microbus header for connecting click boards from Microelectronica.

image

Introduction

The MAX40080 is an a cool device! for measuring the current, voltage and quantities such as Power and Energy eventually. 

When reading about the element14 design challange for MAX40080 current sense Amplifier, I went through the device datasheet and different configuration one can do to MAX40080 to measure the required quantities.

The MAX40080 is a high-precision, fast-response, bi-di-
rectional current-sense amplifier with digital output and a
very wide input common-mode range from -0.1V (ground
sensing) to 36V.[datasheet MAX40080]

MAX40080 is having many parameters which user can tune for their application needs. Realising this fact in this challenge I will create a project which uses this tuned parameters in different manner. I will create a I2C interface library which can read sensor 

values and configure different registers for setup of the sensor.

Some of the features the sensor provides are listed in the following bullets. These features can be configured in software to create an best application for optimum use of the product and it's device, it's use case and availability. This will be my main focus during this challenge and project creation for the same.

  • Programmable Sample Rate up to 1Msps
  • Wide Input Common-Mode range from -0.1V (ground sensing) to 36V
  • Programmable Input Sense Range (±10mV and ±50mV)
  • Smbus based I2c interface features
    • Wake-up current threshold
    • Auto-shutdown when I 2 C is inactive
    • Low 4 measurements/s rate
  • Programmable over-current/voltage thresholds and under-voltage threshold
  • Alert output with programmable response time
  • 64-cell deep FIFO

For now, I just have used the rasperryPi Smbus python package to interface the sensor. The following code snipet reads the default value of the Configuration Register at Address 0x00 hex. 

The respose will be two bytes long stored in variable val.

import time
import smbus

i2c_channel = 1
i2c_address = 0x21

bus = smbus.SMBus(i2c_address)
val = bus.read_i2c_block_data(i2c_address, 0x00, 2)
print (val)

  • Sign in to reply
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