element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Members
    Members
    • Benefits of Membership
    • Achievement Levels
    • Members Area
    • Personal Blogs
    • Feedback and Support
    • What's New on element14
  • Learn
    Learn
    • Learning Center
    • eBooks
    • 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
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Dev Tools
    • Manufacturers
    • Raspberry Pi
    • RoadTests & Reviews
    • Avnet Boards Community
    • Product Groups
  • 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
Personal Blogs
  • Members
  • More
Personal Blogs
Legacy Personal Blogs TI Hercules LaunchPad Type 1: Inductance Meter
  • Blog
  • Documents
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Blog Post Actions
  • Subscribe by email
  • More
  • Cancel
  • Share
  • Subscribe by email
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: martinvalencia
  • Date Created: 18 Mar 2015 9:37 PM Date Created
  • Views 333 views
  • Likes 0 likes
  • Comments 1 comment
  • hercules_launchpad
  • lcd
  • boosterpack
  • het
  • launchpad
Related
Recommended

TI Hercules LaunchPad Type 1: Inductance Meter

martinvalencia
martinvalencia
18 Mar 2015

Above is the LM311 operating as oscillator whose frequency depends on the capacitance and inductance of the resonant circuit.

ea79976c33a791279ab141d661623acf.png

 

Without any element to measure the circuit will oscillate at approximately 555,800 Hz and the capacity or inductance place its oscillation frequency is changed

 

The Hercules RM42x frequency measured by the HET [0] is the counter input and from it calculates the value of the inductance.

 

Range: 10nH <Inductance <100mH

 

Schematic Circuit

Boardimage

imageimage

Photo:

image

Operation Video:

                                                                                   

You don't have permission to edit metadata of this video.
Edit media
x
image
Upload Preview
image

 

Code:

Code:

edgeResetCounter(hetRAM1,edge0);
wait_secons(1.05); // windows time
frec=edgeGetCounter(hetRAM1,edge0);
clear();

sprintf(Mensaje," %lu Hz",frec);


if(frec>50)
{
float32 Landa=(float32)(1/(2*pi*frec));

Landa=Landa*Landa;
Landa=Landa*(1/1e-9)-100e-6;

if(frec<151e3)
{
Lx=Landa*1e3;
if(Lx<10000)
sprintf(Mensaje2," %4.3f mH",Lx);
else
{
Lx=Lx/1000;
sprintf(Mensaje2," %3.3f H",Lx);
}

}
else
{
Lx=Landa*1e6;

sprintf(Mensaje2," %5.3f uH",Lx);
}


lcdSetCursor(0,0);
lcdPrint(Mensaje);
lcdSetCursor(0,1);
lcdPrint(Mensaje2);
//wait_secons(400e-3);
}
else
{
sprintf(Mensaje," Lx --[///]--");
sprintf(Mensaje2,"Waiting");

lcdSetCursor(0,0);
lcdPrint(Mensaje);
lcdSetCursor(0,1);
lcdPrint(Mensaje2);
puntitos();

}

  • Sign in to reply
  • Jan Cumps
    Jan Cumps over 3 years ago

    martinvalencia; do you still have the full code for this project?

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

  • Facebook
  • Twitter
  • linkedin
  • YouTube