Jump to content
Dancho

Integrating I2C sensors

Recommended Posts

I haven't found anything about integrating an I2c sensor with Unistream.

 

Is this a no-no?  Or is the practical way to have an intermediary device communicating via serial or otherwise?

Share this post


Link to post
Share on other sites

I2C is not a native protocol for the UniStream. Typically it's used for 2 wire communications between  EEPROMs, A/D and D/A converters, I/O interfaces.  It's synchronous, so there's a shared clock which is controlled by the Master.    If the master is the UniStream I suppose you could use I?O to do it using a clock pulse from an output and an input that feeds to an array of bits that you shift every clock pulse.    

 

You'd have to code it all though so could be very time consuming, your probably better off looking for a third party device that can convert to serial or other.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...