Navigation

    LILYGO

    • Register
    • Login
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups

    Lilygo SIM7000G Can Bus connection

    Technical Discussion
    canbus
    2
    6
    370
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • W
      whippe last edited by

      What GPIO i need to connect The Can Bus line?
      I try to use #include <CAN.h>

      Setup:
      CAN.setPins(33, 32);
      CAN.begin(250E3);

      Loop:
      Int packetSize = CAN.parsePacket();
      If(packetSize) Serial.print("ok");

      Bus not working.

      teastain2 1 Reply Last reply Reply Quote 0
      • teastain2
        teastain2 @whippe last edited by

        @whippe
        Hi!
        What CAN transceivers are you using?

        What external CAN device are you trying to talk to?

        1 Reply Last reply Reply Quote 0
        • W
          whippe last edited by

          I am using SN65HVD230.
          And try to connect to PeakCan USB
          Tks

          teastain2 1 Reply Last reply Reply Quote 0
          • teastain2
            teastain2 @whippe last edited by teastain2

            @whippe
            Hi, sorry for the delay.
            Are you still working on this problem?
            If so I will ask more questions!
            Also: What is your aim, trying to do!?

            1 Reply Last reply Reply Quote -1
            • W
              whippe last edited by

              Hi!
              Yes. I am still working on this problem.
              I am trying to make a telemetry for a fork-lift mahine.
              I want to collect the canbus data and send to website.

              teastain2 1 Reply Last reply Reply Quote 0
              • teastain2
                teastain2 @whippe last edited by

                @whippe Interesting!
                hmmm...I am way out of my depth here.
                The PeakCan seems to be CAN to USB.
                Do you have an example sketch to base this on?
                The ESP32 connects to which end, the USB or CAN?
                Does the equipment offer automotive style OBDII communication?
                If you have the time, I'd like to know!

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post
                Powered by NodeBB | Contributors