Skip to content
 
 

Latest commit

 

History

58 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#HumPi Using a Raspberry Pi to measure the frequency of the synchronous grid of continental europe

Hardware requirements

  • Raspberry Pi 2
  • USB-Soundcard with a microphone or line input
  • AC-Power supply with V_out smaller than ~10V.
  • Voltage divider to 30mV for microphone input, 1V RMS for line in
  • Phone connector

Software requirements

  • Python2
  • SciPy (HowTo)
  • numexpr for 2x faster measurements
  • alsaaudio and ntplib. You can install these via pip:
    $ pip install -r requirements.txt

==========================

Version 0.5.1

Once started, HumPi captures the signal from an USB-Soundcard and calculates the frequency continuously by fitting a sine wave on the last second of 'sound'. Currently the data is stored to disk. In future versions it might get sent to the netzsinus project.

Install & Run

git clone https://github.com/gillhofer/HumPi.git
./HumPi/python/HumPi.py

TODO

  • Send data to the netzsinus project
  • general improvements

About

Using a Raspberry Pi to measure the frequency of the synchronous grid of continental europe

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages