This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // CAN readout of VW type 5 modules | |
| // ------- Programa adaptado por Alfonso para comunicar las celdas SDI de VW a 15-04-2022 | |
| // ------- Funciona con un Arduino nano, y el MCP2515, la interrupción del integrado interrumpe algunos comandos, pero en general va respondiendo con 1 módulo solo conectado. | |
| // | |
| // ------- Program adapted by Alfonso to communicate VW SDI cells to 04-15-2022 | |
| // ------- It works with an Arduino nano, and the MCP2515, the IC interrupt interrupts some commands, but in general it responds with only 1 module connected. | |
| // | |
| // | |
| // | |
| // Link información muy útil: https://openinverter.org/wiki/VW_Hybrid_Battery_Packs |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import time | |
| uart = busio.UART(rx=board.SLOT2.FAST2, tx=board.SLOT2.FAST1, baudrate=115200, bits=8, parity=None, stop=1 ) | |
| buffer=bytearray(31) | |
| error_flag = False | |
| while True: | |
| c=uart.read(1) | |
| #time.sleep(0.005) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>ArUco Tag Generator — HackyRacingRobot</title> | |
| <style> | |
| @import url('https://fonts.googleapis.com/css2?family=Share+Tech+Mono&family=Barlow+Condensed:wght@300;400;600;700&display=swap'); | |
| :root { |
OlderNewer