• Stars
    star
    180
  • Rank 213,097 (Top 5 %)
  • Language Eagle
  • Created almost 11 years ago
  • Updated over 5 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

An Arduino based LINBUS stack and signal interceptor/injector.

ARDUINO LINBUS GADGETS

An Arduino based LINBUS stack that allow to explore and hack linbus based system.

Unless specified otherwise, the PCBs can be used with standard Aruduino IDE, behaving as Arduino Pro Mini 5V 16Mhz with ATMEGA328.


**Analyzer** - a small PCB that connects on one hand to linbus and to a computer USB port on the other. The analyzer decode all the linbus frames and dump them to the computer. The USB connection emulates a serial port using a builtin FTDI adapter and can be read with standard serial application. A special python script is provided in the tools directory to dump the serial data in diff mode such that only changed bits are displayed. The board design support also linbus TX which allow to have this board functioning as a linbus master or slave (this however requires firmware changes).


**Beeper** - a small PCB and firmware that monitors a linbus and activates a buzzer when certain conditions met. The provided firmware includes a car specific example that beeps when the reverse gear in my car is engaged. The car specific logic is in the car_module* files and can be adapted to different applications.


**Injector** - a small PCB board with two linbus interfaces that connects in series between a linbus master and a linbus slave. The injector looks as a slave to the master and as a master to slave and it transparantly proxying LIN frame between the. At the same time, it can monitor bus signals, apply application spefici logic and can inject signals back to the bus by modifying on the fly LIN frames it proxys between the master and the slave. The Injector was developed to modiy the behavior of existing LIN bus based system (e.g. automatic activation of the Sport mode in my car).


**Feature Comparison**
Feature Analyzer Beeper Injector
Max LIN speed 20kps 20kps 20kps
Min LIN speed 1kps 1kps 1kps
Operating voltage 12V 12V 12V
Max voltage 40V 40V 40V
LIN frame dump/log Yes Yes Yes
LIN checksums V1/V2 V1/V2 V1/V2
Computer serial interface FTDI/USB Serial 5V Serial 5V
Computer serial speed 115,200 115,200 115,200
Audible output No Yes No
LIN signal interception Yes Yes Yes
LIN signal injection No No Yes
Arduino IDE compatible Yes Yes Yes
Programming language C/C++ C/C++ C/C++
MCU ATMEGA328P ATMEGA328P ATMEGA328P
MCU speed 16Mhz 16Mhz 16Mhz
Schematic/Layout software Cadsoft Eagle Cadsoft Eagle Cadsoft Eagle
PCB Size (inches) 1.3 x 1.5 1.15 x 1.6 1.31 x 1.44
PCB layers 2 2 2
Component mounting SMD SMD SMD
Min component size 0805 0805 0805
OSHPark compatible Yes Yes Yes

More Repositories

1

legacy_stepper_motor_analyzer

A DYI minimalist hardware stepper motor analyzer with graphical touch screen.
C++
161
star
2

simple_stepper_motor_analyzer

A DYI stepper motor analyzer. This is a new design that is based on Raspberry Pi Pico and users a compact single PCB design. NOTE: The legacy STM32 based stepper analyzer was moved to this repository https://github.com/zapta/legacy_stepper_motor_analyzer.
C
139
star
3

arm

ARM related stuff
C
124
star
4

misc

Miscelenous
C
90
star
5

pio_tft

A library to interface a TFT to a Pico RP2040 using PIO and a parallel data path.
C++
37
star
6

power-monitors

An arduino based power measurement of battery operated devices.
Eagle
17
star
7

greenpak_misc

Everything related to Renesas GreenPAK programable logic devices
Python
5
star
8

i2c_adapter

A simple USB to I2C adapter that works.
C++
4
star
9

greenpak

A Python library to access and program Renesas GreenPak SPLD's.
Python
4
star
10

duet_buddy

Portable monitor/controller for Duet3D boards.
3
star
11

serial_packets_py

Python implementations of the Serial Packets protocol.
Python
2
star
12

ble_stepper_motor_analyzer

Bluetooth BLE stepper motor analyzer.
C++
2
star
13

greenpak_oled

Addressable SPI OLED bus using a Renesas GreenPAK SPLD.
HTML
2
star
14

GHCN

Software tools to handle GHCN's climate data. https://en.wikipedia.org/wiki/Global_Historical_Climatology_Network
Java
1
star
15

serial_packets_arduino

Implementation of the Serial Packets protocol for Arduino
C++
1
star
16

button-minder

Automatic button pressing app for Digispark/Arduino board.
C++
1
star
17

greenpak_adapters

SMD to DIP adapters for Renesas GreenPAK SPLD devices.
1
star
18

util

General scripts and tools
G-code
1
star
19

greenpak_pogo

A Pogo pins adapter for in-circuit programming of Renesa's GreenPAK devices.
HTML
1
star