Skip to content

Commit

Permalink
Merge pull request #51 from medlor/2.9.0_beta
Browse files Browse the repository at this point in the history
3.0.0 master release
  • Loading branch information
medlor authored Nov 5, 2021
2 parents c82ece7 + 13bd6ce commit 1df40e1
Show file tree
Hide file tree
Showing 222 changed files with 4,602 additions and 8,651 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ userConfig.h*
.vscode
.pio/*
.DS_Store
com.dropbox.attrs
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 7 additions & 0 deletions 3d-models/water-tank-lid-rancilio-silvia/readme.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
Hier noch mal ein paar Bilder vom Deckel den ich dank Joery designen konnte.
Der Sensor ist mit dem L�tkolben an den beiden f�hrungsnupsies fixiert und
dann habe ich es komplett mit Hei�kleber volllaufen lassen und am Ende den
inneren Minideckel fixiert. Dann noch die doppelte Tesaschicht rauf und
fertig.
Das Kabel ist ein USB Kabel, welches ich neben den Wasserschl�uchen nach
unten in Richtung ESP verlegt habe.
60 changes: 53 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,30 @@
# ranciliopid - Open source PID for your espresso machine
# PERFECT COFFEE PID
(former bleeding edge ranciliopid)

BLEEDING EDGE MASTER VERSION
## Do it yourself, open-source PID for your espresso machine

Version 2.8.0

forked of [Rancilio-Silvia PID](http://rancilio-pid.de).
Version 3.0.0

## Support / Contact
You can chat with us directly using our [discord server](https://discord.gg/VA5ZeacFdw).

## Most important features compared to the original rancilio-pid software:
## Videos
[![Introduction](https://img.youtube.com/vi/dQWHeygS9ws/hqdefault.jpg)](https://www.youtube.com/watch?v=dQWHeygS9ws)
<details>
<summary>Click for more videos!</summary>

| Description | Video |
:-----------------------------------------------:|:---------------------------------------------:
ESP32 Functions with full Softwarecontrol | [![ESP32 Functions with full Softwarecontrol](https://img.youtube.com/vi/rxVFKlREcDk/hqdefault.jpg)](https://www.youtube.com/watch?v=rxVFKlREcDk)
Cleaning Mode | [![Cleaning Mode](https://img.youtube.com/vi/qoNPq2WBcS0/hqdefault.jpg)](https://www.youtube.com/watch?v=qoNPq2WBcS0)
Waterlevel Sensor | [![Waterlevel Sensor](https://img.youtube.com/vi/JpUrzaUCCnQ/hqdefault.jpg)](https://www.youtube.com/watch?v=JpUrzaUCCnQ)
Two cups of a double cappuccino with the new Steamfunction | [![Two cups of a double cappuccino with the new Steamfunction](https://img.youtube.com/vi/dgLpD719_sw/hqdefault.jpg)](https://www.youtube.com/watch?v=dgLpD719_sw)
</details>

&nbsp;


## Most important features compared to the rancilio-pid software:
1. New PID Controller "Multi-state PID with steadyPower (Bias)"
- Target-Temperature for brewing and steaming (!) is automatically controlled by PID.
- Auto-Tuning of all PID settings. No knowledge or special tunings required.
Expand Down Expand Up @@ -67,7 +82,7 @@ You can chat with us directly using our [discord server](https://discord.gg/VA5Z
- This software is tested thoroughly with the pid-only hardware solution on Silvia 5e, and with a permanently run full-hardware solution on an 10 year old Silvia. Also a 10 year old Gaggia Classic is tested successfully. I am grateful for any further feedback.
- Please monitor our machine's temperature closely the first few run times. The muti-state pid controller should never lead to temperatures greater than 5 degress above setpoint!

## Sample bleeding-edge workings
## Sample data log
- You can use the mqtt interface to export live data for monitoring purposes as can be seen in this [Grafana Dashboard](https://snapshot.raintank.io/dashboard/snapshot/lYe7XigrehSfVsvAWYifEwd2d5hNC0dl).

## Instructions on how to migrate from official rancilio to bleeding-edge
Expand Down Expand Up @@ -107,6 +122,37 @@ Installation is as explained on http://rancilio-pid.de/ but with following adapa
- Instructions can be found at https://github.com/medlor/bleeding-edge-ranciliopid/wiki/Instructions-on-how-to-create-new-icon-collections
## Changelog
- 3.0.0:
- Project is getting renamed to "Perfect Coffee PID".
- Improve temperature readings to reduce undesireable actions of the PID controller:
- Detect outliers near setpoint and fix them automatically.
- Read temperature every 100ms (previous 1s) and save it to TemperatureHistory for later use.
- Implement average calculations on all temperature functions to stabilize temp readings.
- Temporary use custom ZACwire library, which offer:
- bitwindow auto-tuning right from the start.
- directMode to improve outlier detection and flapping temperature in seldom cases (esp32).
- Important: You have to [manually install](https://github.com/medlor/bleeding-edge-ranciliopid/wiki/How-to-compile-on-Arduino-and--Platformio) library/ZACwire_for_TSic (only if you are using Arduino IDE).
- Add full support for platformio, code cleanup and fix compile warnings.
- Force espressif8266 to Version 2 (until external libs are adapted)
- Arduino IDE: Remove some libaries which from now on have to be installed manually, see [Wiki](https://github.com/medlor/bleeding-edge-ranciliopid/wiki/How-to-compile-on-Arduino-Platformio).
- Performance improvement:
- controlActions are now using interrupts with an optional debounce feature (instead of polling each gpio).
- Update ESP32 schematic to reflect recommendation to use 5v (instead of 3.3v) for the TSIC.
- Fix:
- DISPLAY_TEXT_STATE is working on exp8266.
- controllerActions: Improve debouncing of analog(ADC) and digital buttons/switches.
- Improve steaming cycle-times.
- Remove support for DS19B20 temperature sensors.
- Improvements in error logging.
- UserConfig Changes:
- Breaking Change:
- renamed DISPLAY to DISPLAY_HARDWARE
- Removed:
- TEMPSENSOR
- Added:
- DEBOUNCE_ANALOG_GPIO / DEBOUNCE_DIGITAL_GPIO
- Changes:
- recommended defaults
- 2.8.0:
- Feature: Add support to detect low water using a VL53L0X Time of Flight distance sensor. see [Howto](https://github.com/medlor/bleeding-edge-ranciliopid/wiki/Water-level-measurement-using-VL53L0X-(Time-of-Flight-distance-sensor))
- Helge supplied a 3d printing model for rancilio silvia's water tank lid which can be used with the VL53L0X sensor. (thanks Helge!)
Expand Down
6 changes: 2 additions & 4 deletions TODO.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,11 @@
- mqtt events/ should deliver json not string.
- String replacement (https://cpp4arduino.com/2020/02/07/how-to-format-strings-without-the-string-class.html)
- convert all float to long.
- Improve temperature outliner detection by using all sampled temperatures (every <100ms, instead of once a second.)


Feature Requests:
- TOF Sensor: waterlevel + abtropfschale
- Wasserdeckel 2-teilig drucken und mit TOF ausstatten.
- Feature wäre definitiv noch das zuheizen beim Wasserbezug im Hotwater

- brewing profile support



Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"name": "bleeding_edge-full_control",
"content": "",
"created_at": "2021-03-14 09:06:39",
"updated_at": "2021-03-29 23:12:13",
"updated_at": "2021-09-04 16:38:44",
"stick": "",
"documents": [
{
Expand Down Expand Up @@ -268,16 +268,16 @@
}
]
],
"updateTime": 1617052333,
"updateTime": 1630766324,
"createTime": 1615709199,
"histories": [],
"created_at": "2021-03-14 09:06:39",
"updated_at": "2021-03-29 23:12:13"
"updated_at": "2021-09-04 16:38:44"
}
],
"sort": [],
"title": "bleeding_edge-full_control",
"foldername": "bleeding_edge-full_control",
"schfilename": "bleeding_edge-full_control.json",
"schfilemtime": 1617052330340
"schfilemtime": 1630766324292
}

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"name": "bleeding_edge_full_control_pcb_layout",
"content": "",
"created_at": "2021-03-18 21:35:27",
"updated_at": "2021-03-28 21:06:11",
"updated_at": "2021-09-04 16:38:47",
"stick": "",
"documents": [
{
Expand Down Expand Up @@ -112,7 +112,7 @@
"POWER_3V",
1,
"P2024A-PCB",
"3V/GROUND/TEMP",
"5V/GROUND/TEMP",
{
"BOM_Manufacturer Part": "Terminal Block, PCB Mount, 5mm, 3 Way",
"BOM_Supplier Part": "P2024A",
Expand All @@ -135,16 +135,16 @@
}
]
],
"updateTime": 1616958371,
"updateTime": 1630766327,
"createTime": 1616099908,
"histories": [],
"created_at": "2021-03-18 21:38:28",
"updated_at": "2021-03-28 21:06:11"
"updated_at": "2021-09-04 16:38:47"
}
],
"sort": [],
"title": "bleeding_edge_full_control_pcb_layout",
"foldername": "bleeding_edge_full_control_pcb_layout",
"schfilename": "bleeding_edge_full_control_pcb_layout.json",
"schfilemtime": 1616958368450
"schfilemtime": 1630766327892
}
File renamed without changes.
File renamed without changes.
File renamed without changes.
Loading

0 comments on commit 1df40e1

Please sign in to comment.