GPIO for any PC or Laptop: Adafruit FT232H

Поделиться
HTML-код
  • Опубликовано: 5 янв 2025

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

  • @JendaLinda
    @JendaLinda Год назад +387

    Back in the day, standard serial and printer ports could be used as GPIO. That was the first time I was controlling electrical devices using a computer.

    • @ahmad-murery
      @ahmad-murery Год назад +32

      Exactly what I was thinking of, anyway, I think using parallel port was easier to start with since it doesn't require any coding/decoding circuit

    • @hilldweller2
      @hilldweller2 Год назад +25

      @@ahmad-murery Those were the days my friend, we thought they'd never end. But they did. Personally I think a picoW or ESP32 has so much more to offer, so why did they bother with this ?

    • @ahmad-murery
      @ahmad-murery Год назад +10

      @@hilldweller2 So true my friend👍,
      anyway, I think having a direct access to GPIO will open the doors again for some applications (windows apps for example) to easily read/control external machines at a low cost.

    • @briankleinschmidt3664
      @briankleinschmidt3664 Год назад +4

      Oh yes. The banded wires. Radio Shak to the rescue.

    • @zetaconvex1987
      @zetaconvex1987 Год назад +2

      Actually, you could probably do something almost identical today. You can set up serial connections to MCUs, although they will admittedly actually be routed via USB. Send bits over the computer's pseudo serial port to indicate whether pins should be high or low.

  • @GizmoFromPizmo
    @GizmoFromPizmo Год назад +31

    I worked for an industrial controls company back in the early to mid-1990s. All that equipment used to cost tens of thousands of dollars. Now you're showing us the current state of the art. My 1990s self is marveling at what has become of that industry.

    • @UKsystems
      @UKsystems 15 дней назад

      This is not the state of the art. This is a very very basic version the state of the distilled tens of thousands because it is highly accurate and certified for a lot more uses.

    • @GizmoFromPizmo
      @GizmoFromPizmo 15 дней назад

      @UKsystems - You're talking to a guy who used to program Allen-Bradley PLCs using ladder logic. You could buy a BASIC module for it but it would cost a fortune. I was around long enough to see Allen-Bradley lose a lot of market share to smaller (much smaller), faster PLCs from Japan as well as domestic competitors.
      Just seeing that functionality on a single board computer 30+ years later is jaw dropping.

    • @UKsystems
      @UKsystems 15 дней назад

      @ you said current state of fear and this isn’t so you were trying to argue the fact that 30 years ago this was very advanced but you mentioned current things in your comment please decide

    • @dennisestenson7820
      @dennisestenson7820 13 дней назад +1

      My dad worked in industrial refrigeration and designed control systems for them in the 90s. I am marveling at these current cheap technologies for similar reasons.

    • @dennisestenson7820
      @dennisestenson7820 13 дней назад

      ​@@GizmoFromPizmo my dad programmed PLCs with ladder logic too. He would also be impressed if he were still here.

  • @igfoobar
    @igfoobar Год назад +98

    GPIO is such a nice thing to have. I always enjoyed having GPIO available on my Commodore 64 for projects. When everything went to "standard PC" I had to do go through all sorts of nonsense hacking the parallel port into a GPIO-like interface. Now we finally have good options again.

    • @gordonlawrence1448
      @gordonlawrence1448 Год назад +4

      There used to be ISA bus and that was easy to turn into GPIO. Unfortunately that went 20 years ago.

    • @adilsongoliveira
      @adilsongoliveira Год назад +3

      I did a lot of this using 8255s, 4066s, optoisolators and such.

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

      @@adilsongoliveira I was going to write an integrator program for windows for a RF spectrometer and this is exactly what I was looking for ( both reading and turning on/off small valves), though, I'm going to attempt this in C++ instead of python.

    • @rustykoenig3566
      @rustykoenig3566 Год назад +3

      LOAD"*",8,1 !!! lol

  • @mr.techie8565
    @mr.techie8565 Год назад +51

    We need more people like you in the world, Chris. Thank you for doing what you do.

  • @hilldweller2
    @hilldweller2 Год назад +6

    I can't get excited about the board, but, oh boy, have you produced the definitive video on Superb Soldering. That was awesome.

  • @Praxibetel-Ix
    @Praxibetel-Ix Год назад +5

    I love you, Samantha the soldering iron!!!
    Anyway, another great video! Another example of how anything is possible with computing. :)

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

      Thanks for your support. :)

    • @Praxibetel-Ix
      @Praxibetel-Ix Год назад

      @@ExplainingComputers Aw, you're welcome, my friend! I hope that you're doing okay today. :D

  • @horseradishpower9947
    @horseradishpower9947 Год назад +12

    This is a really important video, as this is the sort of thing that could be used for school science. Get a cheap old PC, get one of these boards, and start to create your own monitoring system built.
    Lots of potential with it, thanks for making this video.

    • @ExplainingComputers
      @ExplainingComputers  Год назад +2

      I like your thinking here. :)

    • @parshvapatel8484
      @parshvapatel8484 Год назад +2

      ​@ExplainingComputers Is it possible to do same with old smartphone an it would give it a new life?? If yes then I have a request to make a detailed video on setting this up on some good python ide on smartphone. Thank you❤ and I like your explanation old school and easy to understand.

  • @timnixon2889
    @timnixon2889 Год назад +2

    Wonderful!!!!! I have a bmax B2-S arriving today (caught a great sale/discount, $104 versus usual $130-$160). Needed it since I threw away several old very slow laptops..
    I've been looking for details on how to handle sensors, I2C and DIO natively using python from a "PC" and it sure looks like this is the definitive guide.
    Like others I had missed several steps when looking on my own. I have a ton of ESP32s that work great but I also wanted to be able to log, graph and view the data easily under linux or Windows without needing a separate device to handle the data acquisition.. this seems to fit the bill.
    I've always loved this channel!! Been working professionally with electronics and computers since 1973

  • @aw34565
    @aw34565 Год назад +14

    Finally! After a 40 year wait there is now an affordable way to give a PC as much functionality as the BBC Micro's user port. Another great video, the code is a bit more complex than poking to the User 6522.

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

      Yeah but would you really want to bit bang a BME280 over the BBC user port? It's nice to have a library to do that for you.

  • @howardwilliams2587
    @howardwilliams2587 Год назад +50

    Absolutely fantastic content ... as Brian said (paraphrase here) you make it look easy! In reality it is, but it seems easier when I watch you do it. Thanks for sharing and the work you do making anything seem possible.

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

      editing the video helps too. 🙂

  • @EJEuth
    @EJEuth Год назад +7

    Good topic indeed, but even more: your way of presenting contents (here and other videos) is pleasurable and enlightening. Thank you for all that!

  • @CyborgZeta
    @CyborgZeta Год назад +4

    I appreciate you continuing to show off different aspects of computer I don't tend to think about, or am otherwise unaware of. Thank you.

  • @RobertSternberger-j4s
    @RobertSternberger-j4s Год назад +1

    Thanks for all your videos, Chris. This video (GPIO for any PC or Laptop: Adafruit FT232H) is something I never knew was possible with MacOS. Too cool!

  • @andrey_pav
    @andrey_pav Год назад +4

    I am very grateful to you for the new video! Now there is a chance to expand the functionality of a retro laptop, before that I theoretically represented communication via LPT and a CNC machine 🎉

  • @microdesigns2000
    @microdesigns2000 Год назад +3

    My first job out of high school was working at a radio shop where I learned to tune radios (before PLL frequency synthesis), install and service "car phones" and most interestingly build police squad cars by installing radios and light bars. I have several colorful stories from those days, like the time I repeatedly pressed a "man down" button on a portable police radio before I knew what it was, or the one where I did a "test drive" of a newly built squad car like the Dukes of Hazard. But this story comes to mind because of something in this video.
    One aspect of the construction of a squad car was to add circuitry for something called "wig-wag" lights. That is the connection of relays to flash the headlights alternately left and right about once per second. The LED's in this video are alternating at about that rate and reminded me of this time I left work exactly on time, and I was in a hurry to get home. I was speeding like usual and behind me I saw the dreadful wig-wags and really thought me house was cooked. I dug out my license, registration and proof of insurance. Well, I was surprised when the officer didn't ask for them but addressed me by name. It was Sargeant Deeghan who came to visit me at work but I wasn't there. So he chased me down on the highway! He wanted to ask about the function of one of the radios and didn't want to wait until tomorrow, ha ha. Well I laughed all the way home after he also gave me a verbal warning about my speed. That day was a good day to have the police Sargeant as my friend.
    13:15 So then, I hope you will remember that an alternating pair of lights is called "wig-wag" lights. 😀

  • @matthewjones517
    @matthewjones517 Год назад +3

    Thanks for posting this! With Raspberry Pi's being so difficult to find this looks to be an excellent alternative!

  • @MysteriousSlip
    @MysteriousSlip Год назад +2

    Now this is a product that is seriously needed! Thanks for reporting on it! I tend to be slow to catch the newest trends these days.

  • @johnkneemtb
    @johnkneemtb Год назад +2

    Just bought one. Thanks to EC for demoing it. One thing though my OCD is going crazy at exit () rather than exit()

  • @guyincognito.
    @guyincognito. Год назад +7

    I've never seen this channel before but as a 45 year old I have to commend the style of video and how reminiscent it is of quality BBC science programmes from the 80s!

  • @x_CrossHair_x
    @x_CrossHair_x 3 месяца назад +1

    I wish stuff like this existed 30 years ago.. The first Computer I used to control external devices was a Commodore 64 (Expansion Port) to control an Amateur Radio Repeater on the Two Meter Band... Using opto-isolators to provide the isolation between 5 and 12 volt Supplies.. It was fun, and very rewarding to make it work.. (Especially) incorporating a phone patch (all before) Cellular Phones.

  • @michalrzmichalrz6656
    @michalrzmichalrz6656 Год назад +2

    First time I "talked" to anything through an UART-like connect was to clear SMART registers on a bricked Seagate drive (the ones that once in a few hundred cycles froze on start-up). Felt so haxxory!

  • @SCP-POOL
    @SCP-POOL Год назад +1

    I'm sorry, but it's just NOT a proper Sunday without a very informative & delightful visit with our true gentleman of a friend Christopher & Explaining Computers! 😇

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

    I feel inordinately pleased to have reproduced your flashing LEDs using the MCP2221A breakout board. Thanks for this video - it opens a world of possibilities!

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

      Fantastic. This sounds like a great result. As you say, with things setup and working, there are so many possibilities . . .

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

    As I always say, every Sunday morning is Christmas morning when you listen to Christopher!

  • @MrBobWareham
    @MrBobWareham Год назад +3

    Very nice way to use the pc and IO thanks for the instructions I have just moved to Linux Mint Deb so will have a go as soon as I purchase the FT232H board.

  • @makermelissa
    @makermelissa Год назад +12

    Great video. If you have a BME280 with a different address, like in this case, you can simply specify it when you initialize the library instead of editing the value in the library. This also makes installing updates much easier.

  • @montecorbit8280
    @montecorbit8280 6 месяцев назад +1

    At 5:19
    Samantha the soldering iron....
    I do not remember seeing Samantha before! Nice to meet you!!

  • @MicrobyteAlan
    @MicrobyteAlan Год назад +2

    Sorry for being tardy, I’m training for a long distance running event in April. Excellent lesson today, thanks.

  • @fredwupkensoppel8949
    @fredwupkensoppel8949 Год назад +2

    I always wondered why I never see these things being advertised everywhere. This is really handy for makers.

  • @WJCTechyman
    @WJCTechyman Месяц назад +1

    This is an interesting video, I knew some were saying that Mini PCs were the way to go as a Pi alternative, but never understood how you could use it like a Pi until this video. I still would like to get a Pi and play around with it as I am surrounded by PCs. I wouldn't be playing around with it in the development sense at the start, just playing around with it like any other PC to see what it's like and doing PC style things with it.

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

    Great for testing code & stuff before you connect things to your precious Pi.
    Thanks for that video!

  • @lilblackduc7312
    @lilblackduc7312 Год назад +9

    Fantastic! A product review with a 'road test' and a run through the Owner's Guide. Thank you, Professor...🇺🇸 😎👍☕

  • @leonidas14775
    @leonidas14775 Год назад +6

    Great tutorial! I like how these breakout boards are dirt cheap and you can just use a computer you already have. Unlike the RBP, cheap x86 computers to run linux and python are everywhere.

  • @lmiddleman
    @lmiddleman Год назад +3

    Direct and indirect IO is a matter of interpretation. Fundamentally both the FTDI and Pico approaches use USB to communicate IO reads and writes. It is 100% possible to load a Pico with firmware such that it emulates exactly the FTDI part.

  • @dankierson
    @dankierson Год назад +2

    Another good day's work, Chris.
    I always saw the Raspberry Pi's main use not being for teaching juniors coding but in the lab recording data reliably. Your video has me thinking of using it with a breakout board for ventilation control system in a busy bar/restaurant.
    Cheers.

  • @martink.6872
    @martink.6872 Год назад +1

    While a green led when plugging something in is very exciting indeed, it's even more exciting to see a 'breadcrumb' on a breadboard (at 12:29 near the ft232ic). 😆
    I guess next would be a Blender video about creating and then printing a new case for the B-Max B1 Plus with integrated, easily accessible FT232H pin header.
    Thanks for a very nice video and Happy Easter! 🐇🐰🥚

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

      I only noticed the crumb in editing. No idea how it got there! Thanks for watching. :)

  • @perrymcclusky4695
    @perrymcclusky4695 Год назад +3

    What fun! You turned the mini PC into a PC Pi. Looking forward to your next video!

  • @alanjrobertson
    @alanjrobertson Год назад +2

    Another great video, Chris - hadn't realised these breakout boards for adding GPIO to a PC existed, could be very handy!

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

    Have a good rest of your weekend Christopher. As Always, Be Smart and Stay Safe.

  • @bertblankenstein3738
    @bertblankenstein3738 Год назад +17

    I thought about doing some logging, but rather than connecting sensors to a PC USB port I'd use an esp32 or pico w, setup a simple web page and retrieve the values using a cron job (wget) and storing in a csv. I could do logging this way on many sensors in different locations with less software libraries. Also an esp32 is cheaper than a ft232h.

    • @Henry-sv3wv
      @Henry-sv3wv Год назад +3

      that and there is firmata or Python picod module

  • @riderofthewhitehorse
    @riderofthewhitehorse Год назад +4

    Lovely graphics with nice typefont on over-labels. Great video.

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

    This is excellent and very timely! I have just ordered some sensors and knew I would have to get down to using Micropython, GPIO etc. This video has given some ideas about helping my daughter to use sensors on a PC, despite having no Raspberry experience. I find you have already issued videos which will be really useful such as your RPi Weather Station. Thanks!

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

      Good luck -- and you are right, there are several of my previous videos that may be of assistance -- including the one where I built an anemometer. :)

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

      @@ExplainingComputers AND the RPi Plant Watering and Time Lapse Photography videos! I've only been thinking recently that I ought to get down to time lapse with a Camera Module 3. Thanks again

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

    Nice to see Adafruit get a plug. Nice demo/tutorial, too!

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

    Excellent demonstration of democratization to access the world of GPIO. Great job! Respectful greetings to Samantha for her high precision work!

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

    Fascinating tool. It'll likely to provide respite to people suffering RPi shortage.
    Interesting tutorial like always.

  • @9bitjim
    @9bitjim 5 месяцев назад +1

    I tapped the SMbus to use i2c devices. You just have to find access to the signals somewhere.
    Cool vid!

  • @michalrzmichalrz6656
    @michalrzmichalrz6656 Год назад +2

    Thanks Chris, I'll keep that in mind. It's definitely an eye-opening idea with great potential for good things. Checked price - in my regular shop it's 20 GBP.

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

    This is so very exciting.
    Chris you just made my day.
    I have a couple old low power Thin Clients that I installed Linux Mint on that only draw about 6 watts when running. So with the Adafruit interface It could easily be used for temperature and presents detection as well as the most important "Flashing LEDs" Yes!!.
    Haven't really played with Python much, so this is great motivation to do so. Thank you again Chris for an excellent tutorial. 👍😎

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

    That is a great way to get GPIO on a PC without much muss or fuss. Also, it was nice to meet Stephanie - I never knew that was her name :)

  • @codyaimes4354
    @codyaimes4354 Год назад +2

    This is one of my favorite channels. I learned a lot from them.

  • @briankleinschmidt3664
    @briankleinschmidt3664 Год назад +20

    You packed a lot in this one. It's like you've done it before. I'm not sure if I could do all that in a week. I usually have several missed steps and mistakes. I screw up so much, that I account for it when I plan any project.

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

      Chris cheats. He has two Sundays in every week. ;)

  • @d.jensen5153
    @d.jensen5153 Год назад

    BTW, your Bmax mini PC presentation was so compelling that I ordered a Bmax from China. They were fresh out of stock locally which was probably your fault. :)

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

    Over my head Mr. Barnatt. You are such an intelligent fellow!

  • @AjinkyaMahajan
    @AjinkyaMahajan Год назад +3

    Its a wonderful module that gives computer direct access to gpio's
    Thanks Chris !!

  • @marusz
    @marusz Год назад +2

    Thank you very much for this material! Brilliant as always. I can't wait for the next episode.

  • @qzorn4440
    @qzorn4440 Год назад +4

    always such interesting videos with my muffin and hot tea. 🥳 Back in the DOS-PC days people came up with clever printer port projects. Now with these sweet little add-on boards the creative ideas are fantastic even 16 bit+ ADC/DAC channels. 😎 Thanks a lot.

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

      We had a "type and talk" device.. connect to the printer port and whatever you sent would be spoken aloud.. circa 1984

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

      @@timnixon2889 very interesting. Thanks.

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

      @@timnixon2889 There was a board that B G micro used to sell way back then that had a Couple of TI speech synth chips on it. You could connect it to a serial port them just send text to it.

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

      " Back in the DOS-PC days"
      Dos was the key! Because Dos ran in real mode you could do anything. You could read and write directly to any IO port or memory address. Obviously modern operating systems don't allow that. With modern operating systems applications run at PL3 and the kernel and maybe some low level device drivers run at PL0. That means that normal software cannot access IO ports directly. That means to do this under modern operating systems you must write a device driver and create somekind of API that will be used by your applications to make calls to that driver. That complicates things quite a bit. Also some modern operating systems, like the newer versions of windows even require drivers to be approved and signed by microsoft. That usually puts it out of reach by the average hobbyist.
      Interestingly enough, one exception to this is RS-232 com ports. These can still work because there are drivers and API calls already built into windows that allow you to open, close, read, and write to those ports. Thanks to backward compatibility with old school terminal applications this still exists. Unfortunately RS-232 ports are getting harder and harder to find on modern PCs.

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

    This is very exciting ,and opens up many more possibilities for test and measurement systems.

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

    perfect timing, i was looking at those since yesterday and considered buying one

  • @codewizard58
    @codewizard58 Год назад +6

    There are many ways to give a PC gpio capability. As noted in other comments, a PI or Arduino can be used by running a protocol over the serial link. The protocol used by the FT232H could be supported on other platforms. In the past I have used Web Midi in chrome browser to do gpio over a Midi interface to an Arduino. ( Optical isolation both ways with 5 pin Din Midi ) depending on latency etc, you may want to run some parts on the PI/Arduino and others on the PC.

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

    Adafruit has got some really great stuff - I would love to see more of it (:

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

    This is a very powerful and useful tutorial for not only GPIO, but also for Python... Thatnk you..

  • @DK-hs3oz
    @DK-hs3oz Год назад +2

    Awesome stuff. such a wide range of qwicc and other boards waiting to talk to a general purpose PC, the possibilities are endless. Thanks for the introduction to electronics for PCs.

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

    Thank you for this. I have no idea why this should be usefull instead of just using a RPI or a Pico - but that's exactly, why I'm intrigued to try it. :)
    From the comment i see, that other people like me, feel it's a time travel back to the days where computers were more electronic than they are today. We used serial and parallel ports if we had to control some self invented hardware. :)
    I'm trying to find some information about a Danish guy, who in approx 1995-2000 created a smart home, with a Commodore 64 and a huge amount of cables going to coffee maker, windows locks, door locks, and thermostats. He could even call his home with a telephone, and control some of the devices pressing different keys. :)
    They made a small news clip on TV about it back then, and i wish i could see that again

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

    Thanks, Chris. It’s always good to know the options we have nowadays to do whatever our (engineering) hearts desire.

  • @jamiemcglynn6600
    @jamiemcglynn6600 Год назад +2

    Whilst I don't own anything that uses the FT232H, the MCP2221A is a really great chip to work with, and plus, it is available in 14-pin DIP form factor, making one's own PCBs for it practical.
    I have one of these MCP chips mounted in my PC tower, controlling a third LED on the front bezel. I wrote a Win32 C++ app that makes it turn this LED on or off, depending on whether my NVIDIA graphics is "hard at work" or not ("throttle reason is not code-16/idle") by ways of the NVML API.

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

    Thanks Chris, just the ticket. Adafruit have also provided a port for the Pico as the bridge which I intend to try as well.

  • @whyjaywonders
    @whyjaywonders Год назад +8

    For the much lesser cost you can actually use ESP32 boards directly and get more pins and other options. And also control from the USB port.

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

      Different target market

    • @KavyanshKhaitan
      @KavyanshKhaitan 3 месяца назад

      ​@@petermuller608I don't understand how this target audience is different.
      Someone could easy take an ESP32, make it spit out all its GPIO outputs to the serial com, and (maybe) also take inputs as applicable, and someone could easily write a python script to parse that on the general PC side.

  • @gloiloidn5752
    @gloiloidn5752 Год назад +2

    A fantastic utility, GPIO. A little tricky to setup but I'm sure with your video things are going to be very easy. Great video!

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

    I'll have some projects for this one, but I've gotta walk before I can run. Thanks for another great video.

  • @alanthornton3530
    @alanthornton3530 Год назад +5

    What an interesting video I never cease to be amazed by Chris's content. I didn't know about Samantha, she does make very neat soldered connections!! It's got me thinking of other applications it could be applied to, like a model railway (railroad) layout, signalling, block control & setting points etc, the code would be quite interesting to write but what an experience :)

    • @GizmoFromPizmo
      @GizmoFromPizmo Год назад +4

      Excellent application idea!

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

      @@GizmoFromPizmo It just makes me wonder how long it'd take to do the coding?

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

    Excellent video. I’m just about ready to try my first project utilizing GPIO. It’ll be a garage door opener running on a Raspberry Pi.

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

    Great video I actually wondered if this existed after I started playing with the GPIO on Raspberry pi.

  • @ronjon7942
    @ronjon7942 Год назад +5

    This is fantastic! I’m just getting started with electronics and the Pi’s GPIO, and just assumed I’d have to dive into the SBC ecosystem. It’s just awesome I can use my x86 and x64 relics to explore GPIO, although with a little research I guess I could have accomplished this w the Pico and sub variants. Thanks!

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

      I'd say that the way Chris has shown it here on the PC is no different to using an SBC, it's the same compiler and IDE! What would make this more PC compatible would be some API calls you can make from say Visual Basic or MS Excel or even batch files or scripts.

  • @dpwaaw
    @dpwaaw Год назад +2

    My main projects that I will be working on is a weather station that has wind speed and direction and a plant irrigation system (house plant watering - because I am away a lot).

  • @fmphotooffice5513
    @fmphotooffice5513 Год назад +2

    Waited since forever for something like this, though there are probably dozens of ways to do it. +10 years ago Arduino, etc came at the right time for stand alone projects. It got in the way of development for direct USB GPIO to/from the computer.

  • @AMDRADEONRUBY
    @AMDRADEONRUBY Год назад +3

    Very interesting as ever I appreciate how Much you explains things in your videos

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

    This reminds me about my first FTDI project. FT245R, AT90S8515, and 16x2 display. On widows side I had FTDI dll and some little UI project with visual studio to show time and data on that display. FT245 had async fifo interface and with DLL you directly read/write to those fifos. That was more easy to use compared to uart :)
    After that I have been using their serial cables. Also modules supported IO pins. Also many JTAG cables was using FTDI chips.
    I think adafruit now is just to do packaging it to easy to use python library.

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

    Excellent tutorial! Small correction, at 11:40 video shows two 47 Ohm resistors(yellow,purple,black), referred as "470 Ohm current limiting resistors". Keep up the good work!

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

      Thanks for this. Whilst the resistors are there to drop the voltage, this in turn drops current, and resisitors so positioned in series with an LED are always referred to as "current limiting resistors". See, eg (and lots of places!): www.mouser.com/blog/dont-burn-out-calculating-led-current-limiting-resistor

  • @peterrobinson8258
    @peterrobinson8258 Год назад +10

    To avoid having to reenter the environment variable each time you startup Linux you can add
    export BLINKA_FT232H=1
    to, for example, your .bashrc file

    • @ExplainingComputers
      @ExplainingComputers  Год назад +3

      Good tip, thanks for sharing.

    • @wildfox1994
      @wildfox1994 11 месяцев назад +1

      or you can add
      "import os
      os.environ["BLINKA_FT232H"] = "1"
      import board
      import digitalio"
      at the beggining of your python script

  • @justinbeere
    @justinbeere Год назад +2

    The PCB close up shots are getting even more amazing!

  • @isaiahalleman8055
    @isaiahalleman8055 Год назад +2

    No one has came close to doing a 65mm x 30mm form factor comparison video. I’m very interested in a thorough price and performance comparison and availability of as many boards in this specific form factor as possible.
    Raspberry pi zero 2 W
    Orange pie?
    Mango pie?
    Banana pie?
    Rock pie
    Radxa 0
    Etc I don’t know how many there are but comparative information on the top 6 to 8 alternates would be invaluable for everyone.
    Long time fan and follower. Thank you for everything!

    • @ExplainingComputers
      @ExplainingComputers  Год назад +3

      I am planning Pi Zero form-factor comparison video.

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

      Excuse me. RUclips has malfunctioned. I shall move this comment down where it belongs.

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

    Amazing explanation! I managed to make it work under Windows using PyCharm with no issues at all! (It is important to change driver to libusb-win with zadig)

  • @JamesFraley
    @JamesFraley Год назад +2

    Your videos never fail to impress. Thank you.

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

    Back in the Borland Delphi days I used to use a Delcom IC it used USB and you could control about 10 leds it was great.

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

    What a neat device. Wish some laptops and PCs just came with a user friendly GPIO though.

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

    Having a DIY-NAS myself which runs on top of a low powered ATOM board, I know I would make use of either one of these if I just knew a meaningful purpose for those GPIOs in my case.

  • @slimhazard
    @slimhazard Год назад +4

    Amazingly, the Adafruit module is currently in stock at their store. That module, and the FT232 chip that it exposes, were sadly among the items that became Unobtainium during the component shortage.

  • @jeraldgooch6438
    @jeraldgooch6438 Год назад +2

    YAHOO! What a wonderful thing to have access to. How empowering!
    1. I note you mention using 440 ohm resistors. Normally one would think to use 220 or so. Curious as to the difference.
    2. Would you consider a video on using a realtime database such as influx db or some such, and perhaps something on a UI such as Graphana. Yes, there are some on RUclips, but I find your videos MUCH easier to follow.
    Yeah. This made my day!
    Thanks Chris!

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

    Well done! I am looking forward to making use of some older hardware that is just waiting to be up-cycled into something useful like a weather station or home automation item.

  • @ferrumignis
    @ferrumignis Год назад +2

    Note that the FT232H does not support clock stretching on I2C. Not a problem for most I2C peripherals, but if you have an I2C slave running on a micro it may well be a problem.

  • @drrenard1277
    @drrenard1277 Год назад +2

    Given its on PC, I totally would use this with hdf5py and store in that. This actually makes things so much more accessible without needing bunches of soc to then send to central computer then to pump into a hdf5 file. Shortens the process.

  • @CARLiCON
    @CARLiCON Год назад +16

    well done EC, I remember people doing something similar in the 70s with an Apple II using it as a micro-controller (the term micro-controller didn't exist then). You could write a basic program to monitor sensors, etc. that output variable voltage (e.g. thermocouple), via the game paddle port as GP I/O since the paddle potentiometer was analog & translated voltage into values between 0 and 255.

    • @ferrumignis
      @ferrumignis Год назад +2

      The first microcontroller was developed in 1971, and the word was also first used in that year. It just wasn't a very commonly used word until later.

    • @ericthecyclist
      @ericthecyclist Год назад +2

      actually, the apple II translated the resistance of the game paddle, not the voltage across it. It counted how long a capacitor on the main board took to discharge across the resistor. The great Woz never added an extra chip if he didn't need to.

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

      @@ericthecyclist The original IBM PC used this method as well; the cheapest possible analog to digital converter.

  • @ffieditor
    @ffieditor Год назад +2

    what can I say. Did not make the top 100. bummer. it was fun to watch. good info. good to know stuff!

  • @RedMageGaming
    @RedMageGaming Год назад +2

    With raspberry Pi boards being kind of hard to obtain at reasonable costs, this is a great little touch into getting the same kind of projects normally run on Pi's to be buildable on any typical computer.

  • @kenthekat9615
    @kenthekat9615 Год назад +4

    Great tutorial. Just another example of your wonderful lessons. Thanks.

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

    Ah, I love these Sunday morning hacking sessions with Chris.

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

    Good one! Thanks!

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

    Watched for years you are brilliant

  • @roselugo0112
    @roselugo0112 10 месяцев назад +1

    Thanks, it was an awesome experience.
    I learned so much.
    Much success to you. 😊😊

  • @prochazkaml
    @prochazkaml Год назад +2

    If you feel quite adventurous and have a spare VGA/DVI/HDMI port on your PC or laptop (and ideally run Linux, not sure how Windows would allow you to do this), then you've got access to a 5 V rail and an I2C bus. I remember mitxela getting one of those small 128x64 I2C OLED screens to work with I2C over the HDMI port on his laptop a while back (making a quite impractical, yet ridiculous computer monitor).
    I could definitely see myself making a simple HDMI to I2C breakout for hooking up different devices (perhaps with an optional voltage regulator so that I could hook up 3.3 V stuff as well), like sensors, I/O expanders (giving me regular GPIO) etc.

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

      Made a similar comment. The crazy thing is you can use PCF8564/8575 I²C I/O chips... 8 (or 16!!!) I/O pins, times 8 I²C addresses, times *1 I²C bus per video output* (VGA, DVI, HDMI, built-in laptop screen...)... You could potentially have access to a minimum of 192 regular GPIO pins on a regular junk desktop or laptop. Downside is, you have to adapt your code for this extra step of interrogating the chips, it is not a seamless accessible GPIO.