{"id":1264,"date":"2026-03-01T17:44:41","date_gmt":"2026-03-01T16:44:41","guid":{"rendered":"https:\/\/modelrailelectronics.com\/?post_type=product&#038;p=1264"},"modified":"2026-06-19T22:31:13","modified_gmt":"2026-06-19T20:31:13","slug":"ds204","status":"publish","type":"product","link":"https:\/\/modelrailelectronics.com\/en\/shop\/ds204\/","title":{"rendered":"DS204 &#8211; I2C sensor module"},"content":{"rendered":"<p>Version 1.2<\/p>\n<p>The DS204 \u2013 I2C sensor module is an 8 channel sensor module. It has the same pinout as the PCA9685 PWM module and can therefore be connected in the same way. For connecting this module to LocoNet, the DS104 \u2013 Lnet I2C interface can be used.<\/p>\n<p>The module has 8 triple pins providing 5V, GND and an IN pin for connecting infra red sensor modules (active high) or hall sensors (active low) like the 44E hall sensor.<\/p>\n<p>The module has 2 jumpers to determine if the input pins should be high by default (needed for 44E hall sensor) or low in two sets of pins: J11 controls ports 1 to 4 and J12 controls ports 5 to 8.<\/p>\n<p>The DS204 \u2013 I2C sensor module is sold as do it yourself project containing PCB and all components.<\/p>\n<p><strong>Programming info:<\/strong><br \/>\nI2C address configurable using jumpers on J1 (A2-A1-A0):<br \/>\n0-0-0: 0x20<br \/>\n0-0-1: 0x21<br \/>\n0-1-0: 0x22<br \/>\n0-1-1: 0x23<br \/>\n1-0-0: 0x24<br \/>\n1-0-1: 0x25<br \/>\n1-1-0: 0x26<br \/>\n1-1-1: 0x27<\/p>\n<p>Pinlayout on I2C IC:<br \/>\nChannel 1 = P0<br \/>\nChannel 2 = P1<br \/>\nChannel 3 = P2<br \/>\nChannel 4 = P3<br \/>\nChannel 5 = P4<br \/>\nChannel 6 = P5<br \/>\nChannel 7 = P6<br \/>\nChannel 8 = P7<\/p>\n<p>Built time for an experienced tinkerer: 15 ~ 20 minutes.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Version 1.2 The DS204 \u2013 I2C sensor module is an 8 channel sensor module. It has the same pinout as the PCA9685 PWM module and can therefore be connected in the same way. For connecting this module to LocoNet, the DS104 \u2013 Lnet I2C interface can be used. The module has 8 triple pins providing [&hellip;]<\/p>\n","protected":false},"featured_media":1576,"comment_status":"open","ping_status":"closed","template":"","meta":{"_acf_changed":false,"_members_access_role":[],"_members_access_error":""},"product_brand":[],"product_cat":[52,56],"product_tag":[74,73,91],"class_list":["post-1264","product","type-product","status-publish","has-post-thumbnail","product_cat-modules-i2c","product_cat-modules-sensor","product_tag-i2c","product_tag-module","product_tag-sensor","first","instock","taxable","shipping-taxable","purchasable","product-type-simple"],"acf":[],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/modelrailelectronics.com\/en\/wp-json\/wp\/v2\/product\/1264","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/modelrailelectronics.com\/en\/wp-json\/wp\/v2\/product"}],"about":[{"href":"https:\/\/modelrailelectronics.com\/en\/wp-json\/wp\/v2\/types\/product"}],"replies":[{"embeddable":true,"href":"https:\/\/modelrailelectronics.com\/en\/wp-json\/wp\/v2\/comments?post=1264"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/modelrailelectronics.com\/en\/wp-json\/wp\/v2\/media\/1576"}],"wp:attachment":[{"href":"https:\/\/modelrailelectronics.com\/en\/wp-json\/wp\/v2\/media?parent=1264"}],"wp:term":[{"taxonomy":"product_brand","embeddable":true,"href":"https:\/\/modelrailelectronics.com\/en\/wp-json\/wp\/v2\/product_brand?post=1264"},{"taxonomy":"product_cat","embeddable":true,"href":"https:\/\/modelrailelectronics.com\/en\/wp-json\/wp\/v2\/product_cat?post=1264"},{"taxonomy":"product_tag","embeddable":true,"href":"https:\/\/modelrailelectronics.com\/en\/wp-json\/wp\/v2\/product_tag?post=1264"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}