Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
I2C io interface
#9
Hi Dan,

Good to see you get it working too.
My plugin in a basic version works. I can configure multiple boards based on the number of boards defined in nbrd:
For now my plugin is based on the pcf8574 wich has 8 channels but I've seen also boards based on the pcf8575 which has 16 channels. I'm changing my design a little bit to support the pcf8785 as well.
I'm a bit new to web.py and am (steep) learning the interaction between the (template) html and the code. Therefore it will take some time to "present" a beta version of my plugin. The good news however is that it already works :-)

Also I'm investigating the power requirements when connecting the maximum number of boards in relation to connecting to the Pi. Potential issues are connecting to 5v or 3.3v.  5v from the Pi can easilly drive all 64 (or 128) optocouplers but has a potential issue when connecting sda and scl from a 5v device to the 3.3v Pi.  Safer is to connect to 3.3v but the Pi will struggle with powering all the optocouplers. I'm now thinking of a safe solution somwhere in between. A hardware prototype is on my bench now connected to the scope so some measurements should give the right answers.

So, a lot is done and has to be done. I will continue with both the plugin and hardware and will give updates here. I might need some assistance with web.py and the interaction between the html template but I will give a "shout out" when needed.

--Gerard


Attached Files Thumbnail(s)
   
Reply


Messages In This Thread
I2C io interface - by astrogerard - 2021 Aug 12, 01:54 PM
RE: I2C io interface - by dan - 2021 Aug 12, 07:56 PM
RE: I2C io interface - by astrogerard - 2021 Aug 13, 09:27 AM
RE: I2C io interface - by dan - 2021 Aug 13, 01:21 PM
RE: I2C io interface - by astrogerard - 2021 Aug 14, 04:26 PM
RE: I2C io interface - by dan - 2021 Aug 14, 05:02 PM
RE: I2C io interface - by astrogerard - 2021 Aug 14, 05:45 PM
RE: I2C io interface - by dan - 2021 Aug 18, 07:34 PM
RE: I2C io interface - by astrogerard - 2021 Aug 19, 09:29 AM
RE: I2C io interface - by astrogerard - 2021 Aug 23, 11:27 AM
RE: I2C io interface - by dan - 2021 Aug 23, 01:26 PM
RE: I2C io interface - by astrogerard - 2021 Aug 24, 08:58 PM
RE: I2C io interface - by astrogerard - 2021 Aug 26, 03:48 PM
RE: I2C io interface - by dan - 2021 Aug 26, 06:33 PM
RE: I2C io interface - by astrogerard - 2021 Aug 26, 07:10 PM
RE: I2C io interface - by astrogerard - 2021 Sep 16, 11:11 PM
RE: I2C io interface - by dan - 2021 Sep 19, 07:52 PM
RE: I2C io interface - by astrogerard - 2021 Sep 26, 10:13 PM
RE: I2C io interface - by astrogerard - 2021 Oct 18, 08:35 PM
RE: I2C io interface - by dan - 2021 Oct 19, 02:21 PM
RE: I2C io interface - by dan - 2021 Oct 19, 04:51 PM
RE: I2C io interface - by astrogerard - 2021 Oct 19, 08:40 PM
RE: I2C io interface - by litronas - 2022 Jan 10, 03:04 PM
RE: I2C io interface - by astrogerard - 2022 Jan 10, 04:45 PM
RE: I2C io interface - by litronas - 2022 Jan 10, 08:35 PM
RE: I2C io interface - by astrogerard - 2022 Jan 11, 03:17 PM
RE: I2C io interface - by litronas - 2022 Jan 15, 08:54 PM
RE: I2C io interface - by astrogerard - 2022 Jan 17, 04:30 PM
RE: I2C io interface - by litronas - 2022 Jan 17, 08:35 PM
RE: I2C io interface - by astrogerard - 2022 Jan 17, 08:51 PM
RE: I2C io interface - by dan - 2022 Jan 17, 09:27 PM
RE: I2C io interface - by astrogerard - 2022 Jan 17, 09:50 PM
RE: I2C io interface - by dan - 2022 Jan 18, 03:11 PM
RE: I2C io interface - by astrogerard - 2022 Jan 18, 03:40 PM
RE: I2C io interface - by litronas - 2022 Jan 18, 07:39 PM
RE: I2C io interface - by litronas - 2022 Jan 19, 08:03 PM
RE: I2C io interface - by astrogerard - 2022 Jan 20, 12:49 PM
RE: I2C io interface - by astrogerard - 2022 Jan 20, 03:11 PM
RE: I2C io interface - by astrogerard - 2022 Jan 20, 05:32 PM
RE: I2C io interface - by litronas - 2022 Jan 21, 03:11 PM
RE: I2C io interface - by litronas - 2022 Jan 20, 09:35 PM
RE: I2C io interface - by astrogerard - 2022 Jan 20, 10:05 PM
RE: I2C io interface - by litronas - 2022 Jan 21, 09:57 AM
RE: I2C io interface - by astrogerard - 2022 Jan 21, 07:50 PM
RE: I2C io interface - by litronas - 2022 Jan 24, 09:40 PM
RE: I2C io interface - by astrogerard - 2022 Jan 25, 03:00 PM
RE: I2C io interface - by dan - 2022 Jan 25, 03:43 PM
RE: I2C io interface - by astrogerard - 2022 Jan 25, 04:38 PM
RE: I2C io interface - by litronas - 2022 Mar 18, 04:21 PM

Forum Jump:


Users browsing this thread: 2 Guest(s)