IRC log of #cubox of Wed 09 Nov 2016. All times are in CET < Back to index

07:09 jnettlet topi`, yeah it looks like you use the a0-2 pins to set the address so different devices can talk on the same bus.
09:53 topi` thanks guys, I'll have to try some soldering and then we'll see some results :)
09:54 topi` I'm going to measure the difference between incoming and outgoing water (used to transfer heat into the hot water vessel)
09:54 topi` the HB is already controlling the electrical heating element aspect
09:54 jnettlet wow, you are going full in
09:56 jnettlet if you start monitoring the power usage you will be able to see how much you save.
11:20 topi` jnettlet: yes it'd be nice to have some statistics
11:21 topi` I want to control the circulation pump that forces the water to the heater and back to the vessel, when there's no heat coming in then it's not useful to run the pump
11:22 topi` this could directly be applied to a solar roof (water cycle) as wel
11:22 topi` since it is clear that at night, there will be negative heat coming in because of irradiation against clear skies
11:23 topi` jnettlet: do you have a person in Solid-run who's responsible for collecting "IoT user stories" ?
11:26 vpeter topi`: be careful this not happen to you :) http://metropolitan.fi/entry/ddos-attack-halts-heating-in-finland-amidst-winter
11:27 topi` vpeter: it seems there was some reboot loop because of loss of connectivity :) that's not very wise
11:27 topi` my system falls back to "assumptions" about the price of electricity if it cannot access the current price via internet
11:34 jnettlet topi`, if you just want to do a forum post for now, or a blog post we can work from that.
11:34 jnettlet What distro are you running from?
11:39 topi` debian jessie
11:40 jnettlet nice and simple
11:49 topi` I have had no problems whatsoever with these Jessie images provided by Artox
11:49 topi` there's just an odd brcm_patch process running that blocks one serial port, but nevertheless...
11:50 topi` I have further questions about HB Gate and the CANbus, but I guess I should direct them at rabeeh
11:50 topi` we're looking for a box that could connect to a vehicle's CANbus and transmit the bytestream in real time over 3G
11:50 topi` sounds like a perfect fit for a HB Gate
11:51 topi` but I'm unsure how to access the CANL and CANH signals that are visible in the schematics but I cannot find them on the silkscreen
11:53 jnettlet topi`, that is the uart that is dedicated to the BT device on the microsom
11:53 jnettlet the brcm_patch is the BT firmware loader
11:54 topi` right
11:54 topi` jnettlet: have you tried reading anything from the CAN bus?
11:54 topi` I guess a car could come in handy ... :)
11:55 jnettlet we have quite a few customers using CAN
11:55 topi` the Gate can probably take 12 volts directly from the car 12V socket
11:55 topi` with a suitable adapter
11:56 jnettlet sure, it is no problem. it supports 9-22V if I remember correctly
11:56 jnettlet I have definitely run it from an 18V adapter
12:01 topi` do you know of any code examples how to use the FlexCAN on the i.mx6?
12:01 topi` I guess you have to setup it just like any synchronous serial port?
12:03 jnettlet you need to change the device-tree to enable the canbus and re-mux the pins appropriately.
12:03 jnettlet then I believe you need a CAN transceiver to attach to the pins.
12:04 topi` right
12:04 topi` I'll do some further googling :)
12:05 jnettlet it should be pretty well documented. I have only done the kernel device-tree part of things
12:05 topi` maybe it's easiest to start with this CAN-spi-click board thingy
12:06 topi` http://www.mikroe.com/click/can-spi-3.3v/
12:06 topi` SPI I know already :)
12:15 jnettlet do you have access to the CAN bus of your car?
12:43 topi` I am not sure, I have to try out
12:44 topi` there is one ODB-II type connector, so my guess is yes
12:47 bencoh topi`: sounds like a nice project, btw :)
12:48 topi` which one? reading the CAN bus or driving the hot water system of a house?
12:49 bencoh haha both, but especially the car-CAN <-> phone gateway