vikrant_ap
Posts: 1
Joined: Fri Jul 13, 2018 7:18 am

GPIO ouput pin giving High & Low output in Raspberry Pi 3

Fri Jul 13, 2018 7:46 am

Greetings!
I have to generate some signals, so I used GPIO pins as Output pins.
Everything was working fine then suddenly most of those pins started giving high and low random values.
I checked on MSO and I got following pattern

Image

SO can anyone tell me what will be the problem exactly and how can I solve it?

User avatar
Z80 Refugee
Posts: 358
Joined: Sun Feb 09, 2014 1:53 pm

Re: GPIO ouput pin giving High & Low output in Raspberry Pi 3

Fri Jul 13, 2018 9:10 am

My guess: your GPIO pins are now inputs, so the lines are floating and giving misleading results when you use logic-level rather than analogue monitoring.

Check your code initialises everything at the start, so that pins you intend to be outputs are specified as outputs. From power-up, they will be inputs.
Military and Automotive Electronics Design Engineer (retired)

For the best service: make your thread title properly descriptive, and put all relevant details in the first post (including links - don't make us search)!

Return to “C/C++”

Who is online

Users browsing this forum: No registered users and 8 guests