Hello,
As far as I can see each solder connection looks good with no cold looking joints.
I have the hat on top, as one should connected to the double row of headers from the pi.
I have a business card underneath the hat to make sure no connections can touch the hdmi output.
I can sent pics.
I have apt-get upgrade and update on the 2nd pi now, and ran the one liner which I will paste at the bottom of this message but the i2cdetect output still looks blank.
root@raspberrypi:~# i2cdetect -y 1
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: – -- – -- – -- – -- – -- – -- –
10: – -- – -- – -- – -- – -- – -- – -- – --
20: – -- – -- – -- – -- – -- – -- – -- – --
30: – -- – -- – -- – -- – -- – -- – -- – --
40: – -- – -- – -- – -- – -- – -- – -- – --
50: – -- – -- – -- – -- – -- – -- – -- – --
60: – -- – -- – -- – -- – -- – -- – -- – --
70: – -- – -- – -- – --
root@raspberrypi:~#
root@raspberrypi:~# curl -sS get.pimoroni.com/automationhat | bash
This script will install everything needed to use
the Pimoroni Automation HAT
— Warning —
Always be careful when running scripts and commands
copied from the internet. Ensure they are from a
trusted source.
If you want to see what this script does before
running it, you should run:
\curl -sS https://get.pimoroni.com/automationhat
Note: Automation HAT requires I2C communication
Do you wish to continue? [y/N] y
Checking environment…
Hit http://mirrordirector.raspbian.org jessie InRelease
Hit http://archive.raspberrypi.org jessie InRelease
Hit http://mirrordirector.raspbian.org jessie/main armhf Packages
Hit http://archive.raspberrypi.org jessie/main armhf Packages
Hit http://archive.raspberrypi.org jessie/ui armhf Packages
Hit http://mirrordirector.raspbian.org jessie/contrib armhf Packages
Hit http://mirrordirector.raspbian.org jessie/non-free armhf Packages
Hit http://mirrordirector.raspbian.org jessie/rpi armhf Packages
Ign http://archive.raspberrypi.org jessie/main Translation-en_GB
Ign http://archive.raspberrypi.org jessie/main Translation-en
Ign http://archive.raspberrypi.org jessie/ui Translation-en_GB
Ign http://archive.raspberrypi.org jessie/ui Translation-en
Ign http://mirrordirector.raspbian.org jessie/contrib Translation-en_GB
Ign http://mirrordirector.raspbian.org jessie/contrib Translation-en
Ign http://mirrordirector.raspbian.org jessie/main Translation-en_GB
Ign http://mirrordirector.raspbian.org jessie/main Translation-en
Ign http://mirrordirector.raspbian.org jessie/non-free Translation-en_GB
Ign http://mirrordirector.raspbian.org jessie/non-free Translation-en
Ign http://mirrordirector.raspbian.org jessie/rpi Translation-en_GB
Ign http://mirrordirector.raspbian.org jessie/rpi Translation-en
Reading package lists… Done
Checking hardware requirements…
Checking for packages required for GPIO control…
I2C already enabled
Checking packages required by I2C interface…
Automation HAT comes with examples and documentation that you may wish to install.
Performing a full install will ensure those resources are installed,
along with all required dependencies. It may however take a while!
Do you wish to perform a full install? [y/N] y
Checking install requirements…
Checking for dependencies…
Installing Automation HAT library for Python 2…
Requirement already up-to-date: automationhat in /usr/local/lib/python2.7/dist-packages
Requirement already up-to-date: sn3218 in /usr/local/lib/python2.7/dist-packages (from automationhat)
Cleaning up…
Installing Automation HAT library for Python 3…
Requirement already up-to-date: automationhat in /usr/local/lib/python3.4/dist-packages
Requirement already up-to-date: sn3218 in /usr/local/lib/python3.4/dist-packages (from automationhat)
Cleaning up…
Checking for additional software…
Downloading examples and documentation…
Cloning into ‘automation-hat’…
remote: Counting objects: 34, done.
remote: Compressing objects: 100% (26/26), done.
remote: Total 34 (delta 3), reused 25 (delta 1), pack-reused 0
Unpacking objects: 100% (34/34), done.
Checking connectivity… done.
The examples directory already exists on your system!
We’ve backed it up to examples-backup, just in case you’ve changed anything!
Resources for your Automation HAT were copied to
/home/pi/Pimoroni/automationhat
All done!
Enjoy your Automation HAT!
root@raspberrypi:~# /home/pi/Pimoroni/automationhat/examples/relay.py
Traceback (most recent call last):
File “/home/pi/Pimoroni/automationhat/examples/relay.py”, line 5, in
import automationhat as autohat
File “/usr/local/lib/python2.7/dist-packages/automationhat/init.py”, line 3, in
import sn3218
File “/usr/local/lib/python2.7/dist-packages/sn3218.py”, line 112, in
enable_leds(0b111111111111111111)
File “/usr/local/lib/python2.7/dist-packages/sn3218.py”, line 60, in enable_leds
[enable_mask & 0x3F, (enable_mask >> 6) & 0x3F, (enable_mask >> 12) & 0X3F])
IOError: [Errno 5] Input/output error
root@raspberrypi:~#