Go to advanced search

by ondrej1024
Mon Jan 14, 2019 10:29 pm
Forum: Automation, sensing and robotics
Topic: Developing Linux SW for relay cards
Replies: 49
Views: 7666

Re: Developing Linux SW for relay cards

The new release 0.14 of crelay is out.

Multiple relay card support has been improved by adding the possibility to specify the serial number in the API request. Also the WebGUI was updated with a more modern look and feel.

https://github.com/ondrej1024/crelay/releases

Ondrej
by ondrej1024
Fri Oct 26, 2018 2:37 pm
Forum: Compute Module
Topic: Connecting official 7''" RPi display to custom board
Replies: 9
Views: 3649

Re: Connecting official 7''" RPi display to custom board

Just to let you know that I got the display and touch screen working. Turned out the display connector we mount on our board has the contacts which connect to the flat cable on the wrong side, so I had to use a different flat cable (with the contacts on the same side of the cable on both ends). Now ...
by ondrej1024
Thu Oct 25, 2018 1:13 pm
Forum: Compute Module
Topic: Connecting official 7''" RPi display to custom board
Replies: 9
Views: 3649

Re: Connecting official 7''" RPi display to custom board

The VPU will automatically adjust the pinmuxing based on the pins that it has been told the relevant I2C device is connected to. That is why by default none of 0/1, 28/29, 44/45 are defined as having the i2c alt function in dt-blob.bin. It knows which other pins can potentially be muxed to the same...
by ondrej1024
Thu Oct 25, 2018 7:08 am
Forum: Compute Module
Topic: Connecting official 7''" RPi display to custom board
Replies: 9
Views: 3649

Re: Connecting official 7''" RPi display to custom board

Up to you! I prefer to define them in pin section too, avoids the problem one tries to use a GPIO which is already in use. Now I have added this to the dt-blob: pin@p28 { function = "i2c0"; termination = "pull_up"; }; // I2C 0 SDA pin@p29 { function = "i2c0"; termination = "pull_up"; }; // I2C 0 SC...
by ondrej1024
Wed Oct 24, 2018 9:31 am
Forum: Compute Module
Topic: Connecting official 7''" RPi display to custom board
Replies: 9
Views: 3649

Re: Connecting official 7''" RPi display to custom board

Do you have a CMIO at hands for testing your dt-blob.bin? Sometimes easier as on custom board. I have the CMIO but not the 22W to 15W display adaptor. Might need to buy it. And: you're supplying 5V to the screen, right? Yes, I am ;) And: i2C pins are also defined in your blob? Do they need to be de...
by ondrej1024
Tue Oct 23, 2018 4:21 pm
Forum: Compute Module
Topic: Connecting official 7''" RPi display to custom board
Replies: 9
Views: 3649

Connecting official 7''" RPi display to custom board

Hi, we have developed a custom board for the CM3 with a connector for the official 7" RPi display. The connections to the CM3 are as follows: touch-display-connector.png The board will be connected to the display via the standard flat cable provided with the display. SCL0 and SDA0 are connected to G...
by ondrej1024
Tue Oct 23, 2018 9:41 am
Forum: Automation, sensing and robotics
Topic: DIY open source smart thermostat
Replies: 16
Views: 20410

Re: DIY open source smart thermostat

Hi all, the Telegea community support has been suspended for now. The Telegea project will be continued to be developed by DEK Italia internally as the platform our commercial HVAC control system termogea.com is based on. This step was necessary because we don't have enough resources to support the ...
by ondrej1024
Wed Jul 04, 2018 10:57 am
Forum: Automation, sensing and robotics
Topic: Developing Linux SW for relay cards
Replies: 49
Views: 7666

Re: Developing Linux SW for relay cards

Good to hear. I should probably disable the check for the R-TYPE in the next release as it seems to be useless and only causes trouble with certain relay cards.
Cheers, Ondrej
by ondrej1024
Tue Jul 03, 2018 3:05 pm
Forum: Automation, sensing and robotics
Topic: Developing Linux SW for relay cards
Replies: 49
Views: 7666

Re: Developing Linux SW for relay cards

Yes, the source file is correct but maybe you are still executing the old binary :?
Also it looks you never closed the comment with */
by ondrej1024
Tue Jul 03, 2018 8:39 am
Forum: Automation, sensing and robotics
Topic: Developing Linux SW for relay cards
Replies: 49
Views: 7666

Re: Developing Linux SW for relay cards

I think this is actually in incompatibility, as the error message suggests. In the Sainsmart driver source code relay_drv_sainsmart.c there is a check for the R-type of the FTDI chip. You could try to comment out these lines and check if it works: /* Check if this is an R type chip */ if (ftdi->type...
by ondrej1024
Mon Jul 02, 2018 10:43 am
Forum: Automation, sensing and robotics
Topic: Developing Linux SW for relay cards
Replies: 49
Views: 7666

Re: Developing Linux SW for relay cards

@gordon77:
Correct syntax for switching the first relay on is

Code: Select all

sudo crelay 1 ON
(without brackets). Does this work?

Are you able to read the relay state with

Code: Select all

sudo crelay 1 

Ondrej
by ondrej1024
Fri Jan 12, 2018 8:04 am
Forum: Compute Module
Topic: Reliable external storage for CM3
Replies: 2
Views: 759

Re: Reliable external storage for CM3

We would rather keep the additional data storage optional, as it is not needed for all applications and adds some relevant cost to the board. So it should be a separate chip which can be mounted or not, as needed. For the USB to SATA option I found the PL-2571 Hi-Speed USB to SATAII bridge controlle...
by ondrej1024
Mon Jan 08, 2018 10:43 am
Forum: Compute Module
Topic: Reliable external storage for CM3
Replies: 2
Views: 759

Reliable external storage for CM3

Hi, we are looking for an option to add a reliable external data storage to our CM3 carrier board (no SD card). Booting and OS should run from the integrated eMMC as usual. One idea would be to integrate a USB to SATA bridge on the board and attach a small SSD (e.g.32GB) to it. Does that sound reaso...
by ondrej1024
Wed Dec 06, 2017 7:48 am
Forum: Compute Module
Topic: Any list of all available boards for CM? Any with SPI?
Replies: 2
Views: 699

Re: Any list of all available boards for CM? Any with SPI?

Here's a board we developed for the Telegea.org project: https://www.telegea.org/smart-hub/ It has the SPI signals on 2 extension headers and MISO/MOSI on an RJ11 connector. For details check the technical product description: https://www.telegea.org/wp-content/uploads/2017/06/Telegea-Smart-Hub-Desc...
by ondrej1024
Wed Nov 29, 2017 9:04 am
Forum: Automation, sensing and robotics
Topic: DIY open source smart thermostat
Replies: 16
Views: 20410

Re: DIY open source smart thermostat

If there is a formular which allows to calculates the "feels like" temperature from the real temperature, humidity and air flow, this could quite easily be integrated in the existing thermostat algorithm. I don't see a major issue here.
Ondrej
by ondrej1024
Mon Nov 13, 2017 11:44 am
Forum: Automation, sensing and robotics
Topic: DIY open source smart thermostat
Replies: 16
Views: 20410

Re: DIY open source smart thermostat

I am not aware of any bridge emulator for the Hive system. Unless there is detailed developer documentation freely available, I'm afraid that Hive cannot be supported by any third party project.
by ondrej1024
Sun Nov 12, 2017 9:49 pm
Forum: Automation, sensing and robotics
Topic: DIY open source smart thermostat
Replies: 16
Views: 20410

Re: DIY open source smart thermostat

Mmmh, I see Hive works with a hub, but I don't know if it provides an open API that Telegea could use to control it. Looks pretty much like a closed proprietary system.
Is there any documentation available for developers?
by ondrej1024
Sun Nov 12, 2017 8:24 pm
Forum: Automation, sensing and robotics
Topic: DIY open source smart thermostat
Replies: 16
Views: 20410

Re: DIY open source smart thermostat

Car camera rig wrote:
Sun Nov 12, 2017 7:25 pm
Could this be made to work with hive heating?
Could you be more specific? What is hive heating and what would you like make to work?
by ondrej1024
Wed Oct 25, 2017 2:49 pm
Forum: Automation, sensing and robotics
Topic: DIY open source smart thermostat
Replies: 16
Views: 20410

Re: DIY open source smart thermostat

dorinv wrote:
Wed Oct 25, 2017 2:11 pm
Thank you Ondrej. I will try what you recommended.
OK, please keep me updated. I am very interested to know if you manage to feed the ESP sensor data into the Telegea Smart Hub.
by ondrej1024
Wed Oct 25, 2017 9:22 am
Forum: Automation, sensing and robotics
Topic: DIY open source smart thermostat
Replies: 16
Views: 20410

Re: DIY open source smart thermostat

Hi, actually I didn't know the "ESPeasy" project. I just had a look and it seems very interesting. If you want to integrate ESP based sensors and actuators into the Telegea system you should first understand the Telegea Smart Hub software architecture. Here is a picture from the Telegea Github docum...
by ondrej1024
Mon Oct 23, 2017 7:33 pm
Forum: Automation, sensing and robotics
Topic: Raspi Nest: My raspbery pi learning thermostat
Replies: 36
Views: 88473

Re: Raspi Nest: My raspbery pi learning thermostat

There has been a lot of development and this project has grown into a fully fledged smart thermostat. Please check this thread with updated information: DIY open source smart thermostat
by ondrej1024
Mon Oct 16, 2017 10:08 am
Forum: Compute Module
Topic: eMMC flash memory reliability
Replies: 12
Views: 4359

Re: eMMC flash memory reliability

Thanks for the info. In fact I didn't know about MLC and TLC flash technologies. Now I googled them so I have learned something new ;) There is also eMLC which is enterprise grade MLC. But how can we know for sure that eMMC really uses MLC (or maybe eMLC) and SD cards use TLC? Couldn't find any info...
by ondrej1024
Fri Oct 13, 2017 8:27 am
Forum: Compute Module
Topic: eMMC flash memory reliability
Replies: 12
Views: 4359

eMMC flash memory reliability

Are there any data out there that show how reliable the CMs eMMC flash memory chip is? The CM3 mounts the Samsung KLM4G1FEPD flash chip but I couldn't find any useful information on the number of read/write operations before the flash gets corrupted. Does the integrated controller perform wear level...
by ondrej1024
Mon Aug 21, 2017 2:50 pm
Forum: Automation, sensing and robotics
Topic: DIY open source smart thermostat
Replies: 16
Views: 20410

DIY open source smart thermostat

Hi all, following the discussion in this old thread , I would like to introduce the Telegea Smart Thermostat. A long time has passed and after Nest a lot more Smart Thermostats have popped up on the market: Tado, Netatmo, Momit, Ecobee, Thermosmart, Lyric, to name just a few. But there doesn't seem ...
by ondrej1024
Fri Jun 09, 2017 10:06 am
Forum: Compute Module
Topic: OpenPi
Replies: 25
Views: 7196

Re: OpenPi

If anyone is interested, at the Telegea project we have built a similar device which is now available. The "Telegea Smart Hub" is basically an IoT hub built around the Compute Module. It won't replace an OpenPi but it has many similarities. For detailed information and docs have a look at the Produc...

Go to advanced search