Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re^4: perl to I2C

by afoken (Chancellor)
on Mar 26, 2023 at 15:30 UTC ( [id://11151234]=note: print w/replies, xml ) Need Help??


in reply to Re^3: perl to I2C
in thread perl to I2C

The one terse sentence we got from the OP points more toward controlling an I²C based device from a Windows computer than manipulating internal I²C devices.

That's what a FT232H based board could do.

Also, a coworker got a recommendation to use https://spidriver.com/ to test third party SPI hardware by the maker of that hardware. It is open source hardware and software, with a repo at https://github.com/jamesbowman/spidriver. That device has two "sister devices" that speaks I²C instead of SPI: https://i2cdriver.com/, https://i2cdriver.com/mini.html, repo at https://github.com/jamesbowman/i2cdriver. There are no Perl modules yet, but if C and python can talk to the driver hardware via a simple (USB virtual) serial port, Perl should be able to do so, too. At least the serial port part is already done in Device::SerialPort and Win32::SerialPort, so all that's left to do is to stuff the right bytes into the serial port and pull out some other bytes.

Alexander

--
Today I will gladly share my knowledge and experience, for there are no sweeter words than "I told you so". ;-)

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11151234]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (2)
As of 2024-04-19 21:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found