Giter Site home page Giter Site logo

slcan-m5's Introduction

slcan-m5

This repository is a fork of

https://github.com/mintynet/esp32-slcan

It is build with VScode platformio Arduino.

The only external hardware is the 3.3V CAN bus transceiver (SN65HVD230). It is connected to 3,3 V, GND, CAN TX (GPIO2) CAN RX (GPIO 5). (There is a 120 ohm termination resistor (see picture) it can be that you have to remove it if the bus is already terminated)

Connection

You can also use the "M5Stack CANBus Unit(CA-IS3050G)". Use the cable "Grove 4 Pin Connector to Male Jumper Wire Cable". It is connected to 5 V (red), GND (black), CAN TX (GPIO2) (white) CAN RX (GPIO 5) (yellow).

A CAN bus must be terminated on both ends with 120 ohm resistor. When the bus is switched off you should measure a resistance between CAN high and CAN low of 60 ohm +/-10.

Connection

Display position

##sniff mode

Until you didn't initialise slcan, you are in sniff mode. You can look if you get any data from the can bus and select the bus speed. This will give you a chance to check the connection to the CAN bus.

##slcan mode

When sending data to the m5stack (USB-serial or bluetooth) sniff mode is deactivated.

##bluetooth

The m5stack can use bluetooth. When switching on, hold the middle button pressed.

###Optional

Optional the LovyanLauncher (https://github.com/lovyan03/M5Stack_LovyanLauncher) can be used. Please look at the youtube videos to get information of the LovyanLauncher.

The LovyanLauncher uses the sd card. There can be more programs on the SD. So you can switch between differnet apps... After LovyanLauncher is installed. Copy the compiled bin file .pio/build/esp32dev/firmware.bin into the root path of the LovyanLauncher SD (rename it to slcan-m5.bin). To get pictures in the LovyanLauncher menu copy the files from the LovyanLauncher folder of the project to the SD. (To simply copy the files to the SD use winscp and the LovyanLauncher -> Tools -> FTP Server (SDcard))

slcan-m5's People

Contributors

mintynet avatar e-sailing avatar migrassi avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.