Electronics > Projects, Designs, and Technical Stuff
I2C communication USB to I2C converter
rvalente:
Bus pirate, can't think of anything easier.
Plug it, open a terminal, done!
ebclr:
https://www.onetransistor.eu/2017/09/ch341a-usb-i2c-programming.html
https://pt.aliexpress.com/item/32516648608.html?spm=a2g0o.productlist.0.0.751f528apVP4Rj&algo_pvid=81a95aef-2358-416a-8c02-087575f3d637&algo_expid=81a95aef-2358-416a-8c02-087575f3d637-8&btsid=0ab6d59515990033223611820e8e91&ws_ab_test=searchweb0_0,searchweb201602_,searchweb201603_
Scrts:
I've used Bus Pirate for hobby use, which is great if you send a single command here and there.
And we use TotalPhase stuff for work: https://www.totalphase.com/products/aardvark-i2cspi/, which has single/group command mode as well as bulk/script send/receive plus EEPROM read/write app.
Nikos A.:
Thank you all for your inputs!! Bus Pirate looks like a great option, that was exactly what I was lookign for!!!!
Thanks!!
evac:
--- Quote from: HB9EVI on September 01, 2020, 01:15:07 pm ---https://github.com/harbaum/I2C-Tiny-USB
works reliably but not very fast
--- End quote ---
The I2C-tiny has worked pretty well for me.
Perhaps not the best suited for your specific application, but one big advantage at least for me is that there is Linux kernel module for it which creates a new bus in the kernel I2C subsystem.
This means that you can leverage existing kernel modules for I2C devices instead of having to write your own.
E.g. if you connect say an LM45 sensor to the I2C-tiny, it will be natively recognized in Linux and show up in lm_sensors and other monitoring utilities.
Even the bq27421 has a Linux driver, so you could connect it and it should show up as a battery.
Navigation
[0] Message Index
[*] Previous page
Go to full version