CAN bus comes to Pi (Reef-Pi)

attiland

Well-Known Member
View Badges
Joined
Jul 22, 2020
Messages
733
Reaction score
503
Location
United Kingdom
Hi,

I am considering to buy a doser which has a CAN bus interface. I thought I would connect it to the Pi allowing monitoring and/or control the doser.

namely this is the Kamoer F4 PRO WiFi Peristaltic Dosing Pump with 2 CAN bus.

has anyone one similar ?
 
Top Shelf Aquatics

Ranjib

7500 Club Member
View Badges
Joined
Apr 16, 2016
Messages
8,712
Reaction score
15,257
Location
Palo Alto, Bay Area
Im not aware of any cambus driver , without which I don’t know if it’s possible to support such doser
 

robsworld78

Active Member
View Badges
Joined
Feb 14, 2020
Messages
467
Reaction score
674
Location
Edmonton, Canada
Hi,

I am considering to buy a doser which has a CAN bus interface. I thought I would connect it to the Pi allowing monitoring and/or control the doser.

namely this is the Kamoer F4 PRO WiFi Peristaltic Dosing Pump with 2 CAN bus.

has anyone one similar ?
I couldn't find that Kamoer dosing using CAN bus and that wouldn't really make sense. Normally this is used on a full system as it's hardware based, DIY gets messy quick and you would need to know how to interrupted data from a device and communicate with it, doubt there are many manufactures sharing that info. I think some aquarium controllers use CAN for different pieces but it's built into the system by them, not pieced together. I2C is basically the DIY version of CAN without the reliability.
 
OP
attiland

attiland

Well-Known Member
View Badges
Joined
Jul 22, 2020
Messages
733
Reaction score
503
Location
United Kingdom
I couldn't find that Kamoer dosing using CAN bus and that wouldn't really make sense. Normally this is used on a full system as it's hardware based, DIY gets messy quick and you would need to know how to interrupted data from a device and communicate with it, doubt there are many manufactures sharing that info. I think some aquarium controllers use CAN for different pieces but it's built into the system by them, not pieced together. I2C is basically the DIY version of CAN without the reliability.
£207.15 26% Off | Kamoer F4 PRO WiFi Peristaltic Dosing Pump Auto Aquarium Liquid Pumps for Marine Coral Reef Aquarium Fish tank
CAN should be standard in terms of traffic. Since I don’t have my hands on the actual device yet I can’t say more than the description that it is there.
I2c has loads of limitations compared to CAN. Let’s start with length of bus. I like i2c because I understand it more.

CAN is a standard of 2 -3 version and in the latest you can mix 2. Just because of the challenge I will go ahead I think.
 

robsworld78

Active Member
View Badges
Joined
Feb 14, 2020
Messages
467
Reaction score
674
Location
Edmonton, Canada
£207.15 26% Off | Kamoer F4 PRO WiFi Peristaltic Dosing Pump Auto Aquarium Liquid Pumps for Marine Coral Reef Aquarium Fish tank
CAN should be standard in terms of traffic. Since I don’t have my hands on the actual device yet I can’t say more than the description that it is there.
I2c has loads of limitations compared to CAN. Let’s start with length of bus. I like i2c because I understand it more.

CAN is a standard of 2 -3 version and in the latest you can mix 2. Just because of the challenge I will go ahead I think.
Interesting, I looked at it on a different site and that wasn't mentioned, I still have my doubts, good luck figuring it out if it does have it. :) Yeah even though I kind of compared them they are very different.
 
First Choice
OP
attiland

attiland

Well-Known Member
View Badges
Joined
Jul 22, 2020
Messages
733
Reaction score
503
Location
United Kingdom
Interesting, I looked at it on a different site and that wasn't mentioned, I still have my doubts, good luck figuring it out if it does have it. :) Yeah even though I kind of compared them they are very different.
Not sure where to start. I have seen CAN boards cheap so might look around in some projects.
I will be honest I don’t trust reef-pi to do other than emergency intervention in dosing at this stage which would probably be powering down the unit.
well we will see once arrived
 

robsworld78

Active Member
View Badges
Joined
Feb 14, 2020
Messages
467
Reaction score
674
Location
Edmonton, Canada
Not sure where to start. I have seen CAN boards cheap so might look around in some projects.
I will be honest I don’t trust reef-pi to do other than emergency intervention in dosing at this stage which would probably be powering down the unit.
well we will see once arrived
In the Arduino/Pi circle the MCP2515 and MCP2551 are widely used, they connect using SPI, you can get them as individual modules which are much cheaper or a shield like this.


You can use an analyzer to read the data on the bus, I use this little guy for I2C and I believe it works with CAN as well.


If not this does for sure.


For a couple years now I've been eyeing up CAN, I fell in love when I first read about it, sounds to good to be true. A few weeks ago I actually ordered 3 modules to mess with but haven't gotten to them yet. I found these cool boards which are perfect for prototyping as they have the ATmega32u4 (Arduino Leonardo) embedded so just need to program the boards, connect and play. I got a great deal too at $14.90 each.

 
OP
attiland

attiland

Well-Known Member
View Badges
Joined
Jul 22, 2020
Messages
733
Reaction score
503
Location
United Kingdom
In the Arduino/Pi circle the MCP2515 and MCP2551 are widely used, they connect using SPI, you can get them as individual modules which are much cheaper or a shield like this.


You can use an analyzer to read the data on the bus, I use this little guy for I2C and I believe it works with CAN as well.


If not this does for sure.


For a couple years now I've been eyeing up CAN, I fell in love when I first read about it, sounds to good to be true. A few weeks ago I actually ordered 3 modules to mess with but haven't gotten to them yet. I found these cool boards which are perfect for prototyping as they have the ATmega32u4 (Arduino Leonardo) embedded so just need to program the boards, connect and play. I got a great deal too at $14.90 each.

What will be my excuse not to do it? ;)
Yes CAN seems to have everything: distance / modular build and even multiple standards work on the same bus.
I have seen the arduino stuff too. Sometimes I don’t know what am I doing wit the PI.
 

Do you think that live rock is more beneficial in sump than it is in the main display tank?

  • In the sump

    Votes: 26 12.2%
  • In the display

    Votes: 81 38.0%
  • Other (please explain)

    Votes: 31 14.6%
  • Not sure

    Votes: 75 35.2%
The Random Flow Generator® Nozzle by VCA
Top