Pranjal Agrawal Robotics
Pranjal Agrawal Robotics
  • 10
  • 30 588
Tetris in MIPS assembly
Demonstration of Tetris in MIPS Assembly. CSC258 Course Project. Emulated in Saturn Emulator.
I can't share the code publicly due to academic integrity purposes.
Переглядів: 360

Відео

Floodfill algorithm micromouse test in simulator
Переглядів 1,2 тис.Рік тому
Floodfill algorithm micromouse test in simulator Micromouse Code - github.com/Pranjal-R-Agrawal/Technoxian_2023_Arduino_Micromouse
First attempt at floodfill based Micromouse (Arduino nano) (Link to code in Description)
Переглядів 12 тис.Рік тому
First attempt at Micromouse (Arduino nano) github.com/Pranjal-R-Agrawal/Technoxian_2023_Arduino_Micromouse The wall alignment is pretty bad because I was playing around a bit with how aggressive the wall following is and how long it takes to align itself with a front wall and set the values a bit too low.
Technoxian 7.0 (2023) Fastest Line Follower Final Round (Robojunkies)
Переглядів 959Рік тому
Technoxian 7.0 (2023) Fastest Line Follower Final Round (Robojunkies)
Technoxian 7.0 (2023) Fastest Line Follower Qualification Round (Robojunkies)
Переглядів 9 тис.Рік тому
Technoxian 7.0 (2023) Fastest Line Follower Qualification Round (Robojunkies)
IIT Techfest Meshmerize (2021) Maze Solving Bot Test Run
Переглядів 3,3 тис.2 роки тому
Arduino nano based maze solving bot Dry run - 29 seconds Final run - 18 seconds Code - github.com/Pranjal-R-Agrawal/Techfest_Meshmerize_2021_Arduino_Maze_Solver
Robotex National 2019 Practice
Переглядів 1484 роки тому
Testing the bot for Robotex National (Ahmedabad) 2019
Techfest Meshmerize(2017) bot Test Run
Переглядів 2 тис.6 років тому
This is the test run of the bot we used in Meshmerize Techfest 2017. We came 2nd. This is the original version. Final version is faster and less messy. Code - github.com/Pranjal-R-Agrawal/Techfest_Meshmerize_2017_Arduino_Maze_Solver

КОМЕНТАРІ

  • @omdhardubey4888
    @omdhardubey4888 17 днів тому

    Hlo pranjal can you pls explain what is sensor on point in your code

  • @kinhkong69z62
    @kinhkong69z62 17 днів тому

    do you use compass ?? like mpu6050 ?

  • @Aniruddha_r
    @Aniruddha_r 19 днів тому

    @pranjalagrawalrobotics Hi Pranjal, You have done amazing work, But I have few question. can you please let us know which IR sensors you have used. also you used sensor value with array of 7 elements, reason for selecting 7. is any specific logic/reason? Morver in you code you used "sensor_on_pin" and its connected to pin no. 17, which sensors is this exactly. you connected a one diagonal left sensor to pin no. 4 and on same pin you connected one of the motor pin. Is this by mistake in code, or what is reason behind this dual pin usage? Your help will be appreciated..

  • @My_folder
    @My_folder 27 днів тому

    Hii bro Please reply

  • @MohitSharma-ci9kd
    @MohitSharma-ci9kd Місяць тому

    Hello brother can you please provide the circuit diagram, because there are some doubts in circuit.

  • @GyanshRocks
    @GyanshRocks Місяць тому

    Amazing

  • @TheTurmanDreams
    @TheTurmanDreams 2 місяці тому

    Genial!!!!!!!!!

  • @atharvbhalerao3062
    @atharvbhalerao3062 2 місяці тому

    You wrote this in assembly?

  • @hirushasasanka4220
    @hirushasasanka4220 2 місяці тому

    what is the main ino file need to upload , and what is the motor you used can you tell the model (encoder) , thank you great work brother

  • @peopledjester7907
    @peopledjester7907 3 місяці тому

    A question, did you design the PCB board you used for the project yourself? And if so, could you provide it to me?

  • @suricool99
    @suricool99 3 місяці тому

    Nice work. I saw your code and could see that you are adjusting the bot alignment with left and right ir sensors only with a threshold and not any pid . Any specific reason for this?

    • @pranjalagrawalrobotics
      @pranjalagrawalrobotics 3 місяці тому

      The bot does use PID for wall following (pid is used on both the ir sensor reading and the encoder reading) Threshold is only used for detecting walls after the bot has reached the centre of a block and wants to scan its surrounding walls.

    • @suricool99
      @suricool99 3 місяці тому

      @@pranjalagrawalrobotics in your code i could see that you are calculating error based on encoder count difference and computing the pid value from that. And then computing wall error as difference between left and right ir sensors. Wall error +/- pid error+/- constant speed is the final output. Wall error is not from pid , it's computed directly. I was curious to know why no pid for ir sensor and only for encoder count

    • @pranjalagrawalrobotics
      @pranjalagrawalrobotics 3 місяці тому

      @@suricool99 just checked, and yeah, you’re right, I misremembered. Basically, what happened was that we started working on the bot around a week before the competition. In fact, we were still working on it on the day of the competition. We simply ran out of time and weren’t able to tune the PID for the sensors and so we computed it directly.

    • @suricool99
      @suricool99 3 місяці тому

      @@pranjalagrawalrobotics we are also in a similar situation. We have got the constant speed part and wall follower part to work independently. We are stuck at a place where we are struggling to combine both speed/position based control along with wall follower pid control . Do you have any suggestions? How can we do this. ?

    • @pranjalagrawalrobotics
      @pranjalagrawalrobotics 3 місяці тому

      @@suricool99 I can’t be sure, since I never got around to implementing pid for the ir sensors and combining it with the encoders, but maybe you could try computing the pid value from the ir sensors and encoders independently and then combine them in a ratio you tune. Like, instead of directly adding/subtracting either the encoder pid value or the ir sensor pid value, you could compute smth like (0.7*ir_pid + 0.3*encoder_pid) and add/subtract that from the speed. I would assume that giving a higher weightage to ir sensors would work slightly better since they can actually sense and avoid the walls whereas if you start off slightly off angle, the encoders would be fighting to drive you closer to the walls.

  • @luisduvantorradomora4131
    @luisduvantorradomora4131 3 місяці тому

    proporcionas el código pero no el diagrama, como podría servir sin eso

  • @Forsecretpurposes
    @Forsecretpurposes 4 місяці тому

    hi, by any chance, can I look at your run and build command in the simulator? big help

    • @pranjalagrawalrobotics
      @pranjalagrawalrobotics 3 місяці тому

      I don't have any build command since the Arduino IDE handles building and uploading the code. For running, this is the code on my mac - /Library/Frameworks/Python.framework/Versions/3.11/bin/python3 <Path to Main.py> --port /dev/cu.usbserial-1110 --baud 19200 This would be the more general version - <Path to Python> <Path to Main.py> --port <COM Port> --baud 19200 Also have a look at the github page of the arduino template for the simulator

    • @pranjalagrawalrobotics
      @pranjalagrawalrobotics 3 місяці тому

      This is the link to the template - github.com/mackorone/mms-arduino

  • @eakanshkhetarpal1010
    @eakanshkhetarpal1010 4 місяці тому

    Hey! I am also trying to go to meshmerize this year so can you maybe send a link to the IR sensor array?

  • @MicroMouse
    @MicroMouse 5 місяців тому

    Very nice

  • @sergiopachecodiaz72
    @sergiopachecodiaz72 5 місяців тому

    What component do i need?

  • @icybreath1
    @icybreath1 5 місяців тому

    How did you make the maze? I want to try making the maze at home to test a micromouse

  • @amaanmeer8014
    @amaanmeer8014 5 місяців тому

    Amazing work! Is it possible to get the schematic diagram?

  • @pritish1337
    @pritish1337 6 місяців тому

    Hey, we need more tutorials form you

  • @rexcode9366
    @rexcode9366 7 місяців тому

    How did you set the goal (how does bot know the goal position in the maze)?

    • @cowboygamer6980
      @cowboygamer6980 3 місяці тому

      In coding he just follows the right wall

    • @rexcode9366
      @rexcode9366 3 місяці тому

      @@cowboygamer6980 I know it's wall follow algorithm, but I want to know how does it determine the goal position?

    • @pranjalagrawalrobotics
      @pranjalagrawalrobotics 3 місяці тому

      @@cowboygamer6980nah, this uses the floodfill algorithm, not the wall following algorithm. That’s why it takes two completely different paths in the two runs.

    • @pranjalagrawalrobotics
      @pranjalagrawalrobotics 3 місяці тому

      @@rexcode9366it knows it’s starting position and that the goal is as the centre. It doesn’t know the wall layout.

    • @rexcode9366
      @rexcode9366 3 місяці тому

      @@pranjalagrawalrobotics yeah, I saw your GitHub repo. Can you make a tutorial on it, explaing in detail

  • @rohail4007
    @rohail4007 7 місяців тому

    Source code mil skta

  • @01aragog78
    @01aragog78 7 місяців тому

    love your work 👍👍

  • @01aragog78
    @01aragog78 7 місяців тому

    so its arduino nano , can it work on arduino uno or how do i change it to work on arduino uno

    • @pranjalagrawalrobotics
      @pranjalagrawalrobotics 7 місяців тому

      The code should work as is, though you should check how much ram the uno has. If it is less than the nano then you may have to modify the code a bit.

    • @01aragog78
      @01aragog78 7 місяців тому

      @@pranjalagrawalrobotics and how to make it learn the make and fix the finish point to find the smallest path

    • @01aragog78
      @01aragog78 7 місяців тому

      @@pranjalagrawalrobotics hey bro i checked your coed and tried to verify it but its showing an error that the encoder is missing. how do i solve it.

  • @rawitchbutdee2549
    @rawitchbutdee2549 8 місяців тому

    hi i have a problem on mms simulation.. its cannoot run via arduino; I'm not sure im putting the right command or not ,thank you

    • @pranjalagrawalrobotics
      @pranjalagrawalrobotics 8 місяців тому

      This is how I used the mms api in my code - drive.google.com/drive/folders/1xG0jK4TJxe-gcxNtGWqhTgi0iRqMKp3k

  • @NoobTechAI
    @NoobTechAI 8 місяців тому

    Do you use a distance sensor or an obstacle avoidance sensor?

  • @levon2371
    @levon2371 8 місяців тому

    Nice video

  • @kinhkong69z62
    @kinhkong69z62 8 місяців тому

    which motor you using ? in your github code the file .h meaning for ?

    • @pranjalagrawalrobotics
      @pranjalagrawalrobotics 8 місяців тому

      I am using 600 rpm micro metal gear motors. .h files are called header files

    • @kinhkong69z62
      @kinhkong69z62 8 місяців тому

      @@pranjalagrawalrobotics thanks

    • @kinhkong69z62
      @kinhkong69z62 8 місяців тому

      are you using encoder motor ?

    • @pranjalagrawalrobotics
      @pranjalagrawalrobotics 8 місяців тому

      @@kinhkong69z62 Yes

    • @kumarutkarsh1248
      @kumarutkarsh1248 8 місяців тому

      can you please provide the link to buy this motor, also what batteries are you using @@pranjalagrawalrobotics​

  • @lokeshwarrajm3686
    @lokeshwarrajm3686 8 місяців тому

    what kind of simulator is this and how to use it

    • @pranjalagrawalrobotics
      @pranjalagrawalrobotics 8 місяців тому

      The simulator is mms simulator You can check out the github page for instructions - github.com/mackorone/mms

  • @aritrobasu9828
    @aritrobasu9828 9 місяців тому

    Can i get ur number or mail id so that i can connect with u

  • @lehuubaothuan8559
    @lehuubaothuan8559 9 місяців тому

    Mượt mà như sunsilk, good job

  • @OneSaile
    @OneSaile 9 місяців тому

    Nice, but my only criticism is that we can barely see the walls lol

    • @pranjalagrawalrobotics
      @pranjalagrawalrobotics 9 місяців тому

      Yeah, I really should have increased the brightness when recording the video. I also have a video of the actual bot, if you want to watch - ua-cam.com/video/6baHDssunZ4/v-deo.html

  • @oximas-oe9vf
    @oximas-oe9vf 9 місяців тому

    Impressive 🤩

  • @charlysoledad3180
    @charlysoledad3180 9 місяців тому

    its necessary use 5 IR sensors, or can i use 4 or less?

    • @pranjalagrawalrobotics
      @pranjalagrawalrobotics 9 місяців тому

      I think atleast 3 are needed. One for each of the side walls and one for sesing the front wall. Wall following will be pretty tough though woth so few sensors. With 4, you could place two directly perpendicular to the side walls and two slightly angled. Although, this setup may have difficulty identifying the front wall in time. 5 really is convenient.

  • @m4s0314
    @m4s0314 10 місяців тому

    how did u can simulator in mms

    • @pranjalagrawalrobotics
      @pranjalagrawalrobotics 9 місяців тому

      I used this simulator - github.com/mackorone/mms They have provided code to connect the simulator to an arduino. In the arduino code, you can simply make calls to the provided simulator API instead of the motor driver and similarly make calls to the API instead of reading data from the sensors,

    • @m4s0314
      @m4s0314 9 місяців тому

      @@pranjalagrawalrobotics can i have your eg code in mms , thanks for replied

    • @komilelmurodov3401
      @komilelmurodov3401 9 місяців тому

      Code

    • @pranjalagrawalrobotics
      @pranjalagrawalrobotics 8 місяців тому

      @@m4s0314 drive.google.com/drive/folders/1xG0jK4TJxe-gcxNtGWqhTgi0iRqMKp3k?usp=share_link The code modified to work with the simulator is older though

    • @pranjalagrawalrobotics
      @pranjalagrawalrobotics 8 місяців тому

      @@komilelmurodov3401 drive.google.com/drive/folders/1xG0jK4TJxe-gcxNtGWqhTgi0iRqMKp3k?usp=share_link

  • @saideepnadella8891
    @saideepnadella8891 10 місяців тому

    Is 1 line on the sensor or are there 3 lines on the sensor? Thank you!

    • @pranjalagrawalrobotics
      @pranjalagrawalrobotics 9 місяців тому

      There are 3 line sensors on the line. One in the centre and two near the border of the line. There are two more sensors on each side, so 7 in total.

  • @DarkHorse136
    @DarkHorse136 10 місяців тому

    Which electronics component you have used in bot

  • @ramshirbhate1319
    @ramshirbhate1319 10 місяців тому

    Code plzz

    • @pranjalagrawalrobotics
      @pranjalagrawalrobotics 10 місяців тому

      As stated in the title, the link to the code is in the description.

  • @111.ashwin
    @111.ashwin 11 місяців тому

    Tokyo drift

  • @111.ashwin
    @111.ashwin Рік тому

    Superb work!

  • @0xatul
    @0xatul Рік тому

    Hey great work! I know little about micromouse's but that's pretty amazing to watch. Few questions, why did the mouse stop once it reached the centre and why did you had to restart from the beginning at 0:52 ? Is is how the flood fill algorithm works?

    • @pranjalagrawalrobotics
      @pranjalagrawalrobotics Рік тому

      The bot stopped at the centre because I have set it as the target. I haven’t programmed the bot to return to the start point so it stopped once it reached the target. The bot constantly updates its map of the maze as it explores. Hence, each subsequent run is better than the previous until the maze is completely mapped out. Hence, I restart it from the start point so that it can explore more and find better oaths (as it did!) You can learn more about floodfill and other maze solving algorithms here - www.123seminarsonly.com/Seminar-Reports/038/59360985-Maze-Solving-Algorithms.pdf, marsuniversity.github.io/ece387/FloodFill.pdf

    • @0xatul
      @0xatul Рік тому

      @@pranjalagrawalrobotics that's helps thanks

  • @uday6717
    @uday6717 Рік тому

    can you please provide the tutorial ??? or code