rpi 3b or 4 notes

Viewed 10 times

I was searching for ways to power on my rpi from shutdown (o halt) mode, then I noticed somewhere else that shorting SCL and GND will turn on…

Well in fact, I tried this and my RPI turned on ONLY with touching the wire (the other extreme was not touching GND or anything else)

I dont know why this occurs….

Can anyone explain me? (BTW I have I2C mode turned on)

 New contributor
  • Hi @Mangostain, Ah, let me see. If Rpi SCL/SDA in I2C mode, they are each connected with a built in pull down 1k7 resistor to Vcc, and any signal to these pins can do something. Now you are using connecting wires from these pins to your I2C devices. These connecting wires, if a “little bit” long, say > 30 cm, acts as a “radio” antenna (perhaps weak) , pickup up nearby noises, say 50/60 Hz mains noise. Now if you are holding the “antenna” by hand, you big body joins the antenna to form a big antenna. So in your story, you are feeding mains signal to Rpi GPIO to switch on/off power. – tlfong01 4 hours ago    
  • And the following tutorial might help you understand more. The tutorial mentions that Rpi4B bootloader need to be modified. But I heard that buster 2019sep26 release will take care of that. howchoo.com/g/mwnlytk3zmm/… – tlfong01 4 hours ago   
  • @tlfong01 The poster has a Pi 3, not Pi 4. – Dmitry Grigoryev 32 mins ago
  • Try touching an oscilloscope probe with a stray wire that you hold in your hands. You will be surprised. – Dmitry Grigoryev 23 mins ago
  • @Dmitry Grigoryev, many thanks for point out that. This time I can explain. (1) The OP asks about I2C wire picking up noise. Actually this is a generic thing which applies to all computers, from Adruino to Microbit, Rpi, … you name it. I answered with this in mind. So you see my answer is general, not specific to Rpi3B. Actually I thought about adding that my answer applies to floating wires in general. So this comment should not mislead any users. Counter explanations welcome. – tlfong01 12 mins ago   
  • @Dmitry Grigoryev, my second comment is related to using GPIO to turn on/off Rpi. I read about 10+ discussions and tutorials, and this is belongs to top 3 of all I read so far. The last one I read is some weeks ago, when a guy said about similar things, but added a long instruction to how to update the boot loader. Now this morning before I recommend the tutorial, I read it again to make sure it is a good tutorial (over selling or over recommending a product/service is against my engineering societies’s code of conduct.) , to continue, … – tlfong01 5 mins ago   
  • Anyway, when I read it again, I was glad that the author has an update that only applies to buster release 2019sep26. I think this is good for anyone who read this before, no harm if the reader is using Rpi3 or Rpi4. Actually the article was written for Rpi3, and updated for Rpi4. This is one of the reasons that I respect the author and recommend the article. You might have read my other very long “tutorial” on GPS, LIRC, DS18B20, Watchdog timer ( the list on other forums is lont!etc. As soon as possible, I updated my with a comment that I have verified that it is also good for Rpi4. – tlfong01 59 secs ago   Edit   
  • You might like to comment on my explanation, before I think of other things related. No hurry though. – tlfong01 just now   Edit   

Categories: Uncategorized

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: