JLCPCB Prototype for $2(Any Color): jlcpcb.com Taking another look at the TTP-223 touch sensor module. Making the module breadboard-friendly with a new Dupont pin header. Modifying the module to enable toggle mode.
Пікірлер: 62
@maicod4 жыл бұрын
I'm loving this shed remote control series
@JulianIlett4 жыл бұрын
Cheers Maico - tricky bit coming next, trying to get the ackpayload to work :)
@maicod4 жыл бұрын
I haven't been playing with RF between 2 Arduino's myself so no help from me sadly but I know you'll get there !
@psubond4 жыл бұрын
Put a little piece of silicone tubing on your solder sucker tip and it will allow you to get tip right against the soldering iron/joint
@simonhopkins38674 жыл бұрын
Thanks for the tip. 👍🏻
@mrnixie4 жыл бұрын
Julian, I have faced the same "toggle/momentary" dilemma (may be too strong a word!) as you do. I decided to keep the hardware switch in momentary mode, and perform the latch function in a couple of lines of code instead. Advantages: you can set the start condition of the switch during a software reboot. You can override the value by program if you need to (for example temp over-range forces fan on, regardless of switch state), or you might choose to "lockout" the button's function during certain program phases or times, you can implement dual functions by a short-press, or long-press. I notice a lot of the so-called toggle switches in my car work this way, too.
@webchimp4 жыл бұрын
The trick with solder sucking a plated through hole is to hold the board vertically and place the sucker on one side and the iron on the other. That way you can keep the heat on and get a better seal with the tip of the sucker.
@tin20014 жыл бұрын
That's how I do it. Big boards I hold between my knees, small boards I just sort of lean on the hand that's holding the sucker. I really need to get a little vice for my bench 😂
@massimookissed10234 жыл бұрын
I have some red TTP223 boards, they're about the size of a finger nail, and they _do_ each have pads to solder-select hi/lo & toggle.
@JulianIlett4 жыл бұрын
Same type due here soon :)
@ParedCheese4 жыл бұрын
Wouldn't an ESP32 with an "external' antenna be a better idea? You'd get the extra bit of range you need *and* built-in touch switches.
@gregclare4 жыл бұрын
@Julian Ilett I’m curious if the Active Low / Active High pin setting also determines the power-on state? eg. If the initial power-on state is Off (seems logical to assume), then you’d also assume this pin might control if the output is initially high or low after power-on initialisation. In which case this pin would still be relevant even with Toggle mode selected. ie. On power-up do you want the fan to default to On or Off?
@JulianIlett4 жыл бұрын
Yes it does - and this became an issue in my latest video. I used a simple inversion in the sketch to reverse the power up state. Cheers Greg :)
@Dudleymiddleton4 жыл бұрын
I remember around 1977 my parents rented this cutting-edge Mitsubishi TV - Didn't have a remote control they weren't about yet unless you were rich, but the channel change buttons were touch sensitive non tactile little chrome strips which was quite a novelty at the time, just touching them to turn the telly over. I guess this is similar technology using capacitance?
@GeorgeGeorge-xj2bc4 жыл бұрын
This was based on the high input impedance and had many problems as random channel changings due to electrostatic,humidity,air blowing.
@Richardincancale4 жыл бұрын
I remember babysitting in a house with one of these around that time. The house was old and damp with a stone floor. Had to jump while having finger on the touch pad to get the TV to change channels! The growly dog didn’t encourage frequent changes!!
@californiakayaker4 жыл бұрын
Amazing what you can do when you solder suck from under the board. Visualizing what is happening and whether you actually right on the hole from underneath is a little tricky though. I've recently picked up a Anesty ZD915 but haven't used it yet, barely have time to use my vacuum cleaner lately lol
@unperrier59984 жыл бұрын
Why not use a simple SPST switch instead? Is it for fun or because you don't want to bother with debouncing? Or because a 5p switch doesn't make an interesting video? ;) (SPST or any other more suitable type of switch)
@minkloco6192 жыл бұрын
Nice video can I use this fr a drum machine project?
@hukuzatuna4 жыл бұрын
Julian, you could write a machine learning algorithm (well, probably an ANN) to optimize the humidity at which the fan should turn on and the length of time the fan should run. :-)
@JulianIlett4 жыл бұрын
I'm not that good at coding :)
@hukuzatuna4 жыл бұрын
@@JulianIlett What's your target humidity, and do you have dehumidification to hit the target humidity even if the ambient humidity is higher? I may have some time this weekend to take a shot at it. ;-)
@jamesthepuerilis4 жыл бұрын
i hate solder suckers like that, prefer to use desoldering wick
@RandomElectronics14 жыл бұрын
If I designed this board, there would be a jumper on the touch sensor board to set the toggle mode. I know that the board featured in the video board does NOT have a jumper to set the toggle mode. Soldering those 2 pins on the chip together might have been hard.
@bobbunni87224 жыл бұрын
4:56
@stevefox37634 жыл бұрын
I'm waiting for the headline 'youtuber arrested for high tech cannabis grow' ha ha.
@paranoiia84 жыл бұрын
Weird design for that button. If it's "touch" button it should be totally flat and all components and connector should be at the bottom...
@ClokworkGremlin4 жыл бұрын
That's how the ones I bought are laid out. Also smaller and significantly cheaper than the style he's got here. (Brand is inconsequential, there are a dozen different brand names on both styles, but they're basically the same 2 variants.) The ones I bought also have little open blobs on the AHLB and TOG pins, so you can bridge them if you want to change the mode without needing to get all hacky like Julian did. [edit]Ah, he mentions that he also has the "red" style, he's just playing with the "blue" style right now.
@stevesm20104 жыл бұрын
They will both actually be Trancievers then ;-)
@JulianIlett4 жыл бұрын
They will indeed :)
@rapunzeleh5463 жыл бұрын
i purchased some of these from aliexpress a few years ago and just now found a practical use them... just to test them i connected one to a USB cable on my computer, with a male/female connector, then just wired red to vcc and black to grnd.... get a red light, not green like every site says i should get...and the light doesn't change when i touch it - long touch, short touch, back front, nothing... so figured it was a bum one... got another one... same thing... got ANOTHER one - same thing. so clearly i'm doing something wrong... just to test to see if they even recognize a touch, not even wiring a circuit or anything... am i just stupid or something? what's the deal? any idea?
@nkos63764 жыл бұрын
goooooooooood morning Juliet
@FG-Supercharged4 жыл бұрын
Why would you send a *continuous* stream of "ons/offs" via the transmitter when you could program to just look for a coded "on/off" signal at the other end and switch/toggle as needed (saving power at the transmitter side)?
@JulianIlett4 жыл бұрын
Because there may be lost packets at the extreme edge of the radio's range.
@FG-Supercharged4 жыл бұрын
But I thought you were going to use an "ACK"nowledge return from the other device to confirm "on/off" as well?
@JulianIlett4 жыл бұрын
Acknowledge the acknowledge payload? Probably not :)
@Smartpalorg2 жыл бұрын
Is there any way to toggle ttp223b green led ?
@djmikolajczak4 жыл бұрын
You should have the unit in the shed report back the battery level once or twice a day. I know you're planning on putting a big battery out there but it's going to get low at some point
@JulianIlett4 жыл бұрын
Battery voltage will be sent to the display :)
@webchimp4 жыл бұрын
Meant to ask on a previous vid, what's the capacitor doing on the transmitter board?
@JulianIlett4 жыл бұрын
Apparently it helps keep the transmitter power at full strength
@webchimp4 жыл бұрын
Fair enough, don't need mine to go too far so I probably leave that off. Might make the battery last longer
@ClokworkGremlin4 жыл бұрын
Helps keep the power from dropping out during spikes in power draw.
@pulesjet4 жыл бұрын
I'm quite sure your RF distance issue could be overcome using a small Yaggi type antenna. Maybe even a Bow Tie type.
@andrewkieran89424 жыл бұрын
Just slowing the transmission rate down from 1mbps to 250kbps would probably increase his range enough to resolve any issue.
@anvarthahathaha53614 жыл бұрын
Can we use this to 5 mm glass
@joshuabest1004 жыл бұрын
If you need any 1 way 2 way 4 way or 8 way relay boards let me know I'll post you some out I have tons I also have other bits like ultrasonic sensors and temp sensors
@duncanx994 жыл бұрын
Pins coming out the bottom!!! Painful...
@hitterz Жыл бұрын
May you show me how to connect one of these please and thank you, message me back
@followthetrawler4 жыл бұрын
I'm still struggling to understand the human involvement here. Why not fully automate this so when a humidity level is reached the fan turns on automatically? You wont always be at your desk, or awake... fun though.
@JulianIlett4 жыл бұрын
Eventually I will :)
@ronringel91324 жыл бұрын
Comment #31, Well done.
@kamalesh01014 жыл бұрын
Hey juliann.. love from india
@MarkGoodfellow4 жыл бұрын
Hello Julian
@sailingoctopus14 жыл бұрын
Mark Goodfellow probably fell asleep while writing a comment; Julian's voice has a soporific effect on me, maybe it has the same effect on Mark
@ElmerFuddGun4 жыл бұрын
@@2000jago - Come on. At least Mark wasn't saying "first!" like so many kids do.
@entozoon2 жыл бұрын
@Julian Ilett If the receiver sends an acknowledgement packet, does the sender send receipt of that acknowledgement? and the receiver receipt of that receipt of acknowledgement? :P
@chuxxsss4 жыл бұрын
Never understood why they solder them pins in when must time you need straight pins.
@gbraadnl4 жыл бұрын
here in china they are offered with pins unsoldered or soldered.
@chuxxsss4 жыл бұрын
@@gbraadnl I think you are right. If supplied just put them in with it not soldered. Hope you are all well. We are all wishing the best for china and the whole world at this stage. Stay safe. .注意安全
@gbraadnl4 жыл бұрын
@@chuxxsss thanks for the kind words. family is safe. Work from home, kids have online classes. Feel bad about the situation. Lets hope this is over soon.