Closed myrdinwylt closed 7 years ago
@DAlperin is working with me on this problem.
Due to the nature of the problem I am starting to think it is a hardware issue. The issue persists over multiple installs of the OS and software. Does that make any sense to you guys based on your knowledge of the hardware and software? Thanks!
Did you turn on I2C and SPI?
What header have you soldered to the pi zero?
Is it the PaPiRus Zero?
Thanks
Hey thanks for the quick response. I am forced to wait until monday until I have the hardware again. (its at a sort of local makerspace) however I know it is PaPiRus Zero, I can not confirm the other to. I am really sorry to have to ask and then not be able to work on it for a bit. You can ignore this until I post here again. Im really really sorry again... Thanks for the help!
To answer your questions
@myrdinwylt I think I enabled I2c and SPI. Also we are in fact using the PaPiRus Zero. Lets wait on this for now until we have access to the pi again. Thanks!
It sounds like I am having the same issue as myrdinwylt today with my Pi Zero W and the PiPiRus 2 inch. I was able to get the Python API to work ( I just tried sending text) but none of the demos work from the command line. As I am now reading some things about it, I see that this guy: http://frederickvandenbosch.be/?p=1483 mentioned you should be root when running the demo. I'll try that in a few minutes, I suppose but it did seem like there was an issue with the temperature sensor. The error I received (sorry I've not copied it here... I'm not near my Pi now) was related to the LM75B. I'm not sure I have all the required components installed. I probably have to set things up for this sensor, right?
The errors you have @myrdinwylt are because the I2C and SPI aren't enabled. There is a section in the README.md which tells you how to manually enable I2C and SPI. This has however been automated in the latest commit. For a brief time there was an issue with smbus not being installed automatically. This was needed by LM75B and it has now been included in the auto installation. In case you are not on the latest branch @stocktoncycles please run sudo apt-get install python-smbus which should fix your problems.
If you get confused what I suggest is to use a spare SD, flash the latest Raspbian and run the auto configuration once again. The post from our good friend @fvdbosch is now outdated and issues about sudo are no longer current. Please disregard the majority of that article as the issues have now been fixed in the current branch.
@francesco-vannini , I'm sure it's possible that I2C and SPI we're not enabled though I did manually enable them in the config tool before re-starting the pi. I will check to see if smbus is installed. Thanks.
@stocktoncycles and @myrdinwylt can you confirm whether you managed to make any progress on this? I don't think this is an issue though. I'll keep this open for a little while to give you time to get back.
Thank you guys for the help we will try you solutions on Monday and they all sound like they will work. Thanks!
Hi i have the same problem. i've installed as instructed and enabled I2C & SPI but it's still showing me the same error. Is the error because it can't communicate with the screen? Help!
@vanillabrand what is the error you are getting?
Thanks @shawaj
pi@raspberrypi:~ $ sudo papirus-clock Traceback (most recent call last): File "/usr/local/bin/papirus-clock", line 131, in <module> main(sys.argv[1:]) File "/usr/local/bin/papirus-clock", line 74, in main papirus = Papirus() File "/usr/local/lib/python2.7/dist-packages/papirus/epd.py", line 58, in __init__ self._lm75b = LM75B() File "/usr/local/lib/python2.7/dist-packages/papirus/lm75b.py", line 22, in __init__ self._bus.write_byte_data(self._address, LM75B_CONF_REGISTER, LM75B_CONF_NORMAL) IOError: [Errno 5] Input/output error
I've tried installing manually too. Enabled SPI & I2C, installed everything using sudo but it still shows the same error. Any clues?
This is running on a new PiZero W
thanks!
What's the result if you run 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: -- -- -- -- -- -- -- -- `
Can you please try on a different Raspberry Pi? Preferably one with a pre-soldered header. Which header did you use for your Pi Zero?
Ah ok found the screen wasn't working. Got a new one on order. Thx
On Mon, 15 May 2017 at 12:51, Garage Tech notifications@github.com wrote:
Can you please try on a different Raspberry Pi? Preferably one with a pre-soldered header. Which header did you use for your Pi Zero?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/PiSupply/PaPiRus/issues/113#issuecomment-301452810, or mute the thread https://github.com/notifications/unsubscribe-auth/AAlifYJ3ERG3dmnEOuIML6xPlEMUQH9Mks5r6DwpgaJpZM4NIB9h .
@vanillabrand - the screen not working is very unlikely. We have had very few go wrong as they're tested in the factory.
What header are you using on the Pi Zero?
It's pretty likely if it had a hairline crack running through it. New one arrived and works a treat ;) thx On Tue, 13 Jun 2017 at 23:43, Aaron Shaw notifications@github.com wrote:
@vanillabrand https://github.com/vanillabrand - the screen not working is very unlikely. We have had very few go wrong as they're tested in the factory.
What header are you using on the Pi Zero?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/PiSupply/PaPiRus/issues/113#issuecomment-308269720, or mute the thread https://github.com/notifications/unsubscribe-auth/AAlifcBu0CyNLXtTqZxpwi7o7aoK3sOsks5sDxCGgaJpZM4NIB9h .
@vanillabrand fantastic news!
I recently purchased a papirus and have been trying to use it. There appears to be a problem when I setup the papirus though. After following the guide carefully the demos will not work. I am using a 2 inch papirus screen with a new raspi 0 w running rasbian jessie with pixel. When I do any demo a error like this appears.
Reading the message and corresponding source files it appears to be some problem with the LM75B sensor. Please help me correct this error if you can.