Definitive Guide to Attaching Sensors to the Raspberry Pi (Tutorial)



How to connect sensors to a Raspberry Pi? Where to get the needed libraries? Does everything just work, or do we need to know some tricks?
The video covers:
– Digital Sensors
– One wire sensors
– I2C sensors
– SPI sensors
– Analog sensors
– Serial sensors
I am a proud Patreon of @GreatScott! , @ElectroBOOM , @Electronoobs , @EEVblog , and others. No Docker, No Microsoft Teams, Zoom

Links:
Raspberry Pi4 US: https://amzn.to/3pP32HZ
Raspberry Pi4 DE: https://amzn.to/3avMga
Commands and Programms: https://github.com/SensorsIot/Raspberry-Sensors-Tutorials

The links above usually are affiliate links that support the channel (no additional cost for you).
Supporting Material and Blog Page: http://www.sensorsiot.org
Github: https://www.github.com/sensorsiot
My Patreon Page: https://www.patreon.com/AndreasSpiess
Discord: https://discord.gg/JfgDSa8
If you want to support the channel, please use the links below to start your shopping. No additional charges for you, but I get a commission (of your purchases the next 24 hours) to buy new stuff for the channel
My Amazon.com shop: https://www.amazon.com/shop/andreasspiess
For Banggood https://bit.ly/2jAQEf4
For AliExpress: http://bit.ly/2B0yTLL
For Amazon.de: http://amzn.to/2r0ZCYI
For Amazon UK: http://amzn.to/2mxBaJf
For ebay.com: http://ebay.to/2DuYXBp

https://www.facebook.com/profile.php?id=100013947273409
https://twitter.com/spiessa
https://www.instructables.com/member/Andreas%20Spiess/
Please do not try to email me. This communication channel is reserved for my primary job
As an Amazon Associate, I earn from qualifying purchases
#no#midroll#ads

source

21 thoughts on “Definitive Guide to Attaching Sensors to the Raspberry Pi (Tutorial)

  • March 11, 2021 at 5:49 am
    Permalink

    We talk a lot about sensors and buttons and trying to be energy efficient as possible. I'm wondering why we are not using battery less sensors and buttons, Philips Hue Tap has been around for so many years and I still don't see an alternative for the DIY public. It seems that the only option so far is to interface an EnOcean(https://www.enocean.com/en/products/enocean_modules_24ghz/) module to our ESP32 or Raspberry Pi and use their Motion/Temperature/Humidity/Lux sensors or buttons. Looks like Eltako uses exact the same modules, hard to believe there is only one way and so few doing battery less devices.

    Reply
  • March 11, 2021 at 5:49 am
    Permalink

    Would be possible to connect a water pressure sensor to control a sphigmomanometer pump and have a feedback and digital control via cellphone? In advance thank you so much.

    Reply
  • March 11, 2021 at 5:49 am
    Permalink

    Third law of termodynamics -> There is no place where you can find -1,800 °C, not even in Sibiria ;-).

    Some thoughts about the SPI temperature sensor:
    a) The low negative temperatures could be caused by a wrong polarity.
    Have you checked that the thermocouple is connected with the right polarity?
    b) Are you sure the thermocouple and the MAX31855 are type K?
    The circuit python module only works with K-types.
    c) There is a very little chance that the D5 pin is not set as output:
    you could do this by adding the line to script:
    cs = digitalio.DigitalInOut( board.D5 )
    cs.direction = digitalio.Direction.OUTPUT # add this line

    It would be so cool, if we could find a solution because knowing, it doesn't work, drives me crazy.
    Yes, I'm a Nerd ;-). Someone like Mr. Monk ( but not so brilliant 😉 ).

    BTW: I like your videos:
    interesting themes,
    well prepared,
    you do not hide your mistakes (so we could learn from them, as well as you did),
    understandable english (with a nice swiss accent; greeting from a German neighbor),
    no boring background music
    and for me also important: fluent speaking with no ehms and aahhms.

    So thank you for your work and for your countless inspirations!

    vy 73 DF4VB (Peter)

    PS: What is a qualifying purchase? Only the products in your shop, or can I mark other things, I'd like to buy, to be
    recommended by you (or so)? I have no experience with amazon, but if I could support you, I'd give it a try.

    Reply
  • March 11, 2021 at 5:49 am
    Permalink

    Hi Andreas, I love your videos and I would like you to make a video of Raspberry Pi Pico 🙂

    Reply
  • March 11, 2021 at 5:49 am
    Permalink

    Learners, Students start their project, at the first stage, with arduino. So i think you can create a detailed series of videos with arduino and its software.Learners will be highly benefited.Later you can take this learning to another level (i+1)adding 1=unknown to the already known factors =i., Thank you.For example with Raspberry pi.

    Reply
  • March 11, 2021 at 5:49 am
    Permalink

    Ich kann dem Typ keine 2 Minuten zuhören!? Ätzende Stimme, scheiß Akzent!!! Viel dummes gelaber, für eine Hand voll 'Infos'!? Geh in Rente, Alter, du nervst!!! ☹️

    Reply
  • March 11, 2021 at 5:49 am
    Permalink

    Thank you for this video and all the work you put into this channel!
    That's pure gold for an occasional maker like me.
    Explained very well and clearly, exciting topics, important information for all
    conceivable projects and lots of input for own ideas.
    I've stumbled across the channel when I recently started playing around with an ESP32
    cam board and have now watched almost all of the videos.

    Your voice is very pleasant to hear (at least in the not very old videos, obviously
    a microphone or audio pipeline update) and the Swiss accent is very helpful for me.
    Despites I can speak English quite well i do not yet understand all of the technical terms.
    The other maker channels / videos that I have found so far are much more difficult to understand because these Youtubers speak much faster and less clearly.
    With your videos I learn this electronic technical terms without any effords.
    In addition, the Swiss accent sounds a lot more pleasant to me than, for
    example, Saxon, Swabian or even Oxford (maybe because I'm a Bavarian;)).

    Since I do not "use" any advertising on Youtube by haveing adblock
    active and because I am so enthusiastic about your videos, I would like
    to support the channel with a donation.
    However, I don't feel like opening another account at Patreon.
    (I'm account parsimonious since I take unattendet online accounts as savety
    threats and also to lazy to care accordingly for another one)
    Is therefore a way to send you money via e.g. PayPal or bank transfer?
    I did not find anything like this on your website or your YouTube profile.

    Please stay the way you are and don't be intimidated by any trolls or envious people.
    What you are producing here is really great and certainly a big help for interested people of all age, electronic beginners and also advanced makers!

    (Useful && interesting) –debug output value contains: "Very true!"
    –> It's the first channel i've subscribed.

    Reply
  • March 11, 2021 at 5:49 am
    Permalink

    What's meant with "No Docker" in the description. Just that no Docker is used in the video? Or just that you do not take money from Docker for your videos? Or smth else?

    Reply
  • March 11, 2021 at 5:49 am
    Permalink

    What do you suggest for reading shaft speed (RPM) ? There are a couple of different types of sensors (optical, Hall Effect, magnetic, etc.)

    Reply
  • March 11, 2021 at 5:49 am
    Permalink

    I have done some testing of DHT11 and BME280 lately. using Python and C. They will only transmit garbage when connected to 3.3 V. When using 5 Volts they work perfectly since middle of December. The wires used are Dupont female-female and about 10 cm's long. The sensors are breakout boards from Ebay. Just my 2 cents.

    Reply
  • March 11, 2021 at 5:49 am
    Permalink

    I am interested in lora satellites and I have seen your videos about two small satellites. please prefer me some links so that I could gain some knowledge.

    Reply
  • March 11, 2021 at 5:49 am
    Permalink

    This was awesome video. as a noob, i had no idea of what was going on. can you suggest a dummies guide 101 to this topic please, maybe somwething that discusses only one sensor at a time and a step by step tutorial? cheers and thanks

    Reply
  • March 11, 2021 at 5:49 am
    Permalink

    Usefull learning video. I've got some pi's lying around but always wanted to start with it. Maybe this is the right moment.

    Thanks

    Reply
  • March 11, 2021 at 5:49 am
    Permalink

    Hi
    Great useful video as usual.
    I have a question: how to use a Lidar sensor as a mouse or for making touch screen sensor for any lcd or led display.

    Reply
  • July 13, 2021 at 10:05 pm
    Permalink

    Good write-up, I¡¦m normal visitor of one¡¦s blog, maintain up the nice operate, and It’s going to be a regular visitor for a long time.

    Reply

Leave a Reply

Your email address will not be published.