CSO - strange LED Behaviour.

Cooper270987
Posts: 55
Joined: Sat Aug 19, 2017 8:59 am
Has thanked: 12 times
Been thanked: 13 times

CSO - strange LED Behaviour.

Post by Cooper270987 » Mon Feb 12, 2018 8:32 pm

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.
Last edited by Cooper270987 on Sun May 12, 2019 4:06 am, edited 3 times in total.

User avatar
kite
Posts: 972
Joined: Thu May 12, 2016 4:30 am
Location: UK
Has thanked: 246 times
Been thanked: 361 times
Contact:

Re: Strange LED Behaviour Kites Circuit Sword.

Post by kite » Tue Feb 13, 2018 12:00 am

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
Stock clearance - CLOSED: viewtopic.php?f=38&t=12064
Kite's Mailing List: https://goo.gl/forms/e97uUvPOfUxPWdz82
Kite's FAQ: https://kiteretro.com/faq/


ImageImageImageImageImage

Cooper270987
Posts: 55
Joined: Sat Aug 19, 2017 8:59 am
Has thanked: 12 times
Been thanked: 13 times

Re: Strange LED Behaviour Kites Circuit Sword.

Post by Cooper270987 » Tue Feb 13, 2018 1:07 am

That's the strange thing I thought I had something wrong but the boards build in led is doing the same thing.
I have attached some pictures they aren't the best because i'm trying to get the WIFI icon on screen and the LED's at the same time.


WIFI ON
SpoilerShow
IMG_4044.JPG
IMG_4044.JPG (2.27 MiB) Viewed 7473 times
IMG_4049.JPG
IMG_4049.JPG (1.79 MiB) Viewed 7473 times
IMG_4050.JPG
IMG_4050.JPG (1.98 MiB) Viewed 7473 times
WIFI OFF
SpoilerShow
IMG_4051.JPG
IMG_4051.JPG (2.51 MiB) Viewed 7473 times
IMG_4053.JPG
IMG_4053.JPG (1.86 MiB) Viewed 7473 times

User avatar
kite
Posts: 972
Joined: Thu May 12, 2016 4:30 am
Location: UK
Has thanked: 246 times
Been thanked: 361 times
Contact:

Re: Strange LED Behaviour Kites Circuit Sword.

Post by kite » Tue Feb 13, 2018 1:52 am

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?
Stock clearance - CLOSED: viewtopic.php?f=38&t=12064
Kite's Mailing List: https://goo.gl/forms/e97uUvPOfUxPWdz82
Kite's FAQ: https://kiteretro.com/faq/


ImageImageImageImageImage

Cooper270987
Posts: 55
Joined: Sat Aug 19, 2017 8:59 am
Has thanked: 12 times
Been thanked: 13 times

Re: Strange LED Behaviour Kites Circuit Sword.

Post by Cooper270987 » 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.

User avatar
kite
Posts: 972
Joined: Thu May 12, 2016 4:30 am
Location: UK
Has thanked: 246 times
Been thanked: 361 times
Contact:

Re: Strange LED Behaviour Kites Circuit Sword.

Post by kite » Tue Feb 13, 2018 2:35 am

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

Code: Select all

GPIO.output(pi_wifien, GPIO.HIGH)
With this line:

Code: Select all

GPIO.output(pi_wifien, GPIO.LOW)
6. Replace this line: https://github.com/kiteretro/Circuit-Sw ... sd.py#L344

Code: Select all

GPIO.output(pi_wifien, GPIO.LOW)
With this line:

Code: Select all

GPIO.output(pi_wifien, GPIO.HIGH)
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
Stock clearance - CLOSED: viewtopic.php?f=38&t=12064
Kite's Mailing List: https://goo.gl/forms/e97uUvPOfUxPWdz82
Kite's FAQ: https://kiteretro.com/faq/


ImageImageImageImageImage

Cooper270987
Posts: 55
Joined: Sat Aug 19, 2017 8:59 am
Has thanked: 12 times
Been thanked: 13 times

Re: Strange LED Behaviour Kites Circuit Sword.

Post by Cooper270987 » 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.

User avatar
kite
Posts: 972
Joined: Thu May 12, 2016 4:30 am
Location: UK
Has thanked: 246 times
Been thanked: 361 times
Contact:

Re: Strange LED Behaviour Kites Circuit Sword.

Post by kite » Tue Feb 13, 2018 3:51 am

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 :)
Stock clearance - CLOSED: viewtopic.php?f=38&t=12064
Kite's Mailing List: https://goo.gl/forms/e97uUvPOfUxPWdz82
Kite's FAQ: https://kiteretro.com/faq/


ImageImageImageImageImage

User avatar
kite
Posts: 972
Joined: Thu May 12, 2016 4:30 am
Location: UK
Has thanked: 246 times
Been thanked: 361 times
Contact:

Re: [SOLVED] Kites Circuit Sword strange LED Behaviour.

Post by kite » Tue Feb 13, 2018 1:40 pm

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.
Stock clearance - CLOSED: viewtopic.php?f=38&t=12064
Kite's Mailing List: https://goo.gl/forms/e97uUvPOfUxPWdz82
Kite's FAQ: https://kiteretro.com/faq/


ImageImageImageImageImage

Cooper270987
Posts: 55
Joined: Sat Aug 19, 2017 8:59 am
Has thanked: 12 times
Been thanked: 13 times

CSO - strange LED Behaviour.

Post by Cooper270987 » Sun May 12, 2019 4:05 am

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.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest