Thinking Things
Thinking Things
  • 64
  • 82 478
The BEST DIY Quadruped Robot with ESP32 Tutorial You'll Ever See
Welcome to the first progress video in our DIY quadruped robot series! In this episode, we’ll walk you through the complete assembly process of building your own four-legged robot from scratch. This quadruped features 8 degrees of freedom and is powered by the versatile ESP32.
Here’s what you’ll see in this video:
3D printing the parts for the robot
Assembling the frame and attaching the servo motors
Connecting the servo motors to the driver board
Finalizing the structure with spacers and mounting the ESP32
Adding a shield for the ESP32, along with the driver, power supply, and distance sensor
A demonstration of the robot’s first steps!
By the end of this video, you’ll have a fully assembled robot ready for programming and further customization. And yes, we’ve even given it its own power supply to make it a completely independent creation!
👉 Resources
ESP32 Starter Guide: ua-cam.com/video/zs9TNAbU_iA/v-deo.html
Servo Motor Basics: ua-cam.com/video/EMPaeDU4pdk/v-deo.html
Original stl files from this nice project: www.thingiverse.com/thing:4905975
🔔 Don’t forget to subscribe for future progress videos where we’ll teach the robot how to walk, learn, and do so much more!
#Robotics #DIYRobot #ESP32 #QuadrupedRobot #3DPrinting #AI
Переглядів: 1 962

Відео

I Built a Self-Driving Mini Car Using Just Analog Components
Переглядів 77328 днів тому
Discover the fascinating intersection between biology and technology in this video! 🚗💡 We'll explore how a mini car can follow light using an analog intelligence system inspired by nature-no software required! You'll learn how transistors, acting as logic gates, mimic the behavior of pyramidal neurons in the brain, creating a mechanism that's both simple and innovative. Through hands-on demonst...
ESP32 Servo Motor Tutorial: How to Control a Servo with Buttons for Beginners
Переглядів 1,2 тис.Місяць тому
Learn how to control your servo with ESP32 and buttons! In this tutorial, we will show you how to connect and program your ESP32 board to control a servo motor using buttons. This project is perfect for beginners who want to learn about microcontrollers, robotics, and automation. With this project, you can create a wide range of applications such as robotic arms, robotic cars, and home automati...
You Won't Believe How Easy It Is to Control ESP32 with a Joystick
Переглядів 1,7 тис.3 місяці тому
Take your ESP32 project to the next level by adding a joystick controller! In this tutorial, we'll show you how to connect and program a joystick to control your ESP32-based projects. Learn how to read joystick values, create custom functions, and integrate it with your existing ESP32 code. Whether you're building a robot, a game console, or a home automation system, this video will guide you t...
I Made a Mini Bluetooth Keyboard with an ESP32 (no Arduino)
Переглядів 2,6 тис.3 місяці тому
I Made a Mini Bluetooth Keyboard with an ESP32 (no Arduino)
Getting started with ESP32: Button Tutorial
Переглядів 3,4 тис.3 місяці тому
Getting started with ESP32: Button Tutorial
ESP32 vs Arduino: Which is Better for Your DIY Projects? | Performance & Features Comparison
Переглядів 2913 місяці тому
ESP32 vs Arduino: Which is Better for Your DIY Projects? | Performance & Features Comparison
Simple ESP32 project: I Built a Bluetooth Mouse
Переглядів 1,6 тис.3 місяці тому
Simple ESP32 project: I Built a Bluetooth Mouse
Getting started with ESP32 - The Ultimate Beginner's Guide (2024)
Переглядів 1,6 тис.4 місяці тому
Getting started with ESP32 - The Ultimate Beginner's Guide (2024)
I Built a Bluetooth controller with an ESP32 | DIY 💻 (mini-showcase)
Переглядів 7194 місяці тому
I Built a Bluetooth controller with an ESP32 | DIY 💻 (mini-showcase)
AI impara a trascinarsi su 2 gambe #reinforcementlearning #robotics #ai #esp32 #arduino
Переглядів 1274 місяці тому
AI impara a trascinarsi su 2 gambe #reinforcementlearning #robotics #ai #esp32 #arduino
Little spider-AI learns to walk and run #reinforcementlearning #ai #learning
Переглядів 1194 місяці тому
Little spider-AI learns to walk and run #reinforcementlearning #ai #learning
AI in a mini-car looks around #ai #reinforcementlearning #learning
Переглядів 1224 місяці тому
AI in a mini-car looks around #ai #reinforcementlearning #learning
AI in a mini car learns to navigate #ai #reinforcementlearning #arduinoworkshop #robotics
Переглядів 1054 місяці тому
AI in a mini car learns to navigate #ai #reinforcementlearning #arduinoworkshop #robotics
AI-car, Part 5 - Eye contact #ai #reinforcementlearning #arduino #artificialintelligence
Переглядів 2454 місяці тому
AI-car, Part 5 - Eye contact #ai #reinforcementlearning #arduino #artificialintelligence
Building a self-learning car with Arduino, Part 2 - testing the structure
Переглядів 524 місяці тому
Building a self-learning car with Arduino, Part 2 - testing the structure

КОМЕНТАРІ

  • @tungson7701
    @tungson7701 2 дні тому

    Is this esp32 ch340 or cp2102?

  • @drallersouldust3054
    @drallersouldust3054 3 дні тому

    add mouse 1 and 2 and it could be the best gaming mouse cause it's a stationary joystick

  • @spacergamerx6207
    @spacergamerx6207 5 днів тому

    Code??

    • @ThinkingThings-q4p
      @ThinkingThings-q4p 3 дні тому

      @@spacergamerx6207 I am pasting it here below. Consider that a like a share and a sub would greatly help me at this stage. Let me know if it works :) ____________________________ #include "BleMouse.h" // Include the Bluetooth Mouse library // Create a BluetoothMouse object BleMouse bleMouse; // Define the pins for the joystick and the switch const int vxPin = 32; // Joystick x-axis (horizontal) -> GPIO 32 (analog) const int vyPin = 33; // Joystick y-axis (vertical) -> GPIO 33 (analog) const int swPin = 25; // Joystick button switch -> GPIO 25 (digital) // Sensitivity for cursor movement int sensitivity = 20; // Adjust this value to control cursor speed // Define the new center values and dead zone for joystick movement int centerValue = 3000; // Central value based on your joystick's calibration int deadZone = 200; // Wider dead zone to prevent small movements void setup() { // Initialize serial communication for debugging Serial.begin(9600); // Begin Bluetooth Mouse bleMouse.begin(); Serial.println("Bluetooth Mouse is ready to pair"); // Configure analog pins with pull-down resistors if needed pinMode(vxPin, INPUT_PULLDOWN); pinMode(vyPin, INPUT_PULLDOWN); // Configure the joystick button pin pinMode(swPin, INPUT_PULLUP); // Joystick button uses pull-up resistor } void loop() { if (bleMouse.isConnected()) { // Read joystick values int vxValue = analogRead(vxPin); int vyValue = analogRead(vyPin); int swValue = digitalRead(swPin); // Read joystick button state // Print joystick values for debugging Serial.print("VX: "); Serial.print(vxValue); Serial.print(" | VY: "); Serial.println(vyValue); // Center the readings around the new center value (3000) int xDeviation = vxValue - centerValue; int yDeviation = vyValue - centerValue; int deltaX = 0; int deltaY = 0; // Map the deviations to cursor movement if outside the widened dead zone if (abs(xDeviation) > deadZone) { deltaX = map(xDeviation, -2048, 2047, -sensitivity, sensitivity); } if (abs(yDeviation) > deadZone) { deltaY = map(yDeviation, -2048, 2047, -sensitivity, sensitivity); } // Move the cursor based on joystick input bleMouse.move(deltaX, -deltaY); // Invert deltaY for natural movement // Handle joystick button press for mouse click if (swValue == LOW) { // Button is pressed (active low) if (!bleMouse.isPressed(MOUSE_LEFT)) { bleMouse.press(MOUSE_LEFT); // Press left mouse button } } else { if (bleMouse.isPressed(MOUSE_LEFT)) { bleMouse.release(MOUSE_LEFT); // Release left mouse button } } delay(20); // Smoother movement } else { Serial.println("Mouse not connected"); delay(1000); // Check every second if the Bluetooth mouse is connected } }

  • @ananths2164
    @ananths2164 6 днів тому

    The stl zip file for spider_v0_ultrasonic.ino is missing. can u pls update.

    • @ThinkingThings-q4p
      @ThinkingThings-q4p 5 днів тому

      I am not sure to understand what you mean. The original project link is not from me, and is only for the stl files. The code is from me, and i will go trhough the details in the next video! Stay tuned! :)

  • @ThinkingThings-q4p
    @ThinkingThings-q4p 9 днів тому

    Full video tutorial here: ua-cam.com/video/B26jPX9b1Yo/v-deo.html

  • @saracapone3107
    @saracapone3107 9 днів тому

    Very cute 😂

  • @codesensei2913
    @codesensei2913 12 днів тому

    More than a "Quadraped" is a Quadrepet! It's really cool, keep the great stuff!

  • @sargkookie3118
    @sargkookie3118 12 днів тому

    I dont care if you think your voice is annoying. If you do the talking i will subscribe and send your channel to my friends.

  • @ThinkingThings-q4p
    @ThinkingThings-q4p 13 днів тому

    Let me know if you're excited for the next videos in the series and what you'd like to see included!

  • @lockedpainty7
    @lockedpainty7 25 днів тому

    Please help, I have uploaded the code, but when I use my mouse, the cursor constantly slides diagonally out of my control and does not stay in place.

    • @ThinkingThings-q4p
      @ThinkingThings-q4p 25 днів тому

      I have two hypothesis, the first one is that you might need to play with the parameter centerValue. Try to set it to 2000 and let me know :)

    • @lockedpainty7
      @lockedpainty7 25 днів тому

      @ThinkingThings-q4p Thanks, I'll try.

    • @lockedpainty7
      @lockedpainty7 25 днів тому

      @@ThinkingThings-q4p Unfortunately it didn't work, what is the other method?

    • @propheteyebert7063
      @propheteyebert7063 22 дні тому

      @@lockedpainty7 Set the deadzone to a larger value

    • @lockedpainty7
      @lockedpainty7 21 день тому

      @@propheteyebert7063 thank you

  • @lockedpainty7
    @lockedpainty7 25 днів тому

    Please help, I have uploaded the code, but when I use my mouse, the cursor constantly slides diagonally out of my control and does not stay in place.

  • @MrRlnansel
    @MrRlnansel 26 днів тому

    This is an example of a Braitenberg vehicle. Valentino Braitenberg was an Italian neuroscientist and cyberneticist. He described this and other such machines in his 1984 book _Vehicles: Experiments in Synthetic Psychology_. It's a fabulous book that talks about the ways various connections between sensors and motors lead to surprisingly complicated behaviors. They can be cross connected left & right as in this video or connected straight left to left & right to right; connections can be inhibitory or excitatory with variable strengths; connections can have linear affect or thresholds, or just about any combination of all of these. Very rich behaviors are possible.

    • @ThinkingThings-q4p
      @ThinkingThings-q4p 25 днів тому

      Thank you for the comment! I’m glad you recognized the link to Valentino Braitenberg's work :)

  • @harshkumar9302
    @harshkumar9302 26 днів тому

    the video was interesting but the voice was too robotic. It felt annoying after a while. Try using some natural text to voice alternative

    • @ThinkingThings-q4p
      @ThinkingThings-q4p 26 днів тому

      @@harshkumar9302 Thank you for your comment! :) I agree I was planning to change the sintetizer for the next videos.

  • @techjadoo742
    @techjadoo742 26 днів тому

    Cool.... Simple Analog AI circuit

    • @ThinkingThings-q4p
      @ThinkingThings-q4p 26 днів тому

      Thank you!! I am planning for more complex system based on the same principle, stay tuned!! :)

  • @i.cyberboy
    @i.cyberboy 27 днів тому

    can you give me buy link of esp32

    • @ThinkingThings-q4p
      @ThinkingThings-q4p 26 днів тому

      I am including it in the description! Consider that a like a share and a sub would really help me a lot in this stage! :)

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

    Great topic, thanks👍

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

    Can you release the code?

    • @ThinkingThings-q4p
      @ThinkingThings-q4p 26 днів тому

      Hello! Thank you so much for your interest! I'm planning to create a GitHub repository soon to share my codes, so stay tuned for updates. Your support through subscribing, liking, and sharing would mean the world to me and help me grow at this stage!

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

    This is so cool 😮

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

    CODE???????????????????

    • @ThinkingThings-q4p
      @ThinkingThings-q4p Місяць тому

      Hi!! Thank you for your interest, I am planning to create a GitHub repository soon, to release codes. Stay tuned! Consider that any sub like and share woul really help me a lot at this stage!

    • @ThinkingThings-q4p
      @ThinkingThings-q4p 29 днів тому

      Meanwhile I am pasting it here below. Consider that a like a share and a sub would greatly help me at this stage. Let me know if it works. ____________________________ #include "BleMouse.h" // Include the Bluetooth Mouse library // Create a BluetoothMouse object BleMouse bleMouse; // Define the pins for the joystick and the switch const int vxPin = 32; // Joystick x-axis (horizontal) -> GPIO 32 (analog) const int vyPin = 33; // Joystick y-axis (vertical) -> GPIO 33 (analog) const int swPin = 25; // Joystick button switch -> GPIO 25 (digital) // Sensitivity for cursor movement int sensitivity = 20; // Adjust this value to control cursor speed // Define the new center values and dead zone for joystick movement int centerValue = 3000; // Central value based on your joystick's calibration int deadZone = 200; // Wider dead zone to prevent small movements void setup() { // Initialize serial communication for debugging Serial.begin(9600); // Begin Bluetooth Mouse bleMouse.begin(); Serial.println("Bluetooth Mouse is ready to pair"); // Configure analog pins with pull-down resistors if needed pinMode(vxPin, INPUT_PULLDOWN); pinMode(vyPin, INPUT_PULLDOWN); // Configure the joystick button pin pinMode(swPin, INPUT_PULLUP); // Joystick button uses pull-up resistor } void loop() { if (bleMouse.isConnected()) { // Read joystick values int vxValue = analogRead(vxPin); int vyValue = analogRead(vyPin); int swValue = digitalRead(swPin); // Read joystick button state // Print joystick values for debugging Serial.print("VX: "); Serial.print(vxValue); Serial.print(" | VY: "); Serial.println(vyValue); // Center the readings around the new center value (3000) int xDeviation = vxValue - centerValue; int yDeviation = vyValue - centerValue; int deltaX = 0; int deltaY = 0; // Map the deviations to cursor movement if outside the widened dead zone if (abs(xDeviation) > deadZone) { deltaX = map(xDeviation, -2048, 2047, -sensitivity, sensitivity); } if (abs(yDeviation) > deadZone) { deltaY = map(yDeviation, -2048, 2047, -sensitivity, sensitivity); } // Move the cursor based on joystick input bleMouse.move(deltaX, -deltaY); // Invert deltaY for natural movement // Handle joystick button press for mouse click if (swValue == LOW) { // Button is pressed (active low) if (!bleMouse.isPressed(MOUSE_LEFT)) { bleMouse.press(MOUSE_LEFT); // Press left mouse button } } else { if (bleMouse.isPressed(MOUSE_LEFT)) { bleMouse.release(MOUSE_LEFT); // Release left mouse button } } delay(20); // Smoother movement } else { Serial.println("Mouse not connected"); delay(1000); // Check every second if the Bluetooth mouse is connected } }

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

    Interesting video, but the code is missing. Please fill it in.

    • @ThinkingThings-q4p
      @ThinkingThings-q4p Місяць тому

      Hello! Thank you so much for your interest! I'm planning to create a GitHub repository soon to share my codes, so stay tuned for updates. Your support through subscribing, liking, and sharing would mean the world to me and help me grow at this stage!

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

      @@ThinkingThings-q4p My support through subscribing, liking, and sharing only makes sense if your channel is useful to me. If the author doesn't bother to publish the code, I won't support, like, or subscribe. It makes no sense. No code = no like or channel subscription.

    • @ThinkingThings-q4p
      @ThinkingThings-q4p 29 днів тому

      @@karelbenda5322 Thank you for your feedback! I understand how helpful having access to the code can be, and I truly appreciate your perspective. My channel focuses on sharing ideas, demonstrations, and inspiration for DIY projects. As I mentioned, I plan to create a GitHub repository soon to share my projects more broadly. Of course, the choice to subscribe is entirely yours, and I respect that. Thanks again for your input, and I hope to see you around!

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

    You need to award it more points for keeping a horizontal axis. Nice trys so far though

    • @ThinkingThings-q4p
      @ThinkingThings-q4p Місяць тому

      I am using the standard reward function of the mujoco environment here. However this could be a great idea, thank you :)

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

    Can you release the code?

    • @ThinkingThings-q4p
      @ThinkingThings-q4p Місяць тому

      Hi! Planning to create a github soon to release codes, thank you for your interest! Consider that a like a a like a share and a sub would really help me a lot in this stage :)

  • @Adrian-od8iu
    @Adrian-od8iu Місяць тому

    same code for windows? also still waiting on your code, i have some cool ideas to add

    • @ThinkingThings-q4p
      @ThinkingThings-q4p Місяць тому

      Yes, i am using the Arduino IDE that you can use also on Windows. I am planning to make a GitHub to release the code, stay tuned!

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

    Nice ♥♥♥

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

    NO, the tilte says do it yourself 💀💀💀💀💀💀

    • @ThinkingThings-q4p
      @ThinkingThings-q4p Місяць тому

      Here I made an actual full tutorial! :) ua-cam.com/video/sydMsXlY5NM/v-deo.html

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

    i dont know, but for me its not working :( it stay on state 1

    • @ThinkingThings-q4p
      @ThinkingThings-q4p Місяць тому

      What code are you using? Are you using pull up mode? Did you try another button?

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

      @@ThinkingThings-q4p yes and yes try other buttons const int buttonPin = 26; int buttonState = 0; void setup() { Serial.begin(115200); pinMode(buttonPin, INPUT_PULLUP); } void loop() { buttonState = digitalRead(buttonPin); Serial.print("Button state:"); Serial.println(buttonState); delay(100); }

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

      it works sorry thanks a lot

    • @ThinkingThings-q4p
      @ThinkingThings-q4p Місяць тому

      @@michaelm4876 Great!! :)

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

    its really with AI or its with code?

    • @ThinkingThings-q4p
      @ThinkingThings-q4p Місяць тому

      Thank you for asking! This is actually an agent improving thanks to reinforcement learning (Policy gradient)

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

    Full video link sir

    • @ThinkingThings-q4p
      @ThinkingThings-q4p Місяць тому

      Here you are: ua-cam.com/video/hZKu84aT80w/v-deo.html

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

    Mind ur ass Thats movement With this logic my normal mouse is also mind controlled

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

    wow that’s super cool!

    • @ThinkingThings-q4p
      @ThinkingThings-q4p 2 місяці тому

      @@techgenius0411 Thank you! Let me know if you would like a full tutorial!

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

    Cool

  • @ThinkingThings-q4p
    @ThinkingThings-q4p 2 місяці тому

    Full video here! ua-cam.com/video/yGU9-jSJi9M/v-deo.htmlsi=Zn3aj_dg-JRuDjzH

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

    Can i get the code?

    • @ThinkingThings-q4p
      @ThinkingThings-q4p Місяць тому

      Thank you for your interest, I am planning to create a GitHub soon to release codes. Stay tuned. Consider that a share a like and a sub would really help me a lot at this stage :)

  • @ThinkingThings-q4p
    @ThinkingThings-q4p 2 місяці тому

    Let me know in the comments if you would like a tutorial!

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

    what is the model

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

    So cool! How did you get the idea?

    • @ThinkingThings-q4p
      @ThinkingThings-q4p 2 місяці тому

      @@saracapone3107 I wanted to try learning algorithm on robots, and make this project accessibile to everybody! planning to make a full tutorial soon.

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

    Do you need very expensive motors with precision and feedback to do RL?

    • @ThinkingThings-q4p
      @ThinkingThings-q4p 2 місяці тому

      @@davidyoung5256 Those servos are actually very cheap, couple of euros each. I am planning to make a full video tutorial in the next few weeks on this topic. Would you like to see It? Check out my lastest short, I am building also a spider-bot :)

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

      @@ThinkingThings-q4p Sure that would be interesting to see. I thought that a lot of precision was required to jump from sim to real

    • @ThinkingThings-q4p
      @ThinkingThings-q4p 2 місяці тому

      @davidyoung5256 this Is true if you want to use the same policy, but not if you train from scratch :)

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

    It looks like a crawling fnaf animatronic.

    • @ThinkingThings-q4p
      @ThinkingThings-q4p 3 місяці тому

      @@Th4t_dude 🤣 which one? yes, I am still working on the gait, but i Plan to make It learn optimal motion through reinforcement learning:)

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

      @ThinkingThings-q4p freadbear pizzeria freabear endo (pexiglass cover on), it was crawling during Maintenance after the fire, it was trying to escape.

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

    Spider

  • @ThinkingThings-q4p
    @ThinkingThings-q4p 3 місяці тому

    I am actually curious to know your favorite! I have a passion for the DOG!

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

      Try to attach some rubber on their feet

    • @ThinkingThings-q4p
      @ThinkingThings-q4p 2 місяці тому

      @@istoleyourchezburger Thank you for the suggestion, probably the dog needs it. Consider that a sub, a like, and a share would greatly help me in this stage :)

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

    Nice,thanks:)

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

    Can i have tur

    • @ThinkingThings-q4p
      @ThinkingThings-q4p 3 місяці тому

      @@AntiBeggars Thank you for asking! I am making a video on this very very soon!

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

    We got racism over 2024

  • @ThinkingThings-q4p
    @ThinkingThings-q4p 3 місяці тому

    Working to bring this Little guy to Life :) Stay tuned!

  • @ThinkingThings-q4p
    @ThinkingThings-q4p 3 місяці тому

    Stay tuned to see the full robot and how the AI make It do things!

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

    Hello my friend, is there an email address so that I can contact you? Please help me because I am creating a project and I am sure that you can help me in this project and solve this problem for me 🙏

    • @ThinkingThings-q4p
      @ThinkingThings-q4p 3 місяці тому

      Thank you for your interest! :) Can I ask what Is the project and what problems are you facing?

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

      @@ThinkingThings-q4p I have a board called esp32 lcd 1.9 inch ideaspark 170x320 I want to upload a code that was working on a board called esp32 lilygo but I am facing some problems when I upload it nothing appears on the screen I hope you can help me because I am very frustrated 😭

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

      I have a board called esp32 lcd 1.9 inch ideaspark 170x320 I want to upload a code that was working on a board called esp32 lilygo but I am facing some problems when I upload it nothing appears on the screen I hope you can help me because I am very frustrated 😭​@@ThinkingThings-q4p

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

      @ThinkingThings-q4p I have a board called esp32 lcd 1.9 inch ideaspark 170x320 I want to upload a code that was working on a board called esp32 lilygo but I am facing some problems when I upload it nothing appears on the screen

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

      @@ThinkingThings-q4p I have a board called esp32 lcd 1.9 inch ideaspark I want to upload a code that was working on a board called esp32 lilygo but I am facing some problems when I upload it nothing appears on the screen

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

    what is your AI?

    • @ThinkingThings-q4p
      @ThinkingThings-q4p 3 місяці тому

      @@desuwu31 I'm testing a new AI algorithm on small robots to help them learn new tasks. A dedicated video is coming soon! Every share, like, and sub helps a lot and keeps me going! Ps. This is preview of another robot I am working on: ua-cam.com/users/shorts72P7bkK5NbI?si=HRCDoQIcB3GRQgMj

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

      @@ThinkingThings-q4p nice!

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

    Wouldnt it be 2-3-1? Due to the pitch going up on the last note? Or at least 1-2-1

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

    Bros in Harvard after he's 10

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

    povide your code

    • @ThinkingThings-q4p
      @ThinkingThings-q4p 3 місяці тому

      Thank you for your interest. I am going to paste the code in the description. Consider that a like, a sub, and a share would greatly help me at this stage!

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

      Thanks ❤❤❤

    • @ThinkingThings-q4p
      @ThinkingThings-q4p 3 місяці тому

      @@lochobhai I am actually pasting it here: _____________________ #include "BleMouse.h" // Include the Bluetooth Mouse library // Create a BluetoothMouse object BleMouse bleMouse; // Define the pins for the joystick and the switch const int vxPin = 32; // Joystick x-axis (horizontal) -> GPIO 32 (analog) const int vyPin = 33; // Joystick y-axis (vertical) -> GPIO 33 (analog) const int swPin = 25; // Joystick button switch -> GPIO 25 (digital) // Sensitivity for cursor movement int sensitivity = 20; // Adjust this value to control cursor speed // Define the new center values and dead zone for joystick movement int centerValue = 3000; // Central value based on your joystick's calibration int deadZone = 200; // Wider dead zone to prevent small movements void setup() { // Initialize serial communication for debugging Serial.begin(9600); // Begin Bluetooth Mouse bleMouse.begin(); Serial.println("Bluetooth Mouse is ready to pair"); // Configure analog pins with pull-down resistors if needed pinMode(vxPin, INPUT_PULLDOWN); pinMode(vyPin, INPUT_PULLDOWN); // Configure the joystick button pin pinMode(swPin, INPUT_PULLUP); // Joystick button uses pull-up resistor } void loop() { if (bleMouse.isConnected()) { // Read joystick values int vxValue = analogRead(vxPin); int vyValue = analogRead(vyPin); int swValue = digitalRead(swPin); // Read joystick button state // Print joystick values for debugging Serial.print("VX: "); Serial.print(vxValue); Serial.print(" | VY: "); Serial.println(vyValue); // Center the readings around the new center value (3000) int xDeviation = vxValue - centerValue; int yDeviation = vyValue - centerValue; int deltaX = 0; int deltaY = 0; // Map the deviations to cursor movement if outside the widened dead zone if (abs(xDeviation) > deadZone) { deltaX = map(xDeviation, -2048, 2047, -sensitivity, sensitivity); } if (abs(yDeviation) > deadZone) { deltaY = map(yDeviation, -2048, 2047, -sensitivity, sensitivity); } // Move the cursor based on joystick input bleMouse.move(deltaX, -deltaY); // Invert deltaY for natural movement // Handle joystick button press for mouse click if (swValue == LOW) { // Button is pressed (active low) if (!bleMouse.isPressed(MOUSE_LEFT)) { bleMouse.press(MOUSE_LEFT); // Press left mouse button } } else { if (bleMouse.isPressed(MOUSE_LEFT)) { bleMouse.release(MOUSE_LEFT); // Release left mouse button } } delay(20); // Smoother movement } else { Serial.println("Mouse not connected"); delay(1000); // Check every second if the Bluetooth mouse is connected } }

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

      ​@@ThinkingThings-q4p code does not work

    • @ThinkingThings-q4p
      @ThinkingThings-q4p 29 днів тому

      @@im_anhar What kind of error do you get?