Modification of La Spaziale S1 (Mini) Vivaldi II with timer, web interface, manual dose, power meter and printserver with airprint: Unterschied zwischen den Versionen

Aus KaffeeWiki - die Wissensdatenbank rund um Espresso, Espressomaschinen und Kaffee
Zur Navigation springen Zur Suche springen
K
K
Zeile 76: Zeile 76:
  
  
VivaldiMyTimer [[File: Raspberry.png]]
+
[[File: VivaldiMyTimer_Raspberry.png]]
  
 
The cable and a relay.
 
The cable and a relay.
  
VivaldiMyTimer [[File: Kabel.png]]
+
[[File: VivaldiMyTimer_Kabel.png]]
  
 
The components there are largely Reichelt: Here the cart
 
The components there are largely Reichelt: Here the cart
Zeile 97: Zeile 97:
 
On other mail address I will send no messages.
 
On other mail address I will send no messages.
  
German support is provided here: [1]
+
German support is provided here: [http://www.kaffee-netz.de/threads/vorstellung-projekt-vivaldi-mytimer-wlan-wifi.81665/]
  
English support page is here: [2]
+
English support page is here: [http://s1cafe.com/viewtopic.php?f=26&t=2084]
  
 
Here is an example of the surface through the browser is an iPhone called:
 
Here is an example of the surface through the browser is an iPhone called:
  
VivaldyMytimer [[File: iphone.png]]
+
[[File: VivaldiMyTimer_iphone.png]]
Installation
+
 
 +
== Installation ==
  
 
In my Vivaldi I have the Raspberry inserted into the machine. For reason of the temperatures in the machine I can only recommend in insulated tanks but this. For uninsulated kettles I recommend to put back to the Vivaldi the Raspberry. But if the machine is open anyway, an insulation with Armaflex is done but also fast.
 
In my Vivaldi I have the Raspberry inserted into the machine. For reason of the temperatures in the machine I can only recommend in insulated tanks but this. For uninsulated kettles I recommend to put back to the Vivaldi the Raspberry. But if the machine is open anyway, an insulation with Armaflex is done but also fast.
  
1. First, the machine must be opened:
+
'''1.''' First, the machine must be opened:
  
VivaldiMyTimer [[File: Offen.jpg]]
+
[[File: VivaldiMyTimer_Offen.jpg]]
  
  
2. Connect the cable from the control unit to control electronics should be made ​​clear so that the control electronics can be pulled to the rear:
+
'''2.''' Connect the cable from the control unit to control electronics should be made ​​clear so that the control electronics can be pulled to the rear:
  
VivaldiMyTimer [[File: Offen2.jpg]]
+
[[File: VivaldiMyTimer_Offen2.jpg]]
  
VivaldiMyTimer [[File: Offen3.jpg]]
+
[[File: VivaldiMyTimer_Offen3.jpg]]
  
  
3. The plugs should be labeled so that they too will find the right place on the control electronics.
+
'''3.''' The plugs should be labeled so that they too will find the right place on the control electronics.
  
VivaldiMyTimer [[File: Blackbox.jpg]]
+
[[File: VivaldiMyTimer_Blackbox.jpg]]
  
  
4. Open the box of the control electronics:
+
'''4.''' Open the box of the control electronics:
  
VivaldiMyTimer [[File: Elektronik.jpg]]
+
[[File: VivaldiMyTimer_Elektronik.jpg]]
  
  
5. By means of an adapter cable, we dress the necessary pins out.
+
'''5.''' By means of an adapter cable, we dress the necessary pins out.
 
Important here is the direction of the markings.
 
Important here is the direction of the markings.
 
The nose of the female connector and the recess of the plug strip facing upwards!
 
The nose of the female connector and the recess of the plug strip facing upwards!
  
VivaldiMyTimer [[File: Adapter1.jpg]]
+
[[File: VivaldiMyTimer_Adapter1.jpg]]
  
VivaldiMyTimer [[File: Adapter2.jpg]]
+
[[File: VivaldiMyTimer_Adapter2.jpg]]
  
. 6 We need only the veins 1 (red) and 11 for the relay on / off.
+
'''6.''' We need only the veins 1 (red) and 11 for the relay on / off.
 
For the "backwash" option we need the wires 2 and 7 (7 is the double reference, 2 and 5 (single reference) would go).
 
For the "backwash" option we need the wires 2 and 7 (7 is the double reference, 2 and 5 (single reference) would go).
 
For the "Boilerabschakltung" option we need the wires 2 and 9. FIG.
 
For the "Boilerabschakltung" option we need the wires 2 and 9. FIG.
Zeile 145: Zeile 146:
 
The two veins we are stuck in a shrink tube.
 
The two veins we are stuck in a shrink tube.
  
VivaldiMyTimer [[File: Adapter3.jpg]]
+
[[File: VivaldiMyTimer_Adapter3.jpg]]
  
VivaldiMyTimer [[File: Adapter4.jpg]]
+
[[File: VivaldiMyTimer_Adapter4.jpg]]
  
  
7. Insert adapter cable.
+
'''7.''' Insert adapter cable.
  
VivaldiMyTimer [[File: Adapter5.jpg]]
+
[[File: VivaldiMyTimer_Adapter5.jpg]]
  
  
8. Option 1:
+
'''8.''' Option 1:
  
 
Preparing for automatic load detection (only necessary if this function is desired)
 
Preparing for automatic load detection (only necessary if this function is desired)
Zeile 161: Zeile 162:
 
For this purpose, the plug next to the ribbon cable is severed and lengthened the green wire, so that it can be connected later on our relays:
 
For this purpose, the plug next to the ribbon cable is severed and lengthened the green wire, so that it can be connected later on our relays:
  
VivaldiMyTimer [[File: Dose.jpg]]
+
[[File: VivaldiMyTimer_Dose.jpg]]
  
9. Now the cable between relay and Raspberry is assembled.
+
'''9.''' Now the cable between relay and Raspberry is assembled.<br />
 
I chose solder connections. But there are also a number of relays with screw manufacturers. So then no soldering would be necessary during the conversion.
 
I chose solder connections. But there are also a number of relays with screw manufacturers. So then no soldering would be necessary during the conversion.
  
Zeile 171: Zeile 172:
  
  
For the timer
+
'''For the timer'''
  
Raspberry Pin2 (+ 5V) ---> VCC relays
+
Raspberry Pin2 (+ 5V) ---> VCC relays<br \>
Raspberry Pin 14 (ground) ---> relays GND
+
Raspberry Pin 14 (ground) ---> relays GND<br \>
 
Raspberry Pin 15 (Gpio22) ---> relays
 
Raspberry Pin 15 (Gpio22) ---> relays
  
  
Option 1: Switching automatic load / reference manual
+
'''Option 1: Switching automatic load / reference manual'''
  
 
This option is recommended. We only need another artery and a relay board with two relay only costs about 1, - EUR more than the board with only one relay.
 
This option is recommended. We only need another artery and a relay board with two relay only costs about 1, - EUR more than the board with only one relay.
Zeile 185: Zeile 186:
  
  
Option 2: Energy Meter
+
'''Option 2: Energy Meter'''
  
As a second function, a power meter to be installed. It sends each consumed kWh depending on the model 1000 or 2000 pulses to the Raspberry.
+
As a second function, a power meter to be installed. It sends each consumed kWh depending on the model 1000 or 2000 pulses to the Raspberry.<br \>
These pulses we can evaluate and let the consumption and the kWh-price costs Show.
+
These pulses we can evaluate and let the consumption and the kWh-price costs Show.<br \>
For the meter about 20, - EUR
+
For the meter about 20, - US$
  
Raspberry Pin 5 (Gpio03) ---> meter S0 +
+
Raspberry Pin 5 (Gpio03) ---> meter S0 +<br \>
 
Raspberry pin 6 (ground) ---> meter S0 -
 
Raspberry pin 6 (ground) ---> meter S0 -
  
  
Option 3:. Shot Timer Shot VAT administration
+
'''Option 3:. shot timer incl. shot administration'''
  
 
A relay in parallel with the solenoid valve provides us with the necessary contact.
 
A relay in parallel with the solenoid valve provides us with the necessary contact.
  
 
PINs:
 
PINs:
Raspberry Pin 3 (Gpio02) ---> RELAY5 closers
+
Raspberry Pin 3 (Gpio02) ---> RELAY5 closers<br \>
 
Raspberry pin 6 (ground) ---> RELAY5 NO (PIN same as in option 2)
 
Raspberry pin 6 (ground) ---> RELAY5 NO (PIN same as in option 2)
  
  
Option 4: Rückspülautomatik
+
'''Option 4: back flush automatic'''
  
Raspberry Pin2 (+ 5V) ---> Relay3 VCC
+
Raspberry Pin2 (+ 5V) ---> Relay3 VCC<br \>
Raspberry Pin 14 (ground) ---> GND Relay3
+
Raspberry Pin 14 (ground) ---> GND Relay3<br \>
 
Raspberry Pin 18 (Gpio24) ---> Relay3 IN
 
Raspberry Pin 18 (Gpio24) ---> Relay3 IN
  
The contact of the relay goes to the control panel wires 2 and 7. FIG.
+
The NO contact of the relay goes to the control panel wires 2 and 7.  
  
Option 5: Boiler shutdown
+
'''Option 5: Boiler shutdown'''
  
Raspberry Pin2 (+ 5V) ---> Relay4 VCC
+
Raspberry Pin2 (+ 5V) ---> Relay4 VCC<br \>
Raspberry Pin 14 (ground) ---> GND Relay4
+
Raspberry Pin 14 (ground) ---> GND Relay4<br \>
 
Raspberry Pin 22 (GPIO25) ---> Relay4 IN
 
Raspberry Pin 22 (GPIO25) ---> Relay4 IN
  
The contact of the relay goes to the control panel wires 2 and 9. FIG.
+
The NO contact of the relay goes to the control panel wires 2 and 9.  
  
  
10. For the cables we need a recess on the housing.
+
'''10.''' For the cables we need a recess on the housing.<br \>
 
I have this extended directly to the female RCA connector and then pulled through the cable.
 
I have this extended directly to the female RCA connector and then pulled through the cable.
  
VivaldiMyTimer [[File: Gehaeuse1.jpg]]
+
[[File: VivaldiMyTimer_Gehaeuse1.jpg]]
  
VivaldiMyTimer [[File: Gehaeuse2.jpg]]
+
[[File: VivaldiMyTimer_Gehaeuse2.jpg]]
  
  
11. The sealed casing can be protected with an insulating anything against any moisture.
+
'''11.''' The sealed casing can be protected with an insulating anything against any moisture.<br \>
 
(Due to the many holes on the chassis that's more of an alibi work;))
 
(Due to the many holes on the chassis that's more of an alibi work;))
  
VivaldiMyTimer [[File: Gehaeuse3.jpg]]
+
[[File: VivaldiMyTimer_Gehaeuse3.jpg]]
  
  
12. Connection of the relay board
+
'''12.''' Connection of the relay board
  
 
GPIO22 turns the machine on and off.
 
GPIO22 turns the machine on and off.
Zeile 247: Zeile 248:
 
The connection diagram can be seen in the photo below the veins.
 
The connection diagram can be seen in the photo below the veins.
  
VivaldiMyTimer [[File: Relais1.jpg]]
+
[[File: VivaldiMyTimer_Relais1.jpg]]
  
 
Here is a photo of the not connected relays.
 
Here is a photo of the not connected relays.
Zeile 255: Zeile 256:
 
Anyone who uses three relays, is prepared for the coming option "automatic cleaning program".
 
Anyone who uses three relays, is prepared for the coming option "automatic cleaning program".
  
VivaldiMyTimer [[File: Relais2.jpg]]
+
[[File: VivaldiMyTimer_Relais2.jpg]]
  
13. The completed attached relay should be protected against short circuits, as we put it in with the casing of the control electronics.
+
'''13.''' The completed attached relay should be protected against short circuits, as we put it in with the casing of the control electronics.<br \>
 
I have used a shrink tube. Wrap with electrical tape should also rich.
 
I have used a shrink tube. Wrap with electrical tape should also rich.
  
VivaldiMyTimer [[File: Relais3.jpg]]
+
[[File: VivaldiMyTimer_Relais3.jpg]]
  
  
14. Here there is still space for our relays.
+
'''14.''' Here there is still space for our relays.<br \>
 
Now the housing of the control unit can be closed again.
 
Now the housing of the control unit can be closed again.
  
VivaldiMyTimer [[File: Relais4.jpg]]
+
[[File: VivaldiMyTimer_Relais4.jpg]]
  
15. Now only missing the Stomanschluß for our Raspberry.
+
'''15.''' Now only missing the Stomanschluß for our Raspberry.<br \>
 
For this we cut out the extension simply the clutch off and connect it to the power cord of Vivaldi.
 
For this we cut out the extension simply the clutch off and connect it to the power cord of Vivaldi.
  
VivaldiMyTimer [[File: Strom1.jpg]]
+
[[File: VivaldiMyTimer_Strom1.jpg]]
  
  
16. Option 2: electricity meter (only if necessary)
+
'''16.''' Option 2: electricity meter (only if necessary)
  
Now can also be installed easily the electricity meter.
+
Now can also be installed easily the electricity meter.<br \>
 
Just the power cord of Vivaldi pull something into the machine until it reaches to the cup warmer.
 
Just the power cord of Vivaldi pull something into the machine until it reaches to the cup warmer.
  
VivaldiMyTimer [[File: Strom2.jpg]]
+
[[File: VivaldiMyTimer_Strom2.jpg]]
  
  
Zeile 285: Zeile 286:
  
  
L is the brown wire direction outlet.
+
L is the brown wire direction outlet.<br \>
 
N the blue wire towards outlet.
 
N the blue wire towards outlet.
  
 
The outputs are labeled accordingly.
 
The outputs are labeled accordingly.
  
S0 + goes to Raspberry Pin5 (GPIO3).
+
S0 + goes to Raspberry Pin5 (GPIO3).<br \>
 
S0 + goes to Raspberry Pin6 (mass).
 
S0 + goes to Raspberry Pin6 (mass).
  
 
If the electricity meter as a display my have, so must not be visible, as we read the values ​​on the Raspberry.
 
If the electricity meter as a display my have, so must not be visible, as we read the values ​​on the Raspberry.
  
VivaldiMyTimer [[File: Stromzaehler.jpg]]
+
[[File: VivaldiMyTimer_Stromzaehler.jpg]]
  
17. Option 3: Shot Timer (only if desired)
+
'''17.''' Option 3: Shot Timer (only if desired)
  
 
We engage the shot timer from the relay for the solenoid valve. Obtain Due to the size and a potential free contact, I have used a reed relay with built-in freewheeling diode.
 
We engage the shot timer from the relay for the solenoid valve. Obtain Due to the size and a potential free contact, I have used a reed relay with built-in freewheeling diode.
Zeile 303: Zeile 304:
 
The solder points on which we can solder the relay we see in the following image. !! Caution !! Unfortunately, the cores (+/-) are reversed on the photo. After correction I forgot to make a new image.
 
The solder points on which we can solder the relay we see in the following image. !! Caution !! Unfortunately, the cores (+/-) are reversed on the photo. After correction I forgot to make a new image.
  
Shot Timer [[File: Platine.JPG]]
+
[[File: Shottimer_Platine.JPG]]
  
 
And here the used reed relays. That there are also favorable at Reichelt (SIL No. 7271-D 12V). The designation reads: SA12-1A72-71D
 
And here the used reed relays. That there are also favorable at Reichelt (SIL No. 7271-D 12V). The designation reads: SA12-1A72-71D
  
Shot Timer [[File: Reedrelais.JPG]]
+
[[File: Shottimer_Reedrelais.JPG]]
  
18. Now everything can be reassembled.
+
'''18.''' Now everything can be reassembled.<br \>
The Raspberry I tucked in my top of the cup warmer.
+
The Raspberry I tucked in my top of the cup warmer.<br \>
The SD card is facing up, so I can easily make a firmware change.
+
The SD card is facing up, so I can easily make a firmware change.<br \>
 
With cable ties of the ammeter and the Raspberry can be fixed.
 
With cable ties of the ammeter and the Raspberry can be fixed.
  
VivaldiMyTimer [[File: Einbauort.jpg]]
+
[[File: VivaldiMyTimer_Einbauort.jpg]]
  
  
19th Now we need the software. The Image I'll put here on the board are available. Link follows.
+
'''19.''' Now we need the software. The Image I'll put here on the board are available. Link follows.
  
With the tool "Win32 Disk Imager" it is written to the SD card.
+
With the tool "Win32 Disk Imager" it is written to the SD card.<br \>
Then plug in the Raspberry and connect via cable to the network.
+
Then plug in the Raspberry and connect via cable to the network.<br \>
  
 
Now the plug into the socket of Vivaldi.
 
Now the plug into the socket of Vivaldi.
Zeile 326: Zeile 327:
 
After 2 minutes, the web interface should be under http: // Vivaldi / be accessible.
 
After 2 minutes, the web interface should be under http: // Vivaldi / be accessible.
  
The login is: viv
+
The login is: viv<br \>
 
Password: viv
 
Password: viv
  
Zeile 332: Zeile 333:
  
  
20. In the "Settings" menu, which is accessible through the gear icon at the bottom right, the system settings can be made.
+
'''20.''' In the "Settings" menu, which is accessible through the gear icon at the bottom right, the system settings can be made.
  
Here, the SSID and the WAP-Key of the WLAN network is entered. Then the power plug (power) must be taken shortly and the LAN cables are pulled.
+
Here, the SSID and the WAP-Key of the WLAN network is entered. Then the power plug (power) must be taken shortly and the LAN cables are pulled.<br \>
 
Insert power plug.
 
Insert power plug.
  
 
After 2 minutes, the web interface should be accessible via WLAN.
 
After 2 minutes, the web interface should be accessible via WLAN.
  
Note: Probably only works WPA2.
+
'''Note:''' Probably only WPA2 works without problems.
  
  
Zeile 345: Zeile 346:
  
 
If everything works you have done it and the housing can be closed.
 
If everything works you have done it and the housing can be closed.
Others
 
  
Powered by Webaufruf
+
== Others ==
  
Here the possibility the Vivaldi to switch directly over Webaufruf.
+
Powered by web interface
 +
 
 +
Here the possibility the Vivaldi to switch directly over web interface.<br \>
 
This can be used for various automation. eg FHEM
 
This can be used for various automation. eg FHEM
  
Switching on: http: // username: password@vivaldi/gpio_on.php
+
Switching on: http: // username: password@vivaldi/gpio_on.php<br \>
 
Off: http: // username: password@vivaldi/gpio_off.php
 
Off: http: // username: password@vivaldi/gpio_off.php
  
Zeile 363: Zeile 365:
  
 
Use "sudo Raspi-config" to change timezone.
 
Use "sudo Raspi-config" to change timezone.
 +
 +
 +
== '''printserver''' ==
 +
 +
You can configure the build in printserver with: http://vivaldi:631

Version vom 8. November 2015, 11:54 Uhr

Information

Due to requests from english users, this page will become the english translation of the german documentation: https://www.kaffeewiki.de/index.php?title=Umr%C3%BCsten_der_La_Spaziale_S1_%28Mini%29_Vivaldi_II_auf_Timer,_Webinterface,_manuellen_Bezug_und_Stromz%C3%A4hler

As a start this will be the transpation via google translate. Everybody is invited to improve this page and do a better translation.


Installation of a timer "Vivaldi myTimer" in the Vivaldi incl. WLAN / WiFi

In addition to the installation of further options will be described.

The following options are installed independent of the timer. But it is mostly so little additional effort, so it is advisable to implement this with, when the machine is open times.

Option 1: Switching automatic load / automatic reference

option 2: energy Meter

Option 3: Shot Timer incl shot administration

Option 4: automatic backflush

Option 5: boiler shutdown (not in mini-Vivaldi)

project

By installing a single-board computer (Raspberry Pi) into the Vivaldi is realized with a clock timer with unlimited switching.

As an additional feature the Vivaldi is wireless capability and can be switched off via PC / tablet and smartphone and. In addition, the timer can be programmed web-based. By means of a relay is simulated by the Raspberry only the time you press the power button. The material costs are about 65,- US$.

Functions

  • Programming the (mini) Vivaldi a Webinterfache
  • Unlimited number of timers to activate / deactivate the machine (daily, weekly, individually (de-) activated) (with / without Boiler in the non-mini)
  • Switching on / off via web interface with popular browsers (eg with a smartphone of The Move)
  • The non-Mini can be switched on with / without boiler via the GUI optional
  • Power on / off by building control via Web Interface
  • Automatic and manual shot Timer
  • Shot administration (database with comment and favorites function) (Shots under 8 seconds are not saved)
  • The shot database can be adjusted by pressing a button (all uncommented entries without Favourite Flag and without touch)
  • per shift timing programmable boiler shutdown (Not for mini Vivaldi)
  • automatic load detection can be switched off (manual reference)
  • backflush
  • electricity meter incl. electricity cost calculator
  • User management with authorisation concept
  • configuration completely possible through the graphical interface
  • phpMyAdmin can be used for data migration
  • configuration of WLAN on Windows directly to the SD card possible
  • interface for home automatisation
  • integrated printserver with airprint

Screenshots

The surface is available from the PC / tablet or smartphone via browser.

The timer includes manual on / off and change the dosage. VivaldiMyTimer Timer.png

shot timer / shot administrative VivaldiMyTimer Shot.png

User management VivaldiMyTimer Rights.png

configuration Datei:VivaldiMyTimer Settings .png

Security note

The tasks described here may only be carried out by competent persons. When working on high voltage (120V/230V) can be deadly. Moreover, in case of errors the machine may be damaged.

Disclaimer

This description portrays the rebuilding my machine. There is no guarantee that errors have crept. For this reason, should not be taken 1 to 1 all. It is intended primarily to be able to understand the work and to pay an own conversion without this description. I am not responsible for any damage! This description is an initial draft. It would be glad if someone would check the description is correct. Suggestions, corrections and additional photos are welcome.

The material

The Raspberry PI (Rev. 2), a housing, a 4GB SD card, a WLAN stick, an AC adapter and an extension to the Vivaldi a socket for the power adapter. Who grows the Raspberry externally, can also operate with a standard electrical outlet.

Note: The Raspberry PI (Rev. 2) is not 100% compatible with the Rev. 1. Due to the modified connector strip is not running the software provided correct.

Raspberry PI B + is pin-compatible and can therefore be used.


VivaldiMyTimer Raspberry.png

The cable and a relay.

VivaldiMyTimer Kabel.png

The components there are largely Reichelt: Here the cart

Then we do not need the relay board with one or two relays. Here helps ebay search for "relays Raspberry". Screw on both sides avoid soldering.

For option 2, a current meter is required. These helps ebay following search continues, "electricity meter S0". There are models with different pulses per kW. The higher the value, the more accurate the count. 1000 pulses are but adequate. The software

The software is available here (2-3GB): Download

Currently a password will be needed to unpack.

The password enables it via PM after downloading. For this I need the user from the network or from coffee S1Cafe. In both of these forums I support bar. On other mail address I will send no messages.

German support is provided here: [1]

English support page is here: [2]

Here is an example of the surface through the browser is an iPhone called:

Datei:VivaldiMyTimer iphone.png

Installation

In my Vivaldi I have the Raspberry inserted into the machine. For reason of the temperatures in the machine I can only recommend in insulated tanks but this. For uninsulated kettles I recommend to put back to the Vivaldi the Raspberry. But if the machine is open anyway, an insulation with Armaflex is done but also fast.

1. First, the machine must be opened:

VivaldiMyTimer Offen.jpg


2. Connect the cable from the control unit to control electronics should be made ​​clear so that the control electronics can be pulled to the rear:

VivaldiMyTimer Offen2.jpg

VivaldiMyTimer Offen3.jpg


3. The plugs should be labeled so that they too will find the right place on the control electronics.

VivaldiMyTimer Blackbox.jpg


4. Open the box of the control electronics:

VivaldiMyTimer Elektronik.jpg


5. By means of an adapter cable, we dress the necessary pins out. Important here is the direction of the markings. The nose of the female connector and the recess of the plug strip facing upwards!

VivaldiMyTimer Adapter1.jpg

VivaldiMyTimer Adapter2.jpg

6. We need only the veins 1 (red) and 11 for the relay on / off. For the "backwash" option we need the wires 2 and 7 (7 is the double reference, 2 and 5 (single reference) would go). For the "Boilerabschakltung" option we need the wires 2 and 9. FIG.

All other we remove. The two veins we are stuck in a shrink tube.

VivaldiMyTimer Adapter3.jpg

VivaldiMyTimer Adapter4.jpg


7. Insert adapter cable.

VivaldiMyTimer Adapter5.jpg


8. Option 1:

Preparing for automatic load detection (only necessary if this function is desired)

For this purpose, the plug next to the ribbon cable is severed and lengthened the green wire, so that it can be connected later on our relays:

VivaldiMyTimer Dose.jpg

9. Now the cable between relay and Raspberry is assembled.
I chose solder connections. But there are also a number of relays with screw manufacturers. So then no soldering would be necessary during the conversion.

On the relay boards, the connections are usually labeled well.

On Raspberry we use the following pins:


For the timer

Raspberry Pin2 (+ 5V) ---> VCC relays
Raspberry Pin 14 (ground) ---> relays GND
Raspberry Pin 15 (Gpio22) ---> relays


Option 1: Switching automatic load / reference manual

This option is recommended. We only need another artery and a relay board with two relay only costs about 1, - EUR more than the board with only one relay.

Raspberry Pin 16 (Gpio23) ---> Relay2 IN


Option 2: Energy Meter

As a second function, a power meter to be installed. It sends each consumed kWh depending on the model 1000 or 2000 pulses to the Raspberry.
These pulses we can evaluate and let the consumption and the kWh-price costs Show.
For the meter about 20, - US$

Raspberry Pin 5 (Gpio03) ---> meter S0 +
Raspberry pin 6 (ground) ---> meter S0 -


Option 3:. shot timer incl. shot administration

A relay in parallel with the solenoid valve provides us with the necessary contact.

PINs: Raspberry Pin 3 (Gpio02) ---> RELAY5 closers
Raspberry pin 6 (ground) ---> RELAY5 NO (PIN same as in option 2)


Option 4: back flush automatic

Raspberry Pin2 (+ 5V) ---> Relay3 VCC
Raspberry Pin 14 (ground) ---> GND Relay3
Raspberry Pin 18 (Gpio24) ---> Relay3 IN

The NO contact of the relay goes to the control panel wires 2 and 7.

Option 5: Boiler shutdown

Raspberry Pin2 (+ 5V) ---> Relay4 VCC
Raspberry Pin 14 (ground) ---> GND Relay4
Raspberry Pin 22 (GPIO25) ---> Relay4 IN

The NO contact of the relay goes to the control panel wires 2 and 9.


10. For the cables we need a recess on the housing.
I have this extended directly to the female RCA connector and then pulled through the cable.

VivaldiMyTimer Gehaeuse1.jpg

VivaldiMyTimer Gehaeuse2.jpg


11. The sealed casing can be protected with an insulating anything against any moisture.
(Due to the many holes on the chassis that's more of an alibi work;))

VivaldiMyTimer Gehaeuse3.jpg


12. Connection of the relay board

GPIO22 turns the machine on and off.

The two cables from the adapter cable to the control unit come on normally.

GPIO23 switches the automatic load.

The two extended cores of the green terminal come on the opener.

The connection diagram can be seen in the photo below the veins.

VivaldiMyTimer Relais1.jpg

Here is a photo of the not connected relays.

Who renounces the option 1 (automatic load detection) of course has only one relay.

Anyone who uses three relays, is prepared for the coming option "automatic cleaning program".

VivaldiMyTimer Relais2.jpg

13. The completed attached relay should be protected against short circuits, as we put it in with the casing of the control electronics.
I have used a shrink tube. Wrap with electrical tape should also rich.

VivaldiMyTimer Relais3.jpg


14. Here there is still space for our relays.
Now the housing of the control unit can be closed again.

VivaldiMyTimer Relais4.jpg

15. Now only missing the Stomanschluß for our Raspberry.
For this we cut out the extension simply the clutch off and connect it to the power cord of Vivaldi.

VivaldiMyTimer Strom1.jpg


16. Option 2: electricity meter (only if necessary)

Now can also be installed easily the electricity meter.
Just the power cord of Vivaldi pull something into the machine until it reaches to the cup warmer.

VivaldiMyTimer Strom2.jpg


The cables at the top of separation and use the electricity meter.


L is the brown wire direction outlet.
N the blue wire towards outlet.

The outputs are labeled accordingly.

S0 + goes to Raspberry Pin5 (GPIO3).
S0 + goes to Raspberry Pin6 (mass).

If the electricity meter as a display my have, so must not be visible, as we read the values ​​on the Raspberry.

VivaldiMyTimer Stromzaehler.jpg

17. Option 3: Shot Timer (only if desired)

We engage the shot timer from the relay for the solenoid valve. Obtain Due to the size and a potential free contact, I have used a reed relay with built-in freewheeling diode.

The solder points on which we can solder the relay we see in the following image. !! Caution !! Unfortunately, the cores (+/-) are reversed on the photo. After correction I forgot to make a new image.

Shottimer Platine.JPG

And here the used reed relays. That there are also favorable at Reichelt (SIL No. 7271-D 12V). The designation reads: SA12-1A72-71D

Shottimer Reedrelais.JPG

18. Now everything can be reassembled.
The Raspberry I tucked in my top of the cup warmer.
The SD card is facing up, so I can easily make a firmware change.
With cable ties of the ammeter and the Raspberry can be fixed.

VivaldiMyTimer Einbauort.jpg


19. Now we need the software. The Image I'll put here on the board are available. Link follows.

With the tool "Win32 Disk Imager" it is written to the SD card.
Then plug in the Raspberry and connect via cable to the network.

Now the plug into the socket of Vivaldi.

After 2 minutes, the web interface should be under http: // Vivaldi / be accessible.

The login is: viv
Password: viv

Now a test of the correct wiring of the relay can be carried out.


20. In the "Settings" menu, which is accessible through the gear icon at the bottom right, the system settings can be made.

Here, the SSID and the WAP-Key of the WLAN network is entered. Then the power plug (power) must be taken shortly and the LAN cables are pulled.
Insert power plug.

After 2 minutes, the web interface should be accessible via WLAN.

Note: Probably only WPA2 works without problems.


Possibly there are also some special characters in the WPA Key problems.

If everything works you have done it and the housing can be closed.

Others

Powered by web interface

Here the possibility the Vivaldi to switch directly over web interface.
This can be used for various automation. eg FHEM

Switching on: http: // username: password@vivaldi/gpio_on.php
Off: http: // username: password@vivaldi/gpio_off.php


Time Zone

A hint for my non German users: You will have a timezone problem, Because The image is configured to German timezone. It is easy to change this via console:

To change timezone, please use the program Putty to enter the shell of the raspberry. User: pi Password: Vivaldi

Use "sudo Raspi-config" to change timezone.


printserver

You can configure the build in printserver with: http://vivaldi:631