Experimental Incubator/ei prototype designing: Difference between revisions

From Food Hacking Base
Jump to navigation Jump to search
No edit summary
(added link to new docs, wiki is older/incomplete)
 
(62 intermediate revisions by 3 users not shown)
Line 1: Line 1:
=== 2.1 "Mamut" - Current prototype of experimental incubator===
[[Image:Experimental_incubator_kit_4_1600.jpg|thumb|ei Kit "Just"]]
[[Image:Experimental_incubator_ssr_heatsink_1600.jpg|thumb|SSR and heat sink]]
[[Image:Experimental_incubator_complete_voidwarranties_1600_022017.jpg|thumb|Working prototypes assembled at VoidWarranties, February 2017]]


One of the most important things which we have to decide on is "how do we want to do it?" meaning mostly in this case the practical way of building up a prototype. Below are strategies which we were implementing so far.
Here you can find info about the development of the experimental incubator (ei)current version 5.0 "Kvas" which we are now working on. There are several improvements compared to the previous version [[4_0_just|4.0 Just]], the fourth generation of the experimental incubator.


The main change is leaving the arduino core behind and switching for the Sonoff device, in particular the [https://www.itead.cc/smart-home/sonoff-th.html Sonoff TH16 model] which should make our life much more easy on many fronts.


[[File:Arnds_pin_diagrm_arduino_atmega328_web.png|200px|Pin out diagram|right]]
=== How to get involved, contact ===


* '''[[experimental_incubator - news|Experimental Incubator News!]]'''
Get your kit and let us know! That is the most easy way how to get in and participating. Contact [[User:Algoldor|Algoldor]], [https://wiki.techinc.nl/index.php/User:Justa Justa] or send an email to the [[How_to_get_in_touch|experimental incubator mailing list]]. The total cost is around €25 max. you can buy it easily online, don't forget also the [https://www.aliexpress.com/item/32648158894.html serial to usb 3.3v] so you can upload the code to the device.


* [https://github.com/foodhackingbase/incubator Latest source of code at Github]
If you want to get involved, you need help with experimental incubator set up and running or you have some other questions you can get in touch with us:
* at our [[How_to_get_in_touch|experimental incubator mailing list]]
* directly with [[User:Algoldor|Algoldor]] by sending email to algoldor (you know the sign) foodhackingbase.org
* directly with [https://wiki.techinc.nl/index.php/User:Justa Justa]
* pop in our #foodhackingbase channel at oftc network, IRC


=== Soldering and connection ===


This needs to be updated because of the switch to Sonoff TH16, however it is going to be way more simple than the previous models. For now, you can check the [https://www.youtube.com/watch?v=d4cro7Kpk_M video here for just short overview].


* '''Industrial prototyping'''
=== Schematics ===


Inspired by my ([[User:Algoldor|Algoldor's]]) friend Arnd we choose to go by "industrial prototyping". Simplified: get well supported and functional parts for bit of extra cash and build up the first functional prototype from them. Afterwards when the prototype is working, start to break it down part by part redesigning them or using another cheaper/more feasible variants shaping the incubator to your like, bringing the costs down. This approach seems to be bit more expensive to start with but it ensures that even less experienced contributors to the project would be able to build their functional experimental machine, having than what to work with which I think is crucial. For more info please [http://wiki.techinc.nl/index.php/Fermentation_controller check this page] created at [http://wiki.techinc.nl/index.php/Technologia_Incognita Techinc hackerspace] by Arnd. Till we get a proper PCB design and assembled kit you need to have some certain electronic skills set to get "smoothly involved" in the project. The more easy to put together kit option should be ready for 31c3 in December 2014.
Well the schematics is something what we need to work on. At the moment lets say that the core of the Sonoff is the [https://en.wikipedia.org/wiki/ESP8266 ESP8266].


=== Software ===


'''Short time goal - 3-4 prototypes 2.1 mamut build''' - deadline end of April 2014
We have to discuss the software sources, there are many out there one of them for example [https://github.com/vitotai/BrewPiLess BrewPiLess], [https://github.com/vitotai/BrewPiLess/tree/master/doc Docs].


By the end of April we want to have three to four prototypes of 2.1 mamut running in different locations so we can test in reality the design which we choose to apply both hardware and software. The aim is to measure, display and control temperature, both heating and cooling using the kit which we presented at 30c3, sharing updates through our [http://lab.foodhackingbase.org/ forum] and [[How to get in touch|incubator mailing list]], software updates especially at [https://github.com/foodhackingbase/incubator Github]. Next step after few months of testing, reporting on the progress and summarizing of the results will be design of the PCB boards which are base for 2.2 mamut kit version. This should be due at the end of July or during August. 
=== Programming ===


You will need a [https://www.aliexpress.com/item/32648158894.html serial to usb 3.3v].


'''Medium term goals - PCB and kit design 2.2 mamut - summer to winter 2014


After few months of testing of the first prototype '''2.1 mamut''' we will design printed circuit board (PCB board) which will be base of our experimental incubator kit - 2.2 mamut prototype/model. This one will be assembled and tested for two or three months, aiming to have all the bugs out by end of September 2014 if possible, mid of October latest.
=== Heating&Cooling ===


One of the options for heating the incubator could be [https://www.amazon.de/PROFI-LUX-Terrarienheizkabel-IP67-Heizkabel-Frostschutz/dp/B07N7N9LV1/ref=sr_1_3?__mk_de_DE=%C3%85M%C3%85%C5%BD%C3%95%C3%91&crid=33PBEFC9K82BS&keywords=terrarium+heizkabel&qid=1568147205&s=gateway&sprefix=terrarium+heiz%2Caps%2C180&sr=8-3 terrarium heater]. Also [https://www.amazon.de/Reptile-Infrarot-W%C3%A4rmelampe-Reptilien-brooders/dp/B078VY3YG5/ keramik reptile heat emitter] could be used.


'''Suggestions for this prototype are:'''
=== Currently Run Prototypes ===


- optimize the use of current Arduino outputs
The prototypes which are currently running the "just" version are listed here:
* [[experimental_incubator_just_la_cherche]], person coordinating [[User:Algoldor|Algoldor]]


- bring down the price and safe space by using [http://arduino.cc/en/Guide/ArduinoNano arduino nano (~$3)] or [http://arduino.cc/en/Main/arduinoBoardMicro arduino micro]
=== Temperature probes ===
The DS18B20 temperature probes used have PVC shielding; that makes them unsuitable for long time use at temperatures of 100°C or above, although the sensor works up to 125°C. Some sensors are shielded with PTFE cable (more commonly known as Teflon) which is considered food safe to 160°C, so these sensors can be used up to 125°C (max sensor range). Here are some ordering options:


- include [http://arduino-info.wikispaces.com/Nrf24L01-2.4GHz-HowTo NRF24L01 2.4Ghz transceivers (~$1)] for remote communication
* [https://www.aliexpress.com/item/32849462236.html BME280 Digital Sensor Temperature Humidity Barometric Pressure Sensor Modul] 
* [[http://www.dx.com/p/water-proof-ds18b20-temperature-probe-90cm-142889#.WB75j4WcG00 Cheapest found on DX - lead only 90cm, not 100!]] eu 2.26
* [[http://www.dx.com/p/diy-ds18b20-stainless-steel-temperature-sensor-probe-black-151327#.WB7zzYWcG00 Cheap and tested sensor from DX]] eu 2.53
* [[http://www.dx.com/p/ds18b20-waterproof-digital-temperature-probe-black-silver-204290#.WB7rNYWcG01 Slightly nicer due to pins on leads]] eu 3.37
* [[http://www.vanallesenmeer.nl/Temperatuur-1-Wire-Waterdicht-DS18B20 Local source delivers very quickly]] eu 3.25
* [[https://www.adafruit.com/products/381 Adafruit never cheap]] $9.95
* [[https://nl.aliexpress.com/store/product/Free-Shipping-1pc-DS18B20-digital-temperature-sensor-PTFE-waterproof-three-core-shielded-cable/342106_1341087517.html?detailNewVersion=&categoryId=523 PTFE version on AliExpress]] $8.50
* [[http://www.ebay.nl/itm/DS18B20-digital-temperature-sensor-PTFE-waterproof-three-core-shielded-cable-/111959779016 PFTE version on ebay]] eu 12.47
* [[https://www.adafruit.com/products/642 PTFE version on Adafruit - never cheap]] $14.95
* [[https://www.kiwi-electronics.nl/hoge-temperatuur-waterbestendige-ds18b20-temperatuur-sensor Local supply of PTFE version]] eu 14.95


- create and apply design of PCB, possibly one for the "brain" and separate for the "relay or H-bridge" module, preferably all on one board
=== Bugs&Issues ===


- the type of relays used (mechanical or opto-relays) and/or H-bridge has to be decided
So far no errors because we are not testing yet (2/9/2019).
 
By the end of November the final run of tests needs to be done resulting in final version of the experimental incubator 2.3 mamut kit version confirming the final design and promoting and funding it most likely by crowdsourcing campaign ordering larger quantities of components (latest end of November) which will be presented and circulated at 31c3 congress as '''Experimental Incubator 2.3 Mamut'''. 
 
 
* '''Parts needed to build up prototype/kit for 30c3
(parts suggested based on '''industrial prototyping''' scheme)
 
{| class="wikitable sortable"
! Component !! Function !! Model Specifications !! Amount !! Cost (€) !! Purchase links !! Component Suggested by
|-
|[http://en.wikipedia.org/wiki/Arduino Arduino Board] (clone OK)||easy prototyping||???||1x||15||[http://dx.com/p/arduino-freaduino-uno-atmega328-ap-module-with-data-cable-139808 DealExtreme]||Arnd
|-
|[http://arduino.cc/en/Main/ArduinoProtoShield Arduino prototyping shield]||for easy prototyping||???||1x||2||[http://dx.com/p/arduino-prototyping-shield-pcb-board-blue-138294 DealExtreme]||Arnd
|-
|[http://en.wikipedia.org/wiki/Liquid-crystal_display LCD Display]||display data||???||1x||7||[http://dx.com/p/lcd-keypad-shield-for-arduino-duemilanove-lcd-1602-118059 DealExtreme]|| Arnd
|-
|[http://en.wikipedia.org/wiki/List_of_temperature_sensors Temperature sensors]||to measure temp.||???||2x||8||[http://dx.com/p/diy-ds18b20-stainless-steel-temperature-sensor-probe-black-151327 DealExtreme]||Arnd
|-
|[http://en.wikipedia.org/wiki/Solid-state_relay Solid state relay]||switch on/off 220V elements||???||2x||6-10||[http://dx.com/p/ssr-25da-25a-solid-state-relay-white-134494 DealExtreme]||Arnd
|-
|H-bridge||changing polarity of peltier||???||1x||13-16||[http://www.ebay.com/itm/43A-BTS7960B-DC-Motor-smart-car-Driver-H-Bridge-PWM-Fast-Braking-For-Arduino-/190898613291?pt=LH_DefaultDomain_0&hash=item2c7271ac2b Ebay]||Arnd
|-
|RTC (real-time-clock) module||keep count of time||DS1302 based||1x||3||[http://dx.com/p/ds1302-real-time-clock-module-with-battery-cr2032-126453 DealExtreme]||Arnd
|-
|Connectors for temp-probes||connect the temp-probes||???||2x||1||[http://dx.com/p/3-pin-screw-terminal-block-connectors-20-piece-pack-122491 DealExtreme]||Arnd&Erwin
|-
|Pin Headers for Arduino (package of 5pcs)||to connect boards||???||1x||5||[http://dx.com/p/2-mm-pitch-8-pin-male-to-female-pin-headers-for-arduino-5-pcs-152201 DealExtreme]||Arnd
|-
|Thermopaste||to connect heatsinks to peltier||???||1x||5||[http://dx.com/p/silicone-heat-release-transfer-compound-thermal-paste-white-net-weight-50g-138879 DealExtreme]||Algoldor
|-
|peltier element||for heating/cooling||???||2x||8||[http://www.gme.cz/m-tec1-12708-p601-008 GM electronics]||Lars/Algoldor
|-
|cooler||for heat distributiong||???||2x||???||[http://www.arctic.ac/eu_en/freezer-7-64-pro.html Arctic]||Lars, Algoldor
|-
|}
 
 
==== An overview of pins used for 2.1 Mamut ====
 
An overview of Arduino/Atmega328 pinouts
 
The following table then emerges:
 
D0: Serial RX
 
D1: Serial TX
 
D2: SSR1
 
D3: SSR2
 
D4: LCD D4
 
D5: LCD D5
 
D6: LCD D6
 
D7: LCD D7
 
D8: LCD RS
 
D9: LCD 'Enable' (might be optional)
 
D10: LCD backlight control (might be made optional)
 
D11: One-wire bus 1 (first temp-probe)
 
D12: One-wire bus 2 (second temp-probe)
 
D13: Free (see note below about LCD and buttons)
 
 
A0: LCD Buttons
 
A1: Free
 
A2: Free
 
A3: Free
 
A4: I2C SDA-line for DS1307
 
A5: I2C SCL-line for DS1307
 
 
This leaves one digital pin free in a 'plain and simple way' of connecting two SSR's and two temperature-probes. We could free up two digital pins with the LCD, even more if we move it to an I2C-based way connecting it (saves another 2 to 3 wires, I believe), at the expense of more code/parts. As it is, it's not required for what we want to achieve with the device right now.

Latest revision as of 10:41, 11 September 2019

ei Kit "Just"
SSR and heat sink
Working prototypes assembled at VoidWarranties, February 2017

Here you can find info about the development of the experimental incubator (ei)current version 5.0 "Kvas" which we are now working on. There are several improvements compared to the previous version 4.0 Just, the fourth generation of the experimental incubator.

The main change is leaving the arduino core behind and switching for the Sonoff device, in particular the Sonoff TH16 model which should make our life much more easy on many fronts.

How to get involved, contact

Get your kit and let us know! That is the most easy way how to get in and participating. Contact Algoldor, Justa or send an email to the experimental incubator mailing list. The total cost is around €25 max. you can buy it easily online, don't forget also the serial to usb 3.3v so you can upload the code to the device.

If you want to get involved, you need help with experimental incubator set up and running or you have some other questions you can get in touch with us:

Soldering and connection

This needs to be updated because of the switch to Sonoff TH16, however it is going to be way more simple than the previous models. For now, you can check the video here for just short overview.

Schematics

Well the schematics is something what we need to work on. At the moment lets say that the core of the Sonoff is the ESP8266.

Software

We have to discuss the software sources, there are many out there one of them for example BrewPiLess, Docs.

Programming

You will need a serial to usb 3.3v.


Heating&Cooling

One of the options for heating the incubator could be terrarium heater. Also keramik reptile heat emitter could be used.

Currently Run Prototypes

The prototypes which are currently running the "just" version are listed here:

Temperature probes

The DS18B20 temperature probes used have PVC shielding; that makes them unsuitable for long time use at temperatures of 100°C or above, although the sensor works up to 125°C. Some sensors are shielded with PTFE cable (more commonly known as Teflon) which is considered food safe to 160°C, so these sensors can be used up to 125°C (max sensor range). Here are some ordering options:

Bugs&Issues

So far no errors because we are not testing yet (2/9/2019).