CAN BUS Communication Using MCP2515 Module.

Поділитися
Вставка
  • Опубліковано 14 жов 2024
  • 3 Arduino Nano are connected to the Controllino MAXI PLC using CAN Bus protocol #MCP2515 module. For demo purpose, each Arduino will send a random number to the PLC to simulate a value from sensor. The PLC is connected via USB to a PC running a Windows app (diagnostic tool) to display the status of each node. When a node is disconnected or malfunction, it will display as Offline. Any faulty device can then be removed and replaced without affecting other devices.

КОМЕНТАРІ • 22

  • @hacksolot2
    @hacksolot2 Рік тому +14

    all that info over 2 wires sounds great ngl

    • @destiny_02
      @destiny_02 Рік тому

      yes but 1-wire protocol would have been enough for this

  • @scroogemcduckenjoyer
    @scroogemcduckenjoyer Рік тому +5

    Always used Modbus for my project (thank god all the devices I had supported that)
    what's the advantage of CAN?

    • @areitu
      @areitu 9 місяців тому +1

      Multiple data packets can be sent over a single twisted wire pair without packet collision and it can account for “noisy” environments because it uses using voltage difference for 1s and 0s

    • @RzrxCrome
      @RzrxCrome 4 місяці тому

      @@areitu Modbus has all of that. I still don`t get the point

    • @benevaldoalves8145
      @benevaldoalves8145 4 дні тому

      Muitas vantagens, principalmente redução se cabos elétricos em projetos

  • @davi5music521
    @davi5music521 Рік тому +6

    Just use stm32 or esp32 with can on board ;)

    • @allyouneedis4x4
      @allyouneedis4x4 9 місяців тому

      no, you still need a transceiver

    • @davi5music521
      @davi5music521 9 місяців тому

      @@allyouneedis4x4 yes but no can controler ;)

  • @martuagusjonathan6967
    @martuagusjonathan6967 6 місяців тому

    Failed uploading: uploading error: exit status 1
    can u fix it?

  • @azezurrehman
    @azezurrehman Рік тому +1

    what data you are sending and receiving

  • @jmch1369
    @jmch1369 4 місяці тому

    Gracias ,,,

  • @neelakandand1042
    @neelakandand1042 Рік тому +5

    circuit diagram and coding please paaa....

    • @ToyTechMachines
      @ToyTechMachines  Рік тому +3

      Hi, the circuit diagram, library and sample code can be found at this link.
      github.com/autowp/arduino-mcp2515/

  • @bhaktirohira6014
    @bhaktirohira6014 Рік тому

    What do we call this display?

    • @ToyTechMachines
      @ToyTechMachines  Рік тому

      I'm using a normal display connected to a laptop using HDMI cable.

  • @gtotv996
    @gtotv996 Рік тому

    How to connect to the wide monitor?

    • @ToyTechMachines
      @ToyTechMachines  Рік тому

      I use a HDMI cable and connect to a 7 inch normal monitor.

  • @logic-bots
    @logic-bots Рік тому

    What is this?

  • @rohanmazumder9
    @rohanmazumder9 Рік тому

    That's a lot of damage of all you are doing is reading three sensor data.😊