This is excellent advice. For a really simple use of GPIO, you need some wires, a breadboard, resistors and LEDs.mahjongg wrote: ↑Thu Jan 31, 2019 6:28 pm1-Wire, that is one of the most complex and strange variations on I2C, and very hard to get working, not for beginners who want to keep their sanity.
Its easy, some GPIO pins can, but don't have to, be used with special hardware in the chip, to be used for specific hardware functions.
examples are I2C, or inter IC Bus, a two-wire bus used to add specif hardware to a processor, hardware like a digital to analog converter, or other kind of I2C chips.
other examples are PWM, where special hardware turns the GPIO on and off rapidly, with varying on/off ratio's, used to control servo's, or after filtering create a variable DC voltage.
a third example is SPI, for fast serial devices.
All these GPIO functions are optional and can be largely ignored.
There are plenty of GPIO that do not have special functions, start with these.
In addition to the good advise above i would suggest you take a step back and concentrate on your task in hand.. Find a good guide to follow setting up your 4x4 matrix keypad, and dont worry too much about understanding every aspect of what your doing first time through.. You WILL have it by the time your finishedthicc boi wrote: ↑Thu Jan 31, 2019 1:16 amI thought there were just GPIO, ground, 3.3v, 5v, and some fancy pins, I had no idea the GPIO pins had a bunch of weird funky categories, and even worse, none of them make any sense. I've just started getting into computer programming and RPi's, and this is terrifying for me.
I'm trying to program a simple 4x4 matrix keypad, I got PuTTy, I got a nice little kit of lights, resistors, all that stuff, but I just realized today, after looking at the lables for the GPIO pins, that they have different types, and I cannot get my head past this until I figure it out.
Voltage level translators are your friends.......they are much cheaper than a Pi of any flavor. Use (or make) good ones.Sat Feb 02, 2019 5:45 pm
Don't forget rule #101, when using GPIO's, putting 5V on a GPIO means immediate destruction of your RPI
RPI's do not tolerate 5V (or even 4V) on their GPIO pins!
+1 on this.
-1LTolledo wrote: ↑Thu Feb 21, 2019 11:24 am+1 on this.
....well each has his/hers/its preferences.
Just do it responsibly and safely!