1 00:00:00,780 --> 00:00:08,910 Hello and welcome to this you lesson and watch are going to design our circuits now, we will use our 2 00:00:08,910 --> 00:00:14,700 soil moisture sensors to measure the volume of water content in the soil. 3 00:00:15,180 --> 00:00:22,950 And we will mainly use that the H.T. 11 sensor, which we will use to measure temperature and humidity 4 00:00:22,950 --> 00:00:30,600 levels in the plant's surroundings, and the water level sensor will measure the water level in a small 5 00:00:30,600 --> 00:00:31,170 tank. 6 00:00:31,650 --> 00:00:33,630 And this is an optional sensor. 7 00:00:33,660 --> 00:00:41,010 You can choose to add it or not, depending on your water, say, state. 8 00:00:41,520 --> 00:00:47,310 If you have a continuous water supply, you shouldn't worry about the tank level. 9 00:00:47,970 --> 00:00:52,200 Now, to design our circuit, what we need to do is simple. 10 00:00:52,260 --> 00:00:53,610 We will need to open up. 11 00:00:53,620 --> 00:01:00,120 Surprising up that we just downloaded Double-Click on it. 12 00:01:09,330 --> 00:01:19,610 Now, this will simulate the real life connection, so you need to concentrate, go to the breadboard 13 00:01:19,620 --> 00:01:22,830 view up here and you will see a Bridport. 14 00:01:23,100 --> 00:01:30,030 Now, move this aside, we will need SB 32 Balde. 15 00:01:33,860 --> 00:01:40,580 And as you can see, we have a lot of yes people we need a ASPEY 32 aboard this one. 16 00:01:43,770 --> 00:01:49,380 OK, now we will also need a ruling with you. 17 00:01:51,990 --> 00:01:59,610 Now, you can see that here we have a lot of really module's out components, we will take this one. 18 00:02:01,640 --> 00:02:09,470 We will need the H 11 Sencer DHT. 19 00:02:16,020 --> 00:02:17,490 OK, let's try another. 20 00:02:19,820 --> 00:02:20,270 We. 21 00:02:24,110 --> 00:02:33,520 Gay, when you face this problem, when you try to adolescence, you don't find it by another name. 22 00:02:34,970 --> 00:02:39,130 This means that this sensor is not here. 23 00:02:39,290 --> 00:02:41,930 And as you can see here, we have one of these sensors. 24 00:02:42,410 --> 00:02:43,970 It's called, ah, a sensor. 25 00:02:44,870 --> 00:02:53,780 And we can see that it almost have the same terminal's ground and PTC and that signal. 26 00:02:53,790 --> 00:02:58,720 So we can use it for this connection. 27 00:02:59,000 --> 00:03:04,870 And you can either look for alternative or you can download it online. 28 00:03:05,780 --> 00:03:12,520 A lot of libraries are already available by people who are creating these components. 29 00:03:12,520 --> 00:03:14,540 So you can download it and add it. 30 00:03:15,110 --> 00:03:16,640 But this will take a lot of time. 31 00:03:16,640 --> 00:03:19,670 So we will use this instead now. 32 00:03:22,130 --> 00:03:29,060 Now we need the soil, more 33 00:03:31,640 --> 00:03:41,810 moisture sensor and this is it, we will need the water level sensor and when you look for it, you 34 00:03:41,810 --> 00:03:43,410 won't find it. 35 00:03:43,940 --> 00:03:51,560 So in this case, you need to go to Google here and in here. 36 00:03:51,560 --> 00:03:52,010 Right. 37 00:03:52,010 --> 00:03:54,370 Water level, Centonze. 38 00:03:56,140 --> 00:03:56,920 Fritzing. 39 00:04:00,830 --> 00:04:04,250 As you can see, you'll get water level. 40 00:04:05,820 --> 00:04:08,880 OK, this is all indicator, let's look for them. 41 00:04:08,920 --> 00:04:10,290 Strip search. 42 00:04:12,610 --> 00:04:13,020 OK. 43 00:04:19,160 --> 00:04:20,450 That is more than one. 44 00:04:24,200 --> 00:04:26,420 The Lesli distorter liberal. 45 00:04:30,400 --> 00:04:34,230 Fritzing goal, OK? 46 00:04:34,960 --> 00:04:40,420 The first result is this, as you can see, this is the water level sensor and this is the flooding 47 00:04:40,420 --> 00:04:41,800 that we are going to download. 48 00:04:42,280 --> 00:04:46,540 It has a water level sensor connected to our drill and we only need this item. 49 00:04:47,350 --> 00:04:50,650 So download the fritzing file from here. 50 00:04:51,610 --> 00:04:52,420 Here it is. 51 00:04:54,010 --> 00:04:58,480 Now, to open it up, you need to go to Fritzing. 52 00:05:00,780 --> 00:05:07,830 Drag and drop the file on that, on your open flooding software, you will see that now you'll have 53 00:05:07,830 --> 00:05:08,560 a new window. 54 00:05:09,270 --> 00:05:13,360 And this is the water level sensor. 55 00:05:14,310 --> 00:05:15,810 Now, what you need to do is simple. 56 00:05:19,520 --> 00:05:21,890 Copy and paste the sensor. 57 00:05:22,580 --> 00:05:23,750 And here you have it. 58 00:05:25,370 --> 00:05:25,790 Sorry. 59 00:05:26,180 --> 00:05:33,960 Okay, now now let's connect these items to our E.S.P board. 60 00:05:34,490 --> 00:05:36,970 We'll start with the edge sensor. 61 00:05:37,610 --> 00:05:45,110 We know that we need ground connection, which is the black one. 62 00:05:49,810 --> 00:05:52,360 And we will also need. 63 00:05:59,260 --> 00:06:08,980 Five volts, so in order to get five volts, we need to make sure this vent will provide you with five 64 00:06:08,980 --> 00:06:09,670 volts. 65 00:06:12,260 --> 00:06:19,100 And you need to make sure that you are, you know, what you are doing, because if you connected your 66 00:06:19,100 --> 00:06:24,390 ISP more through your ISP, you will get five volts from this veltman. 67 00:06:25,100 --> 00:06:31,730 Otherwise, you have to connect an external power source that provides five volts. 68 00:06:32,660 --> 00:06:38,120 Now we need to connect the first and fourth, which is that the edge sensor. 69 00:06:39,930 --> 00:06:47,040 Now, as you can see here, we have more than one terminal that we need to connect and depending on 70 00:06:47,040 --> 00:06:49,350 that terminal that you are trying to connect. 71 00:06:51,430 --> 00:06:51,910 Now. 72 00:06:53,180 --> 00:06:55,960 We need to connect the VXI and ground. 73 00:06:56,570 --> 00:07:01,040 Now, the reason he must be connected here, but we need to connect. 74 00:07:03,300 --> 00:07:07,850 That is due out here and the black way out here. 75 00:07:09,420 --> 00:07:19,020 Just to make sure that we have our up there, that, OK, now the Viscusi will be connected here. 76 00:07:20,390 --> 00:07:22,960 So now we have other alternatives. 77 00:07:23,510 --> 00:07:28,580 This is the letter signal and we will send it to our ISP 32 Balde. 78 00:07:29,300 --> 00:07:32,210 Let's send it to this spin. 79 00:07:35,750 --> 00:07:41,090 Carry a spoon and let's go next to Ben, number 32. 80 00:07:45,290 --> 00:07:47,300 Change the color to yellow. 81 00:07:49,050 --> 00:07:59,880 And here we have the ground pen and we must continue to ground the car to block and this one turret. 82 00:08:01,240 --> 00:08:07,870 Now, this ban is the second ground and you can connect it to the ground. 83 00:08:09,200 --> 00:08:15,470 You depending on the module that you have, you can check the data sheet for the connection, but this 84 00:08:15,830 --> 00:08:19,880 is the connection for the one that we have here now. 85 00:08:22,960 --> 00:08:28,960 Now, to connect the relay module, we can't use this one as it has a lot of input output panels and 86 00:08:28,960 --> 00:08:30,370 it's a dedicated module. 87 00:08:30,730 --> 00:08:32,110 So let's remove this. 88 00:08:32,480 --> 00:08:39,040 I already downloaded a relay module and I'll provide a link for you to use it. 89 00:08:39,640 --> 00:08:40,450 This is it. 90 00:08:40,460 --> 00:08:41,470 You can drag it. 91 00:08:41,470 --> 00:08:43,330 And Robert on your fritzing. 92 00:08:43,960 --> 00:08:46,150 And as you can see here, we have it. 93 00:08:46,870 --> 00:08:49,900 You just need to drag this module and Roberte. 94 00:08:51,430 --> 00:08:54,280 Now we have these three bends. 95 00:08:54,430 --> 00:08:58,150 The signal must be connected to your board. 96 00:08:59,780 --> 00:09:02,570 And let's choose a different color. 97 00:09:02,750 --> 00:09:07,690 Let's say green and the blast must be connected to the five volt. 98 00:09:08,810 --> 00:09:11,090 The miners must be connected to ground. 99 00:09:12,970 --> 00:09:15,730 And we can't allow him to block. 100 00:09:17,170 --> 00:09:17,800 Angela. 101 00:09:19,810 --> 00:09:22,600 Or OK, now. 102 00:09:24,100 --> 00:09:30,580 We come to this module, which is the water level module, we need to connect the glass to five volts, 103 00:09:31,760 --> 00:09:33,070 the black. 104 00:09:36,830 --> 00:09:38,630 The ground, which is the minus. 105 00:09:48,930 --> 00:09:53,250 And the signal can be connected to the 21. 106 00:09:57,700 --> 00:10:08,930 Let's show this to, let's say all us now, we have three signals, one output and two inputs from sensors. 107 00:10:09,760 --> 00:10:12,370 We also have other sensor. 108 00:10:13,500 --> 00:10:14,670 Which is this one? 109 00:10:18,480 --> 00:10:22,110 The soil moisture sensor, now let's connect the ground. 110 00:10:23,700 --> 00:10:25,740 To the ground that we see. 111 00:10:26,860 --> 00:10:31,450 To the recency and the signal to the 19. 112 00:10:34,310 --> 00:10:36,080 Let's show the different coloring. 113 00:10:38,180 --> 00:10:39,200 And. 114 00:10:41,670 --> 00:10:42,480 That's it. 115 00:10:45,070 --> 00:10:47,170 I will show the colors to read. 116 00:10:49,080 --> 00:10:50,160 On this one. 117 00:10:55,560 --> 00:10:57,160 I will change it to black. 118 00:10:58,710 --> 00:11:05,550 Now we have connected the soil moisture sensor, the water level sensor, the humidity and the sensor 119 00:11:06,030 --> 00:11:09,220 as input, and we have completed the relay as output. 120 00:11:09,780 --> 00:11:11,300 I will say this are. 121 00:11:19,090 --> 00:11:20,710 Let's call it circuit design. 122 00:11:22,900 --> 00:11:32,440 I will provide this circuit design and resources so that you can get these modules for your fritzing 123 00:11:32,440 --> 00:11:32,990 design. 124 00:11:33,690 --> 00:11:34,270 Now. 125 00:11:36,040 --> 00:11:44,620 Again, make sure that you take note of all of this and also now we have thoroughly connected to a number 126 00:11:45,400 --> 00:11:46,130 22. 127 00:11:47,230 --> 00:11:49,420 So let me open up a notepad. 128 00:11:52,790 --> 00:11:58,820 A life click new, not bad, let's call it Penns. 129 00:12:01,150 --> 00:12:08,140 Now, inside it, we need to make sure that we have everything now the sensor. 130 00:12:09,750 --> 00:12:19,760 It's connected to the 23 relay is connected to the toilet all and water level. 131 00:12:21,300 --> 00:12:23,190 It's connected to the. 132 00:12:24,930 --> 00:12:31,920 To anyone and soil is connected to the 19. 133 00:12:34,420 --> 00:12:42,730 As you can see here, the 19, the 21, the 22 and 23, this will be used in the coding section. 134 00:12:43,550 --> 00:12:47,260 Now you can see the schematic for your design here, as you can see. 135 00:12:48,610 --> 00:12:50,500 You can't read these components. 136 00:12:54,610 --> 00:12:56,920 And you can also make the wedding. 137 00:12:59,520 --> 00:13:01,260 No cattle trade these items. 138 00:13:09,740 --> 00:13:15,560 You can go through them so that they are connected with wires. 139 00:13:16,690 --> 00:13:22,410 As you can see, Fritzing is trying to wipe out these components together. 140 00:13:33,080 --> 00:13:40,700 As you can see here, we have a problem, so we need to all with this and you can't even create a PCB 141 00:13:40,700 --> 00:13:41,210 design. 142 00:13:43,750 --> 00:13:45,400 By moving these components. 143 00:13:49,330 --> 00:13:55,240 Or at the very least, increasing the size of this layout. 144 00:13:57,840 --> 00:14:01,350 Now, as you can see, it's a piece of cake. 145 00:14:02,940 --> 00:14:04,710 And you can also use. 146 00:14:06,090 --> 00:14:06,810 Potoroos. 147 00:14:12,500 --> 00:14:13,700 Click on to Ruth. 148 00:14:21,150 --> 00:14:28,210 We'll take some time, then you will get your PCB design ready for manufacturing. 149 00:14:28,770 --> 00:14:33,330 Now, there are still some miles that you need to do manually, as you can see this one. 150 00:14:37,440 --> 00:14:42,270 We need to connect out from here to here manually. 151 00:14:46,860 --> 00:14:54,540 And you can do the same for the rest of these wires, and as you can see, you can then move to fabricating 152 00:14:55,320 --> 00:14:56,220 and that's it. 153 00:14:56,430 --> 00:14:57,570 Thanks for watching this. 154 00:14:57,990 --> 00:15:03,660 If you have any questions, please ask the Q&A about this is an educational engineering.