Default GPIO PIN state after boot
#10
hi Artyom, whether any SBC will be a suitable controller depends on the characteristics of the control circuit, electrical dynamics and other things like security ( and others ).

Let's say you want to build a control circuit for your garage door that will automatically recognize just your car but no others. You have a radio chip on the windshield of your vehicle which can be 'read' from the eve of your house. cool. But here is the problem: what happens if your place has a power spike, or the power drops and later restarts. What happens to the door ? You don't want the door opening by itself on POR ( that would be a security problem ) and you don't want the controller to 'hang' on a power glitch either ( or else you can't get back in either ).

I have actually known people to build the above with an Arduino or a Raspberry PI, and all of them had to deal with this issue. Multi-level design is usually required ( or some fancy buffering like Pete was talking about ) becuase usually the I|O pins cannot be relied upon to maintain steady state during POR. Also, usually a good UPS is required too, so that power glitches don't afffect or shutdown or hang the system once started.

I believe you can build a reliable control system with the Pine ( I'm researching that the whole time I have had mine ) as long as you take POR into account, and have a good UPS or other system to handle power outages. BUT your system must not rely on any steady state during POR regardless of SBC; although, the RPi is ( in this instance ) may be more reliable in that situation. ( I'm just trying to be complete here )
marcushh777    Cool

please join us for a chat @  irc.pine64.xyz:6667   or ssl  irc.pine64.xyz:6697

( I regret that I am not able to respond to personal messages;  let's meet on irc! )


Messages In This Thread
Default GPIO PIN state after boot - by Artyom - 11-06-2016, 12:05 PM
RE: Default GPIO PIN state after boot - by Artyom - 11-07-2016, 10:03 AM
RE: Default GPIO PIN state after boot - by Artyom - 11-08-2016, 08:00 AM
RE: Default GPIO PIN state after boot - by Artyom - 11-09-2016, 07:52 AM
RE: Default GPIO PIN state after boot - by Artyom - 11-11-2016, 08:54 AM
RE: Default GPIO PIN state after boot - by MarkHaysHarris777 - 11-11-2016, 12:55 PM
RE: Default GPIO PIN state after boot - by Artyom - 11-12-2016, 03:12 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  gpio operate without sudo mohammed ismayil 2 6,260 04-14-2019, 01:07 PM
Last Post: jadamcak
  +LTS/SOPINE GPIO Python developer needed barucha 1 5,651 03-20-2018, 03:30 PM
Last Post: JohnyBlaze999
  PXE-Like Boot? BostonBay 10 17,662 05-01-2016, 04:37 PM
Last Post: baryluk
  [RFC] Default resolution of 720p for all OSes DaveyDarko 5 7,905 04-11-2016, 07:48 PM
Last Post: markolonius

Forum Jump:


Users browsing this thread: 3 Guest(s)