Тёмный
No video :(

Raspberry Pi Robotics #3: Keyboard Control 

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

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

 

20 авг 2024

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 602   
@madushandissanayake96
@madushandissanayake96 2 года назад
Still today, this is the best Raspberry pi robotics video series on RU-vid
@dugabomber5993
@dugabomber5993 2 года назад
no doubt!
@HemangJoshi
@HemangJoshi 7 лет назад
sir, you are best teacher teaching electronics. please teach us more about programming and interfacing with raspberry pi. thank you.
@bhanukeerthivinod432
@bhanukeerthivinod432 3 года назад
yes sir
@mygreenhousediary5947
@mygreenhousediary5947 3 года назад
I love how super concise and easy to follow these videos are, brilliant teaching methods - Thankyou!
@PU7MZD
@PU7MZD 7 лет назад
This isn't just a great informative channel, but a place where I can find happiness. I don't know you in person, but I can say that you have a beautiful heart. Thank you so much!
@ExplainingComputers
@ExplainingComputers 7 лет назад
Thanks, you are very kind. :)
@leeperkins1447
@leeperkins1447 5 лет назад
This is a great series to get into robots for someone that doesn't know much about computers or robotics! It took about an hour to figure out curses must be run from the terminal and not inside idle to work properly.
@ExplainingComputers
@ExplainingComputers 5 лет назад
Thanks for your positive feedback. :) Glad to here you sorted the curses thing, though I think I mentioned this in the video.
@kooky2
@kooky2 4 года назад
I’ve done it! Today I made a working robot like yours. I know this is an old video but I recently found your channel. Next I am going to add streaming video using the pi cam and design a 3D body. Am I showing off? Yes, yes I am! Thank you Chris!!
@ExplainingComputers
@ExplainingComputers 4 года назад
Great news to hear! :) Building stuff is so empowering! :)
@doublestarsystem
@doublestarsystem 5 лет назад
You have the soul of a teacher...i feel you love teaching people...BIG SOUL....God bless you
@dragoken1616
@dragoken1616 5 лет назад
Very nice tutorail and i will most certainly view the other ones. Little hint for anyone doing any programming (might already be mentioned in the older comments ine here) try to avoid any copy paste madness. If you need to repeat anything (like his dancing sequence) you can just make the movements into functions. This saves time, headaches and in more complex robotics filesize(not THAT important but you never know) + its generally a good habit to learn in programming. O and excuse any mistakes i may have made :D Ex. with the move forward function elif char == curses.KEY_UP: GPIO.output(7,False) GPIO.output(11,True) GPIO.output(13,False) GPIO.output(15,True) instead you can do this: elif char == curses.KEY_UP: moveForward() ~(the rest of the code) (this needs to be waaaay at the bottom and not inside the main part of the code or else it isn't a proper function) def moveForward(): GPIO.output(7,False) GPIO.output(11,True) GPIO.output(13,False) GPIO.output(15,True) def moveBackward(): ~ def turnLeft(): ~ def turnRight(): ~
@billfield8300
@billfield8300 7 лет назад
maybe you could add another video to this series where you optimize the code a bit. Maybe write unctions for forward, backward, etc.. and then just call functions to perform the little predetermined pattern. You wont need to write aqll that code every time.. Great beginners tutorial. Thanks.
@HKey_Root
@HKey_Root 4 года назад
👍👍 Tips and advice aplenty. Only yesterday I had to cut some plasticard for the first time. I used a dremel with a circular saw attachment. The resultant line was like a dog's hind leg. The plastic melted in caterpillar-like blobs which had to be snapped off and there was much filing and sanding done to make the job look presentable. Dear oh dear.
@alexandrerm1214
@alexandrerm1214 5 лет назад
Thank you for this serie of videos! It's hard to find tutorials of this quality in French. You improved significantly my knowledge of electronics and robotics technologies!
@goku445
@goku445 4 года назад
Je fais toutes mes recherches en anglais. c'est bête mais c'est comme ça...
@robindow5742
@robindow5742 5 лет назад
Hi Christopher i said before i had built one on a cheap chassis since then i have added a camera using motioneyes software downloaded on raspbian all running on a 512 meg pi model b i intend to control the camera pan and tilt using adafruit 16 servo control board and a really cheap mount i bought on ebay as i am 72 years old it amazes me how easy this type of computing/robotics have becomekeep up the good work
@ExplainingComputers
@ExplainingComputers 5 лет назад
All great to hear Robin. It is indeed amazing how this tech has evolved.
@cannabikid2700
@cannabikid2700 5 лет назад
The rover has its left and right crossed! Brilliant little project
@muhammadfarooqi
@muhammadfarooqi 3 года назад
You method of teaching literally reminding me my IT teacher. You are great sir!.
@paulgriffin8566
@paulgriffin8566 7 лет назад
Christopher, you are an inspiration. I love the little robot and all the videos you make. Many, many thanks. Please keep up the great work.
@chuckmuckamuck8001
@chuckmuckamuck8001 3 года назад
Excellent tutorials that have aged surprisingly well, thanks!
@madmarshman
@madmarshman 6 лет назад
I know I'm a bit late to the party, but thanks for this and all your other tutorials, very clear and concise, and well presented. I am currently waiting for my postman to battle his way through the snow with the required parts.
@ExplainingComputers
@ExplainingComputers 6 лет назад
Good luck to you -- and your postman! :)
@flipndip5122
@flipndip5122 7 лет назад
Thank you for this! I've already built a much similar robot that I got moving with python and my pi3. Was wondering how to write python code for key inputs and this is exactly what I needed. People who make videos on niche topics like this are more important than they think. You have probably made many more people happy than me, not everyone writes a comment about it. I'll have to check out your other videos.
@jpkforever
@jpkforever 7 лет назад
Hi im thinking about manking one. Is it hard? i like learning from mistakes
@flipndip5122
@flipndip5122 7 лет назад
it's pretty simple thanks to all the tutorials out there. Just make sure you buy the right parts for what you need.
@jerryrichard7198
@jerryrichard7198 7 лет назад
Mr Barnatt you are the best teacher very easy to follow your video, I'm building a robot and would like to see you with another video on how to control about ten functions ,forward, backward ,arms up arms down also elbows up and down, all these functions with keystrokes all done wirelessly,I'm salivating waiting for an answer thank you again
@grahamnichols1416
@grahamnichols1416 4 месяца назад
Little did Chris know that in seven years, Mr. Scissors and he would be playing 'catch!' across the kitchen with Chris' 1M subscribers plaque.
@resrussia
@resrussia 7 лет назад
Thanks for finishing up the raspberry pi robot project. I appreciate the python code for reading the keyboard.
@goshfather
@goshfather 7 лет назад
I can't wait to see how you set up the live tracking with the photon sensor. Again, great work! You're the best!
@MoroniLemes
@MoroniLemes 7 лет назад
Your videos are such high quality and simplicity that moved me into start the adventure :) Thanks!
@olivergross9175
@olivergross9175 7 лет назад
Thank you for a wonderful video! We are ordering the parts to make a robot kit for my son's birthday next month. Should be great fun and a good starting point to teach him computers.
@waltercomunello121
@waltercomunello121 4 года назад
If I had a kid, this is what I would buy him for Christmas. Then we would build it together. Regarding the "movement sequences", you could have created a separate function for each direction, calling each function for an arbitrary period of time in an arbitrary sequence instead of writing a bunch of lines. This was very interesting nonetheless. *That happy little robot needs a friend. Because everybody needs a friend.*
@robertpendergast2620
@robertpendergast2620 7 лет назад
Wonderful job. I'm glad you came back to robotics
@konohaa8253
@konohaa8253 7 лет назад
A Masterpiece. You are really a genius Sir Barnatt.
@ExplainingComputers
@ExplainingComputers 7 лет назад
Many thanks. :)
@bobyau8755
@bobyau8755 5 лет назад
I am following the instruction of your video to build my first raspberry pi too.
@bobyau8755
@bobyau8755 5 лет назад
Indeed you are the best teacher teaching electronics but can you show me the python 3 version of the program please
@lizzymasters7469
@lizzymasters7469 7 лет назад
I like this guy. he explains very clearly. thumbs up for you my man
@mclaine33
@mclaine33 7 лет назад
Pretty neat project! And doesn't look too difficult to put it all together.
@Bradrbetts1957
@Bradrbetts1957 7 лет назад
Ok its all good now! Walked away and came back today and it works?? I was missing something last night!!
@ExplainingComputers
@ExplainingComputers 7 лет назад
Excellent!
@1bertoncelj
@1bertoncelj 7 лет назад
Your build is good because you use a battery really nice, I have one at home like yours but my is green, but it the same work like yours. Now I only need motors to build
@donghyun2
@donghyun2 Год назад
really nice video :) this is 6y old vid for me now but this video is better than books that comes now
@ExplainingComputers
@ExplainingComputers Год назад
Thanks for this. I did some improvements to the code in this video: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-H1PIzxNdGGk.html
@sdevane75
@sdevane75 5 лет назад
What a fantastic video to stumble upon. Absilutely Brilliant Content and delivery. Well done sir. I look forward to viewing more from your channel. Thank you.
@ExplainingComputers
@ExplainingComputers 5 лет назад
Thanks! :) There are three more videos in this Pi robot series, and three more (so far) in another one! :)
@sdevane75
@sdevane75 5 лет назад
ExplainingComputers out of curiosity. Is there any Content you have or could recommend for controlling a brushless motor? Or is it the same idea as the video? Thanks
@ExplainingComputers
@ExplainingComputers 5 лет назад
As far as I am aware, controlling a brushless motor is no different to what we have here -- you need a motor controller to allow low-level digital signals to allow a high power electro mechanical device to be controlled. Note that the L298N used here can also be used to speed control the motor -- something I will be covered in video in early 2019.
@sdevane75
@sdevane75 5 лет назад
ExplainingComputers perfect. Thank for for taking the time to respond. :)
@deividholanda7997
@deividholanda7997 7 лет назад
Olá sou brasileiro, gostei muito do seu canal, infelizmente temos a barreira do idioma não sei falar englês, pois consigo entender algumas coisas apenas. Acho muito legal as experiências e conteúdo que é passado no seu canal. Agradeço e continue assim obrigado!.
@ExplainingComputers
@ExplainingComputers 7 лет назад
Thanks for this -- the wonders of Google Translate allowed me to read your comment. Here is Google's attempt to translate this back: Obrigado por isso - as maravilhas do Google Translate me permitiram ler o seu comentário. Aqui está a tentativa do Google para traduzir isso de volta:
@CPD-KD6-3.7
@CPD-KD6-3.7 3 года назад
Christopher, this video was great! I'm using your code as the backbone for a mini ROV. I also installed a webcam video streamer. Gained a sub!
@ExplainingComputers
@ExplainingComputers 3 года назад
Sounds great -- thanks for the sub and welcome aboard!
@lucatrifan2797
@lucatrifan2797 7 лет назад
I have been waiting for this video for 2 years
@ExplainingComputers
@ExplainingComputers 7 лет назад
Better late than never . . . I'll do Part #4 more quickly now. :)
@TrentSterling
@TrentSterling 7 лет назад
Ok wow what a resource! Subbed instantly. Opened every other pi video on the channel!
@ExplainingComputers
@ExplainingComputers 7 лет назад
Thanks for the sub -- welcome aboard! :)
@thebauershow
@thebauershow 7 лет назад
This is great. Just what I needed for my robot arm project!
@notnecessary7730
@notnecessary7730 4 года назад
There is nothing better than a happy lil robot!!😉
@ExplainingComputers
@ExplainingComputers 4 года назад
:)
@zanderpierson8395
@zanderpierson8395 3 года назад
Great video! I think it could be cool to put a lcd on the robot, I have no clue how you are so good at all this!
@Omiefury
@Omiefury 7 лет назад
Excellent tutorial. You made it look soooo simple!!! Thanks for sharing.
@matthewsalmon5640
@matthewsalmon5640 3 года назад
great video, well presented and clear
@craiggybear1807
@craiggybear1807 7 лет назад
"A very happy little robot, indeed." Made me laugh and got me (off topic) wondering.... What is the funniest movie (or show) you have seen? Thank you for indulging me and for your excellent RU-vid channel. :)
@ExplainingComputers
@ExplainingComputers 7 лет назад
It is the video I am posting here next week, which I have only seen in my head so far . . . ;) Well OK, there are probably others . . .
@fuzzywuzzy9550
@fuzzywuzzy9550 6 лет назад
You are an absolute genius!! Thanks so much for this,,Absolutely brilliant program , and excellent explanation!! second to nobody ,and the website is so interesting,hope to hear from you very soon
@hemants337
@hemants337 7 лет назад
What an awesome video... thank you so much for sharing it... it is a game changer for learners like me. Please keep doing more. Loved it thoroughly !!!
@ExplainingComputers
@ExplainingComputers 7 лет назад
Thanks. :)
@sunnysinadjan785
@sunnysinadjan785 4 года назад
Nice project and presentation.
@JIMMYH2011
@JIMMYH2011 7 лет назад
one of the best videos I've seen for the pi. Very interesting.
@ExplainingComputers
@ExplainingComputers 7 лет назад
Many thanks. :)
@Knutowskie
@Knutowskie 7 лет назад
Hey! This is a really nice project. One thing i would change: I would change the code in that way, so the robot moves as long as a button is pressed. So it will be more controlable.
@ExplainingComputers
@ExplainingComputers 7 лет назад
Agree on the code, but harder to do -- at least in a manner that can be relatively easily explained, and implemented consistently in any version of Python. :)
@eduardocortez6803
@eduardocortez6803 7 лет назад
thats really cool little basic robot
@josephjoestar
@josephjoestar 7 лет назад
love this channel , very informative, it makes me want to build lots of stuff
@artemisa.jackson3549
@artemisa.jackson3549 7 лет назад
You can add the time function in the first place and configure it to run around 0.1 seconds each time the key is pressed which eliminates the need to add the stop key (like a RC car).
@ElectroniClinic
@ElectroniClinic 5 лет назад
No body can explain things like you.
@maartenlunde8751
@maartenlunde8751 5 лет назад
not true
@RichardEricCollins
@RichardEricCollins 7 лет назад
thanks for the tip on the pipe for a spacer and the plasticard. Great video ta. :)
@techcracker4566
@techcracker4566 5 лет назад
Thank for helping us . BUT plz explain what each line of code does, because instead of learning them by heart we can understand them ( I am talking about the Curses lines of code ).
@Vincinator44
@Vincinator44 7 лет назад
The Rasp PI IO is a 3.3V logic while the L298N is TTL (5V). You may want to use level shifters to protect the PI from possible damage and power supply leakage.
@conget
@conget 3 года назад
Very easy to follow, nice guide
@doganbenli9681
@doganbenli9681 5 лет назад
Thank you so so so much sir. İts very very helpfull. Greetings from Turkey.
@ExplainingComputers
@ExplainingComputers 5 лет назад
Greetings back from the UK!
@shukhratdad9891
@shukhratdad9891 3 года назад
Thanks! Do you have a video about controlling gpio over hc-05 tx-rx pins? Or Bluetooth control device
@dudinurmulyana1054
@dudinurmulyana1054 5 лет назад
good explanation
@Adrian_Finn
@Adrian_Finn 5 лет назад
Now I suppose I'll have to learn to make the keys behave in a momentary fashion, that is to say the motors only operate as long as the buttons remain depressed.
@aidangomez4726
@aidangomez4726 7 лет назад
ayyyyy it's back after 2 years my man
@ExplainingComputers
@ExplainingComputers 7 лет назад
Yes, it did take me a bit of time to get back to this! :) I started toying with this over 18 months ago, but somehow other things got in the way. But I will return to the robot quicker next time! :)
@MrPhildas
@MrPhildas 5 лет назад
Thank you so much your are a great teacher
@ukaszs3918
@ukaszs3918 6 лет назад
Great video, really helped me with my own little project.
@ExplainingComputers
@ExplainingComputers 6 лет назад
Excellent!
@jordanfagan9877
@jordanfagan9877 7 лет назад
Incredibly usefull. Just ordered my stuff but I got a different chassis. Hope it'll work. Thanks for the help :)
@ExplainingComputers
@ExplainingComputers 7 лет назад
I'm sure it will work. :) I'll soon be posting a follow-up video showing how to control this robot over a network from another PC.
@jordanfagan9877
@jordanfagan9877 7 лет назад
Awesome stuff. I've subbed and waiting for the vid :D
@lorderectus1849
@lorderectus1849 2 года назад
He’s a very happy little robot 🤖 indeed!
@aritrachatterjee8057
@aritrachatterjee8057 6 лет назад
This is really good. I am learning from your videos a lot. Amazing. Thank you.
@rwhunt99
@rwhunt99 6 лет назад
Just stumbled on this video, would like you to put a list of sources for everything you used for this project, and maybe I missed it, but explain or show the ultimate finished project as you indicate sensors for a wire following robot ( and maybe how to set up and program a sensor robot that can detect obstacles). Very well done video. I was looking to decide whether to buy an arduino or a Rasberry Pi, and I think it might be well worth it to go for the Rasberry Pi
@ExplainingComputers
@ExplainingComputers 6 лет назад
There is a web page for this project and its five videos (to date!) here: www.explainingcomputers.com/rasp_pi_robotics.html This includes links to parts, and the final video (for now) is for the line follower. :)
@AlessandroSqueo
@AlessandroSqueo 7 лет назад
Excellent video tutorials. You have inspired me!
@Martinshobbies
@Martinshobbies 5 лет назад
Very cool little robot :-)
@Horusaem
@Horusaem 7 лет назад
what about transmitting the A/V signal ( video) over the Transreciver ( Transmitter RF) and using an other Transreciver ( reciver RF ) to gey the video for either coding or riding around with the camera also mounted ? the RF modules nowdays are common and cheap things and it would be fairly easy on Zero to get the AV signal out straight from the solder points on the board . Might be a nice video ;)
@tienat5127
@tienat5127 6 лет назад
Great video. Thank you so much. I am Vietnamese
@karoldebski5358
@karoldebski5358 3 года назад
Very nice video but how can i control motors only when key is pressed?
@nirupanaidu2395
@nirupanaidu2395 6 лет назад
Great job...good explanation...But Up key is coded to backward, and down key is coded to forward...and hence right and left are reversed...
@ExplainingComputers
@ExplainingComputers 6 лет назад
Depends on which may the robot is facing, and which motor is connected to which set of outputs! :)
@frostgreen5527
@frostgreen5527 7 лет назад
great video, now that the Pi Zero version 1.3 comes with a camera, you can take pictures or color detection, etc... can you do a heat benchmark on the New Pi Zero... thanks, you make good videos.
@NA12495
@NA12495 4 года назад
Understand why the motor battery ground wire is connected to the driver, but why is it also connected to the raspberry pi? Doesn't that defeat having optical isolated? Or does your driver not have optical isolation? Thanks for the videos.
@ExplainingComputers
@ExplainingComputers 4 года назад
If it was not connected to the Pi, it could not possibly work. :) There has to be a shared electrical connection. There is no optical isolation here.
@kickeris88
@kickeris88 7 лет назад
please more videos, amazing stuff and very useful!
@ExplainingComputers
@ExplainingComputers 7 лет назад
Many thanks. I am today shooting a Raspberry Pi video to upload on Xmas day! :)
@kickeris88
@kickeris88 7 лет назад
Cool, cant wait...
@medworthy
@medworthy 7 лет назад
+ExplainingComputers / Christopher Good video and also a good introduction into the usage of Python. I am personally interested in the Broadcom Y USB / WiFi access point adapter and can foresee a host of IoT styled projects that this device could be used within. I have been reading about how this device could be used with the Broadcom WICED Sense device (bluetooth / USB device with gyroscope / accelerometer, compass, pressure and humidity / temperature sensors) and would be interested in seeing any future projects that incorporates these or similar devices. As usual, you are providing informative and interesting content, keep up with the good work!
@ExplainingComputers
@ExplainingComputers 7 лет назад
Many thanks Mark, always good to hear from you. :)
@kinlee3093
@kinlee3093 5 лет назад
Thanks! Appreciate so much your sharing.
@eng.aljobury5087
@eng.aljobury5087 7 лет назад
Pretty project and so beautiful explain thank you so much
@freesaxon6835
@freesaxon6835 7 лет назад
The broadcom USB device looks v.useful
@ExplainingComputers
@ExplainingComputers 7 лет назад
Yes, it is a very nice piece of hardware. Made by the manufacturers of the SoC for the Pi, so highly compatible with the Pi, and also very low power drain.
@als.4568
@als.4568 7 лет назад
Thanks Christopher! Another outstanding video!
@ExplainingComputers
@ExplainingComputers 7 лет назад
Many thanks! :)
@shukhratdad9891
@shukhratdad9891 3 года назад
Hello. Can you show how to solve gpio get permission, add group ...etc. ?
@mainulweb2714
@mainulweb2714 4 года назад
Wonderful tutorial...God bless you
@LordHumungus65
@LordHumungus65 7 лет назад
Another great show!
@ExplainingComputers
@ExplainingComputers 7 лет назад
Many thanks! :)
@DineshKumarWickramasinghe
@DineshKumarWickramasinghe 7 лет назад
Very Nice..!!
@bobyau8755
@bobyau8755 5 лет назад
are you sure that you don't need to change other bit of the code other than the strings after the print () command
@ExplainingComputers
@ExplainingComputers 5 лет назад
Pretty sure, but I would have to check. I cannot remember everything in 240 videos! :)
@mustafaoval3463
@mustafaoval3463 5 лет назад
That was wonderful.thanks for information.
@schr4nz
@schr4nz 7 лет назад
One thing, you don't blow your RPi by connecting the motor directly, it simply doesn't supply enough current and the motor doesn't even move -- I know this because I've tried it :)
@ExplainingComputers
@ExplainingComputers 7 лет назад
Yes, you may not destroy the whole Raspberry Pi. But I can assure you that it is fairly easy to damage the GPIO pins on a Raspberry Pi by drawing too much current from them. They have no overload protection. Even an LED connected without a current-limiting resistor could do it.
@nouranooura6529
@nouranooura6529 2 года назад
Hello, Description, I need to add a servo motor to turn the wheels left and right to Control with Keyboard, if you can enter the code
@ExplainingComputers
@ExplainingComputers 2 года назад
I have a Raspberry Pi servo control video here: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-xHDT4CwjUQE.html
@bretearwood7027
@bretearwood7027 4 года назад
Where can I get ahold of the library for modules like time and curses. I understand how to import them but how do you know how to use them? For example: time.sleep... where can I find out about the "sleep" part of the time module and what other commands can be used with the time module?
@bobyau8755
@bobyau8755 5 лет назад
can you show the code in python 3 as well, the newer Raspbian os system have python 3,but not python 2
@ExplainingComputers
@ExplainingComputers 5 лет назад
Good point. The main differences here will be to the print syntax. I will try to attend to this ASAP.
@seberous
@seberous 7 лет назад
congrats on 108k man!
@ExplainingComputers
@ExplainingComputers 7 лет назад
Thanks. I am still waiting for RU-vid to notify me about getting my Silver Play Button for 100K.
@seberous
@seberous 7 лет назад
ExplainingComputers Great. You deserve it!
@seberous
@seberous 7 лет назад
ExplainingComputers Wow, 109k now!
@ExplainingComputers
@ExplainingComputers 7 лет назад
Baz_Man_03 The channel continues to grow. And I have, I think, some great content planned for the rest of 2016 . . . :)
@seberous
@seberous 7 лет назад
ExplainingComputers The suspense is real!
@jessielitonacion3324
@jessielitonacion3324 7 лет назад
its cool but in your robotics project is it possible to put a camera on that? if possible please make a video tutorial about adding a camera/video to the robotic projects thanks
@upmayadav1257
@upmayadav1257 7 лет назад
very nicely explained
@profesorjan7614
@profesorjan7614 7 лет назад
Great video, Really interesting!!!
@freedom_aint_free
@freedom_aint_free 7 лет назад
Great starter project! It's very didactical :-)
@ripunjoychoudhury8401
@ripunjoychoudhury8401 7 лет назад
+ExplainingComputers Great Work!!Nicely Explained,Thank you!!!!!
@AnimalStomper
@AnimalStomper 11 месяцев назад
For some reason when I run this code, after about ten seconds one of the motors will stop responding. It will still respond to forward and left commands but not back and right, whilst the other motor is fine. Initially it will respond fine to all commands but like I said after a few seconds it will only go in one direction. I have tried two Pi W's admittedly with the same SD card. I also made the Pico W version Robot and that had no problems at all. Perhaps I need a new SD or something for the Pi W. Strange.
@ExplainingComputers
@ExplainingComputers 11 месяцев назад
This is strange. By trying two different Pi Ws, you have ruled out issues with a particular GPIO pin. It could be an issue with a connection to the motor controller, and out to the motor on that side. You could check for a motor controller issue by switching the motors over (A to B and B to A, as it were). If the problem persists, but on the other side, then you will know the issue is with the L298N. Unrelated, you may be interested in the better control code that I put together in this video: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-H1PIzxNdGGk.html
@AnimalStomper
@AnimalStomper 11 месяцев назад
@@ExplainingComputers Thanks for the help, I installed a new version of raspbian and that seems to have solved it. I wanted to use that pygame code but I could not get pygame to run via ssh as I wanted to control the robot through a networked computer. I have tried so many things for almost the past week, many many bits of code, endless googling and watching videos. Turns out all I needed to do was run the pi over VNC and now it works perfectly. It's going to be for an Escape Room. The robot will actually be controlled by touch sensors using the Bare Conductive touch board and the HID Keyboard function. I should probably send you some commision if the Escape Room is successful. Thanks Christopher.
Далее
Raspberry Pi Robotics #4: SSH Network Control
17:41
Просмотров 154 тыс.
I Can Save You Money! - Raspberry Pi Alternatives
15:04
Blinking LED Raspberry Pi Tutorial
12:32
Просмотров 26 тыс.
Building a Relay-Powered Pi Machine
17:35
Просмотров 307 тыс.
Raspberry Pi Servo Motor Control
17:36
Просмотров 386 тыс.
Raspberry Pi Stepper Motor Tutorial
27:32
Просмотров 489 тыс.
The ULTIMATE Raspberry Pi 5 NAS
32:14
Просмотров 1,9 млн
Raspberry Pi Automation #1: Mains Relay HAT
15:03
Просмотров 272 тыс.
Raspberry Pi Devastator Robot #3 : Camera
16:24
Просмотров 125 тыс.