Pimoroni Scroll Bot Issues

Hello!

I’ve assembled, soldered, and flashed a raspberry pi zero w with all the correct OS and packages. I’ve been using the instruction guide found here: https://github.com/sandyjmacdonald/pimoroni_learning_materials/blob/master/twitter_scroll_phat.md

And it’s been going pretty well so far, up until the part where I run this code: “sudo python test-all.py”

From there, I get this error:

File “test-all.py”, line 10, in
scrollphat.set_brightness(2)
File “build/bdist.linux-armv6l/egg/scrollphat/init.py”, line 60, in set_brightness
File “build/bdist.linux-armv6l/egg/scrollphat/init.py”, line 26, in _get_controller
File “build/bdist.linux-armv6l/egg/scrollphat/IS31FL3730.py”, line 21, in init
File “build/bdist.linux-armv6l/egg/scrollphat/IS31FL3730.py”, line 62, in set_mode
IOError: [Errno 121] Remote I/O error

I already checked to make sure my soldering job was solid, so I’m not sure where I went wrong with the code. Is there some sort of diagnostic I can run? I tried to skip that part and simply go straight to running the twitter app, but that has issues as well. I figure if I can solve this part of the problem, I have a better chance at having the rest of the code run smoothly as well. My ultimate goal is to get the Pimoroni to do the weather/Twitter ticker functions for my wife.

Thanks so much!

The Scroll pHat HD uses I2C so I’d run

sudo i2cdetect -y 1

and see if its detected correctly. It uses 0x74 for its i2c address.

Might be worth posting a picture of your Pi and Scroll pHAT soldering for us to double-check. From experience, this kind of error is almost always a soldering issue.

Here’s the response I got, looks like that part is ok:

sudo 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: – -- – -- 74 – -- –

Here’s the pi zero w and the phat, respectively.

Oooh, I just twigged what the problem is.

I think you’re using a Scroll pHAT HD with the Scroll pHAT software!

You’ll need to follow this guide: https://learn.pimoroni.com/tutorial/sandyj/getting-started-with-scroll-phat-hd

Edit: Sorry for the delay! I’ve just realised I stared dumbfounded at your perfectly-okay soldering for a week before scrolling up and putting two and two together!

Ok thanks! I’ll use this and report back.

I had some further issues installing smbus packages for python2 and python3. For anyone else experiencing this problem, here are the pages that I used to deal with that:

https://www.linuxcircle.com/2015/05/03/how-to-install-smbus-i2c-module-for-python-3/

https://www.raspberrypi.org/forums/viewtopic.php?f=32&t=99980

NOTE: I couldn’t use the command line shortcuts. I had to “build the code by hand” in order for it to work.

Edit: I deleted the previous request, because I successfully downloaded and edited the twitter-hashtag.py file in the /examples/ directory. However, now that I have the correct keys/secrets from the Twitter App API and run the file using sudo python twitter-hashtag.py, the file just runs and hangs without outputting any error messages or showing anything on the LED display.

What gives?

I’m not sure! I seem to have intermittent success with the Twitter API stuff. Sometimes it will work, sometimes not, I haven’t yet figured out what’s going wrong- not for want of trying. Have you had any luck with it since?

I haven’t, unfortunately :-(. Thanks for checking in though!