Тёмный

Raspberry Pi Devastator Robot #2 

ExplainingComputers
Подписаться 1 млн
Просмотров 285 тыс.
50% 1

Improving my Devastator Raspberry Pi Zero W robot, including running the Python code on boot, tightening the tracks, and powering from one set of batteries. This video is a follow-up to: • Raspberry Pi Devastato...
IMPORTANT NOTE:
On October 30th 2021, a new version of Raspberry Pi OS was released known as “Bullseye”. This has new camera drivers that are not compatible with the Python camera code demonstrated in this video. Sorry. If you are running the version of Raspberry Pi OS known as "Buster", or an earlier version, things should work just fine. I discuss the matter in depth in my video here: • Video
You can find more information on the DFRobot Devastator robot platform here: www.dfrobot.co...
And purchase it on Amazon.com here: amzn.to/2zkEKvq
The code and motor controller sections of this video refer back to content that I covered in “Raspspberry Pi Robotics #3: Keyboard Control”: • Raspberry Pi Robotics ...
I have also placed the wiring diagram and code on this page:
www.explainingc...
More videos on the Raspberry Pi, robotics, AI and other computing-related topics can be found at: / explainingcomputers
You may also like my ExplainingTheFuture channel at: / explainingthefuture

Наука

Опубликовано:

 

20 авг 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 461   
@nixuser1980
@nixuser1980 6 лет назад
I have a lot of respect for this guy and his videos; great quality.
@lominero5
@lominero5 6 лет назад
Completely agree, bringing creations from computer code to the physical world is very satisfying.
@keithd5181
@keithd5181 5 лет назад
Great video Christopher. I am running the later 3.5.3 version of Python and I found that the autostart file was in a different location from your older version of Python in the video so I had to search for it. I also found that the autostart file was write protected so I had to change the file permissions so I could write to the file and save it. Here are the steps to help others... I am jumping around between the different windows here... First, search for the autostart file, on the 3.5.3 version of Python (or whatever version you have installed)... sudo find / -name autostart My search result was: /etc/xdg/lxsession/LXDE-pi/autostart Then, select "File" At top left of screen. Select "Open". Change directory to /etc/xdg/lxsession/LXDE-pi/ Change the "Files of type" field to "All files (*)". To make the autostart file writable, (if required) change the file permissions with the following two lines... cd /etc/xdg/lxsession/LXDE-pi sudo chmod a+w autostart Select the "autostart" file. Open the "autostart" file. Type in the following after the existing lines... @lxterminal -e /home/pi/Python_Code/bootup.sh Note: The "-e" means the following file "bootup.sh" will run in the terminal window. Select "File" At top left of screen. Select "Save". To test, reboot the Pi. Hope this helps someone out there save some time in finding the autostart file and make it writable!
@ExplainingComputers
@ExplainingComputers 5 лет назад
Thanks for posting this, very helpful. :)
@domecc
@domecc 5 лет назад
Thanks! This problem has been bothering me for a long time.
@arnavsharma3471
@arnavsharma3471 4 года назад
Thanks for solving this problem.
@reynaldregnus6611
@reynaldregnus6611 4 года назад
What worked for me was writing this code @lxterminal -e /home/pi/Python_code/.shl and not ".sh". No quotations. Accordingly, you need to change the file name to bootup.shl. Struggled to get this working, after sifting many blogs were this same problem was reported and trying a lot of variants of the expressions, finally nailed it. It has been a great project, my son is very happy of his tank. Thanks a lot Chris!
@cliveslandy8366
@cliveslandy8366 4 года назад
great project i've got it sorted apart from boot up I'm using Thonny and found autostart file /home/pi/,config/autostart where the file LXinput-setup,desktop comes up I'm unsure what command lines to input /delete any help would be great
@Red-dz9et
@Red-dz9et 6 лет назад
Its kinda funny that the raspberry pi is a lot more powerful than a computer sized an entire room from the 80s
@maxmustermann1455
@maxmustermann1455 6 лет назад
vk5tu.livejournal.com/50955.html The Model B+ is about as powerful as a 1988 Supercomputer. Therefore the Zero W featured in this video is less powerful. But fair enough, you said "raspberry pi" without specifying the model. A Raspi 3 would smash that thing.
@ExplainingComputers
@ExplainingComputers 6 лет назад
The Pi Zero W has the same SoC/CPU as the Model B+, but is clocked at 1GHz, rather rhan 700MHz, so is more powerful in many regards. Great 1988 supercomputer comparison.
@santhoshsamuel1055
@santhoshsamuel1055 5 лет назад
What abot pi 4??? It's even powerful than today's entry level PCs
@k1ng401
@k1ng401 5 лет назад
Th info about powering the pi from the battery back is such great information that can be used over and over again in so many different projects.
@KowboyUSA
@KowboyUSA 6 лет назад
Nothing says Christmas quite like a Devastator robot!
@ExplainingComputers
@ExplainingComputers 6 лет назад
:)
@perrymcclusky4695
@perrymcclusky4695 6 лет назад
Looking forward to you next video on this project. I liked your testing it outside. Nice touch. Merry Christmas!
@cprogramming5640
@cprogramming5640 6 лет назад
Thank you for another excellent video. The bright green eyes are too cool. Thanks for covering the boot script details. This is lacking in so many other tutorials. Learned a lot. Merry Christmas.
@ExplainingComputers
@ExplainingComputers 6 лет назад
Merry Christmas!
@mechaform
@mechaform 3 года назад
Outstanding presentation. Clear and concise. Thanks for considering the overscan issue for those of us casting to TVs.
@ExplainingComputers
@ExplainingComputers 3 года назад
A great many thanks for this -- I'm glad that somebody appreciates my attention to the safe title area for TV viewing. :)
@SergiuszRoszczyk
@SergiuszRoszczyk 6 лет назад
Nice video. It’s good to see it on this channel. It gives explaining computers a deeper meaning. Merry Christmas!
@ExplainingComputers
@ExplainingComputers 6 лет назад
Thanks and Merry Christmas. :)
@sarge12k
@sarge12k 6 лет назад
Thank you for the Pi robotics videos! They've helped me finish my Pi Zumo. I'll be moving on to the Devastator these summer hols!
@ExplainingComputers
@ExplainingComputers 6 лет назад
Glad to hear that you are Pi robot building too. :)
@BuzZ.
@BuzZ. 6 лет назад
Wow ! I was waiting for this video😊 And Merry Christmas
@ForViewingOnly
@ForViewingOnly 6 лет назад
Merry Christmas, Christopher! Thanks for all of your excellent content in 2017, and I hope that 2018 is a great year for you.
@ExplainingComputers
@ExplainingComputers 6 лет назад
Many thanks and Merry Christmas!
@asiw
@asiw 6 лет назад
I didn't think that this would be very useful to me but I watched it because you explain things very well. However, I have struggled to get auto booting Python scripts to work so it turned out to be extremely useful. Many thanks and best wishes for a wonderful Christmas.
@MrMantoko
@MrMantoko 6 лет назад
You could connect the second light(the one which indicates the Pi is booted) to turn on the motors automatically when everything is ready.
@georgedebleu
@georgedebleu 6 лет назад
An excellent video, Christopher! Very interesting, informative and entertaining. Tanks for posting it. HAPPY CHRISTMAS!
@ExplainingComputers
@ExplainingComputers 6 лет назад
Merry Christmas!
@jackielinde7568
@jackielinde7568 6 лет назад
Why not add a relay or transistor replace the motor switch, with the sensor wire running to Pin 29? This way, instead of having to flick two switches, pin 29 will both light up and enable the motors. Then, when you shut the pi down, it will automatically cut the power to the motors. You could do something similar with a few transitions (or maybe an AND chip), where a momentary contact switch turns on the power circuit for the Pi, and losing signal on Pin 29 will cut the power to the circuit. It will take some of the fuss out of starting up and using your new toy.
@ExplainingComputers
@ExplainingComputers 6 лет назад
Yes, a workable solution certainly.
@ChristCenteredMinist
@ChristCenteredMinist 5 лет назад
Or take the the jumpers off the two enable lines on the driver board. And drive them with Pin 29. Then you'll have software control of motors.
@stuartg40
@stuartg40 5 лет назад
@@ChristCenteredMinist Could you elaborate on this please? Do you mean software pwm to vary motor speed?
@stuartg40
@stuartg40 5 лет назад
Given that the motor driver is powering the Pi, to replace the double pole switch you'd require two relays, right?
@Wildmutationblu
@Wildmutationblu 6 лет назад
The Beast is alive. He does look a bit scary with his menacing green eyes. He needs a name, "The Beast" seems to fit, I'm not sure if you agree. Merry Christmas to you and all of your viewers.
@ExplainingComputers
@ExplainingComputers 6 лет назад
Merry Christmas!
@HariKrishnan-co9pr
@HariKrishnan-co9pr 6 лет назад
Merry Chrismas Mr.Christopher ! And a very happy New Year.... That robot looks awesome with the green lights for the eyes .
@ExplainingComputers
@ExplainingComputers 6 лет назад
Thanks -- and Merry Christmas.
@HariKrishnan-co9pr
@HariKrishnan-co9pr 6 лет назад
Your Welcome . Love your Videos very much . please make a video on arduino !
@douglaspearson1647
@douglaspearson1647 6 лет назад
Merry Christmas to EC and your family. Have a happy a healthy & safe one.
@ExplainingComputers
@ExplainingComputers 6 лет назад
Merry Christmas to you and yours.
@amancalledoss38
@amancalledoss38 6 лет назад
Merry Christmas hope you have a fantastic day today , and thank you for all the fantastic videos
@ExplainingComputers
@ExplainingComputers 6 лет назад
Merry Christmas!
@resrussia
@resrussia 6 лет назад
Thanks so much for an interesting tutorial on Raspberry Pi. I hoping to see Devastator Robot evolve. Keep up the good work! Happy Holidays to you.
@ExplainingComputers
@ExplainingComputers 6 лет назад
Merry Christmas.
@marcduguay9985
@marcduguay9985 5 лет назад
I know it’s an old video but great job, I enjoy watching your content. Side note you could also use a 2n222 transistor for a switch just power the base from a GPIO pin!
@keithd5181
@keithd5181 5 лет назад
Great idea.
@tberry7348
@tberry7348 6 лет назад
Cool. I think I would go with raspberry RGBW lights for the eyes so you can give it a bit more personality. Red = mad Green happy Blue sad Orange while watching the sunset Random while dancing (would be even sweeter if it could dance according to the music it's listing to inside a software defined box)
@ExplainingComputers
@ExplainingComputers 6 лет назад
Cool idea!
@joedempseysr.3376
@joedempseysr.3376 6 лет назад
Wonderful robotics video, Christopher! Merry Christmas to you and your family!
@ExplainingComputers
@ExplainingComputers 6 лет назад
Thanks. Merry Christmas to you too. :)
@johncnorris
@johncnorris 6 лет назад
Consider those rocks devastated! Well done.
@ExplainingComputers
@ExplainingComputers 6 лет назад
:)
@CraigHissett
@CraigHissett 5 лет назад
This is great - I have one of these platforms, and I'm using a WiPy board to serve up a webpage to drive it from. I'd love to switch to using a Pi Zero. One way to make startup and shutdown easier could be to make the OS read-only, and safe from corruption should you wish to switch it off without a software shutdown. I also second Jack Linde's idea of a relay for the motors :-)
@yaj1v
@yaj1v 6 лет назад
Merry Christmas Chris! Two days ago, I finally got my RPI Zero W up and running!
@ExplainingComputers
@ExplainingComputers 6 лет назад
Excellent! Merry Christmas!
@chadeptus801
@chadeptus801 6 лет назад
Great videos your making here. I'm happy I stumbled across your channel earlier this month!
@redcurtain6851
@redcurtain6851 6 лет назад
Great Job in showing how to add code and boot code thanks keep up the good work.
@ianhollis51
@ianhollis51 6 лет назад
Now let me explain some technical Raspberry Pi Devastator Robot terms: Experimenting / evaluating - akin to children’s learning experience commonly called playing. In-depth Evaluation - long-term playing / learning experience. Adjusting drive mechanism - mucking around with innards, a.k.a Playing. Coding robot controls - yep. More playing, this time keyboard tinkering. Keyboard control - remote control playing. Field evaluation - playing outside. Satisfactory Experimental Evaluation - Excellent Adult Playing / Learning Experience. Testing - Playing / Tinkering. 👌😂 Cheers, Ian
@ExplainingComputers
@ExplainingComputers 6 лет назад
;)
@jameslaidler4259
@jameslaidler4259 6 лет назад
My only real quibble is the tracks. I'd have made them easier to adjust, and used maybe rubber blocks in them too. Maybe even put a tensioner pulley on for the tracks.
@techtruth9077
@techtruth9077 6 лет назад
You could turn this into a waiter to deliver the Christmas dinner to the table tomorrow :-)
@ExplainingComputers
@ExplainingComputers 6 лет назад
:)
@arthurdent8091
@arthurdent8091 6 лет назад
Good show Mister Barnatt. Just in time for Christmas and an enjoyable little video as well.
@johns66723
@johns66723 6 лет назад
Amazing to wake up to this on Christmas morning :) great vid. Merry Xmas
@ExplainingComputers
@ExplainingComputers 6 лет назад
Merry Christmas!
@woldemunster9244
@woldemunster9244 6 лет назад
Old electronic equipment is cool. Analog and digital watches are super cool. Pie charts and curves are logical. If you suddenly show relevant stuff on an analog multimeter my brain has to "switch gear", just like when you switch to analogue watch after year of just looking numbers.....
@woldemunster9244
@woldemunster9244 6 лет назад
And im not saying it is a bad thing, just noticed that i had to think twice to comprehend bouncing needle. :D
@resonanceofambition
@resonanceofambition 6 лет назад
Merry Christmas!
@ExplainingComputers
@ExplainingComputers 6 лет назад
And to you.
@cgraham6
@cgraham6 6 лет назад
Very cool little project, Chris! Bring an engineer myself, I completely agree that seeing code running a practical application is exciting.
@maicod
@maicod 6 лет назад
now put a mini Christopher puppet on the top of it as the driver. Have a Merry Chistmas Chris !
@ExplainingComputers
@ExplainingComputers 6 лет назад
:)
@zeberto1986
@zeberto1986 6 лет назад
Awesome build. I can't wait to get my Devastator tomorrow!!!
@ExplainingComputers
@ExplainingComputers 6 лет назад
It is a very cool kit -- with so many parts!
@zeberto1986
@zeberto1986 6 лет назад
It was a great build. Still some work to do though. Did you have any issues with the motors occasionally not responding? Ive tightened the tracks and tested with a 2 amp power supply to the pi zero and still the same result.
@JohnyDays69
@JohnyDays69 4 года назад
You are someone I admire and respect. Thank you for sharing your knowledge wit all of us. High quality teaching and content. You're the master ...👍
@ExplainingComputers
@ExplainingComputers 4 года назад
So nice of you.
@samcha5743
@samcha5743 5 лет назад
I love your videos very much. Especially interesting for me was this video series. In the video number 2 you shorten the tracks. Well, that I would not do that is so intentional. This allows the tracks to avoid branches or stones. If you shorten the tracks this can damage the drive when driving outside. The branches and stones are without mercy.
@sagarshubham8660
@sagarshubham8660 6 лет назад
Great Video as always. One word of caution, the motor driver board you use has an onboard LDO (7805), which shares power input from your +12V input. Its output dips very often when the current requirement from the motors increases suddenly. These high demands are, unlike plastic gear motors, quite usual for the large metal gear motors on the Devastator platform. All the voltage variation can lead to detrimental effects on your Raspberry Pi Zero. You should look into a better motor driver for this platform and a steadier power source (maybe a buck converter?) for the Rpi. Merry Christmas :)
@ExplainingComputers
@ExplainingComputers 6 лет назад
Thanks for this. I had some reservations about taking power for the Pi from the L298N for the reasons you state. But as my quick multimeter test showed as least the voltage drop is not that significant when the motors run. Given that the Pi has a voltage regulator to drop the 5V input to 3.7V, I therefore thought I'd take the risk. And so far things have worked! :) But I agree, a better means of providing steady power to the Pi would potentially be wise here.
@sidharthcs2110
@sidharthcs2110 6 лет назад
Merry Christmas
@ekaadit7892
@ekaadit7892 6 лет назад
Hey i find the other keyboard library in Python it's getch You can install it with pip install py-getch import getch char = getch.getch() getch is more efficient because it doesn't clear your terminal but it can run it without clear the terminal Sorry for my bad grammar hehe
@S-I-T
@S-I-T 6 лет назад
Merry Christmas everyone
@blevenzon
@blevenzon 6 лет назад
Brilliant video as always!!! Merry Christmas
@ExplainingComputers
@ExplainingComputers 6 лет назад
Merry Christmas!
@ErnestGWilsonII
@ErnestGWilsonII 6 лет назад
Another excellent video! Thank you for making these and sharing them with us. Merry Christmas!
@prosperow
@prosperow 6 лет назад
that was brilliant Merry Christmas
@ExplainingComputers
@ExplainingComputers 6 лет назад
And to you. :)
@tekbrick2822
@tekbrick2822 6 лет назад
You can eliminate the motor switch, by replacing it with a relay, connected to a transistor, and then connect the base of it, to the second green LED.
@ExplainingComputers
@ExplainingComputers 6 лет назад
Yes, indeed.
@tekbrick2822
@tekbrick2822 6 лет назад
Will there be a "Raspberry Pi Devastator Robot #3"?, I find the subject very interesting. And Merry Christmas!
@ayushrawal706
@ayushrawal706 6 лет назад
You can also add a mic and a speaker and then run Alexa or any other voice recognition software and control it using your voice. It will be great. And yeah !! I love the video. And I have created my own voice recognition software, in case you need that pls do tell me.
@benzaybsmusicmusings9384
@benzaybsmusicmusings9384 6 лет назад
Wonderful! Merry Christmas to you... Xx
@ExplainingComputers
@ExplainingComputers 6 лет назад
:)
@mechaform
@mechaform 3 года назад
The GPIO pin driving the “ready” LED could be used to enable power to the motors via a relay rather than having a second toggle switch.
@ExplainingComputers
@ExplainingComputers 3 года назад
No, it couldn't -- because the state of this LED would also be unknown, so the relay could start out on or off! :) The first LED that comes on is hard wired to 3.3V.
@PowerFactor88
@PowerFactor88 6 лет назад
Hello Chris, If you want to vary the speed of the robot, the L298N Motor Controller has PWM inputs that are normally jumpered (called ENA and ENB). I connected Pin 33 and Pin 12 (by board reference) to ENA and ENB to control left and right track velocity of my devastator.
@ExplainingComputers
@ExplainingComputers 6 лет назад
Thanks for this -- I had planned on trying this in a future video, so it is good to know it works. I had assumed that I would have to use the pin 12 PWM for both. So it is very good to learn you have managed to use both channels. I will certainly try this. :)
@Ben.g762
@Ben.g762 6 лет назад
When will you be doing a follow up to this? I’ve built my own version using a toy rc tank, I’ve bought a camera and got it working but would like to see what you have to say about controlling it as an FPV style bot and the possibility of controlling it via the internet. Thanks for posting these great videos.
@GetRealwithMike
@GetRealwithMike 6 лет назад
Agree. FPV would be great. Autonomous with mapping and navigation would be cool too.
@brady9737
@brady9737 6 лет назад
I'm really wanting the third episode in this series
@ExplainingComputers
@ExplainingComputers 6 лет назад
Coming!
@StevenIngram
@StevenIngram 6 лет назад
A thought - you could have the pi handle the power management to the motor driver with a relay. So then, the motor driver would only come on after the pi had booted and turned it on. And you could turn off the motor driver as part of the shutdown sequence when you press shift-s.
@ExplainingComputers
@ExplainingComputers 6 лет назад
This could indeed work -- though a relay would need interfacing with some sort of controller board, as it could not run from a Pi's GPIO outputs directly.
@CarlesMateu
@CarlesMateu 5 лет назад
@@ExplainingComputers No, you can run a relay from Pi's GPIOs without much problem.
@adubseven
@adubseven 6 лет назад
Very Nice! Happy Christmas from Tennessee
@ExplainingComputers
@ExplainingComputers 6 лет назад
Thanks. Merry Christmas from the UK.
@markharrisllb
@markharrisllb 3 года назад
I've learnt heck of a lot in this video, thank you.
@stanpatterson5033
@stanpatterson5033 6 лет назад
There's definitely a whole 'nother level of fun when the focus is of the screen and on another object. But do you ever have a moment of thought where you wonder if the day will come in the future when the Devastator gets ahead of you with its' own intelligence? Can't wait for someone to build one that washes windows, scrubs floors, does the sink, tub and toilet and fetches the mail. I would have added 'cooks dinner' too, but I like to have SOME control over what I eat :) Thanks for a great year of Explaining Computers ! Merry Christmas from Ontario, Canada.
@ExplainingComputers
@ExplainingComputers 6 лет назад
Many thanks -- hopefully we will maintain some control as you say! Merry Christmas.
@WestCoastMole
@WestCoastMole 6 лет назад
Well Done Chris.
@themonochromefactory2402
@themonochromefactory2402 6 лет назад
Very well explained. Enjoyed it very much. Thanks sir. I hope to see more of such videos in future.
@tarnis3d
@tarnis3d 6 лет назад
Great video! Didn't realize I could run OS commands through the python script. Should help with some other stuff on my robot.
@FireDragonAndromeda
@FireDragonAndromeda 6 лет назад
You might have given me an idea if I had the money and confidence to build something similar in one of the larger Warhammer 40,000 tanks.
@ridefast0
@ridefast0 5 лет назад
An occasional cameo from Mr Pliers, the Hitchcock of EC World.
@badrinair
@badrinair 3 года назад
I think the play in the track is needed, because of the suspension travel .
@gerardsmith3960
@gerardsmith3960 6 лет назад
happy new year Christopher and if you have time could you include a video on how to add external hard drive onto a raspberry pi 3, hope you had a good mass
@ExplainingComputers
@ExplainingComputers 6 лет назад
A happy new year! An external hard drive can be plugged in to a Raspberry Pi via USB, but it will need to be externally powered.
@roelandriemens
@roelandriemens 6 лет назад
Nice robot! Instead of a switch to turn on motors you could use a bi-stable relais that is controlled by the code after startup and before shutdown. Merry Christmas.
@williamhart4896
@williamhart4896 6 лет назад
Thanks professor looks like that was a fun kit to put together as always Nice upload sir and have a merry Xmas .
@willembudde7512
@willembudde7512 6 лет назад
Merry Christmas and have more wonderful EC clips ahead in 2018
@ExplainingComputers
@ExplainingComputers 6 лет назад
Merry Christmas -- next week I've an update on what is coming up for 2018! :)
@jaimefernandez7054
@jaimefernandez7054 6 лет назад
Very cool video, will be getting a Devastator soon! Thanks! Your robot looks mad :)
@bouldaa
@bouldaa 6 лет назад
this series has inspired me to do my own robot and would love to see a follow up to this video :D
@ExplainingComputers
@ExplainingComputers 6 лет назад
Great that you are getting into robot building! There will be a follow up video fairly soon!
@bouldaa
@bouldaa 6 лет назад
looking forward to it!
@ritikbhambhani5656
@ritikbhambhani5656 6 лет назад
Merry Christmas Christopher
@SubsonicsBeatboxTutorials
@SubsonicsBeatboxTutorials 6 лет назад
This is amazing :) really want to build this :) Merry Christmas!
@ExplainingComputers
@ExplainingComputers 6 лет назад
Thanks. Merry Christmas. :)
@JamesP6084
@JamesP6084 6 лет назад
You make it look so easy :-) Very good!
@ragiedoromal3397
@ragiedoromal3397 6 лет назад
merry christmas sir chris.
@ExplainingComputers
@ExplainingComputers 6 лет назад
Merry Christmas to you too. :)
@jgoep2310
@jgoep2310 6 лет назад
Nice video! I am looking forward to the next part... 12:20 I also like your ancient style multimeter. Maybe you have been having it for longer than modern computing exists, I guess... You would not have dreamt of what you would be using it for nowadays when you bought it, right?! :) Fortunately, voltage and resistance are still the same... :D Cheers from Germany. Happy Christmas!
@ExplainingComputers
@ExplainingComputers 6 лет назад
You are so right about the multimeter -- from I think the late 1970s. Bought for electronics work in a very different age. :)
@AndrewAHayes
@AndrewAHayes 6 лет назад
I'm looking forward to any upgrades the robot will receive, maybe a head and some AI
@mr.mudcatslim3420
@mr.mudcatslim3420 6 лет назад
Very nice, and merry Christmas good sir.
@ExplainingComputers
@ExplainingComputers 6 лет назад
Merry Christmas
@DoRC
@DoRC 5 лет назад
Lipos are NOT as dangerous as people like to say. Every cell phone and laptop has a lipo in it. Do we go around stressing that they will explode at any second? Nearly every catastrophic failure in a lipo is due to some sort of negligence. Either the batteries are over charged or discharged, used after they get old and or puffy, physically damaged etc. Lipos almost always give warning before they fail. The problem is hobbiests spend a lot of money on batteries and dont want to replace them when they "still work". This leads to failure and since people dont take responsibility for their actions it becomes the batteries fault.
@ExplainingComputers
@ExplainingComputers 5 лет назад
Great advice here -- but many phones and laptops have lithium ion or nickel metal hydride (NiMH) batteries.
@DoRC
@DoRC 5 лет назад
@@ExplainingComputersehhh. The vast majority of modern laptops and cell phones are lipo. Some laptops have 18650s which are technically lithium ion but they have just about the same properties. I don't think there's be a laptop or cell phone made in the last 10 years with nimh Batts.
@ExplainingComputers
@ExplainingComputers 5 лет назад
Accepted, though I still have a working laptop with NiMH, and my phone (about 3 years old) is NiHM too. :)
@DoRC
@DoRC 5 лет назад
@@ExplainingComputers what phone do you have?
@ExplainingComputers
@ExplainingComputers 5 лет назад
It is a Doro 612. You will laugh I know! But a great device to make calls on, and the battery lasts for ages! :)
@ryangill9518
@ryangill9518 6 лет назад
Good stuff. Happy holidays!
@ExplainingComputers
@ExplainingComputers 6 лет назад
Merry Christmas! :)
@Vampier
@Vampier 6 лет назад
the auto start only works when you have a GUI installed. Else you can use auto logging and add it to .bashrc in ~/pi/.bashrc :-) that's the easiest way for people who are not really familiar with linux.. there are better ways to handle this but they require a bit more knowledge of the runlevels. I always run headless and with SSH on my portable devices. Great video as usual! and a great robot base.
@yyy-xv2sg
@yyy-xv2sg 6 лет назад
Hi, quick question please,how could I know if my pi zero has a GUI installed ? Thanks!
@CarlesMateu
@CarlesMateu 5 лет назад
Or placing stuff in /etc/rc.local. That's the place for things you want to run after boot.
@blackgenesisishere
@blackgenesisishere 6 лет назад
thanks for the video!! looks like a dandy little robot.
@lorderectus1849
@lorderectus1849 2 года назад
The devastator on test with those mean eyes 👀
@ExplainingComputers
@ExplainingComputers 2 года назад
Imagine if they had been red! I could not get red at the time.
@robertpendergast2620
@robertpendergast2620 6 лет назад
Thanks. Excellent tutorial.
@leonardolacasa1936
@leonardolacasa1936 6 лет назад
Merry Christmas!!!
@ExplainingComputers
@ExplainingComputers 6 лет назад
And to tou. :)
@ExplainingComputers
@ExplainingComputers 6 лет назад
Sorry -- typo! -- "And to you!" Merry Christmas.
@umairphoenix
@umairphoenix 4 года назад
Sir Im Currently Student oF Computer Science After Leaving Engineering Field And Currently Engaged In BS Computer Science . My Request iS To Can you Do a Video On Extensive Working Of Such Project As Im a Turn Backer to this Field But My All Skills Have been Faded Since 4 Years...... Its Very Nice Of You to Do A Video On Window 98 And 2020 easy Robot Training Thru Coding of Python
@spyro1600
@spyro1600 6 лет назад
When sill you continue this series, I'm really excited for it!
@paulcumber4732
@paulcumber4732 6 лет назад
Merry Christmas have a happy New Year
@ExplainingComputers
@ExplainingComputers 6 лет назад
And to you! :)
@richardcreese
@richardcreese 6 лет назад
I do like this type of video. Lovin your cool retro analog multimeter .
@shadowr2d2
@shadowr2d2 6 лет назад
Merry Christmas To All..
@KennyMinigun
@KennyMinigun 6 лет назад
Can you hook it up to a wireless controller (like Sony's Dualshock via Bluettoth) and get some programming to handle the input sticks (or at least the D-pad)? It would be so awesome!
@yumokaro2443
@yumokaro2443 4 года назад
yes, get ds4windows
@yussafmalik7712
@yussafmalik7712 6 лет назад
cool project very impressive coding robot building
@StephenTech
@StephenTech 2 года назад
Great Video, I am watching this at the end of 2021 and the auto start on boot no longer works that way! Any ideas on how I could do it?
@jsprite123
@jsprite123 6 лет назад
Love this series of videos of controlling a robot on tracks. How about adding speed control?
@ExplainingComputers
@ExplainingComputers 6 лет назад
Now that is an interesting idea -- noted! :)
@UmerFarooq-lv3gl
@UmerFarooq-lv3gl 6 лет назад
in your setup when you press a directional key the robot keeps moving in that direction. what if we wanted to make it so that when we press a directional key the robot would move in that for a fraction of time unlike now when the robot keeps moving unless another key is pressed
@Ghativega
@Ghativega 6 лет назад
I got a Raspberry Pi! Now gonna use it for home automation! ;)
@ExplainingComputers
@ExplainingComputers 6 лет назад
Excellent! :) So many things you can do with a Pi. :)
@foisalkhanakash9483
@foisalkhanakash9483 4 года назад
Perfect
@MSKtechy
@MSKtechy 6 лет назад
*sir.. how can i assign a keyboard key like we can do in arduino i.e. when i release a key then motor stops, what is the need of assigning a different key to stop the the motors*
@ExplainingComputers
@ExplainingComputers 6 лет назад
Here I am using Curses to read the keyboard, which reports the last key pressed, so not key releases. I will improve on this code in future videos.
@norseko
@norseko 6 лет назад
Talented chap.
@bustabob08
@bustabob08 6 лет назад
Your Zumo and Devestator robot series was great. Do you plan a follow up with more features?
@ExplainingComputers
@ExplainingComputers 6 лет назад
I am working on a new Devastator robot video for sometime in September. :)
Далее
Raspberry Pi Devastator Robot #3 : Camera
16:24
Просмотров 125 тыс.
It’s Been a Good Run, Phone Providers.
26:31
Просмотров 4,4 млн
🔥НОВАЯ БАТАРЕЯ?😮
00:40
Просмотров 203 тыс.
A Boomerang That Never Comes Back
14:43
Просмотров 457 тыс.
Raspberry Pi 5
20:08
Просмотров 540 тыс.
How This New Battery is Changing the Game
12:07
Просмотров 147 тыс.
The coolest robot I've ever built!
19:40
Просмотров 4,6 млн
DC-ROMA RISC-V Laptop II
19:56
Просмотров 104 тыс.
Can You Drive On Wood Wheels?
19:42
Просмотров 91 тыс.
Raspberry Pi Pico W: WiFi  Controlled Robot
17:56
Просмотров 89 тыс.