#231

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

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

  • @BaronVonBiffo
    @BaronVonBiffo 6 лет назад +88

    I use grey for vcc. And grey for ground. And grey for tx and rx. Oh, and grey for pwm signals.
    Being colour-blind means no need to remember complicated colour schemes. :)

    • @alexlehtinen9732
      @alexlehtinen9732 6 лет назад +10

      I think you could make decent money selling off the grey cables that other's might call red and black...

    • @AndreasSpiess
      @AndreasSpiess  6 лет назад +14

      I know color blindness because I worked in the photofinishing industry and we always had to test males before hiring. There it clearly was a disadvantage.

    • @aronhighgrove4100
      @aronhighgrove4100 6 лет назад +6

      That's why the word color blindness is really a bad choice, even if common. In most cases people only have a color vision deficiency related to standard color vision.
      That means some shades (for example in red-green color vision deficiency) can be less well distinguished, yet it does not mean they would not see red or green at all, just certain shades look similar or like different colors.
      In some cases it means that those "color blind" people actually see more colors in other domains, for example yellow, compared to standard vision.
      So to make a good user experience, ideally high contrast and bright colors are used, then this is not a disadvantage at all. The real disadvantage is that the majority will favor colors they can see well, which doesn't necessarily mean it is what other people see well.
      When you optimize for color vision deficiency, it helps everyone though, since you usually choose easy to distinguish color among a wide scale of possible color vision variations, and avoid using too many colors (which is bad design).
      Unfortunately though, colors are not optimized for this as often as it should be. This would avoid a lot of problems.

    • @mickcoomer9714
      @mickcoomer9714 3 года назад +1

      Colour blind, you must be an electrician.

  • @johnjoyce
    @johnjoyce 5 лет назад +1

    The same exact idea might not work for everybody, but they should inspire people anyway. Very good practical considerations. Thank you

  • @g3i0r
    @g3i0r 6 лет назад +59

    10:12 "nearly a professional look" -- well, except for the font choice :P

  • @kissingfrogs
    @kissingfrogs 6 лет назад +32

    Some great tips. I like the "connectors always facing in" tip as it also makes it easier to probe the pin. Also great to hear someone else verbalise my frustrations like the lack of red and black duponts and a lack choice of longer cables, I often need pre-made 1m in length duponts.

    • @AndreasSpiess
      @AndreasSpiess  6 лет назад +9

      There are a few links in other comments where we get black or red wires. For longer connections, I use Ethernet cable. It has 8 wires and is dirt cheap. And it is even shielded.

  • @VincentFischer
    @VincentFischer 6 лет назад +28

    if you want to make your cables idiot proof, I always sacrifice one connection and fill it with hotglue and on the other end cut a pin to make it impossible to plug it in the wrong way. Of course it can't be the middle one or else you gained nothing ;). Also works great with multiple rows of pins with only one sacrificed connection

    • @VincentFischer
      @VincentFischer 6 лет назад

      of course not recommendet if you plug directly in your microcontroller board or into something important

    • @VincentFischer
      @VincentFischer 6 лет назад +1

      @Undefined Lastname We are talking 2.5mm pitch pin connectors here. JST-XH could be used to connect to dupont stuff but the notches can't be used if you dont have the right female side of JST-XH and you probably have to desolder the original pin headers first on your boards/modules/sensors to get JST-XH on there. Not very convinient

    • @VincentFischer
      @VincentFischer 6 лет назад

      @Undefined Lastname I don't think you are doing anything wrong. If you are on a level where you can quickly spin your low volume pcbs, that is the proper way! But for my use cases atleast, it's most of the time a bit overkill, I mostly use perf board or hobby grade modules that have 2.5mm pitch pin headers on them..
      I just love to not have to use my brain to connect things or to explain to not-tech-savy people that want to use the thing i made what color does what. Granted, there are better connector types for repeated plugging,unplugging. Also dupont wire are most of the times made from the cheapest plastic insulation that break after flexing the wire a bit. My comment was just a suggestion if you don't have other stuff at hand then dupont connectors. Usually I don't have the patience to wait the 2months until my aliexpress shipments arrive here, so I end up just using this method most of the time.
      I work with all kind of sensors that get relocated often, so I have to constantly change wire connections. Also I work with not so powerful microcontrollers that don't have the flexibility to reassign pin functions and capabilities. I am a programmer and the electrical side of things noticeably slow me down if I have to constantly think about what goes where in my development flow

  • @PhilippMeierGermany
    @PhilippMeierGermany 6 лет назад +21

    Aliexpres lists black- or red-only dupont wires, e.g. "Male To Male Red Black 26AWG 20CM Dupont Wire Cable Connector" :)

    • @AndreasSpiess
      @AndreasSpiess  6 лет назад +3

      Thanks for the tip. I only knew the male version.

  • @Ghust2
    @Ghust2 4 года назад +12

    Thanks for the "create multiple ground" trick! I've been soldering multiple wires together, but that isn't practical at all ;)

  • @RudyAmid
    @RudyAmid 2 года назад +1

    Nice tricks for a klutzy electronics newbie like me. Thank you!

  • @tmbiggs5343
    @tmbiggs5343 6 лет назад +3

    The crimper video was the video that started my following you.

    • @AndreasSpiess
      @AndreasSpiess  6 лет назад

      That is a long time ago. Glad you are still around!

    • @sethrd999
      @sethrd999 6 лет назад

      That crimper video is gold, as many new comers go the cheap route with very poor results as shown. I purchased that one not long after watching the video myself.

  • @MeinElektronikHobby
    @MeinElektronikHobby 6 лет назад

    ... danke Andreas für diese ausführlichen Tips und Tricks. Auch ich versuche in ähnlicher Art zu arbeiten - klappt nicht immer, wird aber immer besser. Thanks Andreas for these detailed tips and tricks. I also try to work in a similar way - it doesn't always work, but it gets better and better.

  • @meggrobi
    @meggrobi 6 лет назад +1

    As usual, helpful and crystal clear

  • @emremutlu44
    @emremutlu44 6 лет назад +10

    4:30 I use *tape* to combine single DuPont wires. Just plug them in a line of male/female pins and turn a tape around the whole bundle. It will look like a new connector. Also, I like to put a label on it before turning the tape around it. You can write pin correspondents. That does the job nicely.

    • @AndreasSpiess
      @AndreasSpiess  6 лет назад +5

      This is also a good way. I also started like that. But when I discovered these cheap empty shells I found them more convenient.

  • @ng3147
    @ng3147 8 месяцев назад

    Danke lieber Andreas!

  • @sethrd999
    @sethrd999 6 лет назад +9

    I have literally just gone through this myself whilst moving a project from the breadboard to perf/strip board. This area is so understated and as you so rightly point out can save you time with unnecessary debugging.
    Great tips / description as always and well outlined. I do agree we need more VCC / GnD wires :D.
    Keep up the great video's.

    • @AndreasSpiess
      @AndreasSpiess  6 лет назад +1

      Other viewers found links to single colored Dupont wires. So this problem is solved!

  • @halcrawford
    @halcrawford 2 года назад

    Thanks a lot for this Andreas

  • @lasersbee
    @lasersbee 6 лет назад

    I live in North America and for the past 40 years I've used Red or Orange for Positive DC and Black or Green for ground.

    • @AndreasSpiess
      @AndreasSpiess  6 лет назад

      Maybe I should have mentioned that it is not so important which colors you use. More important is, that you stick to your scheme. I can imagine that the color codes in different countries are different.

  • @expataviator7107
    @expataviator7107 3 года назад

    Really excellent thank you

  • @vng
    @vng 6 лет назад +1

    I like to use universal PCBs. Solder on the headers, solder on wires to connect the correct pins together, and then just slot in the dev boards. But that is a lot more work compared to simply using cables.

    • @AndreasSpiess
      @AndreasSpiess  6 лет назад +1

      Soldering is always a good solution for permanent connections. I prefer this way if I know that the "product" will be deployed.

  • @50Hz
    @50Hz 6 лет назад +1

    I love your videos, hopefully after some time I can put out together content as good as yours.

    • @AndreasSpiess
      @AndreasSpiess  6 лет назад +1

      At least you started. Good. Now you have to keep up!

    • @50Hz
      @50Hz 6 лет назад +1

      Andreas Spiess I take my hat off to you publishing so much great content, you must be very dedicated.

    • @AndreasSpiess
      @AndreasSpiess  6 лет назад +1

      Yes!

  • @DEtchells
    @DEtchells 3 года назад +5

    What a super-useful video! The idea of using empty connector shells made me smack my head. It’s so obviously a good idea, but I had never thought of it. Thank you!

    • @AndreasSpiess
      @AndreasSpiess  3 года назад +1

      You are welcome! I use empty shells all the time...

  • @glennedgar5057
    @glennedgar5057 6 лет назад

    Solved a major problem I had. Thanks

  • @la6mp
    @la6mp 6 лет назад +5

    Aliexpress sells bundles with colored Dupont wires. This has solvet most og my red/black problems.

    • @AndreasSpiess
      @AndreasSpiess  6 лет назад +1

      Thank you for your suggestion. Many viewers pointed me to these products. Already ordered :-)

  • @adrianwilliams763
    @adrianwilliams763 4 года назад

    Some great tips. Thanks Andreas

  • @springwoodcottage4248
    @springwoodcottage4248 6 лет назад

    Super useful & interesting! Thank you for sharing!

  • @KunalGautam
    @KunalGautam 6 лет назад

    Nice and informative video. In local store here, they sell same color dupont cable, but choice of color are limited. I've seen black, brown, white, red only.

    • @AndreasSpiess
      @AndreasSpiess  6 лет назад +1

      Thank you! Viewers pointed me also to sources where we can buy them online.

  • @mickcoomer9714
    @mickcoomer9714 3 года назад +1

    If only the colour codes were that simple. Most of my electronics is on my kit car which is based on a Merc. On a Merc live/power is black, but I grew up with the Lucas colour system where red is power and black is earth. Variations on blue is for for lights, yellow and green is for indicators and white is ignition protected. I stay with the Lucas system for my wiring cos I understand it.
    I also print little things to hold the wires together while using UV glue to bond them into a ribbon.

    • @AndreasSpiess
      @AndreasSpiess  3 года назад +2

      I recently learned that some manufacturers use black as plus. Not a good idea, I think. I also will stick the the "conventional" code. I have printable heat-shrink tubes which are also handy for that purpose.

    • @mickcoomer9714
      @mickcoomer9714 3 года назад +1

      @@AndreasSpiess. Printable heat shrink? Tell me more.

  • @berndreiner7159
    @berndreiner7159 6 лет назад +1

    PERFEKT VON ANFANG BIS ZUM SCHLUSS 👌👌👌👌
    Dürfte ich dich fragen warum du dich so gut damit auskennst?? Zumindest was oder hast du beruflich gearbeitet?? 🤗🤗
    Grüsse aus österreich

  • @ranger81de
    @ranger81de 6 лет назад

    Very useful tricks, thanks!

  • @stevenlightfoot6479
    @stevenlightfoot6479 10 месяцев назад

    Thanks, this is good.

  • @electronic7979
    @electronic7979 6 лет назад

    Useful video

  • @ristomatti
    @ristomatti 6 лет назад +18

    Here in Finland women tend to start using the mens toilets when the 1:1 ratio starts causing too long queues. This is silently accepted but would not work the other way around. That aside, hopefully some manufacturer will see the competitive advantage and starts producing wire bundles with more practical color ratios.

    • @esenel92
      @esenel92 6 лет назад

      I usually just get red and black dupont wires (that aren't bundled) from aliexpress.
      generally it's about 6-7 euro's for 200 X 20CM cables, and have no issues finding enough red and black cables. some sellers sell other colors per color as well..

    • @markludwig5805
      @markludwig5805 6 лет назад +7

      Only problem with women using the men's room is they don't put the seat up when done.....

    • @ahaveland
      @ahaveland 6 лет назад +2

      Mark, not a problem if you also sit down to pee. No chance of missing and it's quieter too.

    • @meggrobi
      @meggrobi 6 лет назад +1

      In Australia men can water a tree,

    • @richardbloemenkamp8532
      @richardbloemenkamp8532 6 лет назад

      I agree that some more toilets for women than for men would be reasonable, but I also believe that some women could spend a little less time in the toilet. How often does it happen that people complain about having to wait a long time until it is their turn and they seem to have all the time in the world while others are waiting. And yes my child usually comes with me and not with my wife.

  • @j3gum
    @j3gum 6 лет назад +11

    I like to use sacrificial USB cables between boards. They're flexible, strong, have beefy VCC and GND wires, plus have at least a couple of data lines. Perfect for I2C, and Neopixel type LEDs.

    • @AndreasSpiess
      @AndreasSpiess  6 лет назад +4

      Good idea. Sometimes I use CAT 5 Ethernet cables for the same purpose.

  • @taruix603x5
    @taruix603x5 5 лет назад

    what a great videos!!!! Thanks!!!

  • @DocMicha
    @DocMicha 6 лет назад +4

    I use also superglue for single connectors in a row. Therefore it is less effort, because once connected correctly, you can carefully glue the single connectors together. And I hate crimping small connectors, even with a good crimping tool so I like to solder pre-manufactured wires together rather than crimping. ;-).

    • @AndreasSpiess
      @AndreasSpiess  6 лет назад +3

      I also used super glue in the beginning. But I was not so successful, I always had 50% glue on my fingers :-( This is why I love empty shells.

    • @DocMicha
      @DocMicha 6 лет назад +2

      That's the downside of the method, but a wet razor with a little shaving foam can help to get rid of the glue, but be careful not to cut your self, but if you cut, you could use super glue ;-). In this sense I should also go better to empty shells.

    • @electron-1979
      @electron-1979 6 лет назад +2

      @@DocMicha
      I use sand paper to get the glue off my fingers

    • @DocMicha
      @DocMicha 6 лет назад +2

      Oh that gives a nice smooth fingertip, without any fingerprints.

  • @EnergeticWaves
    @EnergeticWaves 5 лет назад

    I use green for ground also.

  • @asif-alam
    @asif-alam 5 лет назад +1

    A strange thing will happen if you Wireshark your ESP32. Maybe you will never use them again.

    • @AndreasSpiess
      @AndreasSpiess  5 лет назад

      Can you become a little more specific?

  • @jerrybarnish5304
    @jerrybarnish5304 3 года назад +2

    Useful tips Andreas. As always, it is fun to listen to your narration. My wife really likes your pointer.

    • @AndreasSpiess
      @AndreasSpiess  3 года назад +1

      The pointer is a copy of the one my wife used when she was a teacher.

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

    And thank you.

  • @GRBtutorials
    @GRBtutorials 6 лет назад +3

    1:30 Brown? It looks dark yellow to me. 2:20 Orange? It looks yellow to me.

  • @jparky1972
    @jparky1972 5 лет назад +2

    Very clever advice with the dupont connectors.
    So obvious when pointed out to you.
    Thank you. ☺

  • @odieodieetmarco3477
    @odieodieetmarco3477 3 года назад +1

    thanks, where do you get this black hot glue (at 10'44")? is it different from the transparent one?

    • @AndreasSpiess
      @AndreasSpiess  3 года назад

      I assume only the color is different. I think I got it from Aliexpress

  • @zetaconvex1987
    @zetaconvex1987 4 года назад +1

    I like the idea of always orienting the connectors a certain way.
    A trick I used once was in regards to how to correctly orient a home-made "shield" onto a board. Use female headers, but keep a gap on unused pins. Then, on the shield, use discarded insulation from wires to sheath the corresponding unused male pins. That way, your shield will only fit on your "motherboard" in one way. It has the added benefit that if the wiring is complicated on the motherboard, you can feed wires through the gaps in the female headers rather than have to route wires from other devices all the way around the female headers.

  • @rondlh20
    @rondlh20 6 лет назад +1

    Brown is used for the live wire in 240V AC applications in Europe, so I would never use brown for ground.

    • @AndreasSpiess
      @AndreasSpiess  6 лет назад

      You are right. In my lab, however, I do not have many open 220 volt wires, never with Dupont connectors and much thicker. So in my case the chance I mix them is very small.

  • @xHeadxShotxx
    @xHeadxShotxx 2 года назад

    I'm trying to prototype right now, is it possible to just insert the male jumper wire into the arduino's respective pins and go from there? Or do I need to use an empty shell so I can connect the wires?

  • @AdityaMehendale
    @AdityaMehendale 6 лет назад +1

    You can use 3 pins from the 6-pin programming-header on an Arduino nano (Gnd, MOSI, 5V) to connect to a led-pixel strip; use "expansion-shield/breakout adapter" with Arduino Nanos to get neat Vcc/Gnd/Signal pin-triplets.

  • @jamesotisjr2322
    @jamesotisjr2322 5 лет назад +1

    Consider using the resistor color code: Red is 2, I use that for 12 VDC, just like automotive wiring. Orange is 3, for 3.3 VDC. Green for 5 VDC. Blue for 6 VDC.
    I always use Yellow for serial RX and the color code for the serial TX port in use. GrAy for SDA and purpLe for SCL
    I solder the module end to a header. hot glue the connection for strain relief.

    • @AndreasSpiess
      @AndreasSpiess  5 лет назад +1

      You are very organized! Much better than me.

  • @greekgroover3165
    @greekgroover3165 5 лет назад

    In respect to trick #6 at 10:41 would you care explaining how proper grounding (star ground) or even working with analog and digital ground works? I had a lot of issues with noise when trying to connect an arduino, a dfplayer with a pam8403 amp. thanks!

    • @AndreasSpiess
      @AndreasSpiess  5 лет назад

      Grounding is a large topic and I am not a specialist. Maybe you find better information elsewhere.

  • @warlockd
    @warlockd 6 лет назад +1

    Not against dupont connectors, they are sometimes a bit tall for the boxes I have. After having to buy some MicroFit connectors been using them on finished projects. They are just a bit expensive but you can get them in headers, sockets, right/left angles etc..
    PS - Also use JST or locking dupots, those are cheap off ebay too.
    PSS - Oh, and when I was starting out I just bought those combo connector packs. DON'T. I ended up using all my 1/2/3/4 socket duponts but still have like 40+ of the other sockets in the bin. Just find the part numbers of the connectors you use, go to mouser/digikey and just buy them in bulk there. This works well with screw too:P

    • @AndreasSpiess
      @AndreasSpiess  6 лет назад +1

      You are right. Dupont connectors are not a good choice in many aspects. But since Arduino times it seems to be the standard for Maker boards. They are cheap and versatile. If I can decide I also use different connectors.

  • @WacKEDmaN
    @WacKEDmaN 6 лет назад +1

    Thanks Mr Spiess, some good info there..i like using dupont wires for my builds aswell, but ive found that they are not always the best..the male ends are slightly too small for the female headers, and dont always get a solid connection... i currently have a STM32 bluepill connected to an arduino 8-bit parallel TFT sheild and if i move it slightly it will loose connection, requiring a reboot of the mcu to get things working again... same issue with an arduino, a 8 character 7 segment LED display that uses SPI and an I2C RTC..all connected via dupont wires.. if i move either the display or the RTC, the display stops updating and requires the arduino be rebooted to get it working again..
    All this coz the dupont cables dont fit snuggly into the adruinos female pins...and even breadboards... i can crimp the ends of female dupont wires so the male end doesnt slip out as easy, but its impossable to do on arduino headers or a breadboard..
    TL;DR male ends of dupont wires need to be a mm thicker!

    • @AndreasSpiess
      @AndreasSpiess  6 лет назад +2

      The unstable connections were one reason for me to change to empty shells.

  • @b0bjedump
    @b0bjedump 6 лет назад +7

    lol wut ? Esp32 allows to reallocate those internal functions to other pins ? I had no idea. thanks for the tip!!

    • @AndreasSpiess
      @AndreasSpiess  6 лет назад +1

      You are welcome!

    • @nrdesign1991
      @nrdesign1991 5 лет назад +1

      Most of the functions are done in software, or have alternate pins.

  • @michaelrudek1545
    @michaelrudek1545 6 лет назад

    Just a note to the colors.
    Standard 3-wire Sensor cables in the german (europe) industry have the colors brown,black and blue.
    Brown is (+),
    blue is (-)
    and black is output no1.
    I´m using this cables often, cause i´m electrician in a german company ;) So i wouldn´t use brown or black as minus.
    But this is in my field....

    • @AndreasSpiess
      @AndreasSpiess  6 лет назад

      Maybe this scheme comes from 220 volt colors?

    • @oakinger
      @oakinger 4 года назад

      not only in Germany it seems automation-insights.blog/2012/03/13/back-to-the-basics-how-do-i-wire-my-3-wire-sensors/

  • @Graham_Wideman
    @Graham_Wideman 6 лет назад +1

    8:19 "Arduinos can only use a few pins for PWM". This is true for the hardware PWM use for Arduino analogWrite. However, another application of PWM signals is the Servo library, which doesn't use the same hardware PWM, and supports output on any digital output.

  • @superdau
    @superdau 6 лет назад +1

    If you want *connectors that almost look injection molded, put hot glue on a piece of baking paper* (works best if the paper itself is on a cooling surface like a sheet of metal or heat sink). Then push the pinheader/sockets with the soldered wires into the glue. You should have about as much glue that the connector is "half filled" (so 1-2mm high for dupont style connector). Repeat the same on the other side. The most important thing: wait for the glue to cool before you try to remove the paper. Then the baking paper will not stick to the glue. Trim the glue that was squashed out to the side with side cutters and voila you got an almost factory made looking connector, especially when using black hot glue.
    As for the colors: I always use green for clock signals. I imagine a chinese person saying green which ends up being "gleen" (no offence) which starts the same as "clock". Blue is always data (because of the "a" in german "blau" and "Daten"). This way I pretty much always can immediately find and I2C bus. I always leave those two wires stuck together, because in very rare cases a single blue wire means negative voltage. Similarly for a serial connection. Orange is RX (from the µC's point of view), because both have an "r" in them, and yellow is TX (because of the toilet problem and because it is joined with orange).

    • @AndreasSpiess
      @AndreasSpiess  6 лет назад +1

      Thanks for the tip about the backing paper. I am sure this will help me elsewhere. And I had a laugh about your mnemonics!

  • @Graham_Wideman
    @Graham_Wideman 6 лет назад +1

    The reason you always get the same set of colors in ribbon cables is because the colors follow standard EIA color numbering:
    1 = brown, 2 = red... 0 = black. Since these colors are used to number the wires so you can identify them, you cannot expect cables with multiple of particular colors within each set, like say black or red, that you might prefer if you're going to split them apart. en.wikipedia.org/wiki/Electronic_color_code

    • @AndreasSpiess
      @AndreasSpiess  6 лет назад +1

      Thanks for the link. And with the help of my viewers, I also found sources for single color batches. So I am happy!

  • @KeithOlson
    @KeithOlson 4 года назад +1

    8. To make absolutely sure that you won't plug headers in incorrectly, use shells that are 2 pins longer than the header, then fill one position on each end with hot glue/etc. There will now be no way to misalign the pins.
    9. If you have a laser printer, you can easily use a spreadsheet to print out a label that lists the function of each pin of a connector (or an IC). Once cut to size, spread some CA glue or clear nail polish on the connector/IC, then place the label and let it set. The paper will soak up the glue/nail polish, so it is a good idea to put another coat on top. (I use this for through-hole IC's, and there is enough room on top for the chip *and* pin ID's.)
    Hope this helps!

  • @shazam6274
    @shazam6274 6 лет назад +1

    Learn to solder! Then you can have any color and any length wire to a plug in header, as in tip # 6. Put a small amount of hot melt glue on the wire-connector solder joints, then cover with heat shrink which has internal hot melt. This can be made faster than crimping pins and assembling the connector. Now you will have a strong, waterproof, strain-relieved cable / connector almost as good as a factory made injection molded one.

  • @GnuReligion
    @GnuReligion 6 лет назад +2

    I like using double-row IDC keyed ribbon connectors when 6+ wires are required. It is easy to salvage standard old IDE cable spaced at 1/20" for this. Best to have one of those ribbon-connector crimping tools.
    Belt-buckle 4-wire DuPont housings can be good for USB, I2C, and Serial connections.
    Round female wire-connectors are wonderful for mounting components on all kinds of perfboard projects.
    If drawing real amperage, then PCB mounted spade tongues can be useful.

    • @AndreasSpiess
      @AndreasSpiess  6 лет назад +1

      Thank you for your tips! I did not know these Belt-buckle 4-wire DuPont housings.

    • @GnuReligion
      @GnuReligion 6 лет назад

      Andreas Spiess
      www.aliexpress.com/item/50-Set-MX2-54-Dupont-Connector-4-Pin-with-Belt-Buckle-Single-Row-2-54mm-Right/32792160070.html
      Well, I like learning about all the new tech by watching your channel!
      There seem to be an infinite number of connectors. Would use JST style more often, but find them difficult to crimp.

  • @accountdeactivated5486
    @accountdeactivated5486 6 лет назад +1

    These prefabricated Dupont Jumper Cables often have a resistance of several Ohms... They are fine for data but not that good for anything which draws a bit more current

    • @AndreasSpiess
      @AndreasSpiess  6 лет назад +1

      You are right. The technology is not very good. But it is the standard for Arduino boards. This is why I use them.

  • @bra1nsen
    @bra1nsen 2 года назад

    I use a raspberry pi 4: 3.3v and ground
    now could i splitt with a y-adapter - to power an led on the one hand and on in the other a sensor like the bme280? the voltage should stay constant, because its parallel or?

    • @AndreasSpiess
      @AndreasSpiess  2 года назад

      You can use the 3.3 volt pin to power a sensor or a small LED. But not much more.

  • @FuZZbaLLbee
    @FuZZbaLLbee 6 лет назад +1

    At what point do you go from loose cables to these connectors to soldering the wires directly on the board?
    Or even use something like a attiny (for the simpler programs) on a vero board or custom PCB?

    • @AndreasSpiess
      @AndreasSpiess  6 лет назад +2

      I use connectors when the board cam with pins and if I plan to experiment and change connections. I solder in the other cases (mainly for finished devices)

  • @Autotrope
    @Autotrope 3 года назад +1

    Dfrobot makes packs of them with heaps more red and black than other colours. But, they are not joined in a ribbon but loose. It is probably the only way since rainbow ribbon cable tends to spread the cable colours evenly.

    • @AndreasSpiess
      @AndreasSpiess  3 года назад +1

      You are right. In the meantime I found them too (with the help of my viewers)...

  • @shuttlepodone1707
    @shuttlepodone1707 2 года назад +1

    I don't know how I missed this years ago. I would have saved hours. Excellent tips!

  • @ТимурКанев-о6ы
    @ТимурКанев-о6ы 6 лет назад

    Порядок в любом деле -это хорошо! :)

  • @matsim0
    @matsim0 4 года назад

    Thanks! Very helpful!

  • @user-bj4lp3fr1o
    @user-bj4lp3fr1o 2 года назад

    I hate to be dense but what does int inApin[2] = (27,13); at 7:49 do??

    • @AndreasSpiess
      @AndreasSpiess  2 года назад

      It defines and fills an array of 2 members.

  • @DennisMurphey
    @DennisMurphey 2 года назад

    Can we use dupont shells to attach wires to a angular male header board to reduce assembly height?

  • @daskasspatzle2396
    @daskasspatzle2396 6 лет назад +1

    We seem to do nearly the same... Except for labeling the cables, as i don't have a label maker. Do they really keep the single shells together without any further adhesive?
    Thanks for this tricks ;-)

    • @AndreasSpiess
      @AndreasSpiess  6 лет назад +1

      I never stick single pins together, I always use shells. There it sticks good.

    • @kitecattestecke2303
      @kitecattestecke2303 4 года назад +1

      @@AndreasSpiess hotglue does the trick with high force

  • @bgable7707
    @bgable7707 3 года назад

    I wish RUclips had a way to give a 2nd "Thumbs Up" . I find myself referencing many of your video's, over and over. Maybe the YT stats show this. BTW the IWS-2820M is working great for me to crimp the terminators per video "#282 Crimpers: IWISS IWS-2820M against Engineer PA-09?"

    • @AndreasSpiess
      @AndreasSpiess  3 года назад +1

      Glad to read that my videos are helpful

  • @larrybud
    @larrybud 5 месяцев назад

    Chicks needs to just use the can faster. Problem solved! But I digress....

  • @HansVledder
    @HansVledder 5 лет назад +1

    Very useful tips Andreas, It'll save me quiet some work. Thanks for that!

  • @abhinavgolwalkar
    @abhinavgolwalkar 6 лет назад +1

    Very informative. I have a question on Tip#6 with ise case of Raspberry pi.
    If I extent vcc pin(5 or 3.3) is there any impact on current supply for that single extended pin? The max current limit???

    • @AndreasSpiess
      @AndreasSpiess  6 лет назад +1

      The 5 volt is fed by USB. So you have these limits. And the 3.3 volt rail is fed by a small converter. I would not expect a lot of usable current on this rail, but I do not know how much.

    • @abhinavgolwalkar
      @abhinavgolwalkar 6 лет назад +1

      Andreas Spiess Alright. I am working in a project that includes a rotary encoder 5 volt, a 5 v OLED display, and a neo pixel led. I have only 2 nos 5v pin so if I extent one of them to run 2 things , then my pi will not face and trouble and would not fry. Is that correct and safe?

    • @AndreasSpiess
      @AndreasSpiess  6 лет назад +1

      I would say yes, it is ok. But pay attention with 5 volt devices. The Rpi is killed by 5. volt on any pin (which can happen if your 5v device has an output pin). Better use 3.3 volt devices on the Rpi.

  • @MohammedRiad
    @MohammedRiad 6 лет назад

    How can i make Arduino switch off the led after Bluetooth connection is lost. this is my sketch:
    // Hardware setup:
    // BT module Arduino
    // GND ------- GND
    // VCC ------- 5V
    // TX-O ------ pin2
    // RX-I ------ pin3
    // Arduino UNO already has an LED attached to pin 13
    #include
    int bluetoothTx = 2;
    int bluetoothRx = 3;
    SoftwareSerial bluetooth(bluetoothTx, bluetoothRx);
    int led1 = 13;
    int led2 = 12;
    char cmd[100];
    int cmdIndex;
    void exeCmd() {
    // "led" is the led id
    if(strcmp(cmd, "led 0")==0) digitalWrite(led1, LOW);
    if(strcmp(cmd, "led 1")==0) digitalWrite(led1, HIGH);
    if(strcmp(cmd, "led 2")==0) digitalWrite(led2, LOW);
    if(strcmp(cmd, "led 3")==0) digitalWrite(led2, HIGH);
    }
    void setup() {
    delay(500); // wait for bluetooth module to start
    bluetooth.begin(115200); // Bluetooth default baud is 115200
    bluetooth.print("$");
    bluetooth.print("$");
    bluetooth.print("$"); // enter cmd mode
    delay(250);
    bluetooth.println("U,9600,N"); // change baud to 9600
    bluetooth.begin(9600);
    pinMode(led1, OUTPUT);
    digitalWrite(led1, LOW);
    pinMode(led2, OUTPUT);
    digitalWrite(led2, LOW);
    cmdIndex = 0;
    }
    void loop() {
    if(bluetooth.available()) {
    char c = (char)bluetooth.read();
    if(c=='
    ') {
    cmd[cmdIndex] = 0;
    exeCmd(); // execute the command
    cmdIndex = 0; // reset the cmdIndex
    } else {
    cmd[cmdIndex] = c;
    if(cmdIndex

    • @AndreasSpiess
      @AndreasSpiess  6 лет назад

      I cannot do code reviews. But I am sure you will find it out yourself using some Serial print statements and google.

    • @MohammedRiad
      @MohammedRiad 6 лет назад

      thank you

  • @alanknight2204
    @alanknight2204 6 лет назад +1

    Hi In my breadboard storage box I have painted ( spray paint ) some dupont shells so that I know if the lead is M-M , F-F or M-F . I am now thinking that more colours would tell me
    the length .
    More wire colours would be great but I am to lazy to make my own right now .
    Alan

    • @AndreasSpiess
      @AndreasSpiess  6 лет назад +1

      As you see I have them mixed and have to search if I need one. Your concept is more professional!

  • @HSRMF
    @HSRMF 5 лет назад +1

    i like these gloves :)
    thank you for sharing your knowledge with us ...

  • @alejandroperez5368
    @alejandroperez5368 3 года назад

    Dupont cables suck. The connection is hardly ever rigid enough.
    Isn't there one (but not too bulky) with a lock in place mechanism?

    • @AndreasSpiess
      @AndreasSpiess  3 года назад

      They seem to be the standard for many applications. Empty shells improve the connectivity a lot.

  • @Ruudrad
    @Ruudrad 6 лет назад +1

    What I find a perfect way to "wire" Arduino Rasberrry etc, is the good old wire wrap technique. With a cheap pen, that can as well the strip wires you need you can make upto 4 connections per dupont (male) pin. You can also wire wrap components like LED's, resistors, capacitors and even transistors. Finally, if you plug in a pin header with the "small pins", that you normally solder into the PCB pointing "up", you can wrap wires around that and quickly build circuits. Remember, in the old days we built whole motherboards using this technique, using PCB's with many integrated circuits on it. Try that with "dupont connectors"!

    • @AndreasSpiess
      @AndreasSpiess  6 лет назад +1

      I worked for digital equipment and remember wire wrapping... But it seems to be a forgotten technology. If I remember right we needed a proper tool, like a drill with a motor.

    • @Ruudrad
      @Ruudrad 6 лет назад +1

      Yes, with a wire "wrap gun" was the pro way to do it. I now however use a cheap pen-like tool for 12 CHF from Ali (wire wrap strip unwrap tool), that can strip and wrap 30AWG wire. They also have 30AWG wire, where they bundle 100m wire in 8 colors, that will keep you connecting for ages (800 meters,,,). I trust you can find it, if not I can provide links. The wrap works perfectly on small discrete components and dupont male headers. I eg. connected a hwclock to a rasperry Pi bus in a minute, without soldering in this case.
      I used it for connecting wires to raspberry PI, but the most challenging was connecting 150 RGB leds (each with 4 pins) to an arduino, to "cheer up" a small Dalek gadget on my dr Who Pinbal (yes, the real pinball from 1995 Bally), For that I used 4 I2C IC's each capable of doing 128 outputs in a 16x8 matrix. That means lighting up 450 LEDS (150 RGB) using only 2 wires (I2C) to the Arduino. When I connected the LEDS using dupont and soldering, I had many "fails", as the Dalek was moving. After using wire rap, all problems were gone.
      The Dalek is shown here: ruclips.net/video/EgqaPZw0QHw/видео.html
      The wordclock here: ruclips.net/video/XTHH30S8Aao/видео.html
      In my opinion, the wire wrap technique is a "forgotten" option, that has great potential for the hobbyist, but that is just "me". It works much more reliable than "experimenting boards", you can also connect discrete individual components (and even DIL IC's) quickly and reliably (and non destructive). I look forward to you opinion, might be fun doing some video footage about wire wrap, if you agree; you have more followers than I will ever have ;-)
      By the way, are you in the Züri region? That is where I live.
      Cheers ruud

    • @AndreasSpiess
      @AndreasSpiess  6 лет назад +1

      Nice projects, especially the word clock with the "mechanical" twist. Very innovative!
      Concerning wire wrap, I ordered now such a tool and a bit of wire to experiment. I agree this is a "forgotten" technology and maybe I even will do a small video about it.
      I live in Lausen, near Basel.

    • @Ruudrad
      @Ruudrad 6 лет назад +1

      As for the "forgotten" technology, indeed! but from my experience, the wires are not really aware of it and still behave in a well connected manner... ;-)
      Thank for the compliments, the wordclock was mostly 3D printed and now I'm building clock 4 and 5, for some of my kid's upcoming birthdays. It was also good to see that you can easily drive upto 16 servo's with one timer IC (PCA9685 ) I2C connected to the Pi. And if you have enough I2C space free: 64 of these IC's fit on one bus. Would be fun to see 64x16 servo's controlled! Would need an unrealistic amount of power though.
      I live in Dübendorf, near Zürich. I pass Lausen on my way to NL every few weeks I guess.
      Look forward to the potential of the video, would be proud to have inspired you for this ;-)
      I'm pretty sure I saw the technique once revisited in a Make magazine (the german one) . I was already applying it then.

  • @kashif1964
    @kashif1964 5 лет назад

    Hi,
    I am trying to connect 4 Relays and 4 Buttons to my Nodemcu esp8266 but unable to do so my PIN configurations are as under.
    Relay1 to D1, Relay2 to D6, Relay3 to D7 and Relay4 to D8
    Button1 to D2, Button2 to D3, Button3 to D4 and Button4 to D5
    can u guide me if possible which pins to be used for Relay and which for Buttons Thanks in advance,

    • @AndreasSpiess
      @AndreasSpiess  5 лет назад

      Maybe you read www.forward.com.au/pfod/ESP8266/GPIOpins/index.html concerning pin D8 (GPIO15) and D3 (GPIO0) . You have to pay attention if you use them.

  • @youpattube1
    @youpattube1 2 года назад

    Here in florida, the building code does require additional toilets in the women's bathroom. the specifications are in a section called Potty Parity.

    • @AndreasSpiess
      @AndreasSpiess  2 года назад

      You seem to be very practical there! I learned to fly in Florida, btw.

  • @SixWildKids
    @SixWildKids 4 года назад

    Pololu sells cables with Dupont ends and lets you choose colors. Buy bags of red/black. All sorts of lengths.

    • @AndreasSpiess
      @AndreasSpiess  4 года назад

      Thank you. In the meantime I also found a source. Now I am happy.

  • @vgamesx1
    @vgamesx1 6 лет назад

    I don't know what happened but one time I bought a 40 piece set of female dupont cables and got around 25 sets of them, so I paid less than a dollar for about $20 worth of cables.

    • @AndreasSpiess
      @AndreasSpiess  6 лет назад

      So you do not need to order a second back in this life ;-)

  • @samuelschwager
    @samuelschwager 5 лет назад +1

    Habe grade vor ein paar Tagen eine Crimp-Zange bekommen und Polklemmen für meine Labornetzteile gebaut. Brother Labelmaker ist noch auf der Wunschliste ;)

    • @AndreasSpiess
      @AndreasSpiess  5 лет назад

      Du wirst den Brother lieben! Viel einfacher, die Labels am Computer zu schreiben...

    • @samuelschwager
      @samuelschwager 5 лет назад

      @@AndreasSpiess Je nach Modell leider nicht ganz günstig. Aber nach dem Januarloch hab ich dann wieder Budget dafür ;)

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

    Great tips! One thing that many of my failed projects have in common is wiring that looks like a rats nest.

  • @danny117hd
    @danny117hd 4 года назад

    Nice vid. My tip is use the bool.
    Bool x=0;.
    digitalWrite(,mpin,,x);
    Delay...
    X=!x;
    digitalWrite (mpin,x);
    Delay...
    The auto correct is messing the code....

  • @jesperbjrn150
    @jesperbjrn150 4 года назад

    Maybe this have come up before but I risk asking again hoping for an answer. On a ESP32 DOIT V1 board I have experinced that the ADC's have been interrupted when started WiFi.begin; When running the sketch on serial monitor only with no WiFi connection it runs a analogRead on GPOI2 fine. But when starting WiFi and adding the code to html then pin2 (and others) fail or shows the full scale of the analog value on the browser. I tried different pins and found that GPIO34 worked but I need more variables for inputs and outputs what have I overseen???

    • @AndreasSpiess
      @AndreasSpiess  4 года назад

      One ADC is used for WiFi and BT. github.com/espressif/arduino-esp32/issues/102

    • @jesperbjrn150
      @jesperbjrn150 4 года назад

      @@AndreasSpiess Thank you very much. Looks like only the ADC1's can be used as analogRead when WiFi is enabled. Have a OneWire on GPIO4 and that continues to work fine even with WiFi enabled.

  • @xmine08
    @xmine08 3 года назад

    "Nearly a professional look" Proceeds to use MS Comic Sans

  • @twobob
    @twobob 4 года назад

    You don't list the crimps in your LAB TOOLS page :( sad face

    • @AndreasSpiess
      @AndreasSpiess  4 года назад

      just search for "dupont crimp"

    • @twobob
      @twobob 4 года назад

      @@AndreasSpiess yeah i did that, but ended up with a very sketchy list of parts that may or may not be /actually/ decent. Never mind.

  • @StephaneHollande
    @StephaneHollande 6 лет назад +1

    Always great ideas Andreas ! as usual.. Thank you.

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

    Thank you, Andreas. very useful information. Which wire(AWG) do you recommend for arduino and esp projects?

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

      I use 30AWG for general data connections and Dupont wires. If I need more power, I use wires from 22AWG downwards, depending on the current needed

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

      @@AndreasSpiess Thank you)

  • @svendragonion6792
    @svendragonion6792 6 лет назад

    @Andreas Spiess Die Suche nach "dupont wire black" bringt in der Bildsuche von Google einige Treffer. z.b.: www.ebay.com/itm/100Pcs-Female-To-Female-Red-Black-26AWG-20CM-Dupont-Wire-Connectors-Jumper-Cable-/152754767899 Natürlich auch bei Aliexpress.com und DX.com zu finden.

    • @AndreasSpiess
      @AndreasSpiess  6 лет назад

      Danke für den Tip. Unterdessen weiss ich, dass es soche Kabel gibt. Dank meinen Zuschauern!

  • @flos251
    @flos251 6 лет назад

    Schwarze Kabel:
    www.ebay.de/itm/100Stk-2-54mm-Stecker-Breadboard-Premium-Jumper-Kabel-Flachbandkabel-Schwarz/351902326780?hash=item51ef035ffc:g:EhsAAOSwdx1aPQ0Q
    Und da kann man sich die Farben selber aussuchen :
    www.ebay.de/itm/10-einzelne-Jumper-Wire-20-cm-Kabel-male-auf-male-viele-Farben-zur-Auswahl/332730162821?var=541862595681&hash=item4d78435e85:g:h9cAAOSwhilbXKpQ

    • @AndreasSpiess
      @AndreasSpiess  6 лет назад

      Danke für die Links. Die mit beiden Seiten männlich habe ich gekannt, die andern nicht.

  • @allcrafter3747
    @allcrafter3747 4 года назад

    Du kannst solche rote, bzw. schwarzen Kabel bei Reichelt bestellen. Jeweils im 10er Set. Versand ist aber immer 6 Euro. Deshalb viel auf einmal bestellen, dann lohnts sich.

    • @AndreasSpiess
      @AndreasSpiess  4 года назад

      Unterdessen hab ich welche. Und sie werden täglich gebraucht...

  • @GabrielKleinCH
    @GabrielKleinCH 5 лет назад

    I personally use a black and red indelible pen to mark the wires.

  • @prckmi1008
    @prckmi1008 2 года назад

    I use pieces of plastic corrugated board to keep wires separate.

  • @macmaven5037
    @macmaven5037 4 года назад

    If I have two 12" dupont wires (male on one end and female on the other), I can combine two different wires (male to female) to create a 24" dupont wire correct?

  • @cyberfez
    @cyberfez 3 года назад

    fantastic tips. any tips on runing long lengths of wiring through a projects ? tips on how to keep cables safe, clips to hold them in place. running tracks etc?

    • @AndreasSpiess
      @AndreasSpiess  3 года назад

      I am a wireless guy. So most of my longer wires are mains cables and I do not have a good system for them. In the lab I have an intermediate shelf that they are not on the floor (for easy cleaning).

  • @kissingfrogs
    @kissingfrogs 6 лет назад +1

    Maybe the wrong forum for this but before I could view on patreon I had to enter my country of residence as they claim creators need to know where their patrons are for tax purposes. Is this true, Does it make a difference which countries a creators funds come from for tax purposes?

    • @ristomatti
      @ristomatti 6 лет назад +2

      Yes it does matter as donations also have a VAT like pretty much everything else. The amount depends on the patrons country.

    • @AndreasSpiess
      @AndreasSpiess  6 лет назад +2

      If this is the case, SWITZERLAND only has 7.6% VAT

    • @ristomatti
      @ristomatti 6 лет назад +1

      Here's more detailed information patreon.zendesk.com/hc/en-us/articles/205259549

    • @ristomatti
      @ristomatti 6 лет назад +1

      But since patrons are the "consumers", VAT is based on their country. So in my case for each pledge I make, 24% VAT is added to the sum I end up paying.

    • @RubenLensvelt
      @RubenLensvelt 6 лет назад

      @@ristomatti
      That's a very high tax burden! Come to think of it; I pay 21% on the patreon donations that I make :,(

  • @IlijaPavlovic-v9f
    @IlijaPavlovic-v9f 5 месяцев назад

    is 22AWG good for esp8266 esp32 ?

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

      Yes. Probably too thick for most purposes (I use 30AWG for data lines)

  • @pdrg
    @pdrg 6 лет назад +1

    Really sensible tips. Good video.

  • @allyourcode
    @allyourcode 4 года назад

    Interesting. I'm from the USA, and I would call your third choice for ground that you show "yellow". I wonder if this is a weird color translation issue? Or maybe one (or both) of us is color blind?? Your second choice for VCC I would call "yellow" (just a different shade).

    • @AndreasSpiess
      @AndreasSpiess  4 года назад +1

      I am tested against color blindness because I used to develop stuff for the photofinishing industry ;-)

    • @majdnemkocka
      @majdnemkocka 2 года назад

      "Brown" is just dark orange and orange is just a reddish yellow. :) I think it might be a cultural thing: some "American" yellows (School Bus Yellow, Crayola's Bright Yellow) are vivid, golden, reddish colours, I would almost call them orange. In Europe, "yellow" is a lighter shade usually (like Crayola's Lemon or printers' Process Yellow).

  • @mcflapper7591
    @mcflapper7591 6 лет назад

    +1 for mentioning and acknowledging the "public toilet" problem.