- Wireless Power TransferPosted 10 hours ago
- Robot Punchers with ArduinoPosted 1 day ago
- A minimal 3D-printed scalePosted 3 days ago
- Expanding the pins of a microcontrollerPosted 6 days ago
- Let’s create a small level with a matrix displayPosted 1 week ago
- ChatGPT: Writing Code with Artificial IntelligencePosted 1 week ago
- Free Webinar: Arduino IoT Cloud and ESP32 DemoboardPosted 1 week ago
- Maker Faire Rome – The European edition and FAE Technology launch the contest “MY Maker PCBA: your electronics for a better planet”Posted 3 months ago
- Efficient and Compact Stereo Power Amplifier: Unleash High-Quality Audio with the PAM8610Posted 3 months ago
- Terminus FE1.1 USB hub board: the solution to connect four USB devicesPosted 6 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