Page 1 of 5

OTGW and Orange Pi Zero one device.

PostPosted: Fri Oct 13, 2017 3:22 pm
by cyril
Hi all! I want to show my device. I just assembled and tested it. It based on Orange Pi Zero (http://www.orangepi.com). Otmonitor running on this board under armbian. This board costs $6.99 on the aliexpress and has good plastic case and extension board (https://ru.aliexpress.com/item/New-Oran ... 0c1cce9366). Basing on otgw schematic I have reduced dimension and made little otgw board instead this extension board. It working well therefore I want to share all of my files to you.
I have added some features to my board:
1. 24V power supply on MT3608 feeded by 5V from main board.
2. LEDs on a separate board that can be seen through existen holes on the enclosure
3. Outside Temperature Sensor connects over standart 3.5 mm audio jack,
that already exist on OPI's extension board.
4. Onboard PIC programming by using LEDs board connector.
5. Spring connector to connect boiler and thermostat wires instead 2XUSB.
Schematic of the boiler and thermostat interfaces and PIC firmware has no any changes.
I have bought almost all components in regular electonic components store, at the rest - on the aliexpress.
PCB manufacturing - http://www.allpcb.com
CH340G - USB to UART (https://ru.aliexpress.com/item/CH340G-S ... 0.0.rifIiP)
PJ327F 3.5 mm audio connector (https://ru.aliexpress.com/item/1x-New-P ... Title=true)
MT3608 (https://ru.aliexpress.com/item/in-stock ... 0.0.rifIiP)
PIC16F88 (https://ru.aliexpress.com/item/PIC16F88 ... 0.0.rifIiP)
LEDs (https://ru.aliexpress.com/item/100pcs-l ... 0.0.rifIiP)
12 MHz resonator (https://ru.aliexpress.com/item/2pcs-HC- ... 0.0.rifIiP)
SMD Tact Switch (https://ru.aliexpress.com/item/10Pcs-SM ... Title=true)
I am using it with Baxi Main Four 240F and Honeuwell Round Modulation.
I am glad to answer any question.

Image

[more]
Image

Image

Image

Image

Image

Image

Image

Image

Image

Image

Image

Image

Image

Image

Image

Image

Image

Image

Image

Image

OS images:
armbian root/orangepi dhcp otmonitor port: 8080
https://yadi.sk/d/OEDc_tvR3P9WzY
openwrt (pulpstone) root/root dhcp otmonitor port: 8080
https://yadi.sk/d/C_J2y1pv3P9XPh

Re: OTGW and Orange Pi Zero one device.

PostPosted: Sun Nov 05, 2017 8:20 pm
by Bororo
Very nice work!
Unfortunately this is beyond my skills, but I like the idea to have all in one solution.
Will you ever offer this as fully assembled product? If yes, how much this will costs?

Re: OTGW and Orange Pi Zero one device.

PostPosted: Wed Nov 08, 2017 10:49 am
by cyril
Yes, I have boards and components and I can assemble it for you. It will cost 30 euro. (without OrangePiZero and enclosure) Also it will take a couple days to assemble board.

Re: OTGW and Orange Pi Zero one device.

PostPosted: Wed Nov 15, 2017 11:19 pm
by rsluiman
Great work looks very professional

Re: OTGW and Orange Pi Zero one device.

PostPosted: Thu Nov 16, 2017 8:22 am
by cyril
Thank you. PCB included in gerber files archives. Download please.

Re: OTGW and Orange Pi Zero one device.

PostPosted: Fri Jan 05, 2018 5:04 pm
by cyril
If anyone else wants board, you can get it on ebay: https://www.domoticaforum.eu/viewtopic.php?f=15&t=11933

Re: OTGW and Orange Pi Zero one device.

PostPosted: Fri Jan 05, 2018 5:51 pm
by yjb
I did receive one of these boards from Cyril a while ago, and I can confirm that things are working like a charm. Board looks tidy (and amazingly small)

My only concern is the OrangePi, it tends to get quite hot, so I'm not sure how long it will "survive"

Re: OTGW and Orange Pi Zero one device.

PostPosted: Tue Feb 20, 2018 12:22 pm
by CarbonCoop
Hey Cyril,
I got your board off ebay, I've wired it up between the boiler and thermostat as specified and used the image from the armbian link. I'm able to login to the interface on the 8080 port but it's not showing any results, there are no lights on the LEDs and the thermostat is showing an F203 error (no connection). Any thoughts, is there any documentation?
Many thanks,
Matt

Re: OTGW and Orange Pi Zero one device.

PostPosted: Tue Feb 20, 2018 12:42 pm
by cyril
CarbonCoop wrote:Hey Cyril,
I got your board off ebay, I've wired it up between the boiler and thermostat as specified and used the image from the armbian link. I'm able to login to the interface on the 8080 port but it's not showing any results, there are no lights on the LEDs and the thermostat is showing an F203 error (no connection). Any thoughts, is there any documentation?
Many thanks,
Matt

Hi Matt, It seems board has no power. Can you measure voltage between first and second pins on 13 pin header?

Re: OTGW and Orange Pi Zero one device.

PostPosted: Tue Feb 20, 2018 10:08 pm
by CarbonCoop
Hey Cyril,
Working fine now, on taking it apart again I realised I'd not placed the LED board properly and was missing the last two pins. All functioning fine now, thanks for your fast response.
Many thanks,
Matt

Re: OTGW and Orange Pi Zero one device.

PostPosted: Fri Feb 23, 2018 7:39 pm
by Thijs74
Hi Cyril,

Nice project, was looking at the OTGW, however it communicates overserial. Central Heating is away from Domoticz serial communication directly to the Rpi2 will not work.

Will this interface with an existing Domoticz installation on a RPI2 over ethernet connection ?

Kind regards,

Thijs
Zwolle

Re: OTGW and Orange Pi Zero one device.

PostPosted: Sat Feb 24, 2018 7:40 am
by cyril
Hi, Thijs! You can install Domoticz to Orange Pi Zero. Also, you can activate relay port on otmonitor and connect remotely via ethernet.

Best regards, Kirill.

Re: OTGW and Orange Pi Zero one device.

PostPosted: Thu Mar 15, 2018 10:39 pm
by texnic
cyril wrote:Yes, I have boards and components and I can assemble it for you. It will cost 30 euro. (without OrangePiZero and enclosure) Also it will take a couple days to assemble board.

Can it be used with normal Raspberry Pi 3 B?

Re: OTGW and Orange Pi Zero one device.

PostPosted: Thu Mar 15, 2018 10:49 pm
by texnic
I've maybe a stupid question, please excuse my ignorance: why does this setup need a power supply, if OpenTherm provides the power from the boiler? Would it be possible to use that power?

Also, what do I connect to the 4 orange terminals? I currently have a single 2-wire cable running between an OpenTherm boiler and a Honeywell Round Modulation thermostat.

Re: OTGW and Orange Pi Zero one device.

PostPosted: Fri Mar 16, 2018 8:23 am
by cyril
texnic wrote:Can it be used with normal Raspberry Pi 3 B?

Yes. But you have to solder wire to connect RPi with board. Also you can buy OrangePI Zero, install Armbian or Openwrt, activate relay port and connect from RPi via ethernet or wifi.