Re: [SlimDevices: DIY] [ANNOUNCE] SqueezeButtonPi - Tool to use buttons and rotary encoders on a RPi

2019-08-15 Thread paul-
So I did what you did on my pi4-4bg.it seems we are getting a ton of chatter off of the gpio interface. Run sbpd with -z instead of -v. you will get a ton more information. Code: 1565912471.6551 7 GPIO.c,86: 2544375911 - 0= -1750591385 Pin Value=0 Stored Va

Re: [SlimDevices: DIY] [ANNOUNCE] SqueezeButtonPi - Tool to use buttons and rotary encoders on a RPi

2019-08-15 Thread chill
Paul Webster wrote: > GPIO Pull up/down differences? I can't tell. The gpio utility with wiringpi reports that the expected pins have their pull-up resistors set, i.e. they have a value of 1. There's apparently a pintest tool as well, but that's apparently not part of the pCP6 version of wiri

Re: [SlimDevices: DIY] [ANNOUNCE] SqueezeButtonPi - Tool to use buttons and rotary encoders on a RPi

2019-08-15 Thread chill
paul- wrote: > I have no idea if it would affect GPIO, but it might be worth a shot. Thanks Paul - that doesn't seem to make any difference unfortunately. paul- wrote: > > Otherwise, can you do your test with one button on one GPIO pin.then > I might be able to replicate here on my rpi4G

Re: [SlimDevices: DIY] [ANNOUNCE] SqueezeButtonPi - Tool to use buttons and rotary encoders on a RPi

2019-08-15 Thread Paul Webster
GPIO Pull up/down differences? Paul Webster http://dabdig.blogspot.com Author Radio France (FIP etc) plugin Paul Webster's Profile: http://forums.slimdevices.com/member.php?userid=105 View this thread: http://forums.slimd

Re: [SlimDevices: DIY] [ANNOUNCE] SqueezeButtonPi - Tool to use buttons and rotary encoders on a RPi

2019-08-15 Thread paul-
I know there are some differences with how the 4GB works.This is something the RPI guys had someone test for a network latency issue.. I have no idea if it would affect GPIO, but it might be worth a shot. > > Can you repeat your testing with total_mem=3072 in config.txt? This > temporar

Re: [SlimDevices: DIY] [ANNOUNCE] SqueezeButtonPi - Tool to use buttons and rotary encoders on a RPi

2019-08-15 Thread chill
I reverted both of those things, and I still have unreliable buttons. So what does that leave? A damaged 4B 4GB? Hardware differences between the 4GB and the 1GB? chill's Profile: http://forums.slimdevices.com/member.php

Re: [SlimDevices: DIY] [ANNOUNCE] SqueezeButtonPi - Tool to use buttons and rotary encoders on a RPi

2019-08-15 Thread chill
chill wrote: > > 1) The 4GB has an updated bootloader installed - the one which knocked a > couple of degrees off the CPU temperature. I might see if I can find > the original one and put it back on. Wait, I was getting mixed up. I've done two things to this 4B 4GB. 1) I updated the bootload

Re: [SlimDevices: DIY] [ANNOUNCE] SqueezeButtonPi - Tool to use buttons and rotary encoders on a RPi

2019-08-15 Thread chill
Did that. I transferred the SD card with the fresh pCP6 setup from my 4B 1GB to my 4B 4GB, with no other hardware attached except my button PCBs, and the buttons are erratic on the 4B 4GB. Switched everything back over to the 4B 1GB, and the buttons work flawlessly. So it's something about the

Re: [SlimDevices: DIY] [ANNOUNCE] SqueezeButtonPi - Tool to use buttons and rotary encoders on a RPi

2019-08-15 Thread chill
I loaded up a fresh image of pCP6 onto my spare 4B 1GB, then installed sbpd and LMS, and copied my sbpd configuration and calling script over. The buttons worked erratically - pressing one button would trigger several events. So then I tried a 'bare wires' test with a number of jumper wires and

Re: [SlimDevices: DIY] [ANNOUNCE] SqueezeButtonPi - Tool to use buttons and rotary encoders on a RPi

2019-08-15 Thread chill
The first step in tracing what's causing my unreliable buttons. I connected the same hardware to a 3B+ running pCP4. From a fresh image I installed LMS and sbpd, then copied my sbpd command configuration file and my calling script over from the 4B. All nine buttons seem completely reliable on