DS18B20 RJ45 Pinout

RJ 45 Pinout for DS18B20 Probes

Pin 6 – Ground
Pin 5 – Data
Pin 4 – Power

REVISION JUNE 2019

Pin 6 -ground  Blue/White
Pin 7 – Data Orange
Pin 8 – Power Blue

https://www.showmecables.com/blog/post/rj45-pinout

Blue Cat5 Cable

Power – Blue
Ground – Blue/White
Data – Orange

 

Test

‘Air’:65,
‘Filter’:66,
‘Heater’:67,
‘UV’:68,
‘CO2’:69,
‘FloorLight’:70,
‘PartyBall’:71,
‘MainLight’:72,
‘BlueLight’:73,
‘Air2’:74,

DS18B20 Wiring

Wiring up and testing of the two RJ45 for the two DS18B20 Temperature probes has been completed.

Channel Layout

This is the initial channel layout that we decided on.  Naturally the code is python.

#mcp23017-1 65-80
#Solid State Relays #1 & #2
#Mains Power

#mcp23017-2 100-116
#Ports 100-108 Reserved for Switches

#mcp23017-3 200-116
#Ports 200-208 Reserved for low voltage power switching

channel = {‘Air’:65,
‘Filter’:66,
‘Heater’:67,
‘UV’:68,
‘CO2’:69,
‘FloorLight’:70,
‘PartyBall’:71,
‘Unassigned01’:72,
‘Unassigned02’:73,
‘Unassigned03’:74,
‘Unassigned04’:75,
‘Unassigned05’:76,
‘Unassigned06’:77,
‘Unassigned07’:78,
‘Unassigned08’:79,
‘Unassigned09’:80,
‘Unassigned10’:100,
‘Unassigned11’:101,
‘Unassigned12’:102,
‘Unassigned13’:103,
‘Unassigned14’:104,
‘Unassigned15’:105,
‘Unassigned16’:106,
‘Unassigned17’:107,
‘Unassigned18’:108,
‘Unassigned19’:109,
‘Unassigned20’:110,
‘Unassigned21’:111,
‘Unassigned22’:112,
‘Unassigned22’:113,
‘Unassigned24’:114,
‘Unassigned25’:115,
‘Unassigned26’:116,
‘Unassigned27’:200,
‘Unassigned28’:201,
‘Unassigned29’:202,
‘Unassigned30’:203,
‘Unassigned31’:204,
‘Unassigned32’:205,
‘Unassigned33’:206,
‘Unassigned34’:207,
‘StatusPanel’:208,
‘Light1’:209,
‘Light2’:210,
‘MoonLight’:211,
‘TrimBlue’:212,
‘TrimRed’:213,
‘Monitorpwr1’:214,
‘Monitorpwr2’:215,
‘HDMISwitch’:216,
‘StatusPanel’:216}