https://github.com/jamesbowman/i2cdriver
I2CDriver open source tools
https://github.com/jamesbowman/i2cdriver
open
Last synced: 5 months ago
JSON representation
I2CDriver open source tools
- Host: GitHub
- URL: https://github.com/jamesbowman/i2cdriver
- Owner: jamesbowman
- License: bsd-3-clause
- Created: 2019-02-10T14:30:54.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2025-09-08T01:47:34.000Z (10 months ago)
- Last Synced: 2025-10-09T09:33:50.389Z (9 months ago)
- Topics: open
- Language: Python
- Homepage: https://i2cdriver.com/
- Size: 942 KB
- Stars: 208
- Watchers: 25
- Forks: 59
- Open Issues: 31
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README

[](https://travis-ci.org/jamesbowman/i2cdriver)
[](https://i2cdriver.readthedocs.io/en/latest/?badge=latest)
I2CDriver is a tool for controlling any I2C device from your PC's USB port,
and can also monitor and capture I2C traffic.
It connects as a standard USB serial device, so there are no drivers to install.
On the main site
[i2cdriver.com](https://i2cdriver.com),
there are drivers for
* Windows/Mac/Linux GUI
* Windows/Mac/Linux command-line
* Python 2 and 3
* Windows/Mac/Linux C/C++

Full documentation is at
[i2cdriver.com](http://i2cdriver.com).
For developers: How to make a release
-------------------------------------
To release Python:
cd python3
rm -rf dist/*
python -m build
twine check dist/*
twine upload dist/*
To build the Windows installer, you first need to build the two executables
``i2ccl.exe`` and ``i2cgui.exe`` then use an NSIS script to create the installer.
On Linux cross-compile ``i2ccl``:
cd c
make -f win32/Makefile
On Windows first make sure that you can run the GUI on the command-line, e.g.
python python\samples\i2cgui.py
(You may need to install i2cdriver, wxPython and pySerial).
Then build the GUI executable using ``pyinstaller``:
cd python\samples
pyinstaller --onefile --windowed --icon=../../images/i2cdriver.ico i2cgui.py
This builds the executable in ``python\samples\dist\i2cgui.exe``.
The Windows installer is built with NSIS (Nullsoft Scriptable Install System). Download and install it.
Copy the two executables ``i2ccl.exe`` and ``i2cgui.exe`` into ``nsis/``.
Then build the installer with NSIS:
cd nsis
"C:\Program Files\NSIS\makensis.exe" i2cdriver.nsi
The script ``go.bat`` in ``nsis`` has an example complete flow.