CAN vs. RS-485: What's the Difference?

Поділитися
Вставка
  • Опубліковано 23 лис 2024

КОМЕНТАРІ • 27

  • @supershaye
    @supershaye 3 роки тому +22

    I think the key point to mention is that RS-485 is just an electrical specification and not a communication protocol. While CAN bus has an electrical specification and a communication protocol (IE the format of a CAN frame).

    • @xealit
      @xealit 10 місяців тому +2

      exactly. And the crucial part of CAN is how the protocol handles collisions without re-transmissions. That's important for controllers in cars: the data from the top priority device is never delayed. CAN frames start with arbitration bits. The standard requires that each bit spans the whole length of the bus wires. Hence, the devices can figure out which one has higher priority while they are sending the arbitration bits. That's also what limits the bus to 40m at 1Mbps - the bits propagate through the bus wires at the speed of light.

  • @dartme18
    @dartme18 4 роки тому +4

    An important difference to point out would be the protocol: are the framing bits significantly different between the protocols?

    • @GordieGii
      @GordieGii 10 місяців тому

      The difference (roughly) is that a 485 message consists of a bunch of independent 11 bit characters, each with their own framing bits, whereas a can message has all 40-something payload bits, including error correction bits, crammed together between one set of framing bits.

    • @xealit
      @xealit 10 місяців тому +2

      CAN frame header contains arbitration bits to avoid collisions and allow the top priority device to send its data without re-transmissions. To make it work, CAN requires each bit to occupy the whole length of the bus wires. Bits spread through the bus at the speed of light. Hence the limit of 40m at 1Mbps.

  • @htfttf
    @htfttf 6 років тому +3

    Could you link to the data sheets?

  • @Debraj1978
    @Debraj1978 3 роки тому +1

    Why you did not zoom and show the screen of oscilloscope closely. I think, its important to show the scope screen, then the engineer's face.

  • @Makelifehappennow
    @Makelifehappennow 5 років тому +1

    Dr. Andeen. hello hello. Nice vid. Just used a ton of Maxim 485 units inside my camper conversion Sprinter to measure and control all kinds of stuff. Maxim makes it work.

  • @hariharanb785
    @hariharanb785 4 роки тому +12

    Why does this video look like its from the 90's?

    • @keithz1363
      @keithz1363 4 роки тому +3

      Is that a 3.5" floppy drive on the center scope?

  • @Ender_Wiggin
    @Ender_Wiggin 2 роки тому +2

    Due to not haveing a facny ESD gun we use a BBQ lighter instead. Could you show the difference between an ESD gun KV and a BBQ lighter? We even just rub or feet on the floor to make some ESD.

    • @preddy09
      @preddy09 2 роки тому

      Just estimate it from the max spark gap. Just don't heat solder your PCB boards on the BBQ grill.

    • @Ender_Wiggin
      @Ender_Wiggin 2 роки тому

      @@preddy09 that will tell you the job not the energy

    • @preddy09
      @preddy09 2 роки тому

      @@Ender_Wiggin well if you need that much specific details, it's not hard to make a few kv discharge switching transformer device. Use that to store a dc voltage In a cap. You should exactly what's coming out.

  • @outkast187
    @outkast187 5 років тому +2

    This looks like....whos line is it anyway?

  • @asagk
    @asagk 5 років тому +4

    The pity about CAN is, it's timing design in an application is a nightmare. How about FLEXRAY? Or about keep sticking to ARCNET-Protocol stack over RS485 lines instead of CAN? Or BACnet over RS-485 perhaps?
    Do you offer a ARCNET over RS-485 chip/chipset perhaps? I should take a look at your site, I guess...

  • @andrii3810
    @andrii3810 4 роки тому +3

    What does "ip" stand for at 4:25?

    • @ailijic
      @ailijic 4 роки тому +7

      Andrii, I am pretty sure it stands for intellectual property.

    • @cristianriverafierro4887
      @cristianriverafierro4887 2 роки тому

      IP is the protection grade defined in IEC 60529

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

      @@cristianriverafierro4887 Here "V" is missing, it should be VIP: Very Important Person", like PM, President, Chief Justice, etc.

  • @Tim_Linkel
    @Tim_Linkel 3 роки тому +1

    CAN vs. RS-485: What's the Difference? the first one is protocol, the second one is interface? right?

    • @freedom_aint_free
      @freedom_aint_free 3 роки тому

      As far as I can tell, other than the basic analog copper cable, any interface has its own protocol e.g. USB interface (all iterations of them) have their own protocol of communication, as serial port, parallel port, etc even thought that the various interfaces can have various protocols every single one has at least a protocol...

    • @Baustakar
      @Baustakar 3 роки тому +4

      485 is only an electrical standard. Nothing more :)

  • @htfttf
    @htfttf 6 років тому

    Part Number?

  • @alejandrosantacruz5379
    @alejandrosantacruz5379 6 років тому

    Very nice!

  • @innomaker6617
    @innomaker6617 5 років тому

    Raspberry Pi RS485 and CAN Module: ua-cam.com/video/nAYsmBIwneQ/v-deo.html

  • @markg6446
    @markg6446 2 роки тому

    More nodes @ 3 Meters