Automation HAT.




Tillbaka till Raspberry Pi.
Inledning.
Installation.
Inkoppling.
Testning.
Programmering.
Referenser.



Inledning.


Egenskaper.

3 x 24V @ 2A relay (NC and NO terminals)
3 x 12-bit ADC @ 0-24V
3 x 24V tolerant buffered inputs
3 x 24V tolerant sinking outputs
15 x channel indicator LEDs
1 x 12-bit ADC @ 0-3.3V
3.5mm screw terminals
Power, Comms, and Warn! LED indicators
SPI, TX (#14), RX (#15), #25 pins broken out
Compatible with Raspberry Pi 3, 2, B+, A+, and Zero
Python library
Comes fully assembled (broken out pins require soldering)




Installation.


Instruktioner på engelska finns hos Pimoroni github.
curl -sS https://get.pimoroni.com/automationhat | bash



Inkoppling.


Automation HAT pin layout.

Pinnummer.
BCM nr.                wiringPi nr.  RPi nr
BCM 2 SDA            8                  3
BCM 3 SCL            9                  5
BCM 5 output 1   21                  29
BCM 12 output 2   26                32
BCM 6 output 3   22                  31
BCM 13 relay 1   23                  33
BCM 19 relay 2   24                  35
BCM 16 relay 3   27                  36
BCM 26 input 1   25                  37
BCM 20 input 2   28                  38
BCM 21 input 3   29                  40
3.3 Volt                                        17
5 Volt                                            2
GND                                             6



Testning.


cd /home/pi/Pimoroni/automationhat/examples
python relay.py



Programmering.






 

Mera information.


Här finns mera information om Automation HAT.
Bland annat pinkonfiguration.



 

Referens.


Inköp kan bland annat göra på: Pimoroni.





Till början.