Page 1 of 2
Constant "Up" Input
Posted: Fri May 04, 2018 10:04 am
by pogo
Hi all
I've just finally finished by CSO Build. When configuring ES, I found that it always said something like "Key already taken" when I started to configure. After finishing the configuration, I found that for whatever reason it seems to receive a constant up input. In the menu that is shown after the config, the selection bar jumps up one menu entry at a time, and keeps on repeating this for ever.
So I've opened it up again, removed all the screws to ensure that there's nothing that could be giving an up input. Powered on, and the same problem still happens.
Does anybody have any ideas what the problem here could be, and how I can solve it?
Thanks
Martin
Re: Constant "Up" Input
Posted: Fri May 04, 2018 12:52 pm
by kite
Can you carefully inspect this chip, to see if there are any solder bridges?
Also, with a multimeter can you measure the resistance between the UP pads .. measure between the TOP and the BOTTOM of the contact on the PCB..
Re: Constant "Up" Input
Posted: Sat May 05, 2018 12:05 am
by pogo
The solder points look clean to me under a magnifying glass. Cannot see anything wrong with them
Measuring the resistance started off with 100k Ohm, but the value kept on going up. I stopped measuring when it reached 130k Ohm....
Yesterday I also flashed the newest version of the image from github to the SD-Card (I'm not sure which one I had on previously, probably the first version) just to ensure it's nothing software related, but the problem still happens...
Do you have any other ideas?
Thanks
Martin
Re: Constant "Up" Input
Posted: Sun May 06, 2018 1:23 am
by jermzz
I've had a couple CSO with various input issues. One didn't even recognize the atmega chip at all and i had to use a keyboard just to connect to wifi. Could have been an error when the audrino was programmed. Once i re-flashed the code, it was fine.
try updating the audrino code.
ssh in and CD to the Circuit sword directory.
run ./update.sh
run ./flash-audrino.sh
sudo reboot.
maybe that will help. It's at least worth a try.
Re: Constant "Up" Input
Posted: Sun May 06, 2018 10:25 am
by pogo
Thank you for the suggestion. Any chance for a bit more details? I'm not a linux guy unfortunately...
I've found the update.sh script in the Circuit-Sword directory.
Running the update.sh script from in there only turns the screen black, it doesn't seem to do anything. I've had to restart via the power switch to get it back so I can enter anything.
I've been unable to find a flash-arduino.sh script though.
There's a "flash.sh" in Circruit-Sword\kite-arduino\flash, but I'm not sure if that's the correct one.
Displaying the readme.txt file in that same folder mentions that the proper firmware needs to already be downloaded, which I don't think I have?
If the update.sh script needs internet, I don't have that configured at all and have not really a clue how to do that over the bash shell
So, any details and further help will be greatly appreciated.
Cheers
Re: Constant "Up" Input
Posted: Mon May 07, 2018 10:38 am
by pogo
I've reflashed the Arduino according to the instructions in the wiki thru the Arduino Studio, but still the same problem happens. I guess I'll be contacting Kite via email....
Thanks
Martin
Re: Constant "Up" Input
Posted: Mon May 07, 2018 2:52 pm
by Cooper270987
I had a similar problem. What I found out is it was a “up” input from the the analogue stick rather than the d-pad, which is even more confusing as I don’t have a stick in my build. As a work around I ended up disabling the stick in the Arduino code.
Re: Constant "Up" Input
Posted: Tue May 08, 2018 12:06 am
by pogo
Interesting. I don't have a stick in my build either. How did you find out that the input was coming from the stick?
Certainly something I am going to try, thanks for the tip!
Re: Constant "Up" Input
Posted: Tue May 08, 2018 1:42 pm
by pogo
Thanks Cooper, you seem to have hit the nail on the head. I've disabled the two analog inputs, reflashed the arduino, and the problem is gone. Since I don't plan on a joystick, I'm perfectly fine with that.
Thank you!
Re: Constant "Up" Input
Posted: Wed May 09, 2018 4:56 am
by kite
I'll rework the arduino code at some point to better detect the non-existence of joysticks.. it currently already does that but obviously not very well!