modul / tinypid Goto Github PK
View Code? Open in Web Editor NEWDiscrete PID controller on ATtiny45
Discrete PID controller on ATtiny45
run the algorithm from within the sampling interrupt
What happens now on controller startup? (starts in manual mode with output being zero, I think)
How should it act on boot and what can be configured for startup?
E.g.: Configure it to start in automatic mode with a given setpoint.
or configure to start in manual mode with a given output
Idea:
sbaX – set boot to automatic mode with setpoint being X
sbmX – set boot to manual mode with output being X
gb – get boot options (return mX or aX)
Should some commands be locked and only be unlocked with a passphrase or sth else?
Should I lock the whole controller so any configuration (even setpoint) can only be made after unlock?
Feature?
test with lower baudrate
softuart sometimes adds 1 MSB to the received byte, causing tinyPID to not understand it. ATM there’s a dirty kinda workaround.
get rid of them in gui,
don't use them in frontend class, leave the converting functions for convenience.
merge tinyPIDmonitor with tinyPIDqt!
rewrite some things and make it pretty
think about starting QwtPlotter project first.
implement serial echo or any kind of acknowledge/error code – so that frontend can check if tinyPID understood everything, and what it understood.
what about crc?
add license, author, description to source files
clean it up and think about getting it more straight forward
try to strip it down, if possible. the important thing is PID calculation.
somehow the connection should be supervised.
what if the device doesn't respond? retry? after n retries disconnect?
class to wrap connection, holding connection state, making retries and disconecting if needed?
class to wrap communication, pushing new values to registered objects?
add math foo description
add license
add more description (usage of frontends maybe)
parameters, factors – coefficients.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.