Raspberry Pi Robotics #5: Line Follower

แชร์
ฝัง
  • เผยแพร่เมื่อ 27 ต.ค. 2024

ความคิดเห็น • 233

  • @umutcansahin2596
    @umutcansahin2596 7 ปีที่แล้ว +29

    Christopher your projects should be taught in every school. All of it really insipiring things. Good work !

  • @maicod
    @maicod 7 ปีที่แล้ว

    I've always admired your squeeky clean looking videos and now I realize you use ALOT of lights/watts to acomplish that. Professional !

  • @resrussia
    @resrussia 7 ปีที่แล้ว +10

    I really enjoyed the Zumo / Raspberry Pi robotics project. Keep up the good work.

  • @MadMike93
    @MadMike93 7 ปีที่แล้ว +11

    So interesting)) In Soviet Russia we build robots with caps, transistors, diodes and vodka)) And I bought raspberry pi 3 B few month ago for changing this)) awesome thing for smart home)))

  • @EmoryM
    @EmoryM 5 ปีที่แล้ว +1

    I'm finally getting around to fulfilling my childhood dream of building a robot so I hope you consider continuing this series. I didn't go with a kit, I'm sticking a Pi Zero W into a Tamiya Arm Crawler. Going to try controlling it with a Samsung Gear VR controller (it was $2!) Not sure what to do beyond that, I went ahead and bought distance and temperature sensors as well as an 84x48 Nokia screen. Thanks for all the content, I hope your foot is better.

    • @ExplainingComputers
      @ExplainingComputers  5 ปีที่แล้ว

      Thanks for this. My foot is improved. :) Sounds like you are building a great robot. I continued with a new robot, first video here: th-cam.com/video/DyQxvfwQbTg/w-d-xo.html

  • @conget
    @conget 3 ปีที่แล้ว +2

    Nice video once again!
    Even though I havent build one myself, I could feel a moment of delight when the linewalker works. And all of a sudden, tons of new ideas suddenly came up to my mind

  • @miles1462
    @miles1462 4 ปีที่แล้ว +2

    Moving from Arduino to raspberry pi, amazing series!

  • @nasim3269
    @nasim3269 3 ปีที่แล้ว +1

    The sensors enable such a simple algorithm. Brilliant!

  • @reggiep75
    @reggiep75 7 ปีที่แล้ว +1

    Always love the videos on this channel, no matter what they are.
    Maybe some Big Trak style keypad control, to tracked robot projects, might bring back memories for some of us 70's/80's kids.

    • @ExplainingComputers
      @ExplainingComputers  7 ปีที่แล้ว +2

      Cool idea, I think the Devastator robot will take things in that direction! :)

  • @scramblbotrobotics4638
    @scramblbotrobotics4638 5 ปีที่แล้ว +2

    I have been watching and rewatching this series, it is amazing great work!

  • @mike_vahemoubayed8099
    @mike_vahemoubayed8099 5 ปีที่แล้ว +1

    I really loved this series if you can bring it back.

    • @ExplainingComputers
      @ExplainingComputers  5 ปีที่แล้ว

      I will continue to make robot videos -- they continues in my "Devastator" series: th-cam.com/video/DyQxvfwQbTg/w-d-xo.html

  • @Fattydeposit
    @Fattydeposit 7 ปีที่แล้ว +7

    This is the most badass thing I've seen for ages

  • @chriholt
    @chriholt 6 ปีที่แล้ว

    So much fun Chris. Buying a Raspberry Pi was one of the best and most fun things I have done.

  • @johnweller5491
    @johnweller5491 4 ปีที่แล้ว +1

    Brilliant! I bought a raspberry pi to play with during lockdown and have been hooked!!

  • @Datan0de
    @Datan0de 7 ปีที่แล้ว +1

    Really enjoying this series. Thank you for doing it all step by step. This has been very instructional!

  • @oxto32
    @oxto32 5 ปีที่แล้ว +1

    Christopher your video is clear and perfect. I follow it and repeat the same thing for my son. Will you plan to prepare another video demo how pi communicates with pca9685 and servos?

  • @dirk4926
    @dirk4926 7 ปีที่แล้ว +3

    I always learn stuff from your videos.

  • @smada36
    @smada36 7 ปีที่แล้ว +1

    Fantastic!
    Maybe the next step is to get the ride a bit smoother. I wonder if you can use four sensors to allow the robot to know if it is starting inside or outside the track.
    I guess we shouldn't be surprised if soon we see Render Box thumping down the road to pick up the weekly shopping.

  • @jackshihtaken
    @jackshihtaken 6 ปีที่แล้ว +1

    I hope to be doing this project with my dad sometime next year. Thank you for the inspiration!

  • @PU7MZD
    @PU7MZD 7 ปีที่แล้ว +1

    Great work, amazing video! My sundays are always fun and educative thanks to you. Can't wait to see the devastator.

  • @HKey_Root
    @HKey_Root 4 ปีที่แล้ว +1

    Truly wonderous. Every day's a school day. Thank you.

  • @Inaflap
    @Inaflap 7 ปีที่แล้ว +19

    @5:22 That 10K resistor has managed to get its leg over. That's how they make the smaller resistors.

  • @TechBuild
    @TechBuild 5 ปีที่แล้ว +2

    The tutorial was great but, will I need to connect a display and a keyboard every time after powering up the robot and run the program?

    • @ExplainingComputers
      @ExplainingComputers  5 ปีที่แล้ว +2

      As things are left in this video, yes. But you can set the code to run on boot -- a process I show in this video: th-cam.com/video/j6mglfhWZrQ/w-d-xo.html

  • @MrLiefather
    @MrLiefather 6 ปีที่แล้ว +1

    That's interesting and incredibly simple way of getting analog type sensor work with raspberry without ADC converter :)

  • @mritunjay3723
    @mritunjay3723 4 ปีที่แล้ว +1

    Thats a brilliant start for me sir ...Thanks a lot

  • @alihssain9264
    @alihssain9264 5 ปีที่แล้ว +1

    Sir, I'm Happy to founded your channel !

  • @MrPenguin098
    @MrPenguin098 7 ปีที่แล้ว +3

    Great video! And a nice learning project. The next one is awesome. Hope you add a wireless camera.

  • @frozensolidupnorth
    @frozensolidupnorth 7 ปีที่แล้ว

    Very cool Christopher. I always enjoy your videos. Do you do any work with the Raspberry Pi Foundation? This seems to be something they could use?

  • @HarryBrentonMusic
    @HarryBrentonMusic 7 ปีที่แล้ว +1

    Thanks for making these vids they are helping me to build my own mini sumo robot

    • @ExplainingComputers
      @ExplainingComputers  7 ปีที่แล้ว +1

      Excellent! This is what TH-cam is all about -- sharing ideas. Good luck with your robot.

  • @zenzen2114
    @zenzen2114 6 ปีที่แล้ว +1

    Hi I am currently testing various True False settings for GPIO. Perhaps there would be some protection against giving 2 high levels per engine? Now, I make sure that this is not the most expensive line of code in my life :) I wonder what would happen 2 high states for one engine? True forward True back? I have a book David Cook "Robot Bulding" There is something about H bridges.

  • @maniacatthecontrols
    @maniacatthecontrols 7 ปีที่แล้ว +1

    Brilliant! I can understand your satisfaction with this. TH-cam needs a "Like very very much" icon.

  • @MicrobyteAlan
    @MicrobyteAlan 4 ปีที่แล้ว +1

    Great series, good build. Do I get extra credit for watching all 5 episodes in proper sequence? Thanks

  • @zenzen2114
    @zenzen2114 6 ปีที่แล้ว +1

    Well, thanks to you, I built my first programmable machine.

  • @skullteria
    @skullteria 7 ปีที่แล้ว +1

    I built something like these a few years ago. Implemented a algo for a maze solving. It was rlly fun :).

  • @Bradrbetts1957
    @Bradrbetts1957 7 ปีที่แล้ว +2

    Hello Really great project, I'm going to do this with my boys, Just 1 question the plasticard you used how thick is it ??

  • @useless2551
    @useless2551 7 ปีที่แล้ว +1

    Thanks for the video!I made this with the Pi Zero.Quite slow though but still awesome!

  • @solomonrajkumar5537
    @solomonrajkumar5537 6 ปีที่แล้ว +2

    Thanks so very much Sir!!! this really explained scientifically!!! appreciate you incredible video hats-off

  • @cyber752
    @cyber752 7 ปีที่แล้ว +1

    It's very cool, man. continue don't stop you're awesome.

  • @manojbiswakarma
    @manojbiswakarma 7 ปีที่แล้ว

    You are awesome. Videos are really very very good with easy and simple explanation. I have seen some but I have to complement yours are the best one I have ever seen. Though I am new to robotic but was always very eager to learn and build one myself. After seeing the video I am building one myself following your instructions. Thank you once again.
    Was wondering if you have any plans to build a "Self Balancing Robot" in near future. I would be very much interested.

  • @FahadMoe
    @FahadMoe 7 ปีที่แล้ว +1

    Thank you for all of your project.

  • @VMFRD
    @VMFRD 7 ปีที่แล้ว

    Great video! I'm wondering, how reliable is the Raspberry Pi in terms of the O.S.? I mean, can it run a critical task, lets say for a automation? Tks.

    • @ExplainingComputers
      @ExplainingComputers  7 ปีที่แล้ว

      The Pi, running Raspbian at least, is very stable -- so should be fine for automation.

    • @fersunk
      @fersunk 6 ปีที่แล้ว

      If critical tasks means time related tasks, it's better a Real Time OS (so you will need a microcontroller).
      Because this is a Multitasking OS and have more latency by the way it works, so can't keep up with the timings

  • @jinto12
    @jinto12 7 ปีที่แล้ว +2

    wow that devastator looks pretty neat

  • @CollinSale
    @CollinSale 7 ปีที่แล้ว +1

    Great Video, Thanks a Lot.
    Could I request that you use the LattePanda inside the devastator model?
    It fits in (I tried myself) but I never got very far with it. I was thinking to stick the "dream cheeky thunder" on top of it and use VisualStudio C# (and the firmata for the Leonardo) directly on the LattePanda.

    • @ExplainingComputers
      @ExplainingComputers  7 ปีที่แล้ว

      I may well try this, though will start with a Pi Zero W.

  • @krishnarajs449
    @krishnarajs449 7 ปีที่แล้ว +1

    Cool explanation.
    Thank you

  • @manojbiswakarma
    @manojbiswakarma 5 ปีที่แล้ว +1

    Hey Chris, I just want to say thank you for the amazing explanation and video, in fact honestly after watching your video I got inspiration and confident to build one myself and now I want to take one step ahead on robotics field. I am trying to build a self balancing robot just like Zumo but on 2 wheels. There are tons of videos I have seen but the place where I am lost and am trying to understand and get help is with the Gyro chip MPU-6050 for balancing and moving the robot fwd/backward/turns etc. I am not sure how to read, understand them and then use those with the wheel movement using raspberrypi and its coding. Can you please make a video on "Self Balancing Robot" and share you knowledge and views so that it can help.
    By the way I did used both raspberry Zero W and Orange pi to build my Zumo robot, in fact I also used the IR receiver of Orangepi to control the movement using an ordinary remote control of an LED light bulb which works great and good thing about it is you can bypass the wifi internet connectivity once you boot and start the IR process since after that you can control it with the remote and play with it anywhere outside the wifi network. It felt great :) and thank you for this.

  • @simon5143
    @simon5143 7 ปีที่แล้ว +1

    Cute line following robot to tanks with a evil face on it! Can't wait!

  • @mlhm5
    @mlhm5 7 ปีที่แล้ว

    what kind of battery pack should you have to run the Rasberry Pi plus a hat amp like the HiFiBerry?

  • @rtesimpson
    @rtesimpson 7 ปีที่แล้ว +3

    I expect you can also do all this using the Arduino?... am I right?

  • @waltercomunello121
    @waltercomunello121 4 ปีที่แล้ว +1

    I use to complain about using microcontrollers instead of full fledged computers (I consider SBCs as such) when people do "simple projects" like this. But this time, watching that little robot following a line without external guidance, I am wondering, "am I thinking right?" My remarks (I've got A LOT of them) all have something to do with code complexity and power efficiency, but the results can be the same.
    I can conclude this: *First, make it work. Then, make it more efficient.*

  • @yazid4158
    @yazid4158 7 ปีที่แล้ว +1

    great vid. hopefully in future you will make tutorial on line following using OpenCV =)

  • @EndarkenShrine
    @EndarkenShrine 7 ปีที่แล้ว +2

    Are we looking at a BattleBots-worthy contraption in the future?

    • @ExplainingComputers
      @ExplainingComputers  7 ปีที่แล้ว +1

      Perhaps! The Devastator is a (small) step in that direction . . .

  • @southsidedojo2
    @southsidedojo2 7 ปีที่แล้ว

    WOW! Yes Chris this was awesome!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

  • @dimitartodorov7479
    @dimitartodorov7479 7 ปีที่แล้ว +1

    Nice vid as always!

  • @adhirathaa100
    @adhirathaa100 5 ปีที่แล้ว +1

    Sir could you make a video by replacing the 4pin sensor with 3pin sensor

  • @kinkly777
    @kinkly777 5 ปีที่แล้ว +1

    with the line following your example only turned Left in example try changeing the the line on floor that includes Left and right turns as well as what happens when the track crosses itself.

    • @ExplainingComputers
      @ExplainingComputers  5 ปีที่แล้ว

      Wow! I never thought of that! So obvious now you say it. I should have had a different track. :(

  • @khuonkhuoy9580
    @khuonkhuoy9580 7 ปีที่แล้ว

    My teacher in Cambodia, I want you to make a video about how to write code
    Two, because I do not know how to write code.
    I'm thankful for you!

  • @mtbevins
    @mtbevins 7 ปีที่แล้ว

    Thanks for another great video. :)

  • @bipulkumar9254
    @bipulkumar9254 6 ปีที่แล้ว

    It's Awsome ! I would happy to perform this :)

  • @jesperhaggqvist6039
    @jesperhaggqvist6039 6 ปีที่แล้ว

    Hey, thanks for the inspiration, i created a similar project but with a flask webserver where you can control the robot from!

  • @WhatsUpWithSix
    @WhatsUpWithSix 6 ปีที่แล้ว +1

    What is the blue putty substance you are using?

    • @ExplainingComputers
      @ExplainingComputers  6 ปีที่แล้ว

      It is called Blu Tack.

    • @WhatsUpWithSix
      @WhatsUpWithSix 6 ปีที่แล้ว

      ExplainingComputers thanks. I haven't ever seen it or heard of it. I will have to search for it. Thanks!

  •  7 ปีที่แล้ว +1

    Chris, thanks for the videos. E.C. Rocks! :)

  • @mikehamad955
    @mikehamad955 7 ปีที่แล้ว +1

    Do you think you can give Orange-pi another chance?

    • @ExplainingComputers
      @ExplainingComputers  7 ปีที่แล้ว +2

      Oh yes, I most certainly will! :) Not least with Armbian. :)

  • @glennaa11
    @glennaa11 5 ปีที่แล้ว

    this is brilliant. I'd been wondering what you can do with these little sbc things and this gives some interesting possibilities. Makes me wish I had a kid to teach this to. :-)

  • @ahmadrajpoot4162
    @ahmadrajpoot4162 7 ปีที่แล้ว +1

    Good job man

  • @pranavupadhyay2413
    @pranavupadhyay2413 7 ปีที่แล้ว +1

    THANKS FOR SUCH AN AMAZING VIDEO ITS REALLY SIMPLE WHEN U EXPLAIN IT WOULD BE GREAT IF U MAKE AI USING RASPBERRY PI 3 THANK U AGAIN

    • @ExplainingComputers
      @ExplainingComputers  7 ปีที่แล้ว

      I hae put the Alexa AI on a Raspberry Pi 3 in another video here. I must do Google Assistant sometime too!

  • @diemc7a1
    @diemc7a1 7 ปีที่แล้ว

    The legend says he will answer every complicated tech question, asked in the first hour after uploading.

  • @trevortaylor1169
    @trevortaylor1169 6 ปีที่แล้ว

    Fabulous stuff. Love it. Can you please point us to a circuit diagram (not proto board layout) of the ir emitter/sensor and resistors. The inner nerd is pestering!

  • @robertpendergast2620
    @robertpendergast2620 7 ปีที่แล้ว

    Hi--what do you think about GPIOZero? Will it continue to be developed or is it a done deal to introduce physical computing?

    • @ExplainingComputers
      @ExplainingComputers  7 ปีที่แล้ว +1

      I struggle to see the real benefit of GPIOZero. It makes coding GPIO stuff a little easier, nut abstracts the user away from 'real' GPIO coding.

  • @KowboyUSA
    @KowboyUSA 7 ปีที่แล้ว +2

    DFRobot Devastator!!

  • @bukanfery1615
    @bukanfery1615 7 ปีที่แล้ว +2

    Sir, please make some project using raspberry pi for POS (Point Of Sale) in retail shop.
    Thanks

  • @mattz788
    @mattz788 7 ปีที่แล้ว

    where do you get the pulldown resistors Christopher

  • @luckystickerco.7549
    @luckystickerco.7549 7 ปีที่แล้ว +1

    How exactly did you mount the sensors? Can you explain on your Facebook share of this video?

    • @ExplainingComputers
      @ExplainingComputers  7 ปีที่แล้ว +4

      I drilled and opened out two holes/slots for each sensor, which accommodated the two jumper leads at either "end" of the sensor. The two wires per hold (four per sensor) were then threaded through, attached to the sensor, and threaded "back", as it were, so that jumper lead socket ends (as attached to the sensor) held in place within the hole. So no other mounting was required -- they just held in place -- and this allowed easy height adjustment.

  • @CrypticConsole
    @CrypticConsole 6 ปีที่แล้ว +1

    Is there a way to use ssh and the desktop
    I'm not great at co I so would prefer to be able to use a remote gui rather than remote cli

    • @ExplainingComputers
      @ExplainingComputers  6 ปีที่แล้ว

      There is indeed -- see the previous video! th-cam.com/video/44yNbFictEg/w-d-xo.html

  • @existentialcrisis9757
    @existentialcrisis9757 7 ปีที่แล้ว

    i would definitely love to make a raspi zero w controlled robot.Unfortunately raspi zero w isn't available in my country. Buying it from a different country is not an option for me as Shipping charges would kill me:D

  • @sterstam9185
    @sterstam9185 7 ปีที่แล้ว +1

    That's lovely!

  • @jesperhaggqvist6039
    @jesperhaggqvist6039 6 ปีที่แล้ว +2

    Hey is there anyway of contacting you by email?
    I was wondering if it would be ok to post the pictures of the schematics of this on my website for a writeup of my version of this robot.
    Jesper.

    • @ExplainingComputers
      @ExplainingComputers  6 ปีที่แล้ว

      Thanks for this. You can contact me via a direct message, or the e-mail contact here on TH-cam on the channel page. But I am happy for you to reproduce the diagram from my web page here -- www.explainingcomputers.com/rasp_pi_robotics.html -- on your web page providing that you acknowledge the source and include a link to my page.

  • @aniketrajput3258
    @aniketrajput3258 6 ปีที่แล้ว +1

    Where should I get same track belt in india

  • @scottwatschke4192
    @scottwatschke4192 7 ปีที่แล้ว +1

    Amazing.

  • @celestialode
    @celestialode 7 ปีที่แล้ว +2

    Brilliant!

  • @mystery_1101
    @mystery_1101 ปีที่แล้ว +1

    Hey please reply, can i use a ir sensor?

    • @ExplainingComputers
      @ExplainingComputers  ปีที่แล้ว

      Yes, you can use an IR sensor. But in the video I am using an IR sensor! :)

  • @MCcreedLP
    @MCcreedLP 7 ปีที่แล้ว +1

    a very good video thank you :)

  • @EnderCrypt
    @EnderCrypt 7 ปีที่แล้ว +1

    hey, thats pretty good!

  • @kprawat8467
    @kprawat8467 5 ปีที่แล้ว +1

    which model of raspberrypi is use in this buggy

    • @ExplainingComputers
      @ExplainingComputers  5 ปีที่แล้ว +1

      It is a Raspberry Pi Zero, but any model could be used.

  • @eshwaarpalani6730
    @eshwaarpalani6730 6 ปีที่แล้ว

    Excuse me, Christopher. Are those optical sensors only able to sense the colors black and white, or can they sense all the other colors?

    • @ExplainingComputers
      @ExplainingComputers  6 ปีที่แล้ว

      You are right, they sense light intensity -- luminance, not chromiance. However, with the use of coloured gels, you could potentially use such a sensor to react to one colour spectrum alone.

    • @eshwaarpalani6730
      @eshwaarpalani6730 6 ปีที่แล้ว +1

      Thank you for the information. Can you please give me a brief explanation about this coloured gel? Other than that, thank you again.

    • @ExplainingComputers
      @ExplainingComputers  6 ปีที่แล้ว

      The gel would need to be pure reg, blue or green and used to cover the receiver part of the sensor -- like the lighting gels used on stage or movie lights perhaps.

    • @eshwaarpalani6730
      @eshwaarpalani6730 6 ปีที่แล้ว

      If the gel is used like you said, then I'm guessing it will be able to detect the gel's color and it's inverted/reversed colors. If so, Thank you very much for the information.

  • @rubixsolvezzz_4346
    @rubixsolvezzz_4346 7 ปีที่แล้ว

    do you think it would be possible to replace the insides of a 3ds with a raspberry pi, and still using the battery, screen and controls? i have a broken 3ds and i was wondering if it is worth a try.

  • @Priyanka-bc8yr
    @Priyanka-bc8yr 6 ปีที่แล้ว +1

    sir could you please make this robot able to identify distance.

  • @Tangobaldy
    @Tangobaldy 7 ปีที่แล้ว +1

    26th. Great video

  • @vidhyasuhaskumbhar3333
    @vidhyasuhaskumbhar3333 5 ปีที่แล้ว +1

    Why don't you make the zumo bot into a anatoumous rover

  • @YOSI7590
    @YOSI7590 7 ปีที่แล้ว

    greet tutorials.
    where i can by all the stuff??
    ty

  • @Tarbard
    @Tarbard 7 ปีที่แล้ว

    The devastator looks cool.

    • @ExplainingComputers
      @ExplainingComputers  7 ปีที่แล้ว +1

      And there are so many cool (metal) parts inside the box. And lots of gears! And very large motors . . . :)

  • @mattz788
    @mattz788 7 ปีที่แล้ว

    can i have a link to those sensors

  • @KuntalGhosh
    @KuntalGhosh 7 ปีที่แล้ว

    i found a ups for free with a bad battery . just before buying a new battery i hought lets give this 14.4v with 10amp because a battery cost 15$ and as soon as i powered on it showd 172volts 250hz on the out put so i put a 22w fan and the voltage rise to 190v and 2 amps were drawn then i put 2mobile charger and it rise to220 then i plugin in my pc and monitor and it quickly got to250v and 4 amps were drawn.. i got worried about the voltage and started lowering the input voltage but the out put voltage keep riseing so i got it to16v and it gone down to 220v then i switch on my pc and my psu cant give 12amps so i stop the test .. now i want to know what wrong with it .. it is a very cheap ups . i have no ups on my pc and should i get a new 1000va apc ups or repair this junkyard ups or search for another junkyard ups??and with higher load the frequency also got at 54hz

  • @robmyers2625
    @robmyers2625 5 ปีที่แล้ว

    I'm in need of help with this particular code/board setup. With the same Adafruit sensor but a different GPIO pin used, I can only get a repeated BLACK or WHITE response during testing. I've tested the sensor, and it indeed is emitting an IR light, so I can only assume the issue lies with detecting the light (GPIO in?). I have a Raspberry Pi 3 B+ running Raspbian and a 4-motor chassis with each of 2 L298Ns powering 2 motors each, thus I'm using 8 GPIO pins for motor control alone. With the Adafruit sensor, I've tried utilizing GPIO pins 29 and 37, with only a BLACK or WHITE response. Can you help, please :) I'm attempting to run this code as a test, so I help my daughter with a school coding project.

    • @ExplainingComputers
      @ExplainingComputers  5 ปีที่แล้ว

      It may well be your ambient lighting, the location of the sensors (height), something like that. You may need to experiment with the sensors in place on the robot. Good luck!

    • @robmyers2625
      @robmyers2625 5 ปีที่แล้ว

      @@ExplainingComputers Thanks Chris. Im wondering if I can send you a picture of my breadboard wiring for review? Admittedly Im no good at understanding resistors and I feel that maybe I have over/underpowerful resistors being used? Been working at the code and wiring for two days and can't figure it out. Any help is appreciated!

    • @robmyers2625
      @robmyers2625 5 ปีที่แล้ว +1

      @@ExplainingComputers Actually I just saw your note about not offering technical support due to volume, so no worries. I'm working at it again now, and am using your code verbatim but only receive a repeated "white" response. Even if I cover the sensor fully (eliminate all light), I get the same response. I'm trying multiple sensors with the same result. Clueless.

    • @ExplainingComputers
      @ExplainingComputers  5 ปีที่แล้ว

      @@robmyers2625 If you can get the black/white result during testing, then the sensor (emitter and receiver) must the working, and the connections to it also. Are you saying you receive a white response only when the sensor is on the robot, but black/white in the earlier test?

    • @robmyers2625
      @robmyers2625 5 ปีที่แล้ว +1

      @@ExplainingComputers No, the Black or White response I got had something to do with the different GPIO pins I tried. Alas, it's working now, i simply had to show the sensor a contrasting color (actual white vs. actual black, not just ambient white light vs. my finger over the sensor). Now onto the 2nd sensor and pin 16. Thank you Christopher for the assist! Cheers!

  • @mschaffer2826
    @mschaffer2826 7 ปีที่แล้ว +1

    Can you show how to make this program run every time the Raspberry Pi is started without having to tell it to start?

    • @ExplainingComputers
      @ExplainingComputers  7 ปีที่แล้ว

      I will be covering that in a video in December. :)

    • @mschaffer2826
      @mschaffer2826 7 ปีที่แล้ว

      Great. Thank you so much.

    • @mschaffer2826
      @mschaffer2826 7 ปีที่แล้ว

      I am making a wireless security gate controller that I want to activate via text messages. It is in a place where wifi is unavailable. I plan to be able to turn relays on and off briefly and for a set period of time. If there is any help you can give on this project it would be greatly appreciated.

  • @wavesofintelligence
    @wavesofintelligence 7 ปีที่แล้ว +3

    Upgrade it with a raspberry pi zero w.

  • @zenzen2114
    @zenzen2114 6 ปีที่แล้ว

    Hi I've done almost all the tasks. I do not know how to connect your programs to the program from Simon Monk"'Raspberry pi Cookbook". Distance measurement with a ultrasonic distance meter HC SR-04. That the robot would be twisted 25 cm from the wall.Help. Can you change the last line instead of print to give a command to gpio? Just what to do with the last line (time.sleep(1))?

    • @ExplainingComputers
      @ExplainingComputers  6 ปีที่แล้ว

      I do not know that book I'm afraid.

    • @zenzen2114
      @zenzen2114 6 ปีที่แล้ว

      OK. There is such a variable distance_cm = pulse_len /0.0000058 I think. I will add an if operator to this variable.

    • @zenzen2114
      @zenzen2114 6 ปีที่แล้ว

      Detriment. In these books I read. They write that an infinite loop is a mistake, and I need an infinite loop for the robot

  • @CommanderCrash
    @CommanderCrash 7 ปีที่แล้ว

    Very good.

  • @amrsayed3033
    @amrsayed3033 5 ปีที่แล้ว +1

    what about line follower robot with camera using open computer vision library.

  • @mikew8100
    @mikew8100 7 ปีที่แล้ว +1

    Neat Stuff! tanks!

  • @giveaway4002
    @giveaway4002 7 ปีที่แล้ว +1

    good sir , it's really working as you programmed in real world , sir can we get it's code on GitHub? and sir can this program (code) generate a log type file which stores its movements (like turn right, move forward ). Sir, I asked this because while coming to the curve path , it might turned a little bit then it moved forward, then turned a little bit, this process would be going on till it ended that curve path. really good piece of tech and code you put on that pi zero. But after all really happy seeing all this. 😀😀😀😀

    • @ExplainingComputers
      @ExplainingComputers  7 ปีที่แล้ว +1

      Thanks for this. All of the code for my Pi Robot videos is on the webpage shown in the video: www.explainingcomputers.com/rasp_pi_robotics.html

    • @giveaway4002
      @giveaway4002 7 ปีที่แล้ว +2

      Thanks sir