Building a Touchscreen Smart Robot Remote

Поделиться
HTML-код
  • Опубликовано: 8 фев 2025
  • Opla IoT Kit - €99.00 : promo.arduino....
    It's time to build a touchscreen smart remote to replace my original 'everything remote'. The new version is based on a Raspberry Pi and is ROS enabled so I can publish and subscribe to ROS topics. The touchscreen interface will get populated as I do more robotics development.
    You can support me on Patreon or buy my Merchandise:
    ***************************
    Patreon: / xrobots
    Merchandise: teespring.com/...
    ***************************
    Affiliate links - I will get some money of you use them to sign up or buy something:
    ***************************
    Matterhackers 3D printing supplies: www.matterhacke...?aff=7500
    Music for your RUclips videos: share.epidemics...
    ***************************
    Other socials:
    ***************************
    Instagram: / xrobotsuk
    Facebook: / xrobotsuk
    Twitter: / xrobotsuk
    ***************************
    CAD and Code for my projects: github.com/XRo...
    Huge thanks to my Patrons, without whom my standard of living would drastically decline. Like, inside out-Farm Foods bag decline. Plus a very special shoutout to Lulzbot, Inc who keep me in LulzBot 3D printers and support me via Patreon.
    HARDWARE/SOFTWARE
    Below you can also find a lot of the typical tools, equipment and supplies used in my projects:
    Filament from: www.3dfuel.com/
    Lulzbot 3D Printers: bit.ly/2Sj6nil
    Lincoln Electric Welder: bit.ly/2Rqhqos
    CNC Router: bit.ly/2QdsNjt
    Ryobi Tools: bit.ly/2RhArcD
    Axminster Micro Lathe: bit.ly/2Sj6eeN
    3D Printer Filament: bit.ly/2PdcdUu
    Soldering Iron: bit.ly/2DrNWDR
    Vectric CNC Software: bit.ly/2zxpZqv
    Why not join my community, who are mostly made up of actual geniuses. There’s a Facebook group and everything: / 287089964833488
    XROBOTS
    Former toy designer, current RUclips maker and general robotics, electrical and mechanical engineer, I’m a fan of doing it yourself and innovation by trial and error. My channel is where I share some of my useful and not-so-useful inventions, designs and maker advice. Iron Man is my go-to cosplay, and 3D printing can solve most issues - broken bolts, missing parts, world hunger, you name it.
    XRobots is the community around my content where you can get in touch, share tips and advice, and more build FAQs, schematics and designs are also available.

Комментарии •

  • @AllDayBikes
    @AllDayBikes 4 года назад +38

    The everything remote is to you what a lock is to LockPickingLawyer, or a pulse jet to Colin Furze. I can't imagine your channel without it. Love the upgrade haha

  • @ellabun
    @ellabun 4 года назад +51

    James: **carefully designs and prints perfect fit for display**
    Also James: **designs and prints additional 15mm bezel around display**

  • @lazermaniac
    @lazermaniac 4 года назад +71

    It's like a thicker, heftier version of a Switch - you've build the Nintendo Breaker!

    • @StarScapesOG
      @StarScapesOG 4 года назад

      I would call it the Super Nintendo Switch

    • @jdmeesey
      @jdmeesey 4 года назад

      James you j need to interface a tablet/Surface with some joy cons and build a switch-inspired chassis solution!

    • @zh9664
      @zh9664 4 года назад

      The switch sets a very very low bar so yeah id say this thing is better

    • @bobdagamer640
      @bobdagamer640 3 года назад

      Thicc

    • @JaredConnell
      @JaredConnell 3 года назад

      Hopefully no joy con drift on this one

  • @swamihuman9395
    @swamihuman9395 4 года назад +4

    "I don't wanna be driving at 500 meters per second."!:D Delivered in perfect deadpan manner:)

  • @thomaslowe7816
    @thomaslowe7816 4 года назад +16

    Arduino: Lets sponsor Jame Bruton!
    James:*Using teensy in literally every project*

  • @marco_gallone
    @marco_gallone 4 года назад

    I love the transition into the py for more industry standard robotics development! Keep up the amazing work!

  • @faeranne
    @faeranne 4 года назад +5

    Just so you know, versions of the pi after the original b don't need those i2c wires for the touchscreen. They are already routed over the DSI cable.

  • @joyleencamielleg7257
    @joyleencamielleg7257 4 года назад

    I love the way you explain ROS, thank you so much... never thought of it was a network before :)

  • @MagnusDangerMagnus
    @MagnusDangerMagnus 4 года назад +3

    Thank you so much for publishing the source for this.

    • @jamesbruton
      @jamesbruton  4 года назад +3

      No worries, I'll update it as I go.

  • @motbus3
    @motbus3 4 года назад +3

    so cool to see things coming like this together. congratulations and thanks!

  • @tncowboybuck
    @tncowboybuck Год назад +1

    I love all these projects and that you make them available open source. Just one thought though: It would be nice if you could also provide a BOM. Like what are the joy sticks? What are the buttons? Where did they come from? Keep up the awesome work!

  • @TheEngineerC
    @TheEngineerC 4 года назад +5

    Ive been working on almost the EXACT same project, except with a pi 3 and a waveshare monitor and some pcbs similar to Nintendo joycons. I'm actually powering mine with just a cell phone battery bank that shows the percentage left on the pack.

  • @eknut28263
    @eknut28263 4 года назад

    Now that's a badass remote! Endless possibilities, Nice work!

  • @cjdoesyoutube6148
    @cjdoesyoutube6148 4 года назад +6

    James every single episode: Oh yeah, it’s big brain time

  • @AlanPieroway
    @AlanPieroway 4 года назад

    i like the way the background is being cleaned up... and looking more professional. but, that being said, i don't care what the background looks like as long as the content continues to be so highly interesting and well done.

  • @LoyvanBeek
    @LoyvanBeek 4 года назад +17

    Instead of publishing a Twist and some separate topic for the buttons, you might want to just publish a Joy-message, specifically made for joysticks. There's a joystick_teleop node that ingests that and outputs /cmd_vel. That setup allows for remapping of the buttons and axes. Also takes care of the deadzone, scaling etc. There's a joystick node that uses in a Linux joystick device to publish Joy-messages. Then, you can make your handheld controller act as a normal joystick device via the Teensy. That way, it'll also work as a joystick if you plug it into a Windows machine, as it's then just a normal plug-and-play joystick device

  • @cad_man
    @cad_man 4 года назад +2

    this fella deserves 1million subscribers. Surely!!!

    • @jameshamaker9321
      @jameshamaker9321 4 года назад

      I agree. I happen to be one of the first people, to have subscribed to his channel. I'm a huge fan of his.

  • @SavageSmithy
    @SavageSmithy 4 года назад

    ROS sounds like it could be a pretty good base for a home automation project, cheap easy touch screen control panel in every room which can all share data and then you can either pass that data to other services or set up "robots" to control appliances/lighting.

    • @jamesbruton
      @jamesbruton  4 года назад +1

      Yes it's pretty much just a framework, so you could control anything with it.

  • @vrohh6310
    @vrohh6310 4 года назад +11

    1:52 nintendo switch
    Look at this dude

  • @swamihuman9395
    @swamihuman9395 4 года назад

    Thx. Always over the top; and always explaining things so well. I love all the details you offer, and insight into your design thoughts.

  • @laxmiibhele8376
    @laxmiibhele8376 4 года назад +1

    Congratulations 🎉 James now 😀 you have sponors like the great Arduino 🔥🔥🔥🔥🔥

  • @fred-9929
    @fred-9929 4 года назад +7

    A dedicated hat with the Teensy and all I/Os and connectors (I²C, SPI...) could be nice, to avoid USB cable (by directly using the serial port on GPIOs), and allows further developpements.

    • @RingingResonance
      @RingingResonance 4 года назад

      I don't know much about the ras-pi hardware/software, but having direct IO access might also help reduce latency.

  • @jdwg5
    @jdwg5 4 года назад +1

    Hey James! There's a ROS topic called sensor_msgs/Joy that has an array of floats for the axes and an array of ints for buttons/switches/states. Might be something that could be pretty useful for this application!

  • @roseroserose588
    @roseroserose588 4 года назад +1

    This ROS stuff is looking amazing! I'd never have imagined that a distributed OS would be fast enough for real time controls but apparently not!
    One thing I'd be a little concerned about is if the remote runs out of battery while controlling a robot, in case the robot disappears off into the distance with no way to stop it. Implementing a heartbeat/watchdog timer from the remote to say "hey, i'm still here!" that the robot subscribes to, and automatically shuts down if it doesn't receive the message after a timeout?

    • @jamesbruton
      @jamesbruton  4 года назад +1

      Yes that's a good point. That could just be another ROS message on repeat.

  • @WistrelChianti
    @WistrelChianti 4 года назад

    Such a strong Lemmings vibe from the printing music this time :D

  • @StevenIngram
    @StevenIngram 4 года назад +1

    I like it. It reminds of the controllers they used in the movie, Real Steel. :)

  • @BenjaminK123
    @BenjaminK123 3 года назад

    i love your videos but it makes me realize just how simple i am lol, i have tinkered with this stuff but you are on another level

  • @wafje
    @wafje 4 года назад +2

    I would publish values from 0-1 from the remote. The subscriber (in this case the robot) should then map these to speed values.

  • @4.0.4
    @4.0.4 4 года назад

    Never heard of ROS Serial before. Sounds neat! Also you could use the power of 3D printing to make it more ergonomic than that shoebox shape lol

  • @jakekeip
    @jakekeip 3 года назад +2

    I love this idea and would like to reproduce it for my own projects. Is there a parts list for the components that are used in this build?

  • @postualin6551
    @postualin6551 4 года назад +1

    Thats how world makes beter and beter ! This wil be useful for my other robots

  • @rikschaaf
    @rikschaaf 4 года назад

    You should add a d-pad, one extra button and shoulder buttons. Then it'd be a good retro pi handheld :D

  • @svenbbb
    @svenbbb 4 года назад

    I was thinking how great it would be if you would make a Puzzle Box. Like the ones on the channel of Chris Ramsey. That would be so fricking awesome. To see your mechanical skills in a Puzzle. Maybe you could do a collaboration!

  • @nevillecreativitymentor
    @nevillecreativitymentor 6 месяцев назад

    I hope to do this in my upcoming Open Source Hardware GIS Drone (Fixed Wing)

  • @vihangpathak9759
    @vihangpathak9759 4 года назад

    In love with the amount and quality knowledge you share with us thank you❤

  • @aaravsamtani5499
    @aaravsamtani5499 2 года назад

    He is very talented.

  • @MuhammadDaudkhanTV100
    @MuhammadDaudkhanTV100 4 года назад

    Very good work and cool

  • @bbogdanmircea
    @bbogdanmircea 4 года назад

    Amazing idea for a controller! I have a suggestion, it would be really nice if you could make some diagrams to show how the RPi interfaces versus the Teensy over serial with the rosserial as protocol and so on, it would make the understanding much more easier. Looking forward for you to push the designs!!!

    • @jamesbruton
      @jamesbruton  4 года назад

      The Rosserial Node runs on the Pi, it talks to the Arduino/Teensy over serial using the Rosserial Arduino library

    • @bbogdanmircea
      @bbogdanmircea 4 года назад

      @@jamesbruton Some nice diagram with devices and protocols would help, you can take some tips from Andreas Spies, he is a master of concise and simple explanations.

  • @fpvnafret
    @fpvnafret 4 года назад +1

    thanks for sharing all this knowledge with us, you are the best! :)

  • @DylanMatthewTurner
    @DylanMatthewTurner 4 года назад

    Maybe I missed it, but why did you use the teensy to connect to the buttons and joysticks instead of just using the GPIO already on the Raspberry Pi?

    • @danielh.8836
      @danielh.8836 4 года назад +1

      The raspberry pi has no analog inputs. The joysticks need them so he needs some kind of "converter"

  • @lolous-studio
    @lolous-studio 4 года назад

    Ho, A new video ! Bam, Instant like !

  • @bizzehdee
    @bizzehdee 3 года назад

    Another advantage of 1, 2, 4 and 8 being bits on an int, is that you can press multiple buttons at the same time, and would send something like 3, which would be 1 and 2 being pressed together. Where if you sent 1,2,3,4 for each button, you would never know if 3 is button 3, or 1 and 2 at the same time, so you could never combine buttons.

  • @slacksthegreat
    @slacksthegreat Год назад

    Nice clean prints compared to when i started watching your videos. I spend way too much time aiming for perfect quality for final prints.

  • @this_time_imperfect
    @this_time_imperfect 4 года назад

    Nice looking JoyCons

  • @atticuscorbitt8199
    @atticuscorbitt8199 4 года назад

    Something like this would also be great for making a portable RPI emulation console, just swap out the joysticks for ones from a regular game controller and maybe tweak the design a bit to accommodate a dpad.

  • @starblastershooter2444
    @starblastershooter2444 4 года назад +1

    Need to make one of these myself

  • @Thuliolima2008
    @Thuliolima2008 4 года назад +1

    Very Good!

  • @maalonszuman491
    @maalonszuman491 2 года назад

    hey first of all thank you for your video i realy like them, juste wanted to know what os run on the raspberry pi in the remote

  • @hansdietrich83
    @hansdietrich83 4 года назад

    Aragafar everything is so chunky! My brain is crying everytime

  • @jameshamaker9321
    @jameshamaker9321 4 года назад

    This is really good stuff. I'm curious as to wether or not this controller could be used, for driving a small, electric vehicle. Like a remote control, go kart. 😊

  • @mihumono
    @mihumono 4 года назад

    You do not need the sda and scl wires. I2C goes over the DSI cable. You just need 5V, GND and DSI ribbon connected. EDIT: only pi 1a and 1b required separate I2C connection.

  • @roedyhellyeah
    @roedyhellyeah 4 года назад

    i've worked with Tkinter for some things and that worked great. i also saw some nice things made in Dear PyGui

  • @cgirishvarma2466
    @cgirishvarma2466 4 года назад

    Quality 🤩🤩🤩

  • @muhammedcoskun8697
    @muhammedcoskun8697 4 года назад +2

    Amazing

  • @maximepolydor6446
    @maximepolydor6446 3 года назад

    you could also put a microphone and do vocal instruction trough the pie

  • @mohitarora1701
    @mohitarora1701 4 года назад

    I think you are one who didn't believe in small size is great projects or to look cool, large projects are also look cool 🤟🏻

  • @TheRealFrankWizza
    @TheRealFrankWizza 4 года назад +1

    Do you have any code showing how to move motors on a client requesting servo angles from a server via tcp or udp? for example, I am trying to use a pi as a webcam, do some color tracking on the jetson nano, and send the angles back to the same pi with the camera, which is attached to the servos. A remote tracking cam. I have the video working, and the servo angles outputting. I can bind the socket, but my while True loop locks up when I try to create a data connection.
    I should know this, but I should also learn ros. This looks very practical.

  • @hsmptg
    @hsmptg 4 года назад

    Great Controller!!!

    • @hsmptg
      @hsmptg 4 года назад

      Can you share the link of the joysticks?

  • @GmanBB
    @GmanBB 4 года назад

    You can use ESP32 with micropython firmware. It has analog and digital pins, which can be assigned as inputs or outputs. Check also M5 stack core 2 or other ESP32 boards.

  • @deemaagog
    @deemaagog 2 года назад

    What type of wireless connection do you use? wifi? bluetooth? Is it possible to use nrf24l01 or LoRa?

  • @danielfernandezgarcia4159
    @danielfernandezgarcia4159 3 года назад

    How do you power raspberry pi?

  • @googlyeyes3237
    @googlyeyes3237 4 года назад +6

    **comes to comments*, *sees people typing numbers**

    • @vallisparmentier9764
      @vallisparmentier9764 4 года назад

      > sees people typing
      Are you sure those aren't *bots* typing?

    • @googlyeyes3237
      @googlyeyes3237 4 года назад

      @@vallisparmentier9764 are u sure ur not a bot ?

  • @Flynn3778
    @Flynn3778 2 года назад

    Hey @jamesbruton have you any plans to update the remote?

  • @mertcapkin7263
    @mertcapkin7263 3 года назад +1

    Where can I get those joysticks?

  • @michaelmbutler
    @michaelmbutler 3 года назад

    @james: What was your source for the three-axis joysticks?

  • @legender576
    @legender576 4 года назад

    Love your work!

  • @Morphexe
    @Morphexe 4 года назад

    Omg you made a nintendo switch :D
    This is looking sleek :) Cant wait what you do with it.

  • @mpovid
    @mpovid 4 года назад

    I probably would've stuck with a dedicated radio link like the nrf chip so that when you pipe lidar or image or tf data to the pi screen it doesn't delay your control inputs

  • @InSsSaNe1337
    @InSsSaNe1337 4 года назад

    How is the information from the joystick, computer and robot transferred? Is the ROS system "conversing" over WiFi? Or Bluetooth? Or something else? I'm relatively new to ROS and I've only sent information over USB and Ethernet cables.

  • @CyberSyntek
    @CyberSyntek 4 года назад

    Looking good. Man I should have used those joysticks on my robot controller. Any idea on how easy they are to mod into throttle style sticks by extracting the tension springs? Needed throttle sticks on my 34 analog input controller but would have been nice to have a bit larger sticks like what you are using.

  • @elden4267
    @elden4267 4 года назад

    do you ever hear about i/o expander ic you can even make a controller with attiny85 and a I2C io expander

  • @antonwinter630
    @antonwinter630 4 года назад

    great upgrade to the remote. what are the details on that touch screen? do you have a link

  • @SeerOfVoid
    @SeerOfVoid 4 года назад

    Why not use HID to send the joystick and button values over USB natively?

  • @manoi2010
    @manoi2010 4 года назад +1

    How much cost your robot dog RTR with controller and preprogrammed? Please let me know thanks have a good day

  • @OleZZ222
    @OleZZ222 3 года назад

    Ob my first projects I used PyGame as well.
    PyQT with QT Designer could be a better option for you programming an GUI instead.

  • @thomasre8073
    @thomasre8073 4 года назад

    Awesome.

  • @dans-designs
    @dans-designs 4 года назад

    Hey James, great video! Have you heard of RemoteXY? its an app based remote control for bluetooth arduino devices with a customizable gui..

  • @mrwhiskers8951
    @mrwhiskers8951 3 года назад

    Could you recommend to me a 3d printer?

  • @akshaypadmanabuni2075
    @akshaypadmanabuni2075 8 месяцев назад

    I want to build something like but have the device function both as a game emulator and a controller any leads on it?

  • @Nordseeluft
    @Nordseeluft 4 года назад +1

    Is there a video about the everything remote? i cant find one unfortunately.

    • @jamesbruton
      @jamesbruton  4 года назад +2

      Somewhere in the start of the openDog (original) series

    • @Nordseeluft
      @Nordseeluft 4 года назад

      @@jamesbruton Thank you!

  • @simonvandenbossche9804
    @simonvandenbossche9804 4 года назад

    What joysticks do you use?

  • @thorley1983
    @thorley1983 4 года назад

    Which joysticks are those. they look like really good quality kit. have you got a link to them online?

    • @jamesbruton
      @jamesbruton  4 года назад +1

      Just look for '3 axis joystick' on eBay - they cost about £10 from China

    • @thorley1983
      @thorley1983 4 года назад

      thanks bud i found them. im think theyll make a great thruster controller for elite dangerous. sort of NASA style

  • @ConspiraGoose
    @ConspiraGoose 4 года назад

    Why not hinge the keyboard and or trackpad/mouse off of the workstation?

  • @balazsszegedi5524
    @balazsszegedi5524 3 года назад

    Hi! How can I learn to program things like that?

  • @pd.dataframe2833
    @pd.dataframe2833 4 года назад

    Hi James, Can we use arduino ros library directly on teensy boards?. or is there a separate fork for that?

    • @jamesbruton
      @jamesbruton  4 года назад

      Yes, but by default it only works up to Teensy 3.2. Use the one I hacked for the RUR which goes up to Teensy 4.1: github.com/XRobots/ReallyUsefulRobot/blob/main/arduino/ros_lib_modified.zip

    • @pd.dataframe2833
      @pd.dataframe2833 4 года назад

      @@jamesbruton Thanks a lot james! what is the main issue for 3.2 + above boards that needs library upgrade.

  • @viswadeepkopalli6160
    @viswadeepkopalli6160 4 года назад

    So im assuming that you are using ros melodic on the workstation are you having any problems if you use kinetic packages in melodic ?

    • @jamesbruton
      @jamesbruton  4 года назад +1

      I can't say I've specifically tried it, Melodic support is pretty good.

    • @viswadeepkopalli6160
      @viswadeepkopalli6160 4 года назад

      @@jamesbruton thank you so much for replying pls do more amazing videos like this 🥺.

  • @mehulsahu3683
    @mehulsahu3683 10 месяцев назад

    i want a circuit diagram of remote

  • @CShand
    @CShand 3 года назад

    Where did you get the joysticks from eBay on returns gaming joysticks or PS2 ect

  • @poseidon8526
    @poseidon8526 4 года назад

    would you ever consider building D-0 from star wars ep. 9?

  • @richardlincoln886
    @richardlincoln886 4 года назад +1

    The generalisation ROS appears to provide seems to make everything else overly complex.

  • @KylePapili
    @KylePapili 4 года назад

    When do we get an update on ROS robot butler!?!?!?

  • @zihagamers4073
    @zihagamers4073 4 года назад

    So cool

  • @clementferry6122
    @clementferry6122 3 года назад

    Do you have a like for the joystick 🕹?

  • @santosvella
    @santosvella 4 года назад

    You can get a 3/4G and SIM hat for the PI.

  • @albertolr98
    @albertolr98 4 года назад

    Where could I buy the 3DOF joystick??

    • @Scott_C
      @Scott_C 4 года назад +1

      I just put "3 DOF joystick" into Amazon and there are tons of them.

    • @albertolr98
      @albertolr98 4 года назад

      @@Scott_C thank u 😁

    • @Scott_C
      @Scott_C 4 года назад +2

      @@albertolr98 also eBay may be a good source
      www.ebay.com/i/302526181730?chn=ps&norover=1&mkevt=1&mkrid=711-117182-37290-0&mkcid=2&itemid=302526181730&targetid=934793862176&device=m&mktype=pla&googleloc=9008143&poi=&campaignid=10460106669&mkgroupid=106723175187&rlsatarget=pla-934793862176&abcId=2146001&merchantid=118841012&gclid=EAIaIQobChMIqvqTtsW-7QIVDYrICh1fBAe3EAQYASABEgJ14PD_BwE

  • @ei23de
    @ei23de 4 года назад

    Hi James,
    if you connect the Teensy directly to the Pi GPIO Pins you could use one of the internal UARTs for serial connection. The Pi 4 has enough of them ( www.raspberrypi.org/documentation/configuration/uart.md ) and you could save space and a usb cable ;-)

  • @g0935260205
    @g0935260205 4 года назад

    why don't use the teesy serial to rpi serial、this sol may be more reliable

  • @TulipsxJasmines
    @TulipsxJasmines 4 года назад

    Isnt this just a nintendo switch?

  • @wilgarcia1
    @wilgarcia1 4 года назад

    awesome =D

  • @mikenelson1624
    @mikenelson1624 4 года назад

    👍✨