Control LEDs with your computer using RS232!

แชร์
ฝัง
  • เผยแพร่เมื่อ 24 พ.ย. 2024

ความคิดเห็น • 175

  • @Adhithya2003
    @Adhithya2003 ปีที่แล้ว +5

    This man is a treasure, we need to protect him ❤❤.
    It was comforting that he predicted that begginers apprehensions. Some tutorials on TH-cam don't put themselves in begginers shoe.
    Also editing it's so clean❤🎉

  • @s1nister688
    @s1nister688 4 ปีที่แล้ว +21

    Your video is a godsend. Please don't stop, I was getting curious with electronics and these quality videos are what I need.

    • @FriendlyWire
      @FriendlyWire  4 ปีที่แล้ว

      Thank you so much! I have no plans of stopping, and with positive feedback like this, why would I? :)

  • @jaehochoi8062
    @jaehochoi8062 2 ปีที่แล้ว +3

    I really appreciate your video clip. This is the first time I totally understand the mechanism of RS232 at last.

    • @FriendlyWire
      @FriendlyWire  2 ปีที่แล้ว

      Thank you so much, Jaeho, I am very happy to hear that! :)

  • @GerryLaureys
    @GerryLaureys 4 ปีที่แล้ว +6

    Finally a video that everyone can understand. Keep up the good work!

    • @FriendlyWire
      @FriendlyWire  4 ปีที่แล้ว

      Thanks, I am glad you like it! :)

  • @atomic14
    @atomic14 4 ปีที่แล้ว +4

    Love the animations on the components. Makes what could quite a dull list fun to watch!

    • @FriendlyWire
      @FriendlyWire  4 ปีที่แล้ว

      Thanks, I am happy to hear that!

  • @hemanthdevaraj1991
    @hemanthdevaraj1991 7 หลายเดือนก่อน +2

    Thank you for neat and clean explanation, i got better understanding, please keep up the good work like this!

    • @FriendlyWire
      @FriendlyWire  7 หลายเดือนก่อน

      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 :)

  • @danielvillegas1647
    @danielvillegas1647 2 ปีที่แล้ว +1

    Very nice explanation and schematics. Now you have a new susc.

    • @FriendlyWire
      @FriendlyWire  2 ปีที่แล้ว

      Thank you, Daniel, I am so glad you like it! Did you get her from Ben Eater's new video on RS232? :)

  • @ProCroGamers
    @ProCroGamers 4 ปีที่แล้ว +13

    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

    • @FriendlyWire
      @FriendlyWire  4 ปีที่แล้ว +1

      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!

    • @jeffreyfrank6998
      @jeffreyfrank6998 3 ปีที่แล้ว

      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

    • @beaukayson929
      @beaukayson929 3 ปีที่แล้ว

      @Jeffrey Frank instablaster =)

    • @jeffreyfrank6998
      @jeffreyfrank6998 3 ปีที่แล้ว

      @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.

    • @jeffreyfrank6998
      @jeffreyfrank6998 3 ปีที่แล้ว

      @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 !

  • @cani77
    @cani77 10 หลายเดือนก่อน +1

    Thanks ~ Merci.

    • @FriendlyWire
      @FriendlyWire  10 หลายเดือนก่อน

      Glad you like it!

  • @siribvcm9653
    @siribvcm9653 2 ปีที่แล้ว +1

    Nice video bro.... Your work is great ....

    • @FriendlyWire
      @FriendlyWire  2 ปีที่แล้ว

      Thanks so much, glad you like it!

  • @adi1257
    @adi1257 3 ปีที่แล้ว +1

    i love it makes me want to learning again about electronics

    • @FriendlyWire
      @FriendlyWire  3 ปีที่แล้ว

      Thank you, that's fantastic! :-) Have you seen my PIC microcontroller introduction video?

  • @DRSElectronic
    @DRSElectronic 4 ปีที่แล้ว +1

    very good ! in RS232 you can also have RTS/CTS

    • @FriendlyWire
      @FriendlyWire  4 ปีที่แล้ว

      Thanks! Yes, in this tutorial I decided to go with a very basic implementation :)

  • @mohananchan
    @mohananchan 2 ปีที่แล้ว +1

    Sir please elaborate more on rs 232. It was a nice video

    • @FriendlyWire
      @FriendlyWire  2 ปีที่แล้ว

      Thank you! What would you like to know more about?

  • @cefuve
    @cefuve 4 ปีที่แล้ว +2

    Great job with editing video and of course with the content of them, thank you!

    • @FriendlyWire
      @FriendlyWire  4 ปีที่แล้ว

      Thank you so much, I am very glad you like the video!

  • @wisalkamal413
    @wisalkamal413 3 ปีที่แล้ว +1

    Excellent graphical combo with explanation. also really liked the starting moto ''everyone can learn electronics''

    • @FriendlyWire
      @FriendlyWire  3 ปีที่แล้ว +1

      Thanks so much, glad you liked it! :)

  • @jorgeyagofernandezrodrigue3735
    @jorgeyagofernandezrodrigue3735 2 ปีที่แล้ว +1

    Educative and funny! Great video!👍

    • @FriendlyWire
      @FriendlyWire  2 ปีที่แล้ว

      Gracias, Jorge, I am glad you like the video! :)

  • @dioneto6855
    @dioneto6855 4 ปีที่แล้ว +2

    What a nice video, your channel is great, I just subscribed

    • @FriendlyWire
      @FriendlyWire  4 ปีที่แล้ว

      Thanks so much, I am glad you like it! Let me know if you have any questions or ideas for future videos/tutorials/projects :)

  • @guyems4490
    @guyems4490 3 ปีที่แล้ว +1

    Thank You For the Awesome Video !!!!!

    • @FriendlyWire
      @FriendlyWire  3 ปีที่แล้ว

      Thank you, I am glad that it's useful! :)

  • @stupossibleify
    @stupossibleify 4 ปีที่แล้ว +1

    Excellent topic explanation. And superb presentation!

    • @FriendlyWire
      @FriendlyWire  4 ปีที่แล้ว

      Thanks so much, glad you like it!

  • @hadibq
    @hadibq 2 ปีที่แล้ว +1

    👍👍thanks, nice channel!

    • @FriendlyWire
      @FriendlyWire  2 ปีที่แล้ว

      Thank you, glad you like the video! :)

  • @Teyros
    @Teyros ปีที่แล้ว +1

    I had to subscribe right away. Great job explaining things and awesome detail!!!

    • @FriendlyWire
      @FriendlyWire  ปีที่แล้ว +1

      Thank you so much, and I am glad you like the video!

    • @Teyros
      @Teyros ปีที่แล้ว +1

      @@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
      @FriendlyWire  ปีที่แล้ว

      @@Teyros Great, I hope it works! :)

  • @jahzeelalejandroreyeschave2477
    @jahzeelalejandroreyeschave2477 4 ปีที่แล้ว +1

    Good video, this will be helpful to my homework in the college

    • @FriendlyWire
      @FriendlyWire  4 ปีที่แล้ว

      Thanks, glad you like it!

  • @gradientattack
    @gradientattack 2 ปีที่แล้ว +1

    These videos looks great!!!

    • @FriendlyWire
      @FriendlyWire  2 ปีที่แล้ว

      Thanks so much, Percy, glad you like it! :)

  • @jhoanrivero7885
    @jhoanrivero7885 4 ปีที่แล้ว +1

    great video and simple

  • @josephocampo
    @josephocampo 4 ปีที่แล้ว +1

    Thank you sir.. I learned a lot

    • @FriendlyWire
      @FriendlyWire  4 ปีที่แล้ว

      Thank you so much, Joseph, that's great to hear! :-)

  • @skylineofsu9791
    @skylineofsu9791 2 ปีที่แล้ว +1

    Thanks for your video!

    • @FriendlyWire
      @FriendlyWire  2 ปีที่แล้ว +1

      Thank you, glad you like it! :)

  • @lucapoliseno5291
    @lucapoliseno5291 3 ปีที่แล้ว

    You sir, have just gained a subscriber.

    • @FriendlyWire
      @FriendlyWire  3 ปีที่แล้ว

      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!

  • @nickstamatiou9871
    @nickstamatiou9871 2 ปีที่แล้ว +1

    Amazing video !!!!

    • @FriendlyWire
      @FriendlyWire  2 ปีที่แล้ว

      Wow, thanks so much, Nick! :)

  • @FriendlyWire
    @FriendlyWire  4 ปีที่แล้ว

    Thanks for the great feedback, really appreciate it! Check out my PIC introduction video here: th-cam.com/video/e4Q2dYVedPY/w-d-xo.html
    More tutorials: th-cam.com/video/AlpbbeX7-BU/w-d-xo.html
    More projects: th-cam.com/video/H2x3aAJ3jr0/w-d-xo.html

  • @labdelhamidlaaraj7160
    @labdelhamidlaaraj7160 4 ปีที่แล้ว +1

    Good Job, Keep it up ❤️

    • @FriendlyWire
      @FriendlyWire  4 ปีที่แล้ว

      Thanks, glad you like it!

  • @ashishjog
    @ashishjog 2 ปีที่แล้ว +2

    Quality Content! Can you make videos on dspic33ch dual core microchip controllers?

    • @FriendlyWire
      @FriendlyWire  2 ปีที่แล้ว

      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?

  • @arkmediagroupllc
    @arkmediagroupllc ปีที่แล้ว +1

    Your videos are great!!

    • @FriendlyWire
      @FriendlyWire  ปีที่แล้ว

      Thank you so much, glad you like them! :)

    • @arkmediagroupllc
      @arkmediagroupllc ปีที่แล้ว +1

      @@FriendlyWire do you do arduino too?

    • @FriendlyWire
      @FriendlyWire  ปีที่แล้ว

      @@arkmediagroupllc For now I only focus on PIC microcontrollers :)

    • @arkmediagroupllc
      @arkmediagroupllc ปีที่แล้ว +1

      @@FriendlyWire can those microcontrollers control an I2C OLED display?

    • @FriendlyWire
      @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!

  • @sanatgallen6519
    @sanatgallen6519 3 ปีที่แล้ว +1

    me ayudo a enterder algo del RS232 thanks

    • @FriendlyWire
      @FriendlyWire  3 ปีที่แล้ว

      Muchas gracias :) Glad it is helpful, have a great day!

  • @Alex-rv8gw
    @Alex-rv8gw ปีที่แล้ว +1

    I hope that the next tutorial will be pic interface with pc by using rs-422, rs485, and USB

    • @FriendlyWire
      @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
      @Alex-rv8gw ปีที่แล้ว +1

      @@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
      @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.

  • @CoVerseAU
    @CoVerseAU 3 ปีที่แล้ว

    Awesome video keep it up!

    • @FriendlyWire
      @FriendlyWire  3 ปีที่แล้ว

      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 :)

    • @CoVerseAU
      @CoVerseAU 3 ปีที่แล้ว +1

      @@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

    • @CoVerseAU
      @CoVerseAU 3 ปีที่แล้ว +1

      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

    • @FriendlyWire
      @FriendlyWire  3 ปีที่แล้ว +1

      @@CoVerseAU That's very interesting, thanks for sharing!

  • @Gideon_Judges6
    @Gideon_Judges6 8 หลายเดือนก่อน +1

    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.

    • @FriendlyWire
      @FriendlyWire  7 หลายเดือนก่อน

      Thank you, good to know! :)

  • @krizzrojas5037
    @krizzrojas5037 3 ปีที่แล้ว +1

    I like it 😍👍

  • @ff-mu6cc
    @ff-mu6cc 3 หลายเดือนก่อน +1

    cool!

    • @FriendlyWire
      @FriendlyWire  3 หลายเดือนก่อน

      Thank you so much, glad you enjoyed the video!

  • @tjnguyen746
    @tjnguyen746 3 ปีที่แล้ว +1

    Thanks, and see you later.

    • @FriendlyWire
      @FriendlyWire  3 ปีที่แล้ว

      Thanks Thanh, have a great weekend! :)

  • @directionsys
    @directionsys 2 ปีที่แล้ว +1

    Nice job!
    Is it possible using your idea to control 8 independent PWM fans?

    • @FriendlyWire
      @FriendlyWire  2 ปีที่แล้ว

      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! :)

  • @Noxoreos
    @Noxoreos 11 หลายเดือนก่อน +1

    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.

    • @FriendlyWire
      @FriendlyWire  10 หลายเดือนก่อน

      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.

    • @Noxoreos
      @Noxoreos 10 หลายเดือนก่อน +1

      @@FriendlyWire I see, thank you.

    • @FriendlyWire
      @FriendlyWire  10 หลายเดือนก่อน +1

      @@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.

  • @guilloip
    @guilloip 3 หลายเดือนก่อน +1

    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.

    • @FriendlyWire
      @FriendlyWire  2 หลายเดือนก่อน

      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?

  • @saviourmadeit
    @saviourmadeit 2 ปีที่แล้ว +2

    is it possible to interface an ATmega328 with MAX232

    • @FriendlyWire
      @FriendlyWire  2 ปีที่แล้ว +1

      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 :)

  • @GJROBOTICS
    @GJROBOTICS ปีที่แล้ว +1

    How to display a image using RS232 protocol

    • @FriendlyWire
      @FriendlyWire  ปีที่แล้ว +1

      Ohh, that would be difficult if the image has a high resolution. What kind of image do you have in mind?

    • @GJROBOTICS
      @GJROBOTICS ปีที่แล้ว +1

      @@FriendlyWire pixel image for a advertistment board led panel

    • @FriendlyWire
      @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
      @GJROBOTICS ปีที่แล้ว +1

      @@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
      @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? :)

  • @jensschroder8214
    @jensschroder8214 4 หลายเดือนก่อน

    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

    • @FriendlyWire
      @FriendlyWire  4 หลายเดือนก่อน

      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?

  • @zambodiazook
    @zambodiazook 2 ปีที่แล้ว +1

    I love to decorate my tandem bicycle with LEDs, please help me make it beautiful

    • @FriendlyWire
      @FriendlyWire  2 ปีที่แล้ว

      Probably want to check out the WS2812 LED tutorial th-cam.com/video/NLyB3-vEbFk/w-d-xo.html :) Or do you want just one color? Let me know!

  • @mabsonleo
    @mabsonleo 2 ปีที่แล้ว +1

    Send ASC 255 for all LED glow ... Right ?

    • @FriendlyWire
      @FriendlyWire  2 ปีที่แล้ว

      Yes, exactly! 1+2+4+8+16+32+64+128, each number is one LED :)

  • @gerardcortez4094
    @gerardcortez4094 3 ปีที่แล้ว +1

    Can we do the same circuit connection with the arduino?

    • @gerardcortez4094
      @gerardcortez4094 3 ปีที่แล้ว +1

      I mean the way rs232 goes to de pic

    • @FriendlyWire
      @FriendlyWire  3 ปีที่แล้ว

      @@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 :)

  • @genuinetechniques9323
    @genuinetechniques9323 3 ปีที่แล้ว +1

    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

    • @FriendlyWire
      @FriendlyWire  3 ปีที่แล้ว +1

      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?

    • @genuinetechniques9323
      @genuinetechniques9323 3 ปีที่แล้ว +1

      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

    • @FriendlyWire
      @FriendlyWire  3 ปีที่แล้ว

      @@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?

    • @genuinetechniques9323
      @genuinetechniques9323 3 ปีที่แล้ว +1

      @@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

    • @FriendlyWire
      @FriendlyWire  3 ปีที่แล้ว

      ​@@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. :)

  • @sepiroid
    @sepiroid 3 ปีที่แล้ว +1

    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.

    • @FriendlyWire
      @FriendlyWire  3 ปีที่แล้ว

      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! :)

    • @sepiroid
      @sepiroid 3 ปีที่แล้ว +1

      @@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.

    • @FriendlyWire
      @FriendlyWire  3 ปีที่แล้ว

      @@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?

    • @sepiroid
      @sepiroid 3 ปีที่แล้ว +1

      @@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

    • @FriendlyWire
      @FriendlyWire  3 ปีที่แล้ว

      @@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
    @arkmediagroupllc ปีที่แล้ว +1

    Do you do arduino too?

    • @FriendlyWire
      @FriendlyWire  ปีที่แล้ว

      For now I am focusing on PIC microcontrollers :)

  • @byetodd
    @byetodd 2 ปีที่แล้ว +1

    Can this be used with USB communication?

    • @FriendlyWire
      @FriendlyWire  2 ปีที่แล้ว +1

      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!

  • @lucapoliseno5291
    @lucapoliseno5291 3 ปีที่แล้ว

    👏

    • @FriendlyWire
      @FriendlyWire  3 ปีที่แล้ว

      Thanks so much, glad you liked the video!

  • @kevinmitnic1543
    @kevinmitnic1543 4 ปีที่แล้ว +1

    nic

  • @surojitdas4496
    @surojitdas4496 2 ปีที่แล้ว +1

    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

    • @FriendlyWire
      @FriendlyWire  2 ปีที่แล้ว

      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).

    • @surojitdas4496
      @surojitdas4496 2 ปีที่แล้ว

      @@FriendlyWire i want to use sim900a module

    • @FriendlyWire
      @FriendlyWire  2 ปีที่แล้ว

      @@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? :)

    • @surojitdas4496
      @surojitdas4496 2 ปีที่แล้ว +1

      @@FriendlyWire no worries... thanks

    • @FriendlyWire
      @FriendlyWire  2 ปีที่แล้ว

      @@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 :)

  • @qzorn4440
    @qzorn4440 3 ปีที่แล้ว +1

    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...:)

    • @FriendlyWire
      @FriendlyWire  3 ปีที่แล้ว

      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 ;-)

  • @susmithat881
    @susmithat881 8 หลายเดือนก่อน +1

    Why don't you connect the cap at 4,5 pins of max232

    • @FriendlyWire
      @FriendlyWire  8 หลายเดือนก่อน

      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! :)

    • @susmithat881
      @susmithat881 8 หลายเดือนก่อน +1

      @@FriendlyWire tq a lot

    • @FriendlyWire
      @FriendlyWire  8 หลายเดือนก่อน

      @@susmithat881 Happy to help, and thank you for your interest! :)

    • @susmithat881
      @susmithat881 8 หลายเดือนก่อน +1

      @@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.

    • @FriendlyWire
      @FriendlyWire  8 หลายเดือนก่อน

      @@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?

  • @Berghiker
    @Berghiker 3 ปีที่แล้ว

    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?......

    • @FriendlyWire
      @FriendlyWire  3 ปีที่แล้ว

      Oh, good question! Do you want this to work with a general radio station?

    • @Berghiker
      @Berghiker 3 ปีที่แล้ว

      @@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.

    • @FriendlyWire
      @FriendlyWire  3 ปีที่แล้ว

      @@Berghiker Okay, I think I need more information :) You are creating your own FM signal?

    • @Berghiker
      @Berghiker 3 ปีที่แล้ว +1

      @@FriendlyWire yes, a simple FM transmitter.

    • @FriendlyWire
      @FriendlyWire  3 ปีที่แล้ว

      @@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 (th-cam.com/users/FesZElectronics) should have you covered :)

  • @parsifal8232
    @parsifal8232 3 ปีที่แล้ว +1

    7:11 why you did this bit shitfing and 'and'?

    • @FriendlyWire
      @FriendlyWire  3 ปีที่แล้ว

      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.' :)