LeMaster Tech
LeMaster Tech
  • 248
  • 1 550 488
How to Make a TCP IP Server or Client in Python
In this video we program an example of a Python script to act as a TCP IP server, and a separate one to act as a client, and then we start both and see live transfer of data using the TCP IP protocol!
Code shown in this example available here:
github.com/plemaster01/TCPIP_Python/
Don't forget to leave a like on the video if you found it useful, subscribe to the channel for tons more great content, and leave a comment letting me know with any questions or what you want to see next!
Consider Checking out my Patreon!
www.patreon.com/LeMasterTech
TIMESTAMPS:
00:00 Introduction to TCP IP in Python
01:10 Creating a TCP IP Server in Python
12:34 Creating a TCP IP Client in Python
18:56 Communicating Between our TCP IP Server and Client Programs!
Переглядів: 598

Відео

How to Use Python List Comprehensions
Переглядів 16721 день тому
List comprehensions are powerful python tools that can process and change lists and dictionaries in a single line of code! Code used in this example can be found here: github.com/plemaster01/ListComprehensions Consider Checking out my Patreon! www.patreon.com/LeMasterTech
How to make an Arduino Automatic Servo Lock Box!
Переглядів 311Місяць тому
I made a programmable puzzle lock-box that lets the user set a four digit code, then play a code breaking game to find the answer and trigger an automatic door to open! This project was a ton of fun to make and huge thanks to PCB Way for sponsoring the video! Get a $5 order credit just for signing up at this link!! pcbway.com/g/2Zlh7L Project files and gerbers and code all here: github.com/plem...
Introduction to Controls and Automation Engineering Hardware!
Переглядів 4272 місяці тому
In this video we cover the most commonly used and important hardware for Controls and Automation Engineering! We cover DIN Rail, Power Supplies, Circuit Breakers, Terminal Blocks, PLCs and Switches! This is a sequel to our Intro to Controls: ua-cam.com/video/3SqsvqCczao/v-deo.htmlsi=FA0eeEwKNmjakDU8 You can find the Arduino Opta PLC here: amzn.to/3UXgISi 120 AVC to 24 VDC Power Supply: amzn.to/...
How to Install a Mini Split Air Conditioner | Cooper & Hunter DIY
Переглядів 7 тис.2 місяці тому
In this video I show you how to install a Mini Split Air Conditioning System yourself! The unit I used for my workshop is the 12,000 BTU Cooper & Hunter 10 Volt Unit: amzn.to/4eaMa8j but the installation steps should work for any of the DIY Kits you can buy online! AC Unit Used: amzn.to/4eaMa8j Duct Cover: amzn.to/4aS0Q9C Wall Mount Kit: amzn.to/4aOQ04d Thread Gasket Sealant: amzn.to/3Rf1Nll Va...
How to make your First PCB! Beginner KiCAD Design Tutorial
Переглядів 9793 місяці тому
In this video I show you how to start from a hobby breadboard circuit and use the free design software KiCad to create an electrical schematic, assign component footprints, and design in 3D the layout of your first PCB! This video is sponsored by PCBWay and be sure to check them out for all of your Hobby Circuit Board Needs! - You get a 5$ credit just for making an account here: pcbway.com/g/2Z...
What is Controls and Automation Engineering?
Переглядів 4,5 тис.3 місяці тому
This is Episode 1 in an 8-part introduction series to the field of controls and automation engineering. Since this is a fairly niche engineering field which I work in, it seems like a great opportunity to share some cool info about the industry! The PowerPoint used in this lesson is available here: github.com/plemaster01/ControlsEngineering Check out the Real Pars UA-cam channel for tons of mor...
How to Use Multiple LCDs with One Arduino! (I2C Tutorial)
Переглядів 5024 місяці тому
Using the I2C Communication module in this video we quickly learn how to control multiple LCDs from one Arduino! Code from this project can be found here: github.com/plemaster01/ArduinoMultipleLCDs Some Good, Affordable I2C LCDs: 20x4: amzn.to/4adjDwi 16x2: amzn.to/43KptDe Elegoo's Amazon Storefront (tons of awesome hobby electronics): amzn.to/3ITgdDb Thank you so much to my Patreon Supporters!...
How to Make GUIs in Python for Arduino Projects
Переглядів 1 тис.4 місяці тому
Building a GUI to monitor an Arduino project from Python is fun and easy and can be done in just a few simple steps! The Arduino and Python code used in this video can be found here: github.com/plemaster01/ArduinoGUI Be Sure to Check out Elegoo's awesome maker products: ELEGOO Super Starter Kit: amzn.to/4cvf3ew www.elegoo.com/ And a Huge Thank You to My Patreon Supporters!! www.patreon.com/LeMa...
How to Scan Fingerprints with Arduino!
Переглядів 2,3 тис.5 місяців тому
In this video I show you step by step how to wire up an optical fingerprint scanner compatible with Arduino and Raspberry Pi devices that communicates over UART. We cover the wiring, sensing and programming all in less than 20 minutes! The module I use in this video: www.dfrobot.com/product-1343.html?tracking=65bf320f5bda5 Or a similar option available from amazon: amzn.to/42X8NIb The code is a...
How to Build Your First Game In Unity! Side Scroller Platformer Game Tutorial
Переглядів 7965 місяців тому
In this first tutorial in Unity for beginners getting started with Game Development, Indie Game Developer Southpaw Development (@southpawdevelopment ) teaches you how to create your first game in Unity! In less than an hour we cover how to create a project, model basic objects and obstacles, build mesh colliders and basic physics, and create a playable side scrolling platformer game. Be sure to...
the 10,000 Subscriber YouTube Play Button
Переглядів 4885 місяців тому
I'm not saying you should buy one of these, but here they are: lemastertech.myshopify.com/products/10-000-subscriber-plaque-for-youtube I appreciate you all! Thanks so much for 10k!! www.patreon.com/LeMasterTech
Voice Controlled DIY Smart Lights!
Переглядів 3,3 тис.5 місяців тому
Voice Controlled DIY Smart Lights!
How to Use Voice Recognition Commands With Arduino!
Переглядів 10 тис.6 місяців тому
How to Use Voice Recognition Commands With Arduino!
How to Make Objects Move in PyGame!
Переглядів 1,5 тис.6 місяців тому
How to Make Objects Move in PyGame!
How to Convert XML to JSON using Python!
Переглядів 1,5 тис.6 місяців тому
How to Convert XML to JSON using Python!
How to Design Built-In Shelves with SketchUp 3D Modeling!
Переглядів 6376 місяців тому
How to Design Built-In Shelves with SketchUp 3D Modeling!
How to Import Colors and Materials Into Sketchup 3D Models!
Переглядів 2,1 тис.6 місяців тому
How to Import Colors and Materials Into Sketchup 3D Models!
How to Use Relays with Arduino
Переглядів 1,1 тис.6 місяців тому
How to Use Relays with Arduino
How to Connect and Control an Arduino From Python!
Переглядів 35 тис.8 місяців тому
How to Connect and Control an Arduino From Python!
Programming Mastermind in Python with Pygame!
Переглядів 1,2 тис.8 місяців тому
Programming Mastermind in Python with Pygame!
How to Make a Mastermind Game in Python! Kivy Mobile App Tutorial!
Переглядів 1,9 тис.9 місяців тому
How to Make a Mastermind Game in Python! Kivy Mobile App Tutorial!
How to Give Shapes Background Images with Python and Kivy!
Переглядів 8109 місяців тому
How to Give Shapes Background Images with Python and Kivy!
Touch Screen Events and Clicks in Kivy for Python!
Переглядів 1,6 тис.10 місяців тому
Touch Screen Events and Clicks in Kivy for Python!
How to Draw Circles, Rectangles and Lines in Kivy for Python!
Переглядів 98210 місяців тому
How to Draw Circles, Rectangles and Lines in Kivy for Python!
How to Use Microphones for Sound Detection with an Arduino!
Переглядів 3,9 тис.10 місяців тому
How to Use Microphones for Sound Detection with an Arduino!
How to Get Started with PyGame! Beginner Python Game Dev Tutorial
Переглядів 1,2 тис.11 місяців тому
How to Get Started with PyGame! Beginner Python Game Dev Tutorial
Adding Castling, Pawn Promotion and En Passant to Chess in Python!
Переглядів 2,6 тис.11 місяців тому
Adding Castling, Pawn Promotion and En Passant to Chess in Python!
How to Make a Typing Racer Game in Python!
Переглядів 2,7 тис.11 місяців тому
How to Make a Typing Racer Game in Python!
How To Get Started with Game Development! (Featuring Indie Game Developer Southpaw Development)
Переглядів 30311 місяців тому
How To Get Started with Game Development! (Featuring Indie Game Developer Southpaw Development)

КОМЕНТАРІ

  • @dietermg6339
    @dietermg6339 4 години тому

    Helpful tutorial. Tkks

  • @simranjagtap563
    @simranjagtap563 17 годин тому

    Hi, I am pursuing MS in Controls and Automation Engineer. But sometimes I feel lack of resources to learn hands -on in this field. Like in CS/IT you pretty much work on laptop and software which are free to keep learning and upskilling. Similarly, Can you please recommend any resources to keep learning in Controls and Automation domain?

  • @lolhahalaughlaugh8033
    @lolhahalaughlaugh8033 День тому

    python3.13 no module named imp

  • @truefugazi
    @truefugazi День тому

    So, I am using py auto exe, and I have a env placed as a folder to bundle up everything but when I open the application it says ModuleNotFoundError no module named ‘webview’ even though the model is in my env How do I fix this?

  • @ForensicAnalytics
    @ForensicAnalytics День тому

    Thanks! Very well explained. Please think about a video on doing changes to many cells at once. For example, change all instances of correllation to correlation.

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

    thx

  • @bish-jyag3371
    @bish-jyag3371 2 дні тому

    Can you use other language beyond English? For example, korean, Japanese and many other asian languages?

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

      You can use any language you want for the custom voice commands and the custom wake word, because it’s recording your voice and matching and comparing your commands to the recorded files. So it could even work just with sounds or noises! But for training it and using the predetermined command words you’ll have the use English or whatever language the module you buy comes in!

  • @Juan-tn1dl
    @Juan-tn1dl 2 дні тому

    Se puede armar una impresora 3d con este kit?, no encuentro informacion sobre esto. Principalmente porque no se como conectar el hotend y el termistor

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

      Hola, no tengo mucho español pero si, la prima razón para usarlo es CNC máquinas pero es el mismo “g-code” para decir una impresora 3D que tiene que hacer. El hotend puede ser un simple ”on/off”. There are probably better kits than this one for DIY 3D printers! Sorry for my bad Spanish!

    • @Juan-tn1dl
      @Juan-tn1dl 2 дні тому

      @@lemastertech thanks

  • @codinghighlightswithsadra7343

    sorry i took a holiday break and totally forgot about python!

  • @codinghighlightswithsadra7343

    i'm back!

  • @codinghighlightswithsadra7343

    hello

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

    This is exactly what I was looking for! Well explained and easy to understand and follow! Thanks!

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

      Thank you for watching and for the super nice comment!

  • @GodstimePeculiar
    @GodstimePeculiar 4 дні тому

    I really need gui tutorials on c++

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

      me too, all I had is sfml GUI but I want to enhance the looks a bit like a android calculator

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

      I honestly hate building guis with C++ so I prefer to use C# or Python but I could try and look into making some tutorials for it in the future!

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

      @@lemastertech ok sir thanks so much

  • @GodstimePeculiar
    @GodstimePeculiar 4 дні тому

    I meant on c++

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

      No worries, I responded to your other comment!

  • @aureaacorda4647
    @aureaacorda4647 4 дні тому

    Is anyone who can give a technician contact info, we need it to install in my house, Scarborough area, please share your technician number.

    • @lemastertech
      @lemastertech 4 дні тому

      Scarborough in England or Ontario? Either way, google should have plenty of contractors capable of helping!

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

    This is the best explanation I’ve seen for this problem. Amazing

    • @lemastertech
      @lemastertech 4 дні тому

      Awesome thank you so much for watching!

  • @EstefaniGil-be6kc
    @EstefaniGil-be6kc 5 днів тому

    Yo uso varios tamaños de pantallas pero al cambiarla la transparencia se duplica de formas raras.. me podes ayudar con una class que solucione ese problema.. gracias 😊

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

    Where’s the rest of the series? 🥲

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

      I did part 2 on the hardware Introduction to Controls and Automation Engineering Hardware! ua-cam.com/video/mVKhympFzVQ/v-deo.html And I am working on a few more still! I tweaked the format a little!

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

    What if i wanted to add data validation to each inputed response. so if someone typed words instead of numbers. or entered 0 instead of >0 because of party size ect.

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

      You would add checker conditions where you would say Numbers_list = [“0”,”1”,”2”,etc.] if input_variable in numbers_list: Use it however you want Else: Pass (or do nothing basically) So you would use string comparisons and checkers to see if you got the output you wanted!

  • @haggy102
    @haggy102 8 днів тому

    The missing tutorial for KiCAD has been found. Well done

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

      Thank you for watching I’m glad you found it!!

  • @Robot_Chimp
    @Robot_Chimp 8 днів тому

    What is this useful for in the field as a automation engineer

    • @lemastertech
      @lemastertech 8 днів тому

      I have a piece of machinery from an OEM at my plant that can only send data to my SCADA software as a TCP IP client, and my SCADA (ignition) only has a driver for a TCP client as well so I use a custom Python TCP server script to pass data between the two!

  • @mugrootbeer6567
    @mugrootbeer6567 8 днів тому

    hi was attempting to make the game but im struggerling on the bit where you have to add the png images of pacman and the ghost do you have any tips

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

      Hi, I’m not sure without seeing specific error messages what your problems could be? It’s a pretty straightforward piece of code! Just importing using PyGame.image.load and potentially scaling it or transforming it down to the right size!

  • @Mike-rw8if
    @Mike-rw8if 9 днів тому

    Hey my best friend

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

      Hey Mike what’s up! Hope you liked the video :)

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

    It would be nice to know how to do a Setup for this

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

      Hi could you give some more info what you mean by setup?

    • @PunisherQc
      @PunisherQc День тому

      @@lemastertech just a setup.exe/.msi to install/uninstall it automatically, without having to push the user to type InstallUtil command himself. I've finally figured it out by looking at many videos so it would be a nice addition for your subscribers. (Using Microsoft Visual Studio Installer Project extension, all the process of "installing" the app itself, then "installing the service" itself by adding Custom Actions at the Install, and Uninstall time)

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

    This video is really good. My only ask is that you could make a similar video but focused on the Arduino Nano 33 BLE. I just don’t know how I would list the digital pins as the Bluetooth module is built in. Thanks!

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

      Hi I don’t think I have a nano 33 BLE with built in Bluetooth but I’ll look the module up and maybe I can make another if I get one!

    • @editempireedits
      @editempireedits 4 дні тому

      @@lemastertech That would be lifesaving

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

    Thanks a lot for that nice tutorial. It works really good. 😉👍

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

    No need to write any using statements if you use visual studio and no need for args

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

    This was really helpful to me

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

      Awesome thank you for watching!!

  • @E-Patrik
    @E-Patrik 12 днів тому

    other tutorials didint work for me but this did thanks.

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

      Awesome glad to hear it! Thanks for watching!!

  • @Auliaa_a
    @Auliaa_a 13 днів тому

    Please source code

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

      Hi this project is only a few lines of code so I didn’t make a github for it

  • @angelitaliano4517
    @angelitaliano4517 13 днів тому

    What about when needs freon/ gas. Refregon. Nows myself it's due. I've. Got 2, 3 estimates they asking about $200.00. Just refill it what yall say. 🤔 think. It's about 3 half years. Yes we clean filter and pipes outsides. Thanks. Gracias

    • @dakotaeanes155
      @dakotaeanes155 11 днів тому

      If you are needing that much you probably have a leak some where you shouldnt be leaking that much over just a few years

    • @lemastertech
      @lemastertech 11 днів тому

      A mini split can usually go around 10 years without an AC recharge if properly installed! Sometimes longer. If yours needs to be recharged after just a few years the install was probably not done right! And it is very expensive and hard to get commercial quantities of refrigerant due to EPA regulations, you will probably need to call a repair service and it will probably be several hundred dollars!

  • @user-rt7hc1mg2t
    @user-rt7hc1mg2t 14 днів тому

    bro make python projects like ai or something like robots

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

      That’s a fun idea it just takes a lot of work! And I’ve been very busy at work lately!!

  • @user-rt7hc1mg2t
    @user-rt7hc1mg2t 14 днів тому

    when python get more easier to work with 😎😎😎😎

  • @mrhope4732
    @mrhope4732 14 днів тому

    hi sir , i like to do this project , i have a doubt after i made this game can i connect sql as its storeage(highscore , username), is that any problem with that and is that possible , i hope u will reply me ,thank you .

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

      Hi, yes you can! Python is really easy to use with SQLite which is basically just saving a file in a formatted sql database file format

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

      @@lemastertech thank you sir, have a nice day sir.

  • @Ry4n_0000
    @Ry4n_0000 14 днів тому

    How did you get your python like that ?. As in with the black background with all the tabs etc. mine is just a basic white with nothing on it

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

      I use the IDE called pycharm by jetbrains.org and I use it in dark mode!

  • @Sirbozo
    @Sirbozo 15 днів тому

    THANK YOU SO MUCH THIS HELPED ME ALOT

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

      Awesome thank you for watching!

  • @CrisDevDotDot
    @CrisDevDotDot 16 днів тому

    hats off master! first c# code ever written in the world to run on first try

    • @lemastertech
      @lemastertech 16 днів тому

      Hahaha bold of you to assume that it ran first try 🤣

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

    Woah, That loading and saving feature was nice.

    • @lemastertech
      @lemastertech 16 днів тому

      Thanks! It was definitely more labor intensive than most of the other functionality 😆😊

  • @Sichel22
    @Sichel22 18 днів тому

    Best Video on this (imho) :D !

    • @lemastertech
      @lemastertech 16 днів тому

      Thank you so much!!

    • @Sichel22
      @Sichel22 15 днів тому

      @@lemastertech helped me quite a bit because somehow adding grbl in the libary with the arduino ide through"include .zip file " didnt work properbly . also good structured video and no skipping of steps :D !

  • @emmanuelAley
    @emmanuelAley 18 днів тому

    what programming languages are useful in control and automation engineering

    • @lemastertech
      @lemastertech 18 днів тому

      ua-cam.com/video/gTb-TAT7W4o/v-deo.htmlsi=LlTMXOYEoBBEBqv5

  • @TanushaGhosh-rk8tf
    @TanushaGhosh-rk8tf 19 днів тому

    It shows 1 is prime which is wrong … how to rectify that?

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

      Well, you could simply add an exception for the number one since it’s the only number that is technically not prime but fulfills the simple prime checking done here, or you could specifically check the total number of zero remainder divisor integers found for the number and if it is not exactly 2 (1 and the number itself) then don’t count it - either way would be fine

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

    people are saying python is to start with, but the real deal is in lua guys, trust me.

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

      Not sure what lua is lol

    • @ethanbuttazzi2602
      @ethanbuttazzi2602 18 днів тому

      @@lemastertech check it out, the name is Lua, it's essentially a scripting language that's is even easier to learn than python, it's know as a easy language to implement in basically any game or program, it's widely used for plugins, and it's was used a ton back in the day in handling data and logic in games, most recent game to pull it off is hades 2

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

    Thanks for the video... Can I ask whether I can use windows form in the service or not.... I want to develop a windows service to load data from a csv file into SQL server.... So, I just create a windows form application to brows and read csv file, and then import into SQL server, inside the windows service project.... Installation did work but, when I start my service it gives me an error saying, 'An exception occurred in the service when handling the control request.'.... Can you give me an advice on what I can do? Thank you and much appreciated.

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

      Hi it doesn’t sound like it should be a windows service if you want manual intervention checking for a file! Usually a parser or data transfer utility would automatically listen for new data without operator intervention. Just make a regular script and windows form project!

  • @layepicfirebrand3251
    @layepicfirebrand3251 20 днів тому

    Is there a way to make this faster? When I enter "ON" it takes like half a second before it registers. Is there a way to make this significantly faster?

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

      Hi do you just mean it’s slow to start or even slow while running? It should be very responsive while running is there are chance you’re running this on an older computer?

  • @dedtvzqweqwe6799
    @dedtvzqweqwe6799 20 днів тому

    I got an error at loading the images what should i do should i change ( assets/image/.png) into where ever my images are right ? ❤

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

    My command prompt told me that pyinstaller has been installed, but that is not a valid internal or external command. I am not sure what that is about.

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

    Very Great.

  • @MukeshPatel-tw5ge
    @MukeshPatel-tw5ge 22 дні тому

    Very nice and clear video. However my goal is to upload a sketch to arduino wirelessly from IDE running on mac. Do you have example for that ? I don't want to run any app on smartphone to communicate to arduino via bluetooth. Thanks

  • @Mr.Robato
    @Mr.Robato 22 дні тому

    If you cant find the libraries open the Arduino application _ then click Shift +CTRL + I and search for grb and install the Module_GRBL and then go to documents/Arduino/ and the library should be there. :).. it took me a while hahahah GOD bless you

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

    Thanks dude!!