All Projects → grimlockrocks → Pi Bluetooth Obd

grimlockrocks / Pi Bluetooth Obd

Connect Raspberry Pi with Bluetooth OBD adapter and collect real-time car data.

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Pi Bluetooth Obd

Cxcore
A prebuilt Linux system use UEFI and f2fs for RaspberryPi 3B, RaspberryPi 3B+, RaspberryPi 4B
Stars: ✭ 17 (-68.52%)
Mutual labels:  raspberrypi
Respeaker for raspberrypi
Examples to use ReSpeaker series Mic Arrays on Raspberry Pi
Stars: ✭ 27 (-50%)
Mutual labels:  raspberrypi
Padd
PADD (formerly Chronometer2) is a more expansive version of the original chronometer.sh that is included with Pi-Hole. PADD provides in-depth information about your Pi-hole.
Stars: ✭ 1,011 (+1772.22%)
Mutual labels:  raspberrypi
Raspberrypi exporter
Prometheus exporter for Raspberry Pi metrics
Stars: ✭ 18 (-66.67%)
Mutual labels:  raspberrypi
Gassistpi
Google Assistant for Single Board Computers
Stars: ✭ 911 (+1587.04%)
Mutual labels:  raspberrypi
Freedom Maker
The FreedomBox image builder. Read-only mirror of https://salsa.debian.org/freedombox-team/freedom-maker
Stars: ✭ 34 (-37.04%)
Mutual labels:  raspberrypi
Raspberrymatic
🏠 A lightweight, buildroot-based Linux operating system alternative for your CCU3, ELV-Charly or for running your IoT "HomeMatic CCU" as a virtual appliance (using ESXi, Proxmox, VirtualBox, Docker/OCI, Kubernetes/K8s, Home Assistant, etc.) or on your own RaspberryPi, Tinkerboard, etc. SBC devices...
Stars: ✭ 803 (+1387.04%)
Mutual labels:  raspberrypi
01cnode
tool to monitor full bitcoin node bitcoind-web
Stars: ✭ 50 (-7.41%)
Mutual labels:  raspberrypi
Fabscanpi Build Raspbian
Build Script for FabScanPi Raspbian Images
Stars: ✭ 21 (-61.11%)
Mutual labels:  raspberrypi
Raspberrysharp
A .NET/Mono IO Library for Raspberry Pi This library is a complete refactoring of Raspberry-Sharp libraries, merged into one library and updated to RB3, CM3 and RB3+
Stars: ✭ 41 (-24.07%)
Mutual labels:  raspberrypi
Docker Picamera
Docker container for streaming a Raspberry Pi's camera via HTTP/MJPG
Stars: ✭ 26 (-51.85%)
Mutual labels:  raspberrypi
Wifi Connect
Easy WiFi setup for Linux devices from your mobile phone or laptop
Stars: ✭ 883 (+1535.19%)
Mutual labels:  raspberrypi
Pi4j V2
Pi4J Version 2.0 - Experimental
Stars: ✭ 36 (-33.33%)
Mutual labels:  raspberrypi
Signalbox
DCC Project
Stars: ✭ 17 (-68.52%)
Mutual labels:  raspberrypi
Piweatherrock
Displays local weather on a Raspberry Pi
Stars: ✭ 42 (-22.22%)
Mutual labels:  raspberrypi
Rpi Debian Builder
Build your own Debian image for Raspberry Pi
Stars: ✭ 6 (-88.89%)
Mutual labels:  raspberrypi
Pi Builder
Extensible tool to build Arch Linux ARM for Raspberry Pi on x86_64 host using Docker
Stars: ✭ 31 (-42.59%)
Mutual labels:  raspberrypi
Raspberrypi tempmon
Raspberry pi CPU temperature monitor with many functions such as logging, GPIO output, graphing, email, alarm, notifications and stress testing. Python 3.
Stars: ✭ 52 (-3.7%)
Mutual labels:  raspberrypi
Raspipass
RaspiPass - Homepass software for the Raspberry Pi 3
Stars: ✭ 43 (-20.37%)
Mutual labels:  raspberrypi
Blinkt go examples
The beginning of Blinkt examples programs in Go
Stars: ✭ 37 (-31.48%)
Mutual labels:  raspberrypi

pi-bluetooth-obd

Connect Raspberry Pi with Bluetooth OBD adapter and collect real-time car data.

Requirements:

Step 1 - Install Softwares

  • Install Python OBD: sudo pip3 install obd
  • Upgrade pySerial: sudo pip3 install --upgrade pyserial
  • Install Screen sudo apt-get install screen

Step 2 - Connect OBD Adapater via Bluetooth

bluetoothctl
help <-- see all the commands
show
power on
pairable on
agent on <-- used for persisting pairing code
default-agent
scan on <-- find OBDII and its MAC address
pair <mac_address> <-- enter pin 1234
trust <mac_address> <-- this will allow Pi to automatically pair with the device next time
scan off
quit

Step 3 - Connect Car with Screen (Optional)

screen /dev/rfcomm0
atz
atl1
ath1
atsp0 <-- use protocol auto, available protocols: 1, 2, 3, 4, 5, 6, 7, 8, 9, A
0100 <-- mode 01, pid 00, supported pids

If successfully connected to the car, 0100 will return something instead of "UNABLE TO CONNECT" or "CAN ERROR" or "BUS INIT: ...ERROR".

Step 4 - Connect Car with Python OBD

  • Create a serial port: sudo rfcomm bind hci0 <mac_address>
  • Run the program: python3 obd_reader.py
  • See a list of commands here

Step 5 - Upload Car Data to AWS Dynamo DB (Optional)

  • Install AWS Python SDK: sudo pip3 install boto3
  • Follow the instructions to set up AWS credentials, and create a DynamoDB table named "telematics" with primary key "id"
  • Run the program: python3 obd_uploader.py
  • Check if the speed & fuel level data are uploaded to the DynamoDB table

Step 6 - Create an Alexa Skill (Optional)

  • Create an Alexa skill that reads from the DynamoDB table, so when ask "what's my fuel level", Alexa will respond "your fuel level is 60%"
  • Use the Alexa skill configs and Lambda function from "alexa" folder
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].