AberdeenRSS / AberdeenRSS/FlightComputer

Implement I2C support for raspberry pi

Aberta
#11 0 comentários 0 reações 0 responsáveis Ver no GitHub
Linguagem predominante
Python
Estrelas
0
Forks
2
Métricas de merge de PRs
Nenhum PR com merge em 30d

Descrição

Implement a part that can talk to other micro controllers over the I2C bus utilizing the GPIO headers on the raspberry.

This part needs to be able to be configured from the outside to register different actual components on the bus, like sensors. This could be inspired by how the current ArduinoSerial part is implemented. This part lets you either send commands over the serial port or register callbacks to be received if certain messages are coming in. For I2C we would probably want to center this implementation around the I2C device addresses such that callbacks can be defined for each of them and any outgoing commands are centered around them.

In addition to this it would also be useful to collect general statistic in the part, like if the connection is healty, how many incoming and outgoing messages have been sent, etc.

Note: Depending on the sensors used there might be dedicated I2C libraries, using those instead in a dedicated part could be simpler and quicker, see issues

Guia de contribuição

Nenhum guia de contribuição indexado para este repositório

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.