- Terminus FE1.1 USB hub board: the solution to connect four USB devicesPosted 3 days ago
- Understanding the Mechanics of 3D PrintingPosted 2 months ago
- SDS011 the Air Quality SensorPosted 3 months ago
- NIXIE STYLE LED DISPLAYPosted 6 months ago
- TOTEM: learning by experimentingPosted 6 months ago
- Google Assistant Voice Controlled Switch – NodeMCU IOT ProjePosted 7 months ago
- Water Softener Salt Level MonitorPosted 7 months ago
- Sparkly Air SensorPosted 7 months ago
- Ultra sonic distance finder with live statusPosted 7 months ago
- Windows interface to have total control over lampsPosted 7 months ago
CANable: the Open Source USB to CAN Adapter
The CANable is a small open-source USB to CAN adapter. The CANable shows up as a virtual serial port on your computer and acts as a serial-line to CAN interface.
On Linux the CANable works natively with slcand, so you can use all of the standard can-utils command-line utilities and even Wireshark to interact with the bus.
On Windows and Mac, the CANable works with cantact-app. This is a simple Java application that shows CAN traffic in real-time and allows you to transmit messages on the bus.
For even more flexibility, the canard library allows you to directly talk to the CAN bus from Python. The library is cross-platform and can connect directly to a CANable’s virtual serial port interface. With only a couple lines of code you can decode traffic on the bus, send messages, and more.
“It supports CAN bit-rates of up to 1 Mbit/s. The product comes with an open-source SocketCAN driver software. It features a Micro-USB connector and a 4-pin screw terminal with CAN_H, CAN_L, 5-V supply, and ground. The CANable device is a hardware clone of Eric Evenchick’s CANtact project, an open-source USB-to-CAN hardware adapter.”
CANable features are:
- Supports CAN baud rates up to 1M
- Compatible with socketcan through slcand
- Native socketcan support with candleLightfirmware
- Micro-USB connector
- 4-pin screw terminal with CANH, CANL, 5v, and GND
- Jumper for entering the bootloader
- Jumper to enable/disable termination
- Internal oscillator trimmed by USB communication
- PTC-fused 5v output
- Simple cross-platform Python library