Page 1 of 2
CSO - strange LED Behaviour.
Posted: Mon Feb 12, 2018 8:32 pm
by Cooper270987
I've obviously done something stupid myself along the line somewhere.
I have soldered some connectors to the LED pads on my circuit sword,the power LED's functions as expected.When powered on both LED's light up,my connected LED light and the one on the board.
My WIFI LED's however are working in reverse, both on the board and my connected one. When I have WIFI off the LED's turns on and when I turn on WIFI the LED's turn off. Have I shorted something while soldering or have I mixed up something ? Any help would be appreciated.
Edit Extra Info:
I have tried SSH'ing into Pi when LED's were ON and WIFI was definitely OFF and vice versa.
Re: Strange LED Behaviour Kites Circuit Sword.
Posted: Tue Feb 13, 2018 12:00 am
by kite
Can you should a picture of your soldering for those LEDs? Do BOTH wifi leds come on in reverse? You most likely have soldered the new LED the wrong way round for wifi.. try flipping it
Re: Strange LED Behaviour Kites Circuit Sword.
Posted: Tue Feb 13, 2018 1:07 am
by Cooper270987
Re: Strange LED Behaviour Kites Circuit Sword.
Posted: Tue Feb 13, 2018 1:52 am
by kite
Unsolder the wire you added to the wifi LED point, does it still function the right/wrong way?
Can you measure the voltage on the LED DIODE itself (on the board) from GND (to both sides or the LED, one at a time) with the WIFI ON and WIFI OFF?
Re: Strange LED Behaviour Kites Circuit Sword.
Posted: Tue Feb 13, 2018 2:28 am
by Cooper270987
Disconnected all extra LED wires and using the jankiest old analogue circuit tester...In the world (Jerermy Clarkson voice). I'm sorry its all I could steal from my Granddad.
If your looking from the front (Side the LED's are on). With WIFI off and the LED on, the left side of the LED is 3V right has a slight reading but not a lot.
With WIFI on the led off both sides of the LED are 3V.
Re: Strange LED Behaviour Kites Circuit Sword.
Posted: Tue Feb 13, 2018 2:35 am
by kite
Cooper270987 wrote: ↑Tue Feb 13, 2018 2:28 am
Disconnected all extra LED wires and using the jankiest old analogue circuit tester...In the world (Jerermy Clarkson voice). I'm sorry its all I could steal from my Granddad.
If your looking from the front (Side the LED's are on). With WIFI
off and the LED
on, the left side of the LED is 3V right has a slight reading but not a lot.
With WIFI
on the led
off both sides of the LED are 3V.
Let me confirm this evening, as that all sounds right but everything is the wrong way round! .. you should be able to temporarily fix by:
1. Enable SSH
2. SSH in
3. cd Circuit-Sword/cs-osd
4. vim.tiny or nano cs-osd.py
5. Replace this line:
https://github.com/kiteretro/Circuit-Sw ... sd.py#L309
With this line:
6. Replace this line:
https://github.com/kiteretro/Circuit-Sw ... sd.py#L344
With this line:
7. sudo service cs-osd restart
I will confirm if I've made a mistake in the software

I didn't think I had as I tested it all myself before releasing.. but please try the above
Re: Strange LED Behaviour Kites Circuit Sword.
Posted: Tue Feb 13, 2018 3:30 am
by Cooper270987
I'm in absolutely no doubt its my fault somewhere along the line, I doubt it's you.
The fix worked and i'm going to mark this as solved.
Thanks for speedy reply Kite.
Re: Strange LED Behaviour Kites Circuit Sword.
Posted: Tue Feb 13, 2018 3:51 am
by kite
Cooper270987 wrote: ↑Tue Feb 13, 2018 3:30 am
I'm in absolutely no doubt its my fault somewhere along the line, I doubt it's you.
The fix worked and i'm going to mark this as solved.
Thanks for speedy reply Kite.
No problem! As I said I'll investigate on my boards just to check it wasn't me because it was an easy 2 line fix

I'll post back here if there are any issues, it will just result in a new software image being made available if required

Re: [SOLVED] Kites Circuit Sword strange LED Behaviour.
Posted: Tue Feb 13, 2018 1:40 pm
by kite
So i've checked a couple of my boards and all are behaving correctly without changes needed, not sure what is up with yours! Only thing i can suggest is to try the latest image that i uploaded the other day. If this issue is bothering you please email me and I can sort out replacing it for you, otherwise the solution earlier works for you

if any problems develop because of this i'll of course replace/repair it.
CSO - strange LED Behaviour.
Posted: Sun May 12, 2019 4:05 am
by Cooper270987
Problem is back after fresh install and update. The old method no longer works. I have used grep and can not find what i'm look for anywhere. I suppose it would help if I knew what I was looking for but I've searched LED and WIFI but to be honest I don't know what I'm looking at.