SmartPID - smart temperature controller

Homebrew Talk - Beer, Wine, Mead, & Cider Brewing Discussion Forum

Help Support Homebrew Talk - Beer, Wine, Mead, & Cider Brewing Discussion Forum:

This site may earn a commission from merchant affiliate links, including eBay, Amazon, and others.

mysobry

Well-Known Member
Joined
Jan 3, 2011
Messages
155
Reaction score
43
Location
Ivrea
Facebook.jpg


Dear Homebrewing friends I continue in this thread in order to highlight main SmartPID features and functions and collect your feedback during the project

Before entering technical details few words about the “philosophy” and idea behind the project

When I start designing the SmatPID I try to capture some requirements and functionalities that are actually not present in low cost thermostat like STC1000 and are more typical in the professional control device (PLC) but at the same time I put lot of effort to keep it simple, accessible, affordable for a consumer market and DIY enthusiast

apart form the core temperature control features (PID/PWM etc..) indeed very advanced and powerful t the main innovation I have introduced that make SmartPID unique are

Full process automation

BANNER-3.jpg

Thanks to the power of the platform it's possible to develop custom application that needs process control with complex service logic and manage a complete workflow.
Basic thermostat just simply ready temperature and control a relay according to set point..In smartPID you can program steps, ramps, triggers, alarms and manage complex temperature profile over the time.
Typical example is food processing like beer brewing, cheese making or food drying where according to specific recipe parameters the heating process should be managed step by step controlling and orchestrating different elements (heater, pump, fan..)

Data logging and export (USB & wifi)
icon-feature10.png

The possibility to log all process data and analyse real time or off line is another typical feature that is available only on professional devices or with external data logger.
SmartPID has an internal 8Mbit EEPROM where all the process data (temperature, set point, PWM power, control direction etc,,) are logged and can be accessed either locally via USB and a desktop application (CSV export) or remotely pushed via wifi connection to a cloud server.

WiFi connectivity for remote management and IoT cloud integration
icon-feature11.png

Wifi connectivity and cloud integration is what make SmartPID really smart !
Small wifi optional module is integrated in the SmarPID box and once connected to the wifi access the device can provide lot of new feature
remote management → configuration and control of setup parameter and process parameter from any location via web or smartphone
data logg→ real time monitoring of main process parameter and storage in the cloud server
for the development and design phase the thingspeak cloud service has been used , a private cloud server will be deployed after project founding

DIN Box
icon-feature4.png

Another key driver for the design was the “box size” and we decide to use a standard DIN box in order to make SmartpID ultra compact and backward compatible with STC1000 like thermostat, you can just unplug your current controller and plug SmartPID to get the new full set of features
Engineering all the HW to support the new features has been very challenging but the result is a very powerful platform with powerful CPU, lot of memory and I/O capabilities that is the base line for developing powerful applications

Arduino Compatibility
icon-feature12.png

Last but not least important driver was to keep as much as possible the platform open and easy programmable so the natural choice was to do development under Arduino umbrella. The component selection like the MCU (SAMD21 arduino Zero and MKR1000 IoT new board) and the architure are fully arduino compatible. I have developed a custom bootloader and specific board definition that can be imported in the Arduino IDE so you can just connect SmartPID via USB port to your PC and develop you sketch using the arduino tool-chain and all the supported libraries.

Let’s now have an overview to HW and core features

HW configuration

HW-characteristic.png


-SAMD21 processor ARM cortex M0+
-8Mbit EEPROM for data log, recipe storage etc..
-1.3” OLED graphical display
-USB front port for programming, SW upgrade, data logging
-4 tactile switch to navigate trough menu
-1x Buzzer
-Jtag/SWD port
-WIFI module (detachable)
-110/220 V AC power supply
-2x temp probe input (DS18B20 or NTC)
-2x 220v AC 10A Relay output
-1x SSR output
-2x 12V 1A direct drive output

The core control functions are

icon-feature1.png
icon-feature3.png
icon-feature2.png



-DUAL Independent control channel
-Multi control mode (heating , cooling or thermostatic)
-Dual control algorithm (PID or ON/OFF)

Is this little box powerful, flexible, smart enough for your applications ?

Next posts try to go in detail of major functions and remote management part
Any feedback is appreciated !

Arzaman
http://smartpid.com
https://www.facebook.com/smartPID
 
One of the key characteristic of SmartPID is the flexibility and versatility trough HW set up SmartPID can be adapted to mange different applications

below some example to illustrater the flexibilty


Single channel - PID (on/off) control mode - heating + pump

Smartpid-setup-1.png


SmartPID reads temperature from 1 probe and drive the heating element in order to get the setup temeprature

Possible heating output configurations

SSR for electric heating [PID+PWM control algorithm]
220V AC relay for electric heating [ON/OFF algorithm]
Direct solenoid valve drive for GAS heating [ON/OFF algorithm]
Manually drive the PUMP (soft switch) with tow possible configurations

220V AC realy pump drive
12V DC direct pump drive


DUAL channel - PID (on/off) control mode - heating (gas or electric)


Smartpid-setup-4.png


SmartPID reads temperature from 2 probe and drive 2 heating element idipendently in order to get 2 different set up temperature

Possible heating output configurations

1 x SSR for electric heating [PID+PWM control algorithm]
1 x 12V direct solenoid valve drive for GAS heating [ON/OFF algorithm]
Manually drive the PUMP (soft switch) with tow possible configurations

220V AC realy pump drive
12V DC direct pump drive


DUAL channel – ON/OFF control mode – thermostatic

Smartpid-setup-3.png


SmartPID reads temperature from 1 probe and drive one heating element and one cooling element in order to keep temperature stable (fermentation chamber)

Possible heating output configurations

220V AC relay for electric heating [ON/OFF algoritm]
220V AC relay for electric heating [ON/OFF control algorithm]


so as you can see the possibility of configuration are really endless !

staty tuned
arzaman
http://smartpid.com
 
I have prepared a feature comparison table between SmartPID and most common used thermostat

As you can easily see...there's no match :)

When I complete the table I realize that comparing a fully programmable device with process automation capabilities and smart features like wifi and IoT capabilities with a thermostat maybe is not the right approach but at least once more you have the full feature list of the BASIC application !

feature-comparison-table-small.png


arzaman
http://smartpid.com
https://www.facebook.com/smartPID
 
BANNER-4.jpg


Happy to announce after 2 weeks from SmartPID launching that the second application on top of the SmartPID platform is nearly ready and is completely dedicated to home brewing process automation

What is new and different compared to the standard basic application (smart thermostat)?
Substantially Smart Home Brewing App adds to a standard temperature control features all the process automation and workflow to manage all typical steps for beer making. We have customized vertically the SW for the specific application leveraging all the basic features available on the platform
Each vertical application has off course it’s own set of data, process parameter and configuration and so is the smart home brewing app that execute all process steps according to in memory “recipe”and controls HW resources (heating elements, pump/stirrer, buzzer ) in automatic way

These are main characteristic of the smart HB application

  • Single vessel (BIAB/RIMS) or two vessel (MASH + HLT) process management
  • Electric heating (PID/PWM) or Gas Fired heating (ON/OFF)
  • Recirculating pump or motorized mixer management
  • NTC/DSB18B20 temperature probe
  • Internal or external (in recirculating circuit) temp probe position
  • Step Mash management (mash in/out and 6 step mash)
  • Boil management with overboil and power control (electric only)
  • Hop addition alarms
  • Whirlpool management (hot or cold)
  • Cooling management
  • Full recipe management (new / edit /clone /delete)
  • Mash profile
  • Boil duration and hop addition time
  • 10 possible recipe in memory
  • Delay start for brew day programming

Off course the brewing application benefit of all common features

  • Log of all process data locally in the EEPROM
  • Push of process data via wifi to thingspeak server
  • Download of process data via USB (CSV format)
  • Web visualization of process data
  • SamrtPID dedicated smartphone app for data visualization (android only)

If this is not enough the development roadmap foresse other uniques functions in particular the possibility to define the process parameter and recipe via web or smartphone interface and upload via wifi to the controller.
Even if it’s very easy to configure smartPID via local menu the possibility to have a web user area with all parameters and recipe as well all the log data of previous brew day we believe is a real plus. In order to simplify the recipe process from definition to run mode also import of mash and boil profile from major SW like Beersmith is in feasibility stage

In next posts we try to show a real case of set up and cabling for BIAB equipments and a video with complete overview of the functions trough the EMULATOR

arzaman
http://smartpid.com
https://www.facebook.com/smartPID
 
This is a common question and we understand that the price point is very important for the project success. SmartPID is mainly a consumer device (even if has more features than a professional controller) so we try to get the price accessible to DIY enthusiast and makers

We are working with manufacturer to close all contracts and define a production unitary cost and so a target price to cover it and all other fixed development costs. Main difficulties is related to volume forecast, electronic components benefit volume discount so the more the project is a success the lower is the cost.

If you want to benefit launching promo discount register the newsletter on web site and FB page and you will receive a special early bird offer

arzaman
http://smartpid.com
 
During this month after launching we have collected lot of feedback and also questions either technical and commercial.
We have collected in the FAQ section on the web site, have a look for any doubt on the project !

http://smartpid.com/faq/

arzaman

FAQ-e1477210027917.png
 
I like the wifi connection and control feature.

Will this control a 110 Volt AC pump ?

I have RTD probes and really don't want to change, I looked that FAQ and RTD was not listed as supported. What are my options or work around ?

When will this be out ?

I need a new control panel for my CBS system and wouldn't mind waiting for a PID controller with wifi.

Thanks
 
Will this control a 110 Volt AC pump ?

yes no problem, during set up phase you can assign pump to one of the two mechanical relay that can handle an AC pump

I have RTD probes and really don't want to change, I looked that FAQ and RTD was not listed as supported. What are my options or work around ?

You can't mange directly RTD probe but with a simple external circuit you can adapt that type of probes to the 1-wire protocol (digital temperature sensor). I see that maxim has a ready made IC for that job

https://datasheets.maximintegrated.com/en/ds/MAX31865.pdf

When will this be out ?

I need a new control panel for my CBS system and wouldn't mind waiting for a PID controller with wifi.

Thanks

ready very soon..just completing last details for manufacturing
register web site newsletter for early bird offer

arzaman
 
SmartPID is not a simple controller or thermostat, is more an “open platform” powerful and flexible where the resources and I/O can be used for different applications, different environments and integration. My idea is to develop an ecosystem of “vertical” applications on top of a common set of features

the first two applications developed for homebrewer are

smart thermostat (or basic application) that is the base line for any thermal regulated process . Can be used and adapted where it's need a PID control or perform a retrofit o simple thermostat with something more advanced. Typical example is fermentation chamber

Smart homebrewing app that is focused on all brewing process automation from mashing to boiling from hop addition to whirlpool and cooling including recipe management

Smart-thermostat-vs-brewing-app.png


anything you would like to see on top of SmartPID??

arzaman
 
Working to a plug-n-play and easy retrofit solution to upgrade original grinfather controller with Smartpid and need some suggestions and ideas from GF community

The idea is to keep the original case and switches, just removing STC200 and rewiring Smartpid in order to get full process automation, recipe management, wifi data log, OLED graphical display, USB, etcetc.. and basically there a two options

1) connect heating element to relay 1 , connect pump to relay 2 in parallel to switch, connect temperature probe to one of the two control channel. Just two wires for pump and a screw driver !

You can benefit all the smart PID automation feature (including pump cycle automation) but the temperature control during step mash will be performed ON/OFF (with hysteresis) since is not advisable to use PID /PWM algorithm with mechanical relay output
Also during boil you lose the nice feature to control power via PWM 0-100%

2) insert in the case a solid state relay (10A minimum) to control heating elements, pump control and temperature probe as option 1

Little bit of extra work and a need of suitable SSR with heat sink to fit in the small spare space inside the case but you can benefit full PID + PWM solution either in mashing or in boiling

there is also a 3rd option more invasive that need to work on the base of GF separating 2 heating element now in series in order to control them separately (500W by PID during mashing, 1500 W by relay during mash in/out and boil)

what option do you prefer ? Any other suggestion ?

20161105_212224-e1478976809426.jpg
 
Happy to announce that next week smartPID will go live on kickstarter
Thank you for your patience,thank you for support and suggestions,thank you in advance for your contribution to bring smartpid to life

stay tuned
arzaman

 
Last edited by a moderator:
Breaking news and great day for the project!!

I'm happy to inform you in advance that the crowdfunding campaign is started and SmartPID is finally live on INDIEGOGO

suppor-us-on-indiegogo.png


https://igg.me/at/smartpid/x

I see already some pledge from US and traffic from the forum and your community and thanks to all early adopter and backers but now the most important think is to spread the news to reach the maximum number of people.

I have chosen the hard way “all or nothing” to reach a certain volume and MoQ to keep production cost and consequently price affordable and next days I will start some mkt campaign but the success of the campaign depends greatly on you and the world of mouth is the key..I kindly ask you to engage your homebrewing, DIY enthusiasts, makers friends an let them know about the campaing

sure of your support I will update regularly

br Davide
arzaman engineering


SmartPID-indiegogo-heading-x-FB-e1481185518636.png
 
Thank you for your support sadowski25
I have completed component sourcing (still missing the plastic case...) and next week the manufacturer start the assembling so maybe I will be ready before xmas

indeed now I need all possible support to spread the crowdfunding campaign all over the world ...the success of the campaign depends on how may people I'm able to reach

please share with all your friends !

Davide
 
SmartPID-Xmas-banner-e1482518600162.png


I would like to wish marry Xmas and happy new year to all smartPID project supporters and crowdfunding campaign backers

Campaign will run on INDIEGOGO until 11/1 so you have still the chance to make yourself a gift and allow smartPID to go live !
Best wishes again

indiegogo-xmas.png

https://igg.me/at/smartpid/x/15644037

Davide
arzaman engineering
 
End of the year is time for balance !
2016 has been very hard and exciting, one year of design, development, prototypes, test ..lot of work and effort but also satisfaction
The startup of the project is not so easy and still some work have to be completed but I hope 2017 will bring definitely SmartPID controller to life !

Thank you for your support and happy new year to the whole community

Davide
arzaman engineering



[ame]https://www.youtube.com/watch?v=X9cXHUep1Ac[/ame]
 
Hi
short project update for this beginning 2017
Development continue and I'm happy to share a couple of news

From HW perspective I succeed adding an I2C expansion port on the back panel that provides lot of flexibility and expansion capabilities. The port has “grove” pin out and there are lot of sensors and actuators that can be connected.

PhotoGrid_1483361087430-e1483623415669.png


The other improvement is related to the smartphone app. Lot of enhancement, new layout and now the possibility not only to monitor from remote the process parameter but also to modify the set point

have a look to this short video that show the remote control capabilites

hope you like this enhancement, stay tuned
Davide
arzman engineering


[ame]https://www.youtube.com/watch?v=YMJiMmr1yJE[/ame]
 
Since I got few questions I would like to provide you an update of the project after the strategy review post indiegogo campaign.

I can confirm you that finally I have distributed 12 SmartPID to selected beta tester, it's an important milestone since after one year of work smartpid leave my laboratory and someone start really playing with it and provide real feedback.

I'm collecting the first feedback on all possible areas..from buy experience to fulfillment..from general look and feel to user experience ..from smartphone app to core features.

The overall feedback generally speaking is positive and I got really lot of valuable inputs either on fixing some problems (mainly in the smartphone app) or review and enhance some parts.

Here some unboxing and first integrations ..Lot of discussion and interaction (an lot of work) !

smartpid-unboxing-e1486679283815.jpg


In parallel the development proceeds on many different streams

I have released first version of the installation and configuration manual that provides all details to connect and configure smartPID (wifi config, thingspeak config, Arduino IDE config and sketch compilation , FW upgrade and so on). You can download form the github page

A new SW release is now available either for the homebrewing app and smart thermostat adding two main content: Fahrenheit support and probe calibration support
In the short term roadmap some important enhancements are already palnned: delayed start for fridge (smart thermostat) and PID autotuning beta, should be interesting experiment autotuning algorithm in your setup

As promised I have made smartPID open source and I have also completed the github area with all source code,libraries, schema, driver etc.. so anyone that will enjoy programming and hacking smartPID can do ! Please remember that all material is subject to GNU V3 open source license

https://github.com/arzaman/smartPID

I have prepared also the website for adding a wiki section and a forum section. Hopefully I will release in live in the week end. This will allow better project documentation and interaction with all end user

The very good news is that end next week I should receive the front panel that is the last missing part so I'm potentially ready to provide to you the long waited smartpid (more or less in line with indiegogo campaing schedule)

My plan is to collect other feedback from beta tester up to end of February , fix major issue and than distribute the remaining 50 boards (with precedence to backers) and increase the community.. so stay tuned !

20170128_103809-e1486679263881.jpg

Davide
 
Quick update on the project with special focus on new feature and enhancements of application SW
Delay Fridge start and PID auto tuning has been released and I have also added the configuration support for different beta coefficient for NTC sensors plus other minor changes coming from the beta tester

PhotoGrid_1487426421079-e1489192580681.png


I have also tested extensively the auto tune with my test equipment and even if I’m not a fan of the auto tuning process it can help you to find an initial set up that maybe you can adjust by experience

SmartPID-auto-tuning-collage-e1489192607716.jpg


Now working to the final version of the smart thermostat app adding the ramp/soak management for the fermentation chamber
I have also released the first official version of the android smartphone app on google play store, off course to use it you need the SmartPID controller (and the thingspeak account)

https://play.google.com/store/apps/details?id=fred.com.smartpid

The beta testing phase has been completed and lot of feedback received, I have now extended the community with a limited offer to former Indiegogo backer but I’m ready to open the store to all of you with a limited stock of controller

It’s a matter of days, stay tuned !
Davide
Arzaman engineering
 
New major feature for the smartPID temperature controller !

I have implemented on top of the smart thermostat the temperature profile management, something similar to the step mash feature of the brewing app

You can define up to 10 different profiles made by set point, ramp time and soak time than the controller moves linearly the stet-point from one value to another in the defined time so you can control the ramp slope

the soak time calculation has two options

static: soak time starts immediately after the ramp end, regardless the current temperature has reached the new set point

soak-ramp-static.png


dynamic: soak time starts when the temperature reach set point (like in step mash) and so you have a synchronous process

soak-ramp-dynamic.png


in this video more details on the profile configuration and execution



this will make the smart thermostat perfect for the fermentation chamber control in case you need to change slowly your set point


hope you like it, any comment appreciated !

Br
Davide
 
Last edited by a moderator:
Long time since last post and lot of things happens !
Many homebrewers adopted SmartPID controller and I got lot of feedback that allow me to enhance and improve either HW and SW
Before summer break (at least in north hemisphere it’s summer time !) just few update on the project

Still working on the improvement of the overall quality of the engineering of smartPID and from next batch I'm happy to announce that the front panel has been replaced with a new one.
Not just a graphical and aesthetic review but a different solution. The tactile switch are now internal and on top of the panel a flexible membrane allow to press it.

IMG_20170714_000302_472-e1500130302318.jpg


This provide a very good feeling in operating in smartPID but more important good protection of the inside from splash or particles. Little details but improved in quality and reliability

Biggest news are SW side. As you may have seen the focus on the development now is on the BBQ controller application, with support of few professional pit master now the application is almost complete. Very powerful, feature reach and flexible...I will follow up on this topic and I will start a beta testing campaign after summer break ..stay tuned

The BBQ app give me the chance to talk about another big change in the SW architecture and evolution of SmartPID ecosystem. You know that one of the SmartPID smartest feature is the capability to remote monitor and control your device and process. Currently the smartphone app is available for android only and is based on the public service provided by Thingspeak.

In the BBQ solution I have tested a new technology to implement the remote control and the results are really good and promising

The new technology is based on MQTT subscribe and notify protocol that is becoming a standard for the IoT connected devices and allow me to mange a private server where to develop advanced services
From technical perspective allow me to solve lot of the annoying things to make a device connected via WiFi home router like the dynamic IP address of firewall traversal.

From your end user perspective the initial set up user experience will be simplified, the new app will be very responsive and with possibility to implement also commands and actions.
And finally the technology allow me to implement either native android smartphone app but also web application that you can use in any browser….fixed or mobile..so including tablet or IOS devices.

Have a look to this video that is quite explanatory!



In autumn I will retrofit also the smartphone app for hombrewing and smart thermostat and finally implement what you request so many times: full brew day and process remote controls (not only monitors) with full interactions and all the parameters remote control including recipe management

Finally I'm working to other two applications: a complete process controller for malting barley with a micro-malthouse and a spirit distiller controller. Still in a design and concept stage but progressing !

If you are interested there are really few smartPID pieces in the store still at the launch price, next stock available in August

Have a nice holiday and talk to you after summer break with other news and progress !

Br
Davide
 
Last edited by a moderator:
Xmas-promo-2017.png

Xmas-promo-2017.png

As usual I’m happy to share with you some news about the project but since Xmas time is approaching I have activated a special promo offer on the online store, For limited time period you can get for free

-SSR 40 A 24-380V AC with smartPID smart hombrewing app

Or

-Thermocouple K-type adapter with smartPID smart thermostat

Xmas-promo-2017-rele-adapter.png


Few pieces of the all in one klarstein mash tun retrofit kit are still available

PhotoGrid_1509216550041.jpg


don’t miss out !


coming back to project status update

Smart thermostat K-type support now available, the new SW release can be downloaded in the wiki section of the web site. For upgrade procedure of your smartPID follow instruction on installation and configuration manual


With this upgrade you can control high temperature process like furnaces , reflow ovens etc and reach 1380C of max temperature

Also the external adapter for the K-type probe connection is now available as optional in the store (free during Xmas promo)

The other big step forward is related to the remote control management, I’m working to a complete re-design of that part introducing a more interactive, user friendly and powerful technology that allow also integration with third party application.

The first application that have been updated is the smart thermostat, the retrofit is now complete and we are testing the android smartphone app that will make the smart thermostat a really smart and unique product ! Here some screenshot preview

IMG-20171129-WA0006.jpg


IMG-20171129-WA0011.jpg


Smart Homebrewing application will follow in January and brew day monitor, automation and recipe management will be something really amazing !

I take the opportunity to wish you a happy and peaceful Christmas and I will come back to you next years with lot of smart and exciting project and news

Br

Davide
 
e5a0f2a1-3528-4d5c-a795-73ca5f00264f.png


Hi smarPID firends !

Long time since my last post but smartpid project continue to evolve and progress with new product and new features mainly coming from your suggestions !

Just a summary of most important news

SmartPID CUBE

After almost one year of design, development and tests I’m very proud to announce that the new SmartPID CUBE hardware is now available and you can select it on the online store.

46cd952b-f9b1-4fa6-9480-bad2c889c8e2.png


The smartPID cube is a complete re-engineering of the previous HW in a new form factor that is very fancy either to keep on a desktop or to wall mount (ie with a DIN rail support).

From SW and functional point of view is 100% smartPID so all current smart homebrewing and smart thermostat (BBQ will come later) applications runs seamlessly on the new HW.

Main difference are

+ bigger 1.5” OLED display

+ SD card adapter with process data logging

+ 12V external power supply (available optionally)

bottom line is a smartest PID ever that allow you to control everything anywhere


Smart Homebrewing new remote control architecture

Finally also the smart hombrewing app has been retrofitted and now can benefit of the powerful and flexible MQTT architecture.

I have already notified all the smartPID customer to perform the FW upgrade and to download the andorid smartphone app...please remember that the old solution (via thingspeak ) is not more supported

acf19ec8-d891-46f5-855c-8afebd2fc784.png


Notice that the new FW introduce lot of other features and enhancement including some robustness feature (process watchdog, auto resume after power down) so it’s strongly suggested to upgrade to last version available. All upgrade details and FW version are downloadable from the wiki section of web site.

Now all applications are aligned and have same remote control framework and consistent user experience but still some development are on going on the app side to perform

  • recipe management
  • brew day process visual status
few other requirements collected from your feedback will be implemented soon

Other work in progress..

working on a "web application” that can be used with any browser (including IOS environment) desktop and mobile. The first prototype is available and now testing


I also make a partnership with Brewfather web homebrewing too that is very powerful and flexible, SmartPID will be integrated soon and you can mange your recipe or fermentation monitor all in one place

9a5b64e1-1255-4587-8355-e02304903030.png


Last but not least I have opened a new proof of concept to integrate smartPID in the amazon echo and google home ecosystems. Smart speaker are the “cool” hi-tech gadget of the moment and vocal interface is really something that can help smartPID to work in an even more effective way.


d82cac64-748c-4d58-a94e-562bfd8e861c.jpg



Hope you appreciate the news and the effort I put in keep the project live and move forward !

stay tuned

Davide
 
Back
Top