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. :)
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.
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.
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.
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.
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
@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
@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
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.
... 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.
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.
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.
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.
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.
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!
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.
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.
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.
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
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.
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..
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.
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.
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. ;-).
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.
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.
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.
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?
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.
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.
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!
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
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.
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!
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....
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.
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).
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
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!
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.
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.
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.
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
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?
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?
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)
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.
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 ;-)
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?"
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???
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.
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?
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.
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
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
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"!
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.
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
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.
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.
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,
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.
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.
Habe grade vor ein paar Tagen eine Crimp-Zange bekommen und Polklemmen für meine Labornetzteile gebaut. Brother Labelmaker ist noch auf der Wunschliste ;)
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....
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 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.
@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.
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
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.
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?
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?
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).
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?
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.
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).
"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).
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. :)
I think you could make decent money selling off the grey cables that other's might call red and black...
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.
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.
Colour blind, you must be an electrician.
The same exact idea might not work for everybody, but they should inspire people anyway. Very good practical considerations. Thank you
You are welcome!
10:12 "nearly a professional look" -- well, except for the font choice :P
comic sans strikes again!
Switzerland is neutral.
Great lesson!
As a swiss he should use Helvetica ;)
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.
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.
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
of course not recommendet if you plug directly in your microcontroller board or into something important
@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
@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
Aliexpres lists black- or red-only dupont wires, e.g. "Male To Male Red Black 26AWG 20CM Dupont Wire Cable Connector" :)
Thanks for the tip. I only knew the male version.
Thanks for the "create multiple ground" trick! I've been soldering multiple wires together, but that isn't practical at all ;)
You are welcome!
Nice tricks for a klutzy electronics newbie like me. Thank you!
Glad to help
The crimper video was the video that started my following you.
That is a long time ago. Glad you are still around!
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.
... 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.
Nobody is perfect!
As usual, helpful and crystal clear
Thank you!
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.
This is also a good way. I also started like that. But when I discovered these cheap empty shells I found them more convenient.
Danke lieber Andreas!
Gern geschehen!
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.
Other viewers found links to single colored Dupont wires. So this problem is solved!
Thanks a lot for this Andreas
You are welcome!
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.
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.
Really excellent thank you
You are welcome!
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.
Soldering is always a good solution for permanent connections. I prefer this way if I know that the "product" will be deployed.
I love your videos, hopefully after some time I can put out together content as good as yours.
At least you started. Good. Now you have to keep up!
Andreas Spiess I take my hat off to you publishing so much great content, you must be very dedicated.
Yes!
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!
You are welcome! I use empty shells all the time...
Solved a major problem I had. Thanks
You are welcome!
Aliexpress sells bundles with colored Dupont wires. This has solvet most og my red/black problems.
Thank you for your suggestion. Many viewers pointed me to these products. Already ordered :-)
Some great tips. Thanks Andreas
You are welcome!
Super useful & interesting! Thank you for sharing!
You are welcome!
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.
Thank you! Viewers pointed me also to sources where we can buy them online.
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.
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.
@@AndreasSpiess. Printable heat shrink? Tell me more.
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
Ich bin Electroingenieur.
Very useful tricks, thanks!
You are welcome!
Thanks, this is good.
Glad you like it!
Useful video
:-)
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.
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..
Only problem with women using the men's room is they don't put the seat up when done.....
Mark, not a problem if you also sit down to pee. No chance of missing and it's quieter too.
In Australia men can water a tree,
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.
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.
Good idea. Sometimes I use CAT 5 Ethernet cables for the same purpose.
what a great videos!!!! Thanks!!!
You are welcome!
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. ;-).
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.
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.
@@DocMicha
I use sand paper to get the glue off my fingers
Oh that gives a nice smooth fingertip, without any fingerprints.
I use green for ground also.
:-)
A strange thing will happen if you Wireshark your ESP32. Maybe you will never use them again.
Can you become a little more specific?
Useful tips Andreas. As always, it is fun to listen to your narration. My wife really likes your pointer.
The pointer is a copy of the one my wife used when she was a teacher.
And thank you.
You are welcome!
1:30 Brown? It looks dark yellow to me. 2:20 Orange? It looks yellow to me.
You are right.
Very clever advice with the dupont connectors.
So obvious when pointed out to you.
Thank you. ☺
You are welcome!
thanks, where do you get this black hot glue (at 10'44")? is it different from the transparent one?
I assume only the color is different. I think I got it from Aliexpress
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.
Brown is used for the live wire in 240V AC applications in Europe, so I would never use brown for ground.
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.
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?
The empty shells are optional.
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.
Good idea. Thanks!
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.
You are very organized! Much better than me.
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!
Grounding is a large topic and I am not a specialist. Maybe you find better information elsewhere.
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
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.
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!
The unstable connections were one reason for me to change to empty shells.
lol wut ? Esp32 allows to reallocate those internal functions to other pins ? I had no idea. thanks for the tip!!
You are welcome!
Most of the functions are done in software, or have alternate pins.
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....
Maybe this scheme comes from 220 volt colors?
not only in Germany it seems automation-insights.blog/2012/03/13/back-to-the-basics-how-do-i-wire-my-3-wire-sensors/
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.
Thanks for the clarification.
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).
Thanks for the tip about the backing paper. I am sure this will help me elsewhere. And I had a laugh about your mnemonics!
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
Thanks for the link. And with the help of my viewers, I also found sources for single color batches. So I am happy!
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!
Good ideas. Thanks!
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.
Thanks for your tip!
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.
Thank you for your tips! I did not know these Belt-buckle 4-wire DuPont housings.
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.
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
You are right. The technology is not very good. But it is the standard for Arduino boards. This is why I use them.
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?
You can use the 3.3 volt pin to power a sensor or a small LED. But not much more.
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?
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)
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.
You are right. In the meantime I found them too (with the help of my viewers)...
I don't know how I missed this years ago. I would have saved hours. Excellent tips!
Glad the video was helpful!
Порядок в любом деле -это хорошо! :)
Я швейцарский!
Swiss it is order It is true
Thanks! Very helpful!
You are welcome!
I hate to be dense but what does int inApin[2] = (27,13); at 7:49 do??
It defines and fills an array of 2 members.
Can we use dupont shells to attach wires to a angular male header board to reduce assembly height?
I think so.
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 ;-)
I never stick single pins together, I always use shells. There it sticks good.
@@AndreasSpiess hotglue does the trick with high force
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?"
Glad to read that my videos are helpful
Chicks needs to just use the can faster. Problem solved! But I digress....
???
Very useful tips Andreas, It'll save me quiet some work. Thanks for that!
You are welcome!
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???
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.
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?
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.
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
I cannot do code reviews. But I am sure you will find it out yourself using some Serial print statements and google.
thank you
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
As you see I have them mixed and have to search if I need one. Your concept is more professional!
i like these gloves :)
thank you for sharing your knowledge with us ...
You are welcome!
Dupont cables suck. The connection is hardly ever rigid enough.
Isn't there one (but not too bulky) with a lock in place mechanism?
They seem to be the standard for many applications. Empty shells improve the connectivity a lot.
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"!
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.
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
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.
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.
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,
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.
Here in florida, the building code does require additional toilets in the women's bathroom. the specifications are in a section called Potty Parity.
You seem to be very practical there! I learned to fly in Florida, btw.
Pololu sells cables with Dupont ends and lets you choose colors. Buy bags of red/black. All sorts of lengths.
Thank you. In the meantime I also found a source. Now I am happy.
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.
So you do not need to order a second back in this life ;-)
Habe grade vor ein paar Tagen eine Crimp-Zange bekommen und Polklemmen für meine Labornetzteile gebaut. Brother Labelmaker ist noch auf der Wunschliste ;)
Du wirst den Brother lieben! Viel einfacher, die Labels am Computer zu schreiben...
@@AndreasSpiess Je nach Modell leider nicht ganz günstig. Aber nach dem Januarloch hab ich dann wieder Budget dafür ;)
Great tips! One thing that many of my failed projects have in common is wiring that looks like a rats nest.
Indeed, wiring can be a nightmare!
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....
Thanks for the tips!
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???
One ADC is used for WiFi and BT. github.com/espressif/arduino-esp32/issues/102
@@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.
"Nearly a professional look" Proceeds to use MS Comic Sans
??
You don't list the crimps in your LAB TOOLS page :( sad face
just search for "dupont crimp"
@@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.
Always great ideas Andreas ! as usual.. Thank you.
You are welcome!
Thank you, Andreas. very useful information. Which wire(AWG) do you recommend for arduino and esp projects?
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
@@AndreasSpiess Thank you)
@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.
Danke für den Tip. Unterdessen weiss ich, dass es soche Kabel gibt. Dank meinen Zuschauern!
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
Danke für die Links. Die mit beiden Seiten männlich habe ich gekannt, die andern nicht.
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.
Unterdessen hab ich welche. Und sie werden täglich gebraucht...
I personally use a black and red indelible pen to mark the wires.
Also a good idea!
I use pieces of plastic corrugated board to keep wires separate.
Good idea!
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?
Yes
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?
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).
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?
Yes it does matter as donations also have a VAT like pretty much everything else. The amount depends on the patrons country.
If this is the case, SWITZERLAND only has 7.6% VAT
Here's more detailed information patreon.zendesk.com/hc/en-us/articles/205259549
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.
@@ristomatti
That's a very high tax burden! Come to think of it; I pay 21% on the patreon donations that I make :,(
is 22AWG good for esp8266 esp32 ?
Yes. Probably too thick for most purposes (I use 30AWG for data lines)
Really sensible tips. Good video.
Thank you!
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).
I am tested against color blindness because I used to develop stuff for the photofinishing industry ;-)
"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).
+1 for mentioning and acknowledging the "public toilet" problem.
:-)