- 248
- 1 550 488
LeMaster Tech
United States
Приєднався 31 сер 2021
Welcome to LeMaster Tech! A UA-cam channel dedicated to helping make code, software and all things Engineering-related more accessible to everyone. Code tutorials from a wide variety of software platforms will be published here along with lessons learned in over 5 years in the controls, software, and automation industries.
We want to be the friendliest place on the internet to learn programming so if the barrier to entry into the world of computer science seems too high, let us help you break it down! Comment on any of our videos, or message us on Instagram @LeMasterTech and we will help you on your journey to developing the skills needed to program your way through life!
We want to be the friendliest place on the internet to learn programming so if the barrier to entry into the world of computer science seems too high, let us help you break it down! Comment on any of our videos, or message us on Instagram @LeMasterTech and we will help you on your journey to developing the skills needed to program your way through life!
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!
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 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)
Helpful tutorial. Tkks
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?
python3.13 no module named imp
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?
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.
thx
No problem thanks for watching!
Can you use other language beyond English? For example, korean, Japanese and many other asian languages?
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!
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
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!
@@lemastertech thanks
sorry i took a holiday break and totally forgot about python!
Hey welcome back no problem!
i'm back!
Welcome back!! Hope you had a fun holiday
@@lemastertech thank you❤
hello
Hello!!
This is exactly what I was looking for! Well explained and easy to understand and follow! Thanks!
Thank you for watching and for the super nice comment!
I really need gui tutorials on c++
me too, all I had is sfml GUI but I want to enhance the looks a bit like a android calculator
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!
@@lemastertech ok sir thanks so much
I meant on c++
No worries, I responded to your other comment!
Is anyone who can give a technician contact info, we need it to install in my house, Scarborough area, please share your technician number.
Scarborough in England or Ontario? Either way, google should have plenty of contractors capable of helping!
This is the best explanation I’ve seen for this problem. Amazing
Awesome thank you so much for watching!
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 😊
Where’s the rest of the series? 🥲
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!
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.
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!
The missing tutorial for KiCAD has been found. Well done
Thank you for watching I’m glad you found it!!
What is this useful for in the field as a automation engineer
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!
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
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!
Hey my best friend
Hey Mike what’s up! Hope you liked the video :)
It would be nice to know how to do a Setup for this
Hi could you give some more info what you mean by setup?
@@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)
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!
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!
@@lemastertech That would be lifesaving
Thanks a lot for that nice tutorial. It works really good. 😉👍
Thanks for watching!!
No need to write any using statements if you use visual studio and no need for args
True
This was really helpful to me
Awesome thank you for watching!!
other tutorials didint work for me but this did thanks.
Awesome glad to hear it! Thanks for watching!!
Please source code
Hi this project is only a few lines of code so I didn’t make a github for it
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
If you are needing that much you probably have a leak some where you shouldnt be leaking that much over just a few years
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!
bro make python projects like ai or something like robots
That’s a fun idea it just takes a lot of work! And I’ve been very busy at work lately!!
when python get more easier to work with 😎😎😎😎
Definitely!
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 .
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
@@lemastertech thank you sir, have a nice day sir.
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
I use the IDE called pycharm by jetbrains.org and I use it in dark mode!
THANK YOU SO MUCH THIS HELPED ME ALOT
Awesome thank you for watching!
hats off master! first c# code ever written in the world to run on first try
Hahaha bold of you to assume that it ran first try 🤣
Woah, That loading and saving feature was nice.
Thanks! It was definitely more labor intensive than most of the other functionality 😆😊
Best Video on this (imho) :D !
Thank you so much!!
@@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 !
what programming languages are useful in control and automation engineering
ua-cam.com/video/gTb-TAT7W4o/v-deo.htmlsi=LlTMXOYEoBBEBqv5
It shows 1 is prime which is wrong … how to rectify that?
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
people are saying python is to start with, but the real deal is in lua guys, trust me.
Not sure what lua is lol
@@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
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.
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!
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?
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?
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 ? ❤
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.
Very Great.
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
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
Thanks dude!!