|
ANMBEST Relay Module with Optocoupler High/Low Level Trigger for Arduino (12, 12V Relay 16 Channel)ANMBEST
|
x 1 | |
|
Raspberry Pi Pico WRaspberry Pi Foundation
|
x 1 |
|
Home Assistant OS |
|
|
Esp Home Home Assistant AddonEsp Home
|
ESPHome Raspberry Pi Pico W Relay Board Interface
This board is designed to plug directly into and draw power from the relay board input pin header. All unused Pico GPIO's as well as the 5v and Ground from the relay board are passed to an additional pin header so additional Pico inputs/outputs can be configure to meet different needs. Once ESPHome is loaded on to the Pico W the sample yaml code can be added to the default yaml that is generated and will present all 16 relays as switches to Home Assistant to be assigned as desired. There are also two Core tempuratures provided back to Home Assistant (C/F) to monitor the operation of the Pico. The last feature in the sample YAML code is creating an interval and using it to blink the Pico onboard LED so it is easy to tell when the Pico is up and running.
sensor:
- platform: adc
pin: TEMPERATURE
name: "Core Temperature"
unit_of_measurement: "°C"
filters:
- lambda: return 27 - (x - 0.706f) / 0.001721f;
- platform: adc
pin: TEMPERATURE
name: "Core Temperature (F)"
unit_of_measurement: "°F"
filters:
- lambda: return ((27 - (x - 0.706f) / 0.001721f) * 9.0f/5.0f) + 32;
output:
- platform: gpio
pin: 32
id: PicoStatusLED
interval:
- interval: 1000ms
then:
- output.turn_on: PicoStatusLED
- delay: 500ms
- output.turn_off: PicoStatusLED
switch:
- platform: gpio
pin: 0
name: "Relay 01"
restore_mode: ALWAYS_OFF
inverted: ON
- platform: gpio
pin: 1
name: "Relay 02"
restore_mode: ALWAYS_OFF
inverted: ON
- platform: gpio
pin: 2
name: "Relay 03"
restore_mode: ALWAYS_OFF
inverted: ON
- platform: gpio
pin: 3
name: "Relay 04"
restore_mode: ALWAYS_OFF
inverted: ON
- platform: gpio
pin: 4
name: "Relay 05"
restore_mode: ALWAYS_OFF
inverted: ON
- platform: gpio
pin: 5
name: "Relay 06"
restore_mode: ALWAYS_OFF
inverted: ON
- platform: gpio
pin: 6
name: "Relay 07"
restore_mode: ALWAYS_OFF
inverted: ON
- platform: gpio
pin: 7
name: "Relay 08"
restore_mode: ALWAYS_OFF
inverted: ON
- platform: gpio
pin: 8
name: "Relay 09"
restore_mode: ALWAYS_OFF
inverted: ON
- platform: gpio
pin: 9
name: "Relay 10"
restore_mode: ALWAYS_OFF
inverted: ON
- platform: gpio
pin: 10
name: "Relay 11"
restore_mode: ALWAYS_OFF
inverted: ON
- platform: gpio
pin: 11
name: "Relay 12"
restore_mode: ALWAYS_OFF
inverted: ON
- platform: gpio
pin: 12
name: "Relay 13"
restore_mode: ALWAYS_OFF
inverted: ON
- platform: gpio
pin: 13
name: "Relay 14"
restore_mode: ALWAYS_OFF
inverted: ON
- platform: gpio
pin: 14
name: "Relay 15"
restore_mode: ALWAYS_OFF
inverted: ON
- platform: gpio
pin: 15
name: "Relay 16"
restore_mode: ALWAYS_OFF
inverted: ON
ESPHome Raspberry Pi Pico W Relay Board Interface
*PCBWay community is a sharing platform. We are not responsible for any design issues and parameter issues (board thickness, surface finish, etc.) you choose.
- Comments(0)
- Likes(3)
- Anatoliy K Feb 07,2024
- Engineer Feb 04,2024
- yağız yatem2023 Feb 01,2024
- 0 USER VOTES
- YOUR VOTE 0.00 0.00
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
More by Kenneth Smith
- ESPHome Raspberry Pi Pico W Relay Board Interface This board is designed to plug directly into and draw power from the relay board input pin header. A...
- Police Light Flasher This project was to make a flashing strobe circuit that is similar to what emergency vehicles have f...
- 3 Rail Block Detector x 10 This project is used in 3 rail o-gauge train layouts to detect when a train is in a specific block o...
-
-
-
-
-
-
3D printed Enclosure Backplate for Riden RD60xx power supplies
154 1 1 -
-