-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't get Flick Zero to work reliably #60
Comments
The current kernel lowers the clock speed when the cpu load is low and increases it when the load increases. |
Hi thanks for the quick response. |
Is there a fundamental reason why the flick zero won't work with pi 2B v1.1? I tried the board with a Zero W and it worked perfectly. |
To try and fault find further I came across the pigpio library and gpiotest script - I wanted to try and fault find the gpio. I installed the pigpio library as described here: http://abyz.me.uk/rpi/pigpio/download.html Under the "To Check the Library" section there are a number of commands that run a number of tests to check interfaces. I've run on the pi 2B and then repeated with the Zero W (same power supply, same SD card - so same software packages installed). Results as follows: Pi2B
Run daemon
./x_pigpio.py # check Python I/F to daemon
./x_pigs # check pigs I/F to daemon
./x_pipe # check pipe I/F to daemon
sudo ./gpiotest
Zero W
Run daemon
./x_pigpio.py # check Python I/F to daemon
./x_pigs # check pigs I/F to daemon
./x_pipe # check pipe I/F to daemon
sudo ./gpiotest
The only difference is the hardware but I think the above seems relevant - only I haven't yet managed to find anything to indicate what the failed tests on the pi2B might imply. I thought I would post in case anyone else with more experience can suggest anything to point me in the right direction? Many thanks. |
Having looked at the datasheet for the MG3130 chip https://www.microchip.com/wwwproducts/en/MGC3130#datasheet-toggle
|
So. Bit more reading around and I've come across a number of other issues logged which appear to have the same outcome as what I'm seeing: Didn't think to look in the "Closed" issues, shame that there doesn't seem to be a clear solution. Either way it looks like it is the Flick Zero board that is at fault - something faulty with chip initialisation is mentioned in the most recent one: I suspect from what I've seen above that the issue is the chip not waking up when it completes it's approach scan on the initial approach for some reason. In the above firmware reset was seen to solve the problem (though it isn't clear why, as in issue 14 it's just the same firmware version that is flashed, not an updated one from what I can see). However from issue 16 onwards there is somewhat misleading guidance over whether firmware reset should be attempted or not. Seems to say you shouldn't do it unless told to by Pi-Supply. I have contacted Pi-Supply (bought this board from them months ago so way past stated 3 months return) but was told due to other reasons it was unlikely their technical team would look at it. But that keeping the github issue up to date was best way to keep them informed. So this is me keeping it up to date. Am considering whether I try firmware reset as not sure I have much to lose. If anyone does have the opportunity to provide input that would be appreciated. |
Taking up the invite to provide some input: I've tried the board in a Pi4. It never worked (detecting gestures) but perhaps I didn't persevere enough. I wrote the above a couple of days ago but I didn't post as I thought I would give the board one more day of testing. Yesterday it worked most of the time and I even used flick-armcontrol successfully. I couldn't see any logical reason why it had suddenly started working so well. Today it isn't working at all. So what is the difference between yesterday and today? I'm returning the HAT. It is immensely frustrating. |
Thanks for the input though shame we're seeing what appear to be the same issue. Which also seems to have been seen by the other issues raised. |
So reflashed the firmware. First attempt saw lots of read access errors - immediately did it again and it reflashed perfectly. |
Received replacement Flick HAT yesterday. Plugged it in but didn't fix it with standoffs. It worked first time and continued to work through a number of cycles of switching Pi off and then switching it back on again. Switched on Pi this morning and again Flick HAT worked straight away. I am now assuming that all is well and will therefore fix HAT more securely with standoffs. |
I bought a Flick Zero to play with, with the thought of integrating into a magic mirror type project.
Have setup a raspberry pi 2B as a fresh install, fitted a Flick Zero and installed the code and demos.
i2cdetect always shows it is connected.
But the demo's wouldn't work.
After a few attempts at running it (using Geany not Thonny) the snail demo started to work. Then so did the others.
Installed MagicMirror software and the MMM-flick-gestures module, and all worked as it should. This includes directly touching the flick board and being a few cm above it.
But then it stopped working again. I got a pyShell finished with err undefined message from the magic mirror, so assumed it was a problem with that module.
Went back to the flick demo's, the code runs without flagging any errors but aren't registering any gestures.
I've reboot and shutdown and restarted, to no change to the flick performance. interestingly I can run the magic mirror without seeing the pyShell error any more, but I get no response from the Flick Zero.
Everytime I run i2cdetect command it finds it (at least, I get the following):
i2cdetect -y 1
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: -- -- -- -- -- -- -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
40: -- -- 42 -- -- -- -- -- -- -- -- -- -- -- -- --
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
70: -- -- -- -- -- -- -- --
Tried flick_img.py and it started working; but has since stopped. Still showing as connected.
At first I thought when I set it up that I'd missed something in the install which I then corrected but now I'm thinking it's a reliability issue somewhere else. I tried resetting the gpio: get the same response from i2cdetect as above but it doesn't make the gestures work. I can't seem to identify something software related, but the fact it's reporting it is connected is throwing me, otherwise I'd think it's hardware issue.
This is when directly over the flick board, or touching it, with nothing inbetween.
What would you suggest for next steps? or is this normal? Many thanks.
The text was updated successfully, but these errors were encountered: