Raspberry Pi Automation #1: Mains Relay HAT

Поделиться
HTML-код
  • Опубликовано: 7 авг 2024
  • Raspberry Pi home automation tutorial using a mains relay HAT from Electronics-Salon to control three light bulbs, and potentially other mains or high power DC devices. Video includes Python 3 code for bulb sequencing and timer control.
    WARNING: mains electricity is dangerous. Do not attempt what is shown in this video unless you have prior experience working with mains electricity and understand how to take appropriate safety measures. In particular, when working with mains electricity, ensure that your circuit is connected to an residual current device (RCD) or other form of circuit breaker.
    All code and wiring diagrams are available here: www.explainingcomputers.com/pi...
    The relay HAT used in the video can be found on Amazon.com here: amzn.to/2Yjgc2M and on Amazon.co.uk here: www.amazon.co.uk/dp/B07K796T9... (affilate links).
    An apparently identical relay HAT unit, branded to another manufacturer, is on Amazon.de here: www.amazon.de/dp/B01FZ7XLJ4/
    If pursuing home automation projects, you may find useful my video “Raspberry Pi: Using GPIO Inputs”: • Raspberry Pi: Using GP...
    And this video on using MotionEyeOS to set up a Raspberry Pi network camera: • Raspberry Pi MotionEye...
    My review of the Raspberry Pi 3B+ shown in the video is also here: • Raspberry Pi 3 Model B+
    More videos on computing and related topics can be found on the ExplainingComputers channel at: / explainingcomputers
    You may also like my other channel, ExplainingTheFuture, at: / explainingthefuture
    #RaspberryPi #HomeAutomation #Automation #ExplainingComputers
  • НаукаНаука

Комментарии • 623

  • @ExplainingComputers
    @ExplainingComputers  5 лет назад +34

    WARNING: mains electricity is dangerous. As noted in the introduction, do not attempt what is shown in this video unless you have prior experience working with mains electricity and understand how to take appropriate safety measures. In particular, when working with mains electricity, ensure that your circuit is connected to an residual current device (RCD) or other form of circuit breaker.

    • @stephenlittle7534
      @stephenlittle7534 5 лет назад +1

      Rcd will not Work if NO EARTH IS USED. ☝WAGGLE FINGER AGAIN.

    • @patrickwigmore3462
      @patrickwigmore3462 5 лет назад +5

      @@stephenlittle7534 RCDs don't require an earth connection. They work by detecting imbalance in the current flowing through line and neutral. However, they won't protect against connecting a human between line and neutral, or connecting a human in series with the load. The human is only spared if they are connected between line and earth or between neutral and earth.

    • @princedube5008
      @princedube5008 5 лет назад

      hi, I would like to use a raspberi pi to control the price sign outside two family-owned stores that are far from each other I want to create a simple signboard that has 36 lights that display a price much like block characters from old calculators. I want to be able to update the prices remotely over the internet. how would I go about doing especially with the code and controlling it to change prices on a weekly basis? can you be of assistance thanks

    • @patrickwigmore3462
      @patrickwigmore3462 5 лет назад

      @@princedube5008 Those number displays are called 7 segment displays, because of how many segments make up each digit. This seems like a good question to ask at a local Linux User Group or a similar specialist group, where you can have an extended discussion about it and multiple people can offer opinions over a period of time. It's way too big a project to discuss it in RUclips comments.
      It's a really involved project if you are a complete beginner. If you just want something that works without much hassle, a much simpler option would be to buy an off-the-shelf, serial-input LED number display, and control that using a Pi.
      The DIY approach will involve an electronics module to drive the display (possibly DIY electronics), software to drive that, and a secure way to control it over the internet. For simplicity's sake, I'd recommend using SSH to control it. SSH can be secure, but you absolutely must read up on properly securing it, because people *will* be trying to break into it within *minutes* of you putting it online. The Internet is not a safe neighbourhood and the default settings are not secure.

    • @jkelectrical
      @jkelectrical 5 лет назад

      I love the R-pi! But I can't see how one can provide isolation between low voltage, I.e 110V-600 volts and extra low voltage, ( >110 volt) connections. If the low voltage connector came into contact with the R-pi, there is a danger there would be a 230 Volt + connector across the telephone network, assuming the R-pi is connected via the Ethernet port.

  • @reggiep75
    @reggiep75 5 лет назад +6

    There was a time when various TV programmes (good & bad) were symbolic of a Sunday night but in modern times this channel is always part of my Sunday night I enjoy on account of all of the interesting content, dry humour, good quality and production values.
    I'd always wondered how to control various mains products and lights but SBC's have allowed lots of people to access a lot of projects and SBC's can be used in so many ways.
    Another great video and keep up the good work!

  • @twoshedsjackson6478
    @twoshedsjackson6478 5 лет назад +25

    Chris, this is the ONLY channel where I gladly watch the adverts in the hope that it boosts your income a tiny bit. Everybody should.

    • @mmdirtyworkz
      @mmdirtyworkz 3 года назад +1

      Support via patreon and install adblock. That's what everyone should do.

  • @kjeldgaard0
    @kjeldgaard0 5 лет назад +3

    Chris, your RUclips videos are well-prepared, well thought-out and very enlightening, something which is unfortunately rare on this platform, where lots of fast-talking RUclipsrs are ad-lib'ing it and in essence wasting the audience's time. They could definitely learn from you. Thank you so much!

    • @ExplainingComputers
      @ExplainingComputers  5 лет назад

      Thanks for your kind feedback. Appreciated.

    • @markawbolton
      @markawbolton 5 лет назад

      I concur. I really appreciate your professionalism.

  • @Jim-be8sj
    @Jim-be8sj 5 лет назад +3

    Great video. I am pleased to see that this is just the first video in what has the potential to be a very informative and interesting series.

  • @TheSwitzAutomotive
    @TheSwitzAutomotive 5 лет назад +2

    Christopher I've started an automotive and car maintenance channel and I've tried to use the Christopher Barnatt method of "extreme literary efficiency" when explaining topics. Quick and right to the point with no wasted words. Thanks for the inspiration! Keep up the great work! ~ Tom "The Switz"

  • @stefanolivingketo1076
    @stefanolivingketo1076 5 лет назад +1

    Thank you for this series and all of your videos i find the raspberry pi very fascinating so all your videos are like a mini course. working 12hrs a day time is short but following your videos have helped me figure out what to do at a rapid rate.

  • @ObsidianMercian
    @ObsidianMercian 5 лет назад +1

    Another fantastic video. Recently purchased a Raspberry Pi (your SBC videos have been tremendously helpful, thank you) and am considering what projects to undertake. Looking forward to the rest of this series!

  • @kayferrari5361
    @kayferrari5361 5 лет назад

    When i see video's like this they stay in my head as i try and think of other ways these relay switches can be used, or other ideas for HAT's. I think they're going to become really big, i can already feel it without thinking about it yet. I had no idea about these HAT's so this is great for me. Beautiful model Chris, well done.

  • @jezebabe
    @jezebabe 5 лет назад +4

    Thanks Chris as always. You have a very engaging teaching style and always make "projects" seem like fun. I am looking forward to the rest of this series and have subscribed.

  • @xPowerdriverx
    @xPowerdriverx 5 лет назад +2

    This is a series with amazing potential! I am really looking forward to getting into a serious real world scenario for the Pi!

    • @DogSerious
      @DogSerious 2 года назад

      I want to use a Pi to switch on and off 15 self powered generators and also monitor their outputs and running times, this looks like it has potential.

  • @pete-the-nete
    @pete-the-nete 5 лет назад +1

    Your commentaries always make me smile - keep them up, PLEASE!

  • @wasitacatisaw83
    @wasitacatisaw83 5 лет назад +66

    Always look forward to your videos. Sunday isn't Sunday without Stanley the knife and Mr Scissors.

    • @MarkoVukovic0
      @MarkoVukovic0 5 лет назад +3

      I was just thinking exactly the same!

    • @canwenot573
      @canwenot573 5 лет назад +2

      I couldn't agree more. I had my cup of coffee in hand when I saw the notification for a new EC video. Sunday morning done right.

  • @elviraeloramilosic9813
    @elviraeloramilosic9813 5 лет назад +22

    Oh this was great!
    Clicking sounds, Python on pi, testing, experimenting, wiring here, tinkering there...
    Most satisfying videos on RUclips!
    Cognitive/visual/audible pleasure.

    • @ExplainingComputers
      @ExplainingComputers  5 лет назад

      Thanks Elvira. :)

    • @joland119
      @joland119 5 лет назад

      ExplainingComputers when are you going to upload the video about TPM?

    • @teebee5323
      @teebee5323 5 лет назад

      "Most satisfying videos on RUclips! "
      very well said Elvira, I just read were some old fart that worked for DARPA says "the internet is broken and no longer useful", clearly he hasn't seen the ExplainingComputers channel, the work Chris does here is the most useful thing the internet has ever done.

    • @mickelodiansurname9578
      @mickelodiansurname9578 5 лет назад

      @@teebee5323 and of course peoples cats.... What would the internet be like without random pictures of cats everywhere?

    • @teebee5323
      @teebee5323 5 лет назад

      @@mickelodiansurname9578 hilarious, I just posted a few minutes ago about how cats are the number one reason we lose computer games we shouldn't: ruclips.net/video/Zv8wt9TIXog/видео.html

  • @joshuavstheworld7
    @joshuavstheworld7 4 года назад +2

    Finally someone that explains the code. As a beginner looking at scripts is a bit confusing sometimes.
    Thanks!

  • @yoonpark8311
    @yoonpark8311 5 лет назад +1

    Mr. Barnatt, I didn't understand about the raspberry pi, but when you explained (not all but part of it) I understand how it works and the codes. Thank you!

  • @BorgSwarm
    @BorgSwarm 5 лет назад +1

    Awesome video. Very simple project and good instructions. It sparks the imagination. I have had all the parts laying in my Pi Box for a couple years but have lacked any motivation to get in there and actually do something with it. But this give me some other ideas and just maybe the motivation to get started. Thanks so much.

  • @chriholt
    @chriholt 5 лет назад +1

    Thanks as always Chris, I’m looking forward to the rest of this series!

  • @jcpartri
    @jcpartri 5 лет назад +2

    You do such a good job making these videos. Hats off to you across the pond! :-)
    My daughters like to watch instructional videos with their daddy. This was today's lesson on electricity and what a program can do. - many blessings.

  • @tasmedic
    @tasmedic 5 лет назад

    I love these videos. Everything is always so beautifully and brightly lit.

  • @Vhbaske
    @Vhbaske 5 лет назад

    You are a very nice teacher, I love all of your tutorials. Keep informing us! Now we need more about the Raspberry pi 4. I am anxious to hear...

  • @user-be8zh7sy1l
    @user-be8zh7sy1l 4 года назад +1

    lots of fun watching your video and glad to see this channel growing bigger. can't wait to see your next episode on RPi automation.

  • @MegaMiir
    @MegaMiir 4 года назад

    I got super excited when the lights lit up in sequence, great stuff!

  • @perrymcclusky4695
    @perrymcclusky4695 5 лет назад +34

    “Lightbulb Sequencing Parties” ? How shocking! It would be beneath Stanley the knife and Mr. Scissors’ social standards to attend such parties. Plus they would never wear a hat indoors. Looking forward to your next video.

    • @jerril42
      @jerril42 5 лет назад +1

      I never get invited to the cool parties!

  • @srtcsb
    @srtcsb 5 лет назад +2

    This is great stuff Chris. The jokes about "light bulb sequencing parties" have been well covered by other posters, but with Adafruit and other vendors selling all sorts of lighting for clothing and costumes, I'm sure it's "a thing" somewhere :-D. Looking forward to more videos in this series. Thank you.

  • @Kevin-mx1vi
    @Kevin-mx1vi 5 лет назад +1

    I'm intrigued by remote control in the home and looking forward to the rest of the series to give me some ideas. This is going to be interesting.

  • @DiverJames
    @DiverJames 5 лет назад +5

    This little HAT would make a useful base for activating a sprinkler system which are usually powered by 12VAC. Being a Pi, you could also pull in local weather to make sure you’re not activating the system when it’s raining or too windy etc :)

  • @davydoo13
    @davydoo13 5 лет назад +2

    You are amazing you explain things so adequately that’s why I got into Linux mint

  • @peterjansen4826
    @peterjansen4826 5 лет назад +2

    "Boys and their toys" has gotten a new meaning in the last decade. ;)
    As a 10-15 years old kid I would have loved these toys. The coding for Raspberry Pi is surprisingly easy compared to coding in C.

  • @ronniewilliams3420
    @ronniewilliams3420 5 лет назад +2

    Very informative and concise video SBC and applications. Thank you for filtter thur all noise on this subject.

  • @CharloSeychell
    @CharloSeychell 5 лет назад +1

    Thanks for the highly informative video. Coincidently, last week, I built a similar project, but I used another type of relay switches (not the hat type). Another difference is that the lights are voice-activated using Google Assistant and IFTTT applets.
    Keep up the good work. You are the source of inspiration for us common mortals.

    • @alizee3687
      @alizee3687 Год назад

      can you please share the source for your project I would be very interested in building voice activated light system

    • @CharloSeychell
      @CharloSeychell Год назад

      @@alizee3687 As I had said in my comment 3 years ago, I used IFTTT. However, a few months ago, IFTTT made changes that affected the way voice activation functions. So, unfortunately, I am afraid I cannot help. Sorry.

  • @peterkoch5105
    @peterkoch5105 5 лет назад +1

    Always nice to look here. Excellently explained and well done. Thanks and keep it up. Thumbs up.

  • @stevelarkin3285
    @stevelarkin3285 5 лет назад

    Great video really enjoyed it the wiring side of the project looked to me rather easy but writing that code to make it work
    that is way over my head .... well done

  • @hamrabadi
    @hamrabadi Год назад

    Amazing, I recently started watching your videos. thanks for sharing such useful and easy to understand stuff. Will follow you and wait for your future videos for sure.

  • @ummmjames
    @ummmjames 5 лет назад +2

    Thanks for sharing. Looking forward to more videos about automation.
    Also, look into cron/crontab if you haven’t yet. It’s a time-based job scheduler built right into raspbian (and linux/unix in general). Very useful!

  • @michelfilion5482
    @michelfilion5482 5 лет назад +1

    Great video. Again you make it seem so effortless.

  • @SBCBears
    @SBCBears 5 лет назад +148

    "Lightbulb sequencing parties"!? Ohhh... the high life. Too rich for my blood.

    • @calmac3723
      @calmac3723 5 лет назад +11

      This isn't too bad, the "LED Light bulb sequencing parties" are the expensive ones, the "Energy Efficient Light bulb sequencing parties" can take a while to get going 😁

    • @perrymcclusky4695
      @perrymcclusky4695 5 лет назад +3

      Cal Mac Also parties using floodlights would be dangerous. Mixing water with electricity would be hard on the people attending those parties! Yet I’m no expert since I don’t drink.

    • @calmac3723
      @calmac3723 5 лет назад +1

      @@perrymcclusky4695 Floodlight sequencing parties are for royalty, it would be a dream to attend one of those my friend. Water is used frugally at these type of parties, lager is used chiefly, it is safer, it's less conductive.👍

    • @jasongooden917
      @jasongooden917 5 лет назад +4

      When RGB just won't cut it

    • @calmac3723
      @calmac3723 5 лет назад +3

      @@jasongooden917 😂😂

  • @WokLover
    @WokLover 5 лет назад +1

    so watchable as usual..can't wait for the next one.

  • @jinchoung
    @jinchoung 5 лет назад +1

    you should totally do an episode on the MiSTer FPGA project. it's right up your alley and i could really use a good explainer on exactly what is going on physically inside of an FPGA chip.

  • @malcytull
    @malcytull 5 лет назад +2

    Another brilliant video, you sounded surprised when it started working, I was confident that if you'd made, it will work. Thank you for posting.

    • @ExplainingComputers
      @ExplainingComputers  5 лет назад

      Computing still amazes me, especially when it interfaces with the real world.

  • @ashtongrist
    @ashtongrist 4 года назад +1

    oh im so glad i'm back here. Please keep doing this

  • @resrussia
    @resrussia 5 лет назад +5

    I love this video! Once again thanks for a clear and understandable presentation an interesting project using raspberry pi. You have created an excellent presentation on a fairly complex topic for those of us who dapple with raspberry pi from outside the world of computers and electronics. I very much enjoyed the thoughtful presentation of the topic. I am looking forward to your video on using Wifi and a raspberry pi to control a device. Keep up the good work!

  • @icenesiswayons9962
    @icenesiswayons9962 5 лет назад +1

    My brother and I have been discussing such an automation, thank you for helping.

  • @jasongooden917
    @jasongooden917 5 лет назад +10

    Stanley the Knife, Mr. Scissors and Crinkle Crinkle all in 10 seconds. Your on a roll today.

  • @Colin_Ames
    @Colin_Ames 5 лет назад +1

    Clear and informative, as usual. Thanks Chris.

  • @Keeping_IT_Simple
    @Keeping_IT_Simple 5 лет назад +10

    A great start to what promises to be yet another excellent series.
    Ps
    Can I have an invitation to the next lbsp? ( Light Bulb Sequencing Party )

    • @zetaconvex1987
      @zetaconvex1987 5 лет назад

      Wahey. Lighbulb Sequencing Party at Chris' place.

  • @petesday8632
    @petesday8632 5 лет назад +2

    Thanks for this video, My son and I will use this as a basis for him to use L.e.d.s to light up his model railway. Intead of relays he wants to use transistors. (bc 548's) I feel a lot of low voltage and soldering is in our future. I might grab one of your linked boards too. Thanks for your hard work :)

  • @dcc1165
    @dcc1165 5 лет назад +1

    Yet another excellent HowTo. I actually plan on doing something like this to control dampers in my house because the air circulation is horrible and I'd like to be able to programmatically control air flow so I don't have to stand on a stool anymore. :)

  • @y2ksw1
    @y2ksw1 5 лет назад

    Yeeeeeee, automation! 😄
    I remember the times (70-80's) when this kind of automation was done by discrete electronics and the difficulties we had to face with clocks ... I still remember a device I made and used a normal digital clock in order to find out which time it was ... there were no or only extremely expensive RTC chips available, but alarm clocks were an affordable alternative.

  • @springlj
    @springlj 5 лет назад +2

    Thank you for your Sunday video. Very much appreciated as always.
    Request: please show us how to make this setup visible to openhab or homeassistant and comment on other available options for home automation.

  • @h2o-fpv623
    @h2o-fpv623 5 лет назад +2

    Yes I have the raspberry b , and I just got me the b+ so I'm in the process of moving so I can't do anything yet. Well in a couple days I will .now this new hat will help me a lot.

  • @Cilmaen
    @Cilmaen 5 лет назад +1

    Yet again, another fantastic video/ tutorial

  • @AnimalFacts
    @AnimalFacts 5 лет назад +1

    This is gonna be a fun series.

  • @mikiethebikie
    @mikiethebikie 5 лет назад +1

    Thanks Chris, PI working in the real world is great to see. Thanks for the example.

  • @sanjaybhatikar
    @sanjaybhatikar 4 года назад +1

    Your Raspberry Pi videos are the coolest 😎 🙏

  • @wrxs1781
    @wrxs1781 5 лет назад +1

    Well done, I look forward to your next video.

  • @BigRalphSmith
    @BigRalphSmith 5 лет назад +1

    Thanks Chris. I really appreciate the information you've gone to the trouble to show everyone.
    It's unfortunate that so many in the comment section have to behave like safety Nazis or advertising conspiracy trolls.
    I took your demonstration at face value and I got a lot out of it. It doesn't bother me at all who's products you choose to use in your videos and I took your disclaimer at the start of the video to heart so hopefully I'm not too stupid to safely put your information to use in practical applications in the future.
    Please keep doing what you do on YT and I hope to see you again... very soon. ;)

    • @ExplainingComputers
      @ExplainingComputers  5 лет назад

      Thanks for this. I'm glad somebody understands what I'm trying to do here. I provide details on the parts used because if I don't, I get asked for them! :)

  • @stevecharlton3271
    @stevecharlton3271 5 лет назад +1

    Excellent video Chris keep them coming

  • @JohnDoe-tm2sc
    @JohnDoe-tm2sc 5 лет назад

    Excellent start. Hopefully will get to more complex apps.

  • @h2o-fpv623
    @h2o-fpv623 5 лет назад +3

    U r the best I'm glad that I got to know ur show thank u so much for all the info u have giving us.

  • @Venomator.
    @Venomator. 5 лет назад +2

    Excellent job, per usual Christopher, thank you much and I’m now looking forward to more in this particular series... 👍🏻 🧐 🐍

  • @bpbrainiak
    @bpbrainiak 5 лет назад +1

    I enjoy every video I watch on your channel :D

  • @blevenzon
    @blevenzon 5 лет назад +3

    Ahhh yesss!!!! This is the meat and potatoes type content. Thank you ever so much!!!

  • @LunarJim69
    @LunarJim69 5 лет назад +1

    Another excellent video. Thanks Christopher!

  • @pulesjet
    @pulesjet 5 лет назад

    LOL, You reminded me of your Light Bulb types, better then the thread in junk here in the U.S. .. Some day I really need to dig into Python. My programing skill are most lacking. Good Stuff from you Sir !

  • @andreranulfo-dev8607
    @andreranulfo-dev8607 5 лет назад +1

    Good to see you again!!

  • @alizee3687
    @alizee3687 Год назад

    Thanks for the video I was looking for a solution to control three motors with a spare Pi 3b+ in my house this tutorial gave me a complete solution as I had never done any programming in Python only thing I need to search on how to change the time delay from seconds to minutes and hours. This is a very good practical example to learn Python and Relay control. Very please to visit your channel and the work you do Thank you very much

  • @prajullas
    @prajullas 5 лет назад +1

    Cool as usual. thanks Sir for the informative video.

  • @tonyweavers4292
    @tonyweavers4292 5 лет назад +1

    Thanks for another great video Chris.

  • @DarrenD777
    @DarrenD777 5 лет назад +1

    Can't wait to see the wireless setup! That idea is cool. :-)

  • @62shalaka
    @62shalaka 5 лет назад +1

    Really great video. You do such excellent work!

  • @wajahatahmad2551
    @wajahatahmad2551 4 года назад +1

    I Am I Love With The Respberry Pi Mini PC. This is Amazing n Superb!

  • @jezzermeii
    @jezzermeii 5 лет назад +1

    Someone's been to Wilko! ;) I used to work as a supervisor at a brand new Wilko store. It was a really fun job. :) An odd thing about Wilko is the variation in customer experience between stores. Some Wilko shops are great and some are really, really poor. Hence the mixed reputation! Thanks for the great video. :) Very inspiring.

  • @migueldias1292
    @migueldias1292 3 года назад +1

    its nice that you included the code with beard numbering as well, thank you!

  • @getyerspn
    @getyerspn 5 лет назад +1

    Gread video .. hopefully this will inspire people..I've done a hell of a lot of home automation now using Esp8266 devices ....I have lots of spare Raspberry Pi 2's ...I think I'll have to have a play ... I would though recommend using a relay board that uses opto-isolators as well.

  • @NewAgeDIY
    @NewAgeDIY 5 лет назад +3

    Interesting project Chris. I can see using it for my work-shop lighting needs. It's available on Amazon.ca sold by Waveshare Raspberry Pi Power Relay Board sold for $33.00 Canadian

  • @benkerr9051
    @benkerr9051 5 лет назад +2

    This is definitely going to be used for controlling lights, fans and pumps in indoor hydroponic gardening setups.

  • @dreamer-1973
    @dreamer-1973 4 года назад +1

    Thanks for the helpful tutorial, I love your educational videos 👍

  • @realevostevo
    @realevostevo 5 лет назад +1

    I love electronics. I wish I would have taken an interest and studied years ago. I really think DYI projects would be a lot of fun but I still have much to learn.

  • @asteele7931
    @asteele7931 5 лет назад +1

    Nice A team and Magyver reference, did not realize y'all had watched that across the pond

  • @old_guard2431
    @old_guard2431 4 года назад +1

    A thoughtful design - you can remove the jumpers on additional boards, rewire and add them on. You can sequence 6 or 9 or more and be assured of being the hit at your next Lightbulb Sequencing Party.

  • @NicoDsSBCs
    @NicoDsSBCs 5 лет назад +2

    Hi Christopher. That is very cool. Nice job. I make a lot of electrical projects(mostly with arduino and esp32), but haven't used mains yet. Everything is 5V for me. This video is great for giving young people an interest in electricity.
    I've ordered the Odroid N2 yesterday. Now 2 very long weeks waiting fr it. Next week I'll make a video about the Orange Pi 3. Last week I made 2 videos, one about a media script for the Rock64 to make video playback better in Linux. And anoher one of Retro PC games on the Raspberry.
    Have a great day, greetings. NicoD

    • @ExplainingComputers
      @ExplainingComputers  5 лет назад +1

      Hi Nico. I should have guessed you wer into Arduino. I look forward to your coverage of the N2. I managed to get a pre-order of a Jetson Nano last week. And will return to the Rock Pi 4 here soon.

    • @NicoDsSBCs
      @NicoDsSBCs 5 лет назад +1

      @@ExplainingComputers That's awesome. I had to choose between the Jetson and the N2. Hard choice. It's an impressive package. But I can use the N2 more. For my needs it should be ideal. I hope the N2 can run Blender stable at 2Ghz on all cores. Then I can use that one for rendering animations with blender together with my RK3399's and NanoPC T3+. I can't wait to have it.
      I wonder how good the Linux support is on the Jetson Nano. Also wonder if Blender would support that GPU. Then it could be a better choice for me. Certainly with blender 2.80.
      Can't wait to see your review on it. Would it be possible to do a simple 7zip benchmark for me of the cpu.
      To install 7zip : sudo apt install p7zip-full
      to run the benchmark on all cores : 7z b
      and to run it on one core :
      sudo taskset -c 0 7z b
      I wonder how an A57 compares with other architectures. Greetings.

  • @techwithblaz
    @techwithblaz Год назад +1

    Thank you! Really nice and useful tutorial!😄

  • @joaquinnunez33
    @joaquinnunez33 5 лет назад +1

    Thanks, always good and interesting videos

  • @teebee5323
    @teebee5323 5 лет назад +1

    “Lightbulb Sequencing Parties”
    yea, hasn't crossed the pond to the states yet, but I'm looking forward, any day now! :D
    A very nice pi script, however as a matter of practice I would put a rest(sleep) cycle in, even if not needed it's a good habit.

  • @saeedhassan7927
    @saeedhassan7927 5 лет назад +1

    dude ur videos are the best

  • @heywood62
    @heywood62 5 лет назад +1

    I am always happy to see another one of your videos. You seem to answer my questions without my having to ask them. Mainly what would I practically use an SMB for after purchasing it? Thanks for another great video and for sharing your vast knowledge with us. P.S.: Could you explain and maybe demonstrate what a Computer cluster is using RPI or any of the boards? I see where people have claimed to have made a cluster and others in comments say it's not. And also what they would be used for. Thanks in advance.

  • @samyojeetdey3889
    @samyojeetdey3889 5 лет назад

    Awesome sir👏👏👏🙂 Waiting for 2nd part

  • @freesaxon6835
    @freesaxon6835 5 лет назад +1

    Useful addition to the Pi, test setup good, no problems, but if the mains HAT is mounted in a permanent position they should have included a isolation strip to cover the mains outlets. ( In a similar way as a mains fusebox )

  • @davidrichmond3709
    @davidrichmond3709 5 лет назад +1

    I've been looking into building a speech timing light for my Toastmasters club. This comes really close to having everything needed. The white bulbs could be substituted with green, yellow and red bulbs.

  • @jonathan-wq8hh
    @jonathan-wq8hh 5 лет назад +1

    Yesss..... i looked around for this code for years

  • @davidvantongerloo1907
    @davidvantongerloo1907 5 лет назад

    super great video, thats my daytime job by siemens a'm a engineer for trafic lights here in belgium.

  • @IEnjoyCreatingVideos
    @IEnjoyCreatingVideos 5 лет назад

    Great video Chris! Thanks for sharing it with us. 👍😎JP

  • @fixed.computer
    @fixed.computer 5 лет назад +2

    Hello Christopher from the US. I’ve been watching your videos for awhile and of course, I subscribe to your channel. I love this idea for a new series of projects for Raspberry Pi! I’ve got several Raspberry Pi Zero, Zero W, Zero WH, 3b and 3b+ and I’m constantly tinkering with them. I noticed in your video you referred to the black metal parts that you screwed into the backside of the HAT as “risers”. Over here in the US we call those “standoffs.” It might also be helpful to note where you can purchase these. Thanks so much for your videos. I’m always looking forward to the next one.

  • @stanisawszczypua9076
    @stanisawszczypua9076 5 лет назад +2

    Nice, thats a proper video :) Maybe one of future episodes could be about Raspberry Pi Hi-Fi audio HAT ?

  • @thebasicmaterialsproject1892
    @thebasicmaterialsproject1892 5 лет назад +1

    Love it. Love the intro music

  • @MegaManNeo
    @MegaManNeo 5 лет назад

    I'm not creative at all when it comes to the GPIO on my Pis thus all my projects so far are purely software based.
    Also that's the reason I've purchased no Arduinos so far.
    But your video got me thinking, not just for an anti-thief construction but home automation in general.
    Now I'm excited to see more videos in that series, maybe I can still make good use of my older Pis (starting with the 1B model that still uses full size SD cards) that I refuse to give away :)

  • @apoch003
    @apoch003 5 лет назад +1

    Always entertaining stuff, if a little weird on the subject. I'm hooked. Seems to me you could just buy a wall timer that plugs into the mains, and then plug the lamp into the timer.

    • @ExplainingComputers
      @ExplainingComputers  5 лет назад

      A wall timer would indeed be a better option for controlling one lamp. But the more lamps are added, and the more sophisticated control required, the greatest benefits of computer control. :)

  • @tomsubsailor7314
    @tomsubsailor7314 5 лет назад +1

    Outstanding! Thanks so much for the information You have a new sub!

  • @PeetPeeet
    @PeetPeeet 2 года назад

    Edit: Hi Chris sorry if the comment seemed impolite - I really enjoy your videos they’re fantastic :)
    My Pi1 (bought for £10 off eBay) does not run some later OS versions and the GPIO programming is different to yours pictured as a result, cannot update or the kernel doesn’t run my Wi-Fi adapter… I was only trying to share my experience with setting up relays. I am programming for the first time… very unfamiliar with the lexicon and electronics as a whole but enjoying the learning experience. I have three types of relay now and 3 types of DC-DC booster / transformer to try. I’ll post a video of my own when the project is done. Thanks!

    • @ExplainingComputers
      @ExplainingComputers  2 года назад +1

      This is very strange and I think not entirely accurate. Others please note that the "GPIO coding language" is not dependent on the Raspberry Pi model used. The version of Python available in Raspberry Pi OS (formerly Raspbian) has changed over the years, but all Raspberry Pi models can run the same version. So this is an issue of keeping the software on a Pi updated.
      On the voltage issue, the GPIO pins on a Raspberry Pi output 3.3 volts at very low current, and absolutely cannot be used to directly control a relay (or indeed any other electrical component). GPIO pins are for the control of low-current electronic devices only, and are very likely to be damaged if high-current devices are connected. So a relay control board will always be needed. This video shows a Pi fitted with a suitable board. To be clear, do not connect relays directly to GPIO outputs, as not only will it not work, but it is likely to damage the Pi.

    • @PeetPeeet
      @PeetPeeet 2 года назад

      @@ExplainingComputers ruclips.net/video/BzpOHSaiQTg/видео.html