I am trying to control dc motor with an inbuilt hall senor. I have only 2 wires for power and ground of the motor and 2 more for hall sensor. I am bit confused how to connect and read hall pulses. For now I have conncected white to 5V and green to digital pin2. In simulink, I only get 1 as on output even when the motor is rotating. Can someone guide me?
@kenjifugimoto6 күн бұрын
What software did you use for this?
@q-69sumukhms347 күн бұрын
Can you explain why you took sampling time as 0.5ms?
@MauricioHirano-f6r10 күн бұрын
Magnolia Cove
@thePavukАй бұрын
Real Ultrasonics sensors has few additional parameters 1) typical sampling frequency is 50Hz so they won't update in real time. If robot moves with speed 1m/s toward wall, it moves 2cm before update. It's even more significant during rotation. 2) ultasonic sensors has high noise. Usually +/- 2cm for cheap one with 250cm range. 3) They can have issue... Same model of US usually works on same frequency = you has to trigger sensors one by one because they interfere with each other.
@stefano8936Ай бұрын
7:20 F-Bomb dropped
@BELABEDAbdelkader-k7cАй бұрын
Will we see future videos of ROS and Gazebo using deep reinforcement learning?
@KhánhNguyễn-b5c3pАй бұрын
hi i really want to know how to i can create model 'h5'
@ChesterLotter-ik8mqАй бұрын
Is there a place to play these
@hobby_codingАй бұрын
not yet, it's just an ai training using Deep Reinforcement Learning.
@hobby_codingАй бұрын
Enjoyed this content ?
@buseo59362 ай бұрын
Hello. I implemented a state feedback control using the state-space model with the provided A, B, C, and D matrices in Simulink, but I noticed that the state variables are diverging. When I checked the poles using the eig function, I found that there is a positive real number included. Why does the regulator work correctly in the Simscape model, but when I create a separate state feedback model, it produces diverging values? Also, when designing a state feedback model in Simulink, should the initial value of the integrator be set to the same value as the step input in Simscape?
Thank you Sir for the video. I tried to run the code in the video install scipy version does not work
@antonwezels94032 ай бұрын
Hello, are your services still available on fiverr?
@hobby_coding2 ай бұрын
Unfortunately not, i did Fiverr to support myself during my PhD years. but now i have too much work on my hands. All i can do now is to answer your questions in the comments section.
@antonwezels94032 ай бұрын
@hobby_coding But thank you very much for your valuable content, it helps me a lot. Do you have any tip on how I can apply your simulation approach in a real environment by using RP Lidar and Rasphberry Pi as a device for mapping a space?
the code executed fine and the output video file was generated. but when i played the video the lanes weren't marked with green color, or highlighted in anyway. It looked same as the input video. where could i be missed something ? i followed your code line by line . please help
@renzsuarez40273 ай бұрын
can this be use in Lightbulbs?
@hobby_coding3 ай бұрын
you need a couple more components but, yes this will work on a light bulb.
@wfpnknw323 ай бұрын
interesting video although just doing a standard screen cast even if it's longer would be much more useful. I feel like i have to debug this tutorial. You add in blocks and components offscreen and use keyboard short cuts without explaining how to search for components. Also things like at 12:12 where you say it's really crucial to set a value and then cover the actual screen with a blown up screen shot of a properties window (but is it the one you're talking about, is it a bug and which one is it for), below the screenshot you can see the bottom of the actual window you're editing.. Great topic but honestly just a screen share of the whole process (sped up for bits if needed) would be much more useful. Nothing fancy just what you did is best.
@hobby_coding3 ай бұрын
thanks for the valuable remark.
@hassansakeef58383 ай бұрын
Hello great video sir, i was wondering how do you suppose is it possible using the same model for the robot to make turns to reach a certain target rather than just move forward and backward? An idea or resource would be highly appreciated. Thank you.
@hobby_coding3 ай бұрын
you can use another 3D robotics simulation environment like gazebo + ros.
@renzsuarez40273 ай бұрын
can i ask is this work in light bulb?
@hobby_coding3 ай бұрын
you can use a relay to easily turn the light bulb on and off using the project presented in this video. however if you wanted to dimm the light than you'll need an AC dimmer module and a dimmable light bulb.
@khemisakram3 ай бұрын
i have a drim to be a youtuber like you keep going bro
@hobby_coding3 ай бұрын
Thanks for encouragement. my goal was not to be a youtube, it was always to be a scientists and an educator, and youtube provided a platform for me to deliver my content to people. just make a youtube channel and share the projects that create even if they are simple, there is always people who can find your ideas useful.
@muhammadmubashir46824 ай бұрын
in this simulation you are just calculation vertical angle?
@hobby_coding3 ай бұрын
i'm calculating the tilt angle with respect to the vertical axis.
@haihuynh83375 ай бұрын
Is it more performant to find the intersection between (x1,y1),(x2,y2) and the four sides of the rectangle instead of splitting it to 100 points?
@hobby_coding3 ай бұрын
yes, it could be . but you are assuming that the obstacle is a rectangle. it might not be .
@maurya_15 ай бұрын
Great videos loving it please keep making these videos
@hobby_coding3 ай бұрын
Thank you! Will do!
@kadaliakshay67705 ай бұрын
hey is there any way of doing this with camera but without a LIDAR? because I've done some research and it kinda looks like it's possible...
@hobby_coding3 ай бұрын
Yes, autonomous driving can be done with a camera. Tesla for example uses cameras, radar and ultrasonic sensors.
@kadaliakshay6770Ай бұрын
@@hobby_coding thx
@hobby_coding5 ай бұрын
📁 source code: ko-fi.com/s/b0f376134e
@amr.a-m83505 ай бұрын
Good video .How to convert signal position of revolute to voltage to be inserted to the pid to get a force acting on prismatic
Hello, can you upload a video of adding a PID controller to the robot you imported from onshape. Like a walking robot.. thank you
@hobby_coding3 ай бұрын
could be done, thanks for the idea.
@hamedshamsikhani33455 ай бұрын
Thank you very much dear sir. You teach excellent but please describe more about something like 100 signals or sample time! I exactly make your model . My motor turns about 3200 rpm but the result is not acceptable.
@hobby_coding5 ай бұрын
🗃️ source code : ko-fi.com/s/1a38e1563b
@Hanan-qz8ms5 ай бұрын
I use rplidar c1.. when i run it apper a black window and the lidar doesn't connect or even work!😢 please help me
@hobby_coding5 ай бұрын
🏷️ Download the files: ko-fi.com/s/716bba8384
@hobby_coding6 ай бұрын
code: ko-fi.com/s/86d7053723
@alanperez75516 ай бұрын
If you did all right and still having and error try this: "File" -> "Invalidate Caches / Restart" -> "Invalidate and Restart". This restart the old cache and validates the added modules like: import pygame etc...
@ДжайгоДжай6 ай бұрын
Hello! I wrote all the code like yours, but it doesn't display, scan, or display an image.
@outer12696 ай бұрын
most part of the main.py code didnt show in the later part of the video