- 9
- 141 598
AIbeginsDotNet
India
Приєднався 10 сер 2020
Build, Tinker, Code, Debug, Repeat! This channel is an effort to document my projects and share it with the world, learn with me as I explore topics ranging from electronics, IoT, and robotics to machine learning and AI.
#9 How to ROS : The Easy Way ! | Part 2: Installing ROS on a Raspberry Pi 4! | #ROS
Hello World! Welcome to the second part of the ROS Series where we will install ROS on a Raspberry Pi 4 running Ubuntu 20.04.
Reference Links:
1. Installing ROS on Ubuntu : wiki.ros.org/noetic/Installation/Ubuntu
2. ROS tutorials: wiki.ros.org/ROS/Tutorials
Commands (Only the really long ones ;p):
For adding the repository (remember to insert a right angled bracket where it is mentioned, UA-cam for some reason restricts it):
sudo sh -c 'echo "deb packages.ros.org/ros/ubuntu $(lsb_release -sc)main" (insert right angled bracket here) /etc/apt/sources.list.d/ros-latest.list'
For getting the keys:
sudo apt install curl
curl -s raw.githubusercontent.com/ros/rosdistro/master/ros.asc | sudo apt-key add -
OR
sudo apt-key adv --keyserver 'hkp://keyserver.ubuntu.com:80' --recv-key C1CF6E31E6BADE8868B172B4F42ED6FBAB17C654
For the additional packages:
sudo apt install python3-rosdep python3-rosinstall python3-rosinstall-generator python3-wstool build-essential
Reference Links:
1. Installing ROS on Ubuntu : wiki.ros.org/noetic/Installation/Ubuntu
2. ROS tutorials: wiki.ros.org/ROS/Tutorials
Commands (Only the really long ones ;p):
For adding the repository (remember to insert a right angled bracket where it is mentioned, UA-cam for some reason restricts it):
sudo sh -c 'echo "deb packages.ros.org/ros/ubuntu $(lsb_release -sc)main" (insert right angled bracket here) /etc/apt/sources.list.d/ros-latest.list'
For getting the keys:
sudo apt install curl
curl -s raw.githubusercontent.com/ros/rosdistro/master/ros.asc | sudo apt-key add -
OR
sudo apt-key adv --keyserver 'hkp://keyserver.ubuntu.com:80' --recv-key C1CF6E31E6BADE8868B172B4F42ED6FBAB17C654
For the additional packages:
sudo apt install python3-rosdep python3-rosinstall python3-rosinstall-generator python3-wstool build-essential
Переглядів: 6 729
Відео
#8 How to ROS : The Easy Way ! | Part 1: Installing Ubuntu on Raspberry Pi 4 Headless Setup | #ROS
Переглядів 12 тис.2 роки тому
Lets take the first step into the world of ROS (Robot Operating System) development and create awesome robots ! Part 1 shows you how you can install Ubuntu on a Raspberry Pi 4 using a headless setup, i.e. you don't need a separate keyboard, mouse and display to access your Pi. Things you need: 1. Raspberry Pi 4 (2GB RAM or More) 2. 32 GB Micro SD Card 3. 5V 3A Micro USB Power Supply Links: Pop_...
#7 How to make a walking fish robot! || Mudskipper Robot || Biomimicry || #ESP32 Projects
Переглядів 7732 роки тому
Make a Mudskipper Robot. Why? Because its a badass fish! Blog: aibegins.net/2021/10/12/mudskipper-robot/ Things you need: 1. SG90 Servo Motor(x4) - robu.in/product/towerpro-sg90-9g-mini-servo-9-gram/ 2. ESP32 Devkit V1 - robu.in/product/nodemcu-32s-esp32/ 3. 18650 Battery Shield - rb.gy/difd4r 4. 18650 Lithium Ion Battery - robu.in/product/orange-icr-18650-2200mah-lithium-ion-battery/ 5. Common...
#6 Light up lithophane with ESP01 and Neopixel LEDs || Smart Lithophane Display
Переглядів 3953 роки тому
Create a 3D printed photo display with lighting effects that you can control using a web page! Blog: aibegins.net/2021/04/14/smart-lithopane-display/ Code for ESP01: github.com/mijazm/SmartLithopaneDisplay.git 3D Files: www.thingiverse.com/thing:4786929 Lithophane generator : itslitho.com/ Here are the things you will need (affiliate links): 1. ESP01 : amzn.to/3tftM6n 2. ESP01 USB Adapter/Progr...
#5 Obstacle avoiding robot using ultrasound!
Переглядів 4283 роки тому
Make a super simple obstacle avoiding robot using Arduino! Check out my blog at: aibegins.net/2021/01/26/obstacle-avoiding-robot/ Get the code from github : github.com/mijazm/ObstacleAvoider Things you need : Arduino Uno - amzn.to/3sXwYUr L298N H Bridge Module - amzn.to/2NsoqEH HCSR04 Ultrasound sensor module - amzn.to/3a3cKQs 12V DC motors x 2 - amzn.to/3ohJwST Robot Wheels x 2 - amzn.to/36eSD...
#4 How to make a Motion Sensor Switch ! || No Microcontroller , No Coding || DIY Home Automation
Переглядів 2993 роки тому
A simple motion sensor switch to kick start your DIY home automation journey. A blog is attempted here: aibegins.net/2020/11/20/diy-home-automation-motion-sensing-switch/ Things you need: 1. PIR Motion Sensor Module x 1 : Banggood[www.banggood.in/custlink/mDmhHajGFZ] | Amazon[amzn.to/3pHYQKD] 2. 5V Relay Module x 1 : Amazon[amzn.to/3lQzDva]|Banggood[www.banggood.in/custlink/mG3d5oamS6] 3. 5V AC...
#3 How to make an awesome Robot with TWO transistors !!
Переглядів 3383 роки тому
How about we build a robot today? RoachBot is a light avoiding robot which requires no soldering or coding! Get yourself into robotics starting with this simple build. A blog is attempted here: aibegins.net/2020/10/20/roachbot-the-diy-light-avoiding-robot/ Things you need (Consider buying from the links given to support the channel): 1. Light Dependent Resistor (LDR) x 2 : amzn.to/31t08Pg 2. BD...
#2 ESP01 + Alexa = Smart Switch !!
Переглядів 14 тис.3 роки тому
Build your own smart switch and take control of your home! An easy to do and handy project if you are into the Alexa ecosystem. Need a step by step guide? Check out my website at : aibegins.net/2020/09/21/alexa-enabled-smart-wifi-switch/ Component List (Consider buying from these links if it doesn't cost you any extra): 1. ESP01: amzn.to/2ZTqusE 2. 4 channel relay module: amzn.to/35WcemW 3. 5V ...
#1 Program an ESP01: The easy way!
Переглядів 107 тис.4 роки тому
Learn how to dip your toes into IoT, program an ESP01, and yes, the easy way! A reader at your heart? Here is a step by step guide: aibegins.net/2020/08/09/program-an-esp01-the-easy-way/ Additional Boards Manager URLs: arduino.esp8266.com/stable/package_esp8266com_index.json CH340 Drivers: learn.sparkfun.com/tutorials/how-to-install-ch340-drivers/all Consider supporting the channel by buying fr...
You were very helpful and I programmed easily the first try...thank you
thanks a lot. i have question.. and pls make new video for : easy way to connect between PC and ESP+Arduino for any cnc machine
Ah while I can’t promise the cnc machine part, communication between arduino and PC can be done a number of ways, serial com, ROS etc, thanks for the idea!
Awesome work 😍
why can i upload program's wifi scan it's "a fatal error"?
@dels1601 Can you tell me in more detail?
thanks man
Please lose the irritating muzak
You helped me so much! Greetings from Germany, my guy <3
Bro how to make static ip? Tell us about it also
hello bro 20.04 ubuntu version was not available
Alexa is not discovering any device. Alexa and esp01 is on same network.
Bro which version of ubuntu can use Ros
Each LTS version of ubuntu comes with its corresponding ROS version, the newer versions (22.04 and above) have support for ROS 2 , but I recommend learning ROS 1 first because it has more support resources and a larger community online. I suggest you start with ROS noetic and ubuntu 20.04. Good luck!
@@AIbeginsDotNet mine is ubuntu 23.10 , it looks like it didn't support. If yes can u make a small video for installing Ros for this version plz
@@amalkrishna6881 I don't think ros2 works on ubuntu 23.10 so use ubuntu 22.04.3 LTS instead which supports ros2 humble distribution
You're a savior! Thank you !
holy hell thank you you saved me hours of crawling the web
Worked like a charm, thank you!
Thanks brother
Can i use nodemcu esp8266 ?
Yes you can, just be careful with the pinout.
When I go into the example in the file bar, I cant find ESP8266wifi. Please help me
The board manager might not have been configured properly, add the board url and you’ll see it appear in the examples
you saved me nightmares
Tried to get this to work on a fire tab, but alexa doesn't discover any new devices. Do I need to download and link the Philips Hue app to the alexa app?
Hi @garymccrohan7247 , I have not tried using it with the tab, does it work like a hub ?
Very nice video. Thanks. Next video don't put any background music.
It can be made simpler. - i did it here - ua-cam.com/users/shorts8YWCCr2-BE4
Hello, Thank you for the tutorials. Where is the tutorial for connecting with vs code?
How to write cop code to esp01 from ide.. ??
You can refer to my earlier video which show you how to program an esp01. Here is the link: ua-cam.com/video/cTfjqNFAkZ8/v-deo.html
Cannot get this to work; ESP connects to WIFI. but ALEXA doesn't find the device any ideas?
Here are the things you can try 1. Check you echo version, I have tested it on echo 3rd gen. I am not sure if it works for newer versions. 2. Check that your esp and echo are on same wifi network. I know it sounds trivial but I have made this exact mistake before. 3. You can try turning on the debug flag in the code and check the outputs on serial monitor. Sometimes restarting the echo and esp also helps. Good luck with your project!
The network config file link is broken - any other suggestions for resources to check out?
I have updated the link, can you try again?
@@AIbeginsDotNet Works, thank you
Thanks for the informative video. I'm running mint 21 for the sake of me won't install? The arudrino.
Thanks man you helped me alot in building my college Project based n ESP8266 module
THANK OU VERY MUCH FOR THE FIST TIME I LEARNING I HAVE SUCCESS FROM YOUR VIDEO
Excelent explanation! it worked like a charm. Thanks you man! Greetings from my beloved, sunny Venezuela.
thanks for the video... it worled... im using arduino 2.0.4
how to know what nameservers addresses i have to write in the network-config file?
8.8.8.8 is the google’s DNS server which works in almost all countries except maybe China, 1.1.1.1 which is couldfare’s DNS also works in most parts of the world. Either of them should work for you. Good luck with your project!
@@AIbeginsDotNet thank you so muxh for your time <3
I have one more question, idk if mov is the issue but when I connect esp01to relay with live wires connected to relay,it just stops working. Even when trying to control 9w led bulb
Hm is it getting stuck when you operate the relay, or just in general? LED bulbs don’t generate a lot of switching transients so that might not be the issue. also just in case try it with a different relay. It may be that the relay is drawing too much current from ESP01 if you are not using a relay module without optoisolator or if the relay is faulty.
@@AIbeginsDotNet I'm using blynk edgent for the coding part. So when I attach the esp01 it powers on, and the relays clicks and then goes to nc position. But the system would not come on-line or emit wifi for connecting and initial setup. Sometimes when touching the esp it would restart but i can't set it up because of the bootloops. In a short note i know for sure that it's bootlooping. Also i used a 4 channel relay with the same esp01 ( no load tested) it was just working fine. I guess I'll have to check the 4 channel one.
I want to ask one thing. If i put MOV on both sides of Relay, will it be an issue? As I will use both the NO and NC of the relays. Please reply . And yes Thanks for your video it will be really helpful
There is one issue I could think of, when you turn on one device connected to NC it might for a very brief instant cause a connection to the device connected to NO port if there is an MOV connected to both sides. You will understand once you draw the resulting circuit. But depending on your use case you probably can do it, but do a test run first using an individual relay.
stopped after 5 minutes because of the hurrible background music. don't understand, why content creator really believe, this is helpful.
Ah yes, sorry about that, I’ll have them sorted in the future videos
حبيبي يهندي 2
I unable to switch relays but from multimeter I checked the pins of esp01 working perfectly
Hello, Very nice video - I will be adding a monitor to my Pi4 robot project later. By using the setup shown for a headless setup will all the info displayed on my laptop be also displayed on the monitor attached to the Pi4 at the same time? I want to be able to modify the pi4 programming with my laptop remotely and at the robot as well using the attached monitor and usb keyboard. Thank You Jeff
Hi Jeff, the instructions in this video are for a setup without gui, so if you connect an external display to your pi4, it will only show the command line. To mirror the pi4 display on your laptop you will need to install the ubuntu desktop on your pi4 and use VNC viewer. PS: If you wait a while I will be uploading a video on how to remotely code the pi4 from your laptop using VS Code!
what is this a wify module?
ESP01 is a microcontroller with onboard wifi capabilities but it is also commonly used as a wifi module for other microcontrollers .
@@AIbeginsDotNet thank you so much dear sir for sharing some light on this head of mines:P I wonder what can be used for.
Hello what version of ubuntu did you install?
It’s the 20.04 LTS version
it's ESP-01S module, not ESP-01..
I'm sure programming them is nearly identical. Mr. arrogant
Thank you, you helped me a lot. Your method is the easiest to write and read.
It was easy to undestand and it works. Thanks.
Nice project 👍
I am able to follow instructions up until after creating ssh key and trying to log into raspberry pi with the default password ubuntu but it keeps telling me permission denied, please try again, any recommendations?
Hello! I know it sounds weird but can you try waiting for two minutes or so after you turn on the pi and then try ssh ? It seems to be a known issue. Do let me know if that works for you. Good luck with your project!
спасибо друг
My 650 didn't need a transistor... In fact, when I wired with a transistor, it fried my esp01
Thanks
hello dear teacher sorry I have a question I can download ros on ubuntu desktop ? for raspberry pi 4 thanks for answer
The process is exactly the same , just open up a terminal on your ubuntu desktop and type away the commands. Good luck with your project!
@@AIbeginsDotNet Thank you very much teacher I understand I wish you success🙏
Hi, thanks for the tutorial but I'm having the same issue about alexa couldn't find my board. Do you have another guide to try the debug solution?
Oh it seems to be a common problem , I will check it out and update the instructions on the github page if I find a solution. Thanks for pointing it out!
@@AIbeginsDotNet Thank you so much
Soldering was not as easy as it looks better off to just order the right one from aliexpress in the 1st place I think it is about the same price ,I wish I knew this thing was not what I wanted before I ordered it , good thing I found this video I managed to get it done, but I still have not tested it yet though, soldering to the GPIO 0 pin was not easy ,I kept bridging pins whatever solder they use was not compatible with the solder I was using, I also wonder If I could have used the ground from where the USB connector is soldered to the board instead of the one on the header pin, it would have been a bit easier although for some reason I had much less trouble soldering to that GND pin than the GPIO 0 pin on the header I also used some hot glue and I mounted my microswitch on the side of the yellow header connector( at the bottom of it if the USB connector is facing to the left and the header is on your right) it fits perfectly there , this way while plugging in the board to the USB on the PC with your right hand you can very easily hold down the button with your thumb.
I think using the usb ground would work, since the only requirement is pulling GPIO 0 to ground. And nice work with the placement of the switch, I might try it myself :)