Skip to content

EduardoNigro/Things-DAQ-Code

Repository files navigation

Things DAQ

This repository contains the Python code used throughout the posts in my blog Things DAQ.

Posts with code

This is a living list and it is updated as posts containing example code are created:

GitHub Folder Things DAQ Post
Circular-Buffer Circular Buffer in Python
Pulse-Rate-Monitor Pulse Rate Monitor with Raspberry Pi
thingsdaq Python Modules and Packages
LED Dimmer LED Dimmer with Raspberry Pi
Curve Fitting Curve Fitting with Tangent and Inverse Tangent
Line Sensor Line Tracking Sensor for Raspberry Pi
Joystick Joystick with Raspberry Pi
Ultrasonic-Sensor Ultrasonic Sensor with Raspberry Pi
Temperature-Sensor Temperature Sensor with Raspberry Pi
LED-Display 7-Segment LED Display with Raspberry Pi
Motor-Characterization DC Motor Characterization
Event-Detection Event Detection in Signal Processing
Motor-Position-Tracking DC Motor Position Tracking
Motor-Position-Control Motor Position Control with Raspberry Pi
Motor-Speed-Control Motor Speed Control with Raspberry Pi
Digital-PID Digital PID Controller
Digital-Filtering Digital Filtering
DAC-Class Python DAC Class
Encoder-Pi Encoder with Raspberry Pi
H-Bridge-Pi H-Bridge and DC Motor with Raspberry Pi
Class-vs-Function Classes vs. Functions in Python
DAC-Pi DAC with Rapsberry Pi
DAC Digital-to-Analog Conversion
MCP3008-Pi MCP3008 with Raspberry Pi
ADC Analog-to-Digital Conversion
Prescribed-PWM Prescribed PWM duty cycle

Important note:

I use two plotting libraries in my code examples: matplotlib and plotly

One way I got them to work with the right numpy version was running the following commands in a Pi terminal:

sudo apt update
sudo apt remove python3-numpy
sudo apt-get install libatlas-base
sudo apt install python3-matplotlib
sudo apt install python3-plotly
  • Installing matlplotlib will automatically install the right numpy version.
  • To my understanding, libatlas-base insures compatiblity with the Pi-based numpy installation.

About

Code examples used in my blog Things DAQ

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published