BlueWave Studio forum
Night mode - Printable Version

+- BlueWave Studio forum (https://bluewavestudio.io/community)
+-- Forum: OpenAuto Pro (https://bluewavestudio.io/community/forum-86.html)
+--- Forum: Android Auto (https://bluewavestudio.io/community/forum-79.html)
+--- Thread: Night mode (/thread-1447.html)



Night mode - azkue5 - 02-17-2020

Hello,

I'm trying to control AA nighy/day mode using GPIO pin. It is 3.3 V when the lights are on and 0 V when the lights are off, but the AA doesn't change... I change setting parameters of control mode to GPIO and selected GPIO 19, the pin I'm using... What am I doing wrong?

The pin marked in red in the picture, is the one I'm using. Off course I'm also using the GND to have a reference.

Thank you in advance


RE: Night mode - BlueWave - 02-17-2020

Is this PIN19 or GPIO19? Please note that GPIO numbering differs from the PIN numbering.

Also there is not picture that you mention.


RE: Night mode - azkue5 - 02-17-2020

Hello, it is GPIO 19 or pin 35. I have tried with both of them and it is not working... I think now you will be able to see the picture...


RE: Night mode - BlueWave - 02-17-2020

It is GPIO19 and number 19 should be set in Day/Night settings. Please also test if day/night switching works for OpenAuto Pro interface.


RE: Night mode - azkue5 - 02-17-2020

(02-17-2020, 11:28 AM)BlueWave Wrote: It is GPIO19 and number 19 should be set in Day/Night settings. Please also test if day/night switching works for OpenAuto Pro interface.
Yes, I set it in Day/night settings with the number 19 and is not working... I'll try later if it works in OAP interface...


RE: Night mode - azkue5 - 02-18-2020

Hi! I've tried it an it isn't working... Am I doing something wrong?


RE: Night mode - BlueWave - 02-18-2020

And what happens when you connect GPIO19 to the GND pin of Raspberry PI?

How did you connect your light switch signal to the PI?


RE: Night mode - azkue5 - 02-18-2020

I've tried moving to the pin next to it, to the GPIO13 and now everything works okey!


RE: Night mode - BlueWave - 02-18-2020

We see that GPIO19 is shared with the SPI interface. Do you haven SPI interface enabled?


RE: Night mode - azkue5 - 02-18-2020

(02-18-2020, 03:02 PM)BlueWave Wrote: We see that GPIO19 is shared with the SPI interface. Do you haven SPI interface enabled?

I don't thing so... How could I know for sure?