This man is a treasure, we need to protect him ❤❤. It was comforting that he predicted that begginers apprehensions. Some tutorials on KZbin don't put themselves in begginers shoe. Also editing it's so clean❤🎉
@FriendlyWire Жыл бұрын
Wow, thanks so much! :)
@s1nister6884 жыл бұрын
Your video is a godsend. Please don't stop, I was getting curious with electronics and these quality videos are what I need.
@FriendlyWire4 жыл бұрын
Thank you so much! I have no plans of stopping, and with positive feedback like this, why would I? :)
@GerryLaureys4 жыл бұрын
Finally a video that everyone can understand. Keep up the good work!
@FriendlyWire4 жыл бұрын
Thanks, I am glad you like it! :)
@jaehochoi80622 жыл бұрын
I really appreciate your video clip. This is the first time I totally understand the mechanism of RS232 at last.
@FriendlyWire2 жыл бұрын
Thank you so much, Jaeho, I am very happy to hear that! :)
@atomic144 жыл бұрын
Love the animations on the components. Makes what could quite a dull list fun to watch!
@FriendlyWire4 жыл бұрын
Thanks, I am happy to hear that!
@hemanthdevaraj19917 ай бұрын
Thank you for neat and clean explanation, i got better understanding, please keep up the good work like this!
@FriendlyWire7 ай бұрын
Thank you, Herman, much appreciated! I recently moved so I have to wait until I can film the next video, but I have already planned a lot of new videos :)
@ProCroGamers4 жыл бұрын
Outstanding quality video! I hope your channel takes off soon, it definitely competes with the best on YT and deserves comparable views. I'm excited to see more, keep 'em coming :D
@FriendlyWire4 жыл бұрын
Wow, thank you so much for your kind words, I really appreciate it! :-) Let me know if you have any suggestions for future projects/tutorials, I am always interested in new ideas!
@jeffreyfrank69983 жыл бұрын
you all prolly dont give a damn but does any of you know of a tool to get back into an Instagram account..? I stupidly lost the password. I love any assistance you can give me
@beaukayson9293 жыл бұрын
@Jeffrey Frank instablaster =)
@jeffreyfrank69983 жыл бұрын
@Beau Kayson thanks so much for your reply. I found the site through google and Im in the hacking process atm. I see it takes a while so I will reply here later when my account password hopefully is recovered.
@jeffreyfrank69983 жыл бұрын
@Beau Kayson it worked and I now got access to my account again. I'm so happy:D Thank you so much you really help me out !
@danielvillegas16472 жыл бұрын
Very nice explanation and schematics. Now you have a new susc.
@FriendlyWire2 жыл бұрын
Thank you, Daniel, I am so glad you like it! Did you get her from Ben Eater's new video on RS232? :)
@siribvcm96532 жыл бұрын
Nice video bro.... Your work is great ....
@FriendlyWire2 жыл бұрын
Thanks so much, glad you like it!
@cefuve4 жыл бұрын
Great job with editing video and of course with the content of them, thank you!
@FriendlyWire4 жыл бұрын
Thank you so much, I am very glad you like the video!
@cani7710 ай бұрын
Thanks ~ Merci.
@FriendlyWire10 ай бұрын
Glad you like it!
@wisalkamal4133 жыл бұрын
Excellent graphical combo with explanation. also really liked the starting moto ''everyone can learn electronics''
@FriendlyWire3 жыл бұрын
Thanks so much, glad you liked it! :)
@FriendlyWire4 жыл бұрын
Thanks for the great feedback, really appreciate it! Check out my PIC introduction video here: kzbin.info/www/bejne/m2W0Y5ePi8qXhrs More tutorials: kzbin.info/www/bejne/d53Tk5WbjZxgeLc More projects: kzbin.info/www/bejne/fmPbZJR3f5idqJI
@adi12573 жыл бұрын
i love it makes me want to learning again about electronics
@FriendlyWire3 жыл бұрын
Thank you, that's fantastic! :-) Have you seen my PIC microcontroller introduction video?
@jorgeyagofernandezrodrigue37352 жыл бұрын
Educative and funny! Great video!👍
@FriendlyWire2 жыл бұрын
Gracias, Jorge, I am glad you like the video! :)
@DRSElectronic4 жыл бұрын
very good ! in RS232 you can also have RTS/CTS
@FriendlyWire4 жыл бұрын
Thanks! Yes, in this tutorial I decided to go with a very basic implementation :)
@Teyros Жыл бұрын
I had to subscribe right away. Great job explaining things and awesome detail!!!
@FriendlyWire Жыл бұрын
Thank you so much, and I am glad you like the video!
@Teyros Жыл бұрын
@@FriendlyWire =) Im currently working on a project right now to control a stepper motor with a max232. I have the STM32, I'm trying to communicate to a JSS57P2N motor but I needed to use RS232 to communicate with it. So I'm going to try what you taught in the video here!
@FriendlyWire Жыл бұрын
@@Teyros Great, I hope it works! :)
@dioneto68554 жыл бұрын
What a nice video, your channel is great, I just subscribed
@FriendlyWire4 жыл бұрын
Thanks so much, I am glad you like it! Let me know if you have any questions or ideas for future videos/tutorials/projects :)
@gradientattack2 жыл бұрын
These videos looks great!!!
@FriendlyWire2 жыл бұрын
Thanks so much, Percy, glad you like it! :)
@hadibq2 жыл бұрын
👍👍thanks, nice channel!
@FriendlyWire2 жыл бұрын
Thank you, glad you like the video! :)
@guyems44903 жыл бұрын
Thank You For the Awesome Video !!!!!
@FriendlyWire3 жыл бұрын
Thank you, I am glad that it's useful! :)
@stupossibleify4 жыл бұрын
Excellent topic explanation. And superb presentation!
@FriendlyWire4 жыл бұрын
Thanks so much, glad you like it!
@jahzeelalejandroreyeschave24774 жыл бұрын
Good video, this will be helpful to my homework in the college
@FriendlyWire4 жыл бұрын
Thanks, glad you like it!
@nickstamatiou98712 жыл бұрын
Amazing video !!!!
@FriendlyWire2 жыл бұрын
Wow, thanks so much, Nick! :)
@lucapoliseno52913 жыл бұрын
You sir, have just gained a subscriber.
@FriendlyWire3 жыл бұрын
Great to have you, Luca! :) Let me know if you have something you want to learn about microcontrollers or electronics, I am always looking for new ideas!
@jhoanrivero78854 жыл бұрын
great video and simple
@FriendlyWire4 жыл бұрын
Thanks so much!
@mohananchan2 жыл бұрын
Sir please elaborate more on rs 232. It was a nice video
@FriendlyWire2 жыл бұрын
Thank you! What would you like to know more about?
@skylineofsu97912 жыл бұрын
Thanks for your video!
@FriendlyWire2 жыл бұрын
Thank you, glad you like it! :)
@josephocampo4 жыл бұрын
Thank you sir.. I learned a lot
@FriendlyWire4 жыл бұрын
Thank you so much, Joseph, that's great to hear! :-)
@labdelhamidlaaraj71604 жыл бұрын
Good Job, Keep it up ❤️
@FriendlyWire4 жыл бұрын
Thanks, glad you like it!
@arkmediagroupllc Жыл бұрын
Your videos are great!!
@FriendlyWire Жыл бұрын
Thank you so much, glad you like them! :)
@arkmediagroupllc Жыл бұрын
@@FriendlyWire do you do arduino too?
@FriendlyWire Жыл бұрын
@@arkmediagroupllc For now I only focus on PIC microcontrollers :)
@arkmediagroupllc Жыл бұрын
@@FriendlyWire can those microcontrollers control an I2C OLED display?
@FriendlyWire Жыл бұрын
@@arkmediagroupllc Yes, many PIC controllers support I2C. I have not used it yet (most of the hardware I use is a bit older and only uses SPI-type protocols), but it surely can be done :) What display module do you have in mind? It might be a good future video!
@sanatgallen65194 жыл бұрын
me ayudo a enterder algo del RS232 thanks
@FriendlyWire4 жыл бұрын
Muchas gracias :) Glad it is helpful, have a great day!
@ashishjog2 жыл бұрын
Quality Content! Can you make videos on dspic33ch dual core microchip controllers?
@FriendlyWire2 жыл бұрын
Thank you, Ashish, glad you like my videos! For now I will stick with the mid-range 8bit series of controllers, but those dspics are interesting! What would you like to learn about those?
@Gideon_Judges68 ай бұрын
One minor nitpick, ASCII is only 7-bit, not 8-bit. Some systems had so-called "Extended ASCII" character sets, but they were not portable and often had different language characters for localization.
@FriendlyWire7 ай бұрын
Thank you, good to know! :)
@guilloip3 ай бұрын
I used to connect a device with a computer using device printer pins RS232 to DB9 RS232 at PC but RS232 board broke down and now I am using an USB -RS232 at computer side but instead of coherent writeable ascii I am getting commands characters under space codes 02 02 ... 02 18 10 The last 10 for LF is expected but 02s should be spaces and weights in ascii I am pretty sure that its a device configuration problem, but I thought, might it be a connection or a RX-TX inversion problem? Well, now, because of your comment I will try inverting them. BTW the device is a dynamic wagon weighting scale.
@FriendlyWire2 ай бұрын
Interesting! Yes, it's easy to switch RX/TX either by mistake or by thinking about it wrongly, since one device's RX can be the other device's TX (or RX) depending on how everything is configured :) Did you manage to figure it out?
@CoVerseAU3 жыл бұрын
Awesome video keep it up!
@FriendlyWire3 жыл бұрын
Thank you so much, Nick, glad you like it! Is there anything you want to see on this channel in a future video? I am always looking for new ideas for tutorials and projects with microcontrollers! Have a great day :)
@CoVerseAU3 жыл бұрын
@@FriendlyWire I have a cool idea for you: communication between ATMEGA 328PU (or full Arduino UNO) and Android via USB/serial. Tutorial where you create Android app which controls LEDs :) I’ve done it long time ago, have a code on my GitHub somewhere, but I think people will be interested
@CoVerseAU3 жыл бұрын
Here it is: github.com/NickitaX/Android-Connection-Arduino-ACA- this project was sending text via USB OTG from Android and printing on LCD, maybe of any help
@FriendlyWire3 жыл бұрын
@@CoVerseAU That's very interesting, thanks for sharing!
@directionsys2 жыл бұрын
Nice job! Is it possible using your idea to control 8 independent PWM fans?
@FriendlyWire2 жыл бұрын
Thank you, glad you like the project! The PIC16F627A has only one PWM module, there are other controllers that have more. You could use the PIC16F627A to drive an 8x dedicated PWM controller, though, if you like, or even implement hardware PWM on the PIC16F627A itself. Does that help? If not let me know and I will explain more, and thanks again for stopping by! :)
@Alex-rv8gw Жыл бұрын
I hope that the next tutorial will be pic interface with pc by using rs-422, rs485, and USB
@FriendlyWire Жыл бұрын
I have used RS-485 in the past for transmitting over longer distances, but only the hardware changes, the code will be the same. USB is a really interesting but that requires a different controller, like the PIC16F1455. I would love to make a tutorial on that one day!
@Alex-rv8gw Жыл бұрын
@@FriendlyWireFor USB application if you use an FTDI chip you no need to change to another microcontroller as long as the microcontroller has UART then could communicate with FTDI
@FriendlyWire Жыл бұрын
@@Alex-rv8gw Yes, you can use intermediate drivers, true! I like that the PIC16F1455 and PIC16F1459, for example, actually don't need those, which is quite impressive.
@krizzrojas50373 жыл бұрын
I like it 😍👍
@FriendlyWire3 жыл бұрын
Thank you so much! :)
@mabsonleo2 жыл бұрын
Send ASC 255 for all LED glow ... Right ?
@FriendlyWire2 жыл бұрын
Yes, exactly! 1+2+4+8+16+32+64+128, each number is one LED :)
@tjnguyen7463 жыл бұрын
Thanks, and see you later.
@FriendlyWire3 жыл бұрын
Thanks Thanh, have a great weekend! :)
@Noxoreos11 ай бұрын
I don't mean to be negative, "but" I'm wondering if anyone would actually use a rs232 adapter to usb, when nowadays you could simply use something like an arduino nano instead, which communicates via UART over USB in the same fashion. I mean actually prefer it, other that just to play around. And if there is a use case where this setup is better, then I would be interested in what it is and why it's better. I mean it would basically reduce the part count to the arduino nano, a usb cable, breadboard, jumper wires, resistors and leds. That would be more cost effective for sure. And even without USB it would still be easier to do, I suppose. Another benefit would be that way you gained some experience with arduino if you're new to it and could use it again in another project and expand that knowledge.
@FriendlyWire11 ай бұрын
Sure, that's possible, too. I like to show how to use PIC controllers, and work at a rather basic level using the PIC's registers. More advanced PICs also support USB directly, but that is a whole different level of complexity.
@Noxoreos11 ай бұрын
@@FriendlyWire I see, thank you.
@FriendlyWire10 ай бұрын
@@Noxoreos I think it's actually great that there are so many different ways to connect computers to microcontrollers these days. I hope to also talk about how to read out old PS2 keyboards and mice using a PIC soon.
@byetodd2 жыл бұрын
Can this be used with USB communication?
@FriendlyWire2 жыл бұрын
Thanks for the question! :) This "USB to RS232 adapter" is a USB device that acts as a virtual COM port at the computer. The computer can access this virtual COM port as if it was a physical COM port. This means that it is really effectively a serial connection, with all its limitations such as data bandwidth. So it is NOT a USB communication, because it does not use the USB protocol to transmit data. I hope it makes sense :) If not, please let me know and I will try to explain better! Have a great day, and thank you for watching the video!
@saviourmadeit2 жыл бұрын
is it possible to interface an ATmega328 with MAX232
@FriendlyWire2 жыл бұрын
Hello Senam, thanks for your question! Yes, I am sure it works as well. According to the ATmega328's datasheet ( ww1.microchip.com/downloads/en/DeviceDoc/Atmel-7810-Automotive-Microcontrollers-ATmega328P_Datasheet.pdf ) it has a programmable serial USART interface, which you can use for RS232 communication :)
@ff-mu6cc3 ай бұрын
cool!
@FriendlyWire3 ай бұрын
Thank you so much, glad you enjoyed the video!
@gerardcortez40943 жыл бұрын
Can we do the same circuit connection with the arduino?
@gerardcortez40943 жыл бұрын
I mean the way rs232 goes to de pic
@FriendlyWire3 жыл бұрын
@@gerardcortez4094 Thanks for the question :) I am not sure exactly what you mean. This project uses the USART module of a PIC microcontroller, so it only works for PIC. If you want to use an Arduino I am sure it also supports serial communication, but it will be different to connect it :)
@GJROBOTICS Жыл бұрын
How to display a image using RS232 protocol
@FriendlyWire Жыл бұрын
Ohh, that would be difficult if the image has a high resolution. What kind of image do you have in mind?
@GJROBOTICS Жыл бұрын
@@FriendlyWire pixel image for a advertistment board led panel
@FriendlyWire Жыл бұрын
@@GJROBOTICS Is it supposed to be a movie (if yes, how many frames per second, and what is the color depth), or just a static image? And what is the resolution?
@GJROBOTICS Жыл бұрын
@@FriendlyWire can you upload a tutorial for that . I have a idea only for that. I wanna create a bill board to display images. thank you.
@FriendlyWire Жыл бұрын
@@GJROBOTICS RS232 is not the ideal format to transfer visual data, it's better for text-based content. The data transmission rate is too low for billboard-style images. If it's a small image, say, 62x62 pixels, and only one color and static, then it's easy. If it's a 4K screen showing a video with 16 million colors then it's close to impossible :) So the resolution and color depth really matter here, also if it's a movie or a static image. What resolution etc do you have in mind? :)
@zambodiazook2 жыл бұрын
I love to decorate my tandem bicycle with LEDs, please help me make it beautiful
@FriendlyWire2 жыл бұрын
Probably want to check out the WS2812 LED tutorial kzbin.info/www/bejne/hH3cc2Zjq6qVfM0 :) Or do you want just one color? Let me know!
@genuinetechniques93233 жыл бұрын
Hi , can I use a RS485 serial port on cctv recorder to trigger a relay . It can control a motorised ptz camera by setting rules in dvr, so I hope it is possible
@FriendlyWire3 жыл бұрын
Thank you for the question! RS485 has different voltage levels than the RS232 we talk about today, but I think that RS232 to RS485 converters do exist. Do you have more information on the CCTV recorder?
@genuinetechniques93233 жыл бұрын
It is a Hikvision dvr and has 2 wire RS 485 port to control devices like motorised camera to look certain area when motion is detected. Instead of that I want to control other devices using a relay
@FriendlyWire3 жыл бұрын
@@genuinetechniques9323 So you need a circuit that triggers a relay whenever the motor moves, yes? In that case you could sidestep the whole RS488 thing. What voltage does the motor use?
@genuinetechniques93233 жыл бұрын
@@FriendlyWire I don't know the volatage of motor used, it all comes inbuilt. Only the control signal for movement of the camera can be given through RS485 2 pin port. And for my Requirement I can use any relay as u suggest
@FriendlyWire3 жыл бұрын
@@genuinetechniques9323 I see. I think in this case it would be easier to just try to measure the voltage on the motor. In principle you can use a microcontrollers USART module to send data on the RS485 connection, but you would need a different circuit because the voltage levels are different. So it kind of depends: if you want to just get it done, then I suggest the first method, and if you want to spend some time to learn about the RS485 interface then that's the way to go. :)
@sepiroid3 жыл бұрын
hi.. i want ask, what if i need rs232 to mini usb? what is needed to change from rs232 to mini usb? because most of those on the market are usb to rs232.
@FriendlyWire3 жыл бұрын
Hello, thanks for the question! :) The "magic" happens inside the big side of the connector (the right side of the cable shown at 0:00). On the left side you can connect a USB type-A to mini USB adapter without any problems. This way you can make the adapter from RS232 to mini USB, no worries :) Can I ask to what device you want to connect it? It is important that the USB end is plugged into a computer that can recognize a virtual serial port. Almost all modern computers can do it, including the Raspberry Pi, but I am not sure if you could connect to, say, a smartphone. Thanks again for stopping by, and let me know if you have any additional questions, I am happy to help! :)
@sepiroid3 жыл бұрын
@@FriendlyWire Thank you in advance. I have an RFID that supports USB, but unfortunately my PC only has a serial RS232 slot left, from there I want to connect the RS232 to the mini usb on the rfid. can you help? i have used ic max 232 and usb TTL but it doesn't work.
@FriendlyWire3 жыл бұрын
@@sepiroid Oh, I see! I think in this case it does not work: the RFID device sends out information in the USB format. The USB to RS232 adapter I use in this video only works if the USB end is a computer that can understand a virtual serial port. In this case the RDIF device cannot do that. Just to make sure, do you have a name for that device so I can look it up?
@sepiroid3 жыл бұрын
@@FriendlyWire then what exactly is the data format that USB accepts on a PC? doesn't the USB port and db9 port have the same TX and RX? What kind of chip is used to convert USB to db9 / rs232 format? device I use id.aliexpress.com/item/4000038621078.html
@FriendlyWire3 жыл бұрын
@@sepiroid USB is a vastly more complicated data protocol than RS232. They are incompatible. It is like comparing HDMI to composite video, they are just different. The "USB to RS232 adapter" was perhaps a poor choice of words on my part. When you plug it into your computer, it is registered as a USB device, and the RS232 functionality is implemented virtually. The computer THINKS there is a serial port, but it is actually just a USB device in disguise. It's like mounting a virtual disk. Your linked device is a USB smart card reader, and it needs to be plugged in via USB because it is a full-fledged USB device. It just does not work with RS232 :(
@arkmediagroupllc Жыл бұрын
Do you do arduino too?
@FriendlyWire Жыл бұрын
For now I am focusing on PIC microcontrollers :)
@jensschroder82144 ай бұрын
The MAX232 is for 5V, C = 1uF the MAX232A is for 5V, C = 0.1uF the MAX3232 is for 3V or 5V C = 0.1F
@FriendlyWire4 ай бұрын
Thank you for your comment! We are using the MAX232 here, so 1uF should be OK. How come the MAX232A only needs 100nF for the charge pump?
@surojitdas44962 жыл бұрын
Bro i have a old g31 lga 775 motherboard...it has separate 9 pin serial port ....i want to use it but don't know how to use it ....max 232 ic is making it more complex and delay in signal
@FriendlyWire2 жыл бұрын
MAX232 is just a level shifter, I don't think there is significant delay involved from using this chip. Do you have the motherboard up and running, with an operating system? Can you access the COM ports from there? It should be easy to send out data from there. Just make sure you pick the right Baud rate (or, in other words, make sure the PIC on the receiving end knows what Baud rate the computer is set to).
@surojitdas44962 жыл бұрын
@@FriendlyWire i want to use sim900a module
@FriendlyWire2 жыл бұрын
@@surojitdas4496 I'm not familiar with that one, all I could find on Google is a "wireless extension module" but I am not sure how this is related to the serial port? :)
@surojitdas44962 жыл бұрын
@@FriendlyWire no worries... thanks
@FriendlyWire2 жыл бұрын
@@surojitdas4496 Sorry I could not be of more help. But basically this tutorial here allows you to connect anything you want to a PIC using the serial interface, so if this module comes with serial commands then you could send/receive them with the PIC :)
@susmithat8818 ай бұрын
Why don't you connect the cap at 4,5 pins of max232
@FriendlyWire8 ай бұрын
Good question, I should have mentioned it. If you look at the schematic at 5:05 you see that there is another pair of inputs/outputs called R2IN/R2OUT, T2IN, T2OUT, because the MAX232 can actually support two channels in total. And C2 is needed for the second channel. Since we only need one channel for this project, you can omit C2. Hope it helps! :)
@susmithat8818 ай бұрын
@@FriendlyWire tq a lot
@FriendlyWire8 ай бұрын
@@susmithat881 Happy to help, and thank you for your interest! :)
@susmithat8818 ай бұрын
@@FriendlyWire we are doing project about transmission of characters using pic controller and max232 and rs232 to pc but we can't see the characters in hyper terminal can you please suggest how to deal with.i have debugged at max232 we put led it glows but we can't see output on hyper terminal baud rate everything goes fine.please can you suggest where it went wrong.
@FriendlyWire8 ай бұрын
@@susmithat881 It's great that you built this, nice work! It always takes some time to get these things sorted out. Did you use the PIC16F627A, and the PICkit3 to program it?
@qzorn44403 жыл бұрын
wonderful rs232 info... this is just what the people going to mars will need to get back to earth... hacking in to their sensors...:/ thanks a lot...:)
@FriendlyWire3 жыл бұрын
Ha, thanks so much! Not sure I get the Mars part, but glad you find the video useful! :-) For space applications you might want to try RS422 instead, it's more reliable www.friendlywire.com/tutorials/rs232/#ch9 ;-)
@Berghiker3 жыл бұрын
How do I connect a relay to an FM radio output so that it can turn on a light when a strong signal is received?......
@FriendlyWire3 жыл бұрын
Oh, good question! Do you want this to work with a general radio station?
@Berghiker3 жыл бұрын
@@FriendlyWire No, a blank spot near the bottom end of the dial. I want to receive the signal I transmitted, then relay must get activated.
@FriendlyWire3 жыл бұрын
@@Berghiker Okay, I think I need more information :) You are creating your own FM signal?
@Berghiker3 жыл бұрын
@@FriendlyWire yes, a simple FM transmitter.
@FriendlyWire3 жыл бұрын
@@Berghiker You could look into using a phase-locked loop (PLL) for that, but this is also a bit beyond my expertise. I am sure that @FesZElectronics (kzbin.info) should have you covered :)
@lucapoliseno52913 жыл бұрын
👏
@FriendlyWire3 жыл бұрын
Thanks so much, glad you liked the video!
@kevinmitnic15434 жыл бұрын
nic
@FriendlyWire4 жыл бұрын
Thanks!
@parsifal82323 жыл бұрын
7:11 why you did this bit shitfing and 'and'?
@FriendlyWire3 жыл бұрын
I just saw your comment, sorry for the delay! I am not sure if I understand your question. I am using the '&' operation to single out the eight bits that make of the byte 'value.' :)