Cover image
Try Now
2024-03-08

Raspberry Pi Pico MCP2515 Biblioteca de interfaz Can-Bus CAN-Bus

3 years

Works with Finder

4

Github Watches

27

Github Forks

83

Github Stars

Raspberry Pi Pico MCP2515 CAN interface library

This Raspberry Pi Pico library is a ported & optimized version of the magnificent library arduino-mcp2515 by autowp.

Optimization

This library was optimized to use SPI transfer of multiple bytes in a single function call. This is contrary to the original code where for loop was heavily used. Theese optimizations might seem insignificant as they shave only few microseconds each time but they surely add up. If the only goal of the microcontroller is to poll CAN-Bus frames, the speedup can reach roughly from 20 to 40% depending on frame byte count!

Benchmark used with frame polling:

Frame bytes Before [µs] After [µs] Speedup [%]
0 35 29 22.8
1 37 29 21.6
2 39 30 30.0
3 41 31 32.3
4 43 32 34.4
5 45 33 36.4
6 47 34 38.2
7 49 35 40.0
8 51 36 41.7
Average 43 31.9 33.0

This software is written by loovee (luweicong@seeed.cc) for seeed studio, updated by Dmitry (https://github.com/autowp) and then ported by Piotr Adamczyk https://github.com/adamczykpiotr and is licensed under The MIT License. Check LICENSE.md for more information.

Contributing to this software is warmly welcomed. You can do this basically by forking, committing modifications and then pulling requests (follow the links above for operating guide). Adding change log and your contact into file header is encouraged. Thanks for your contribution.

Seeed Studio is an open hardware facilitation company based in Shenzhen, China. Benefiting from local manufacture power and convenient global logistic system, we integrate resources to serve new era of innovation. Seeed also works with global distributors and partners to push open hardware movement

相关推荐

  • Joshua Armstrong
  • Confidential guide on numerology and astrology, based of GG33 Public information

  • Emmet Halm
  • Converts Figma frames into front-end code for various mobile frameworks.

  • Elijah Ng Shi Yi
  • Advanced software engineer GPT that excels through nailing the basics.

  • https://maiplestudio.com
  • Find Exhibitors, Speakers and more

  • lumpenspace
  • Take an adjectivised noun, and create images making it progressively more adjective!

  • https://zenepic.net
  • Embark on a thrilling diplomatic quest across a galaxy on the brink of war. Navigate complex politics and alien cultures to forge peace and avert catastrophe in this immersive interstellar adventure.

  • 林乔安妮
  • A fashion stylist GPT offering outfit suggestions for various scenarios.

  • jae-jae
  • Servidor MCP para obtener contenido de la página web con el navegador sin cabeza de dramaturgo.

  • patruff
  • Puente entre los servidores Ollama y MCP, lo que permite a LLM locales utilizar herramientas de protocolo de contexto del modelo

  • pontusab
  • La comunidad de cursor y windsurf, encontrar reglas y MCP

  • av
  • Ejecute sin esfuerzo LLM Backends, API, frontends y servicios con un solo comando.

  • WangRongsheng
  • 🧑‍🚀 全世界最好的 llM 资料总结(数据处理、模型训练、模型部署、 O1 模型、 MCP 、小语言模型、视觉语言模型) | Resumen de los mejores recursos del mundo.

  • Mintplex-Labs
  • La aplicación AI de escritorio todo en uno y Docker con trapo incorporado, agentes de IA, creador de agentes sin código, compatibilidad de MCP y más.

  • chongdashu
  • Habilite clientes asistentes de IA como Cursor, Windsurf y Claude Desktop para controlar el motor irreal a través del lenguaje natural utilizando el Protocolo de contexto del modelo (MCP).

  • 1Panel-dev
  • 🔥 1Panel proporciona una interfaz web intuitiva y un servidor MCP para administrar sitios web, archivos, contenedores, bases de datos y LLM en un servidor de Linux.

  • alexander-zuev
  • Query MCP permite la administración de extremo a extremo de Supabase a través de la interfaz de chat: lectura y escritura de ejecuciones de consultas, soporte de API de administración, versiones de migración automática, acceso a registros y mucho más.

  • GeyserMC
  • Una biblioteca para la comunicación con un cliente/servidor de Minecraft.

    Reviews

    2 (1)
    Avatar
    user_8KgLYXjB
    2025-04-17

    The pico-mcp2515 by adamczykpiotr is an exceptional application for CAN communication. As a loyal user of MCP applications, I find the seamless integration and robust performance of the pico-mcp2515 remarkably impressive. It's easy to use and well-documented, which facilitates quick setup and efficient operation. Highly recommended for anyone needing reliable CAN communication support! Check it out at https://github.com/adamczykpiotr/pico-mcp2515.