TOP Contributors

  1. MIKROE (2784 codes)
  2. Alcides Ramos (405 codes)
  3. Shawon Shahryiar (307 codes)
  4. jm_palomino (133 codes)
  5. Bugz Bensce (97 codes)
  6. S P (73 codes)
  7. dany (71 codes)
  8. MikroBUS.NET Team (35 codes)
  9. NART SCHINACKOW (34 codes)
  10. Armstrong Subero (27 codes)

Most Downloaded

  1. Timer Calculator (141825 times)
  2. FAT32 Library (74956 times)
  3. Network Ethernet Library (59317 times)
  4. USB Device Library (49308 times)
  5. Network WiFi Library (45107 times)
  6. FT800 Library (44675 times)
  7. GSM click (31287 times)
  8. mikroSDK (30214 times)
  9. microSD click (27664 times)
  10. PID Library (27563 times)
Libstock prefers package manager

Package Manager

We strongly encourage users to use Package manager for sharing their code on Libstock website, because it boosts your efficiency and leaves the end user with no room for error. [more info]

< Back
Project

Estimating AC Line Frequency while Measuring RMS Voltage

Rating:

0

Author: Shawon Shahryiar

Last Updated: 2021-09-14

Package Version: 1.0.0.0

Category: Measurement

Downloaded: 325 times

Not followed.

License: Open Software License 3.0 (OSL-3.0)  

This demo shows how we can estimate AC line frequency while measuring RMS voltage. This method is a very crude one but it can be improved with some changes. The concept here is to count the low-to-high and high-to-low transitions around half VCC during RMS measurement. The code is written with CCS PIC C compiler.

No Abuse Reported

Do you want to subscribe in order to receive notifications regarding "Estimating AC Line Frequency while Measuring RMS Voltage " changes.

Do you want to unsubscribe in order to stop receiving notifications regarding "Estimating AC Line Frequency while Measuring RMS Voltage " changes.

Do you want to report abuse regarding "Estimating AC Line Frequency while Measuring RMS Voltage ".

  • Information
  • Comments (0)
DOWNLOAD LINK RELATED COMPILER CONTAINS
Other PIC Compilers
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc

Project Blog

Project Setup

Project Setup

Estimating AC Line Frequency while Measuring RMS Voltage - ZMPT101B Demo

View full image
Display

Display

Estimating AC Line Frequency while Measuring RMS Voltage - ZMPT101B Demo

View full image
ZMPT101B AC Voltage Sensor Module

ZMPT101B AC Voltage Sensor Module

Estimating AC Line Frequency while Measuring RMS Voltage - ZMPT101B Demo

View full image
Schematic

Schematic

Estimating AC Line Frequency while Measuring RMS Voltage - ZMPT101B Demo

View full image

ALSO FROM THIS AUTHOR

STM32 External Interrupt Example

5

STM32 External Interrupt Example. http://embedded-lab.com/blog/?p=9149

[Learn More]

Driving Tiny WS2812B NeoPixel Ring by Bit-Banging STM8S003F3's GPIO

0

The trick is to run the STM8S003F3 micro at max. speed of 16MHz and to use raw coding instead of SPL. Here I found out that the datasheet timing diagrams need not to be fully matched. I also noted that powering the ring is a major issue as the LEDs draw significant amount of power which may cause voltage dips and brownouts for the driver MCU.

[Learn More]

IR Remote Transmitter Emulators

0

IR remote transmitter emulators for: 1. NEC 2. RC-5 3. Sharp 4. SIRC It's a very useful tool for making and debugging IR remote decoders. https://www.youtube.com/watch?v=Xn7NlAMwB7U

[Learn More]