ConX Pi CAN bus en RS485 RTU Modbus HAT V5

 42,07 incl. BTW

Availability: 35 op voorraad SKU: LOS-CONX-RPI-HAT-CBMB-V5 Categorie: Tags: , , , , ,
Vergelijken

Beschrijving

Pi HAT for Raspberry Pi or Orange Pi:
– CAN Bus (on SPI channel with MCP2515 controller and SN65HVD230 transciever)
– Modbus RS485 RTU (on UART RX/TX channel with SP3485EN transciever)

with:

– OLED 128×32 (on I2C channel)
– PoE meting INA219 stroom sensor 36V 3A max (on I2C channel)

RPI INSTALLATION:

=== TURN ON I2C INTERFACE ===

sudo raspi-config

enable SPI and I2C then REBOOT

=== INSTALL SOFTWARE ===

sudo apt-get install -y can-utils i2c-tools

=== CHECK HARDWARE ===

optional, check i2c devices:

sudo i2cdetect -y 1

result for INA219 en OLED Display:

0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f

00:                         — — — — — — — —

10: — — — — — — — — — — — — — — — —

20: — — — — — — — — — — — — — — — —

30: — — — — — — — — — — — — 3c — — —

40: 40 — — — — — — — — — — — — — — —

50: — — — — — — — — — — — — — — — —

60: — — — — — — — — — — — — — — — —

70: — — — — — — — —

sudo nano /boot/config.txt
add (before [cm4]):
dtparam=spi=on
dtparam=spi_dma4
dtoverlay=mcp2515-can0,oscillator=16000000,interrupt=25,spimaxfrequency=500000
dtoverlay=spi-bcm2835-overlay
sudo nano /etc/network/interfaces
add (250KBIT = 250000):
auto can0
iface can0 inet manual
    pre-up /sbin/ip link set can0 type can bitrate 250000 triple-sampling on restart-ms 100
    up /sbin/ifconfig can0 up
    down /sbin/ifconfig can0 down
REBOOT
=== CHECK HARDWARE ===
candump can0

Voor meer informatie gaarne contact.

Extra informatie

Gewicht 1000 g
Afmetingen 10 × 5 × 0,3 mm

Please login to post questions