LM2576 circuit
Hi makers! The integrated fixed / adjustable regulators (ADJ) operating in switching mode are of the "step-down" (LM2575 / LM2576) and "step-up" (LM2577) type, respectively. This series of regulators is also notable for its very good efficiency, over 80%, and for a decrease in dissipated power, which is good enough arguments to use them instead of the classic 3-terminal stabilizers. Usually, these stabilizers do not require a cooling radiator, and if we still want to mount one, it will be much smaller than in the case of old stabilizers. These integrated circuits are delivered in a 5-pin TO220 type capsule (LM257x-T) - adjustable voltage variant (ADJ) or in a 4-pin TO-3 type capsule (LM257x-K) - with a fixed output voltage. Circuit diagram and bill of materials are available below. This project is presented "as is" and is intended for personal use. Most of the time I use salvaged components or buy from local store, but I tried to build a BoM for you too using LCSC.com supplier. Enjoy it! 🤓 LM2576.xlsx #PCB# #LM2576#
I assembled an useful PCB for me
Hi makers! Following up on my previous post, here is the assembled PCB featuring an AT90CAN128—another component I salvaged from a scrap board. It’s been tested and, fortunately, it’s fully functional. I didn’t solder all the pin headers, as they aren’t necessary, but the entire assembly was done by hand. I didn’t have a microcontroller with this many pins and this much flash memory on hand, so it will certainly come in handy in the future. I miscalculated a bit—the text on the silkscreen turned out too small—but it’s fine.
LM317 circuit
Hi makers! This is a DC-DC module built around the well-known LM317 IC, it does not contain the diode bridge, so it cannot be used directly with a transformer. I also chose some usual connectors, you can tighten the wires with some screws and that's it. This circuit is capable of reducing DC voltage, but keep in mind that the input voltage must be at least 3V higher than the output voltage. The LM317 circuit has various built-in protections, more details can be found at this link : https://www.ti.com/lit/ds/symlink/lm317.pdf . There is enough space for an 11x36mm heat sink, because I can't know what parts each one has, I can't specify a specific model. The supply of electronic circuits is made from sources of energy that must provide constant voltages. because In reality there are no ideal voltage sources, they are used voltage stabilization circuits. Initially they were made with discrete components (transistors and passive components), but after 1970 they also appeared the first linear integrated circuits with the role of stabilizing a voltage regulators, commonly called voltage regulators. There are currently two categories of stabilizers voltage: linear and switching. They are differentiated by the working of the active elements that contribute to stabilizing the output voltage. Thus the linear sources are characterized by an operation that avoids locked modes and saturated transistors with regulating role, while at switching sources - transistors or thyristors mains operate in switching mode at a frequency over 20kHz. The choice between linear and switching power supplies is it depends on the destination of the power supply realized, by the schemes in the vicinity and by the price of cost. Integrated linear regulators were made in the versions in order to cover as many applications as possible, the possibility of adjusting the output voltage being one of the criteria the most important. Subsequently the typical voltages used at powering different families of analog integrated circuits or digital have also led to the emergence of the first regulators of fixed voltage with output voltages at values of 24V, 15V, 12V, 9V, 5V, of both polarities. Before sending a PCB off for manufacturing, I prefer to experiment using either a breadboard or a test board. After that, an order is placed with JLCPCB. Enjoy it! 🤓 This project is presented "as is" and is intended for personal use. #PCB# #LM317#
I assembled one of my largest PCBs
Hi maker! As mention in the title, I assembled a PCB, the purple one. I want to use this matrix panel to display the ambient temperature, humidity and air quality (I will use the ENS160). I’ve tested the panel, and it’s fully functional—no issues there. I plan to implement various display effects; to do this, I’ll be using the Arduino IDE and the MD_Parola library. The microcontroller will be an ATmega, I’m still working on the code, so it will be a while before it’s finished. I have a large 3D printed case, ready to be used.
4 Digits 7 Segments Display + 74HC595 Shift Register
Hi makers! This time I want to present an 7-segment four digit display controlled by two 74HC595.The LEDs are connected in the common anode configuration; this module is useful in electronic assemblies with Arduino or other development boards where you need to display numeric data, such as e.g. temperatures. For each digit, there are pins A, B, C, D, E, F, G, and DP, respectively, for the next point after the digit. Note: the real display must contain those two dots in the middle and another one in the upper right corner (it does not appears on the 3D model).You have access to the cathodes and the anodes of the display using 4 pins placed on side of the module. The representation of letter segments is universal. The 4-digit red LED display module, each with 7 segments, is useful in electronic assemblies where numbers must be displayed. Being 4 digits is useful for displaying time or to be a timer. The module has a common connection for each digit of the LED anode. The operating voltage for this circuit is between 3-5Vdc, you will need some jump wires. The circuit can be found below, also the Bill Of Before sending a PCB off for manufacturing, I prefer to experiment using either a breadboard or a test board. After that, an order is placed with JLCPCB. References: https://www.codrey.com/electronic-circuits/build-your-own-4-digit-7-segment-led-display-module/ https://www.dickybmz.com/2017/06/jam-digital-arduino-rtc-7-segment.html #PCB#
I assembled one of the PCBs
Hi makers! Following up on my previous post, I have assembled a PCB with an ESP01/S, and I will also show you how to program it. Add the ESP 01/01S board to the Arduino IDE (if it doesn't already exist) by entering the link in the indicated field (Arduino IDE → File → Preferences): http://arduino.esp8266.com/stable/package_esp8266com_index.json Put a comma (,) between the others, if there are others (this is my case). Now we have the path needed to install the board. Open Tools → Board → Boards Manager and search for "ESP8266", then install the version created by ESP8266 Community. Now we need to know that there are physical differences between ESP01 and ESP01S. On the ESP01 the red LED is for power signaling and the blue LED is the "built-in" one that can be controlled by program. On the ESP01S we have a blue LED (built-in) that can be controlled by program. But the pinout is the same. The diagram below shows how to program the ESP01S using FTDI. Be careful, put the jumper on 3.3V at FTDI, the ESP 01/01S board works at 3.3V. 455167459-5e677741-72c0-4af1-9b5e-e4e633ee9fea.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3OTIyNTYwNjYsIm5iZiI6MTc5MjI1NTc2NiwicGF0aCI6Ii85MjUzNTYzMC80NTUxNjc0NTktNWU2Nzc3NDEtNzJjMC00YWYxLTliNWUtZTRlNjMzZWU5ZmVhLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNjEwMTclMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjYxMDE3VDE2NDkyNlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWFkODg0MzRlZWFhZmJiM2ZiNWY5OWYzYjM3NDU1ZGJhYjdmZWM5MDQxZDE1YWUyMjU2ZDlhMjViMDhiYzM5ZjkmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JnJlc3BvbnNlLWNvbnRlbnQtdHlwZT1pbWFnZSUyRnBuZyJ9.smgAzaKq4-cM1rFIZgfNrie2pUHKusBaK5LTAekZOXshttps://www.google.com/url?sa=i&url=https%3A%2F%2Fwww.instructables.com%2FFTDI-ESP8266-Definitive-Wiring%2F&psig=AOvVaw3O8pTu-lbvlt2pClbHsHaq&ust=1749994602547000&source=images&cd=vfe&opi=89978449&ved=0CBcQjhxqFwoTCMiLhoqE8Y0DFQAAAAAdAAAAABAE Also for the ESP01 board, if you will use a FTDI serial converter: • RX -> TX; • TX -> RX; • Gnd -> Gnd; • CHPD/EN -> 3.3V; • VCC -> 3.3V; • RST -> Button -> Gnd (it actually works with RST/DTR too); • GPIO 0 -> Gnd; https://techtalkies.in/2024/02/05/programming-esp-01-in-different-ways/?i=1 Don't forget that in the case of ESP01, after programming, you have to permanently connect CHPD/EN to 3V3. So just powering the board is not enough to make the program run. My programmer: 455167834-69918532-a034-4be1-a529-a4abfc387532.jpg?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3OTIyNTYwNjYsIm5iZiI6MTc5MjI1NTc2NiwicGF0aCI6Ii85MjUzNTYzMC80NTUxNjc4MzQtNjk5MTg1MzItYTAzNC00YmUxLWE1MjktYTRhYmZjMzg3NTMyLmpwZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNjEwMTclMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjYxMDE3VDE2NDkyNlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTE2ZDZlNGVhYmNkNzI2NDA3NDA2Y2M5Yzc0NjM3OGQyZDlmM2QxZmUyZGQ1NWQ0ZmYwOTljMmUyMTI1NjYzMTAmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JnJlc3BvbnNlLWNvbnRlbnQtdHlwZT1pbWFnZSUyRmpwZWcifQ.Xg1S7I5EPc9-0M_42Yyw-5V1vIWlm2JPHWIRCv8kYqU Now, if everything is fine, all you have to do is open the "Blink" sketch and make the LED blink. //You can modifiy the next line if your board has the LED connected to another Pin #define LED 2 // onboard LED ESP-01S -> Pin 2 void setup() { // initialize digital pin LED as an output. pinMode(LED, OUTPUT); } // the loop function runs over and over again forever void loop() { digitalWrite(LED, HIGH); // turn the LED on (HIGH is the voltage level) delay(1000); // for 1 second digitalWrite(LED, LOW); // turn the LED off by making the voltage LOW delay(2000); // for 2 seconds } //You can modifiy the next line if your board has the LED connected to another Pin #define LED 2 // onboard LED ESP-01S -> Pin 2 void setup() { // initialize digital pin LED as an output. pinMode(LED, OUTPUT); } // the loop function runs over and over again forever void loop() { digitalWrite(LED, HIGH); // turn the LED on (HIGH is the voltage level) delay(1000); // for 1 second digitalWrite(LED, LOW); // turn the LED off by making the voltage LOW delay(2000); // for 2 seconds } The ESP01 board is a little bit different, the built-in LED is connected to pin 1 (change it in the sketch above), you still need to select like this: And here you can also see a short video. 👍 https://youtube.com/shorts/QKwVWmvhdyg?feature=share
LM2575 circuit
Hi makers! This well-known integrated circuit LM2575, is a voltage regulator In switching and is delivered in 4 variants: three variants with fixed output voltage (LM2575-5, 12 or 15); a variant with adjustable output voltage (LM2575-ADJ); The diagram shown can be used for any of the first three variants of the C.I. We will thus obtains voltage sources with the output voltage of +5 \ ;, + 12V or + 15V. The first variant admits at the entrance voltages between 7 and + 35V, the second between 15 and + 35V and the last from 18 to + 35V. The simplicity of the circuit is noticeable. Is recommended that the two electrolytic capacitors are good quality, with the lowest possible losses and in no case with tantalum. The diode is an ultra-fast Schottky diode. BUT. it is provided with short-circuit protection and excessive heating. The maximum input voltage will not exceed 35V. The assembly can provide an output current of 1 A. Having the general advantage of stabilizers In switching, namely poor power dissipation, circuit integrated can be used without cooling radiator. Using integrated circuits manufactured by National Semiconductor LM1575 or LM2575 a switching source with a 5V output can be made using very few electronic components. Using these circuits you can use an input voltage between 8 and 32 volts. These 5V switching regulators require only a shock, a recovery diode and a pair of electrolytic capacitors. The diode is type 1N5822 or BYW29 (Philips); any fast diode can be used; in any case do not use an ordinary diode type 1N4001 or similar. The shock is a ready-built 330 uH coil, which must be able to withstand currents of at least 1 A. Construct the source with a common, star-shaped mass point, as shown in the diagram. The maximum current that can be discharged by the stabilizer is about 1 A. Bill of materials available for download below. LM2575_Buck_Converter.xlsx #PCB# #LM2575#
I managed to assemble the PCB #1 Red
Hi makers! I managed to assemble one of my PCBs, the red one, I will use it as a thermal protection circuit to cool down the hot components like e.g. mosfet transistor from a power supply or audio amplifier. You can find complete details about the project here: https://jlchub.com/posts/41608?from=send https://jlchub.com/posts/41608?from=send
RS485 Circuit Boards
Hi makers! Description Circuit Overview: RS-485 Transceiver Module This circuit is a design for an RS-485 communication interface module. Its primary purpose is to convert standard serial logic levels (TTL/CMOS, like those from a microcontroller) into differential RS-485 signals. This allows for robust, long-distance communication (up to 1200 meters) and communication between multiple devices on the same bus (multi-drop). Functional Blocks Description • Power Supply Section: J2 (Power): The input connector for 5V power. C1 (10µF) & C2 (100nF): These are decoupling capacitors. They smooth out voltage fluctuations and filter noise from the power supply to ensure the chip operates stably. R5 (1k) & D1 (LED): A simple power indicator circuit. When 5V is applied, the LED lights up to show the module is powered. • The Transceiver (U1 - MAX485/LTC485): This is the heart of the circuit. It is a half-duplex transceiver, meaning it can either transmit or receive data at one time, but not both simultaneously. Pins 1 (RO) & 4 (DI): Receiver Output and Driver Input. These connect to the microcontroller's RX and TX pins. Pins 2 (RE) & 3 (DE): Receiver Enable (active low) and Driver Enable (active high). These control the direction of data flow. Pins 6 (A) & 7 (B): The differential bus lines. • Control Interface (J1 - Pins_1): This 4-pin header connects to the microcontroller (Arduino or any other). Resistors R1, R2, R3, R4 (10k): These are pull-up resistors connected to +5V. R2 & R3: Pull RE and DE high. Since DE is active-high and RE is active-low, pulling them both high puts the chip in Transmit Mode by default. R4: Pulls DI high. This ensures that when the chip is transmitting (default state), it sends a logic "1" (Mark state). This is crucial for RS-485 to keep the bus in a known "idle" state when no one is talking. • RS-485 Bus Interface (J3 - Pins_2 & Right Side): R8 (120Ω): This is the termination resistor. It matches the characteristic impedance of standard twisted-pair cables to prevent signal reflections (echoes) at the end of the line. R6 (20k) & R7 (20k): These are bias resistors. R7 pulls line A high and R6 pulls line B low. This creates a "fail-safe" condition. If all devices on the bus stop transmitting, the voltage difference (A > B) ensures the receiver reads a logic "1" (idle state) rather than random noise. J3: The connector that plugs into the actual RS-485 network cables. Arduino Usage Case This module is commonly used to connect an Arduino to industrial equipment (like PLCs, VFDs, or sensors using Modbus) or to create a long-distance network between multiple Arduinos. Wiring to Arduino You would connect the J1 header to your Arduino as follows: • Arduino TX → DI: Serial data out. • Arduino RX → RO: Serial data in. • Arduino Control Pin (e.g., Pin 2) → RE and DE. Why connect them together? When the Arduino pin is HIGH: DE=1 (Driver On), RE=1(Receiver Off). The Arduino is Transmitting. When the Arduino pin is LOW: DE=0(Driver Off), RE=0 (Receiver On). The Arduino is Receiving. Before sending a PCB off for manufacturing, I prefer to experiment using either a breadboard or a test board. After that, an order is placed with JLCPCB. *This description was created using AI. *Most of the time I use salvaged components or buy from local store, but I tried to build a BoM for you too using LCSC.com supplier. *The project is presented as is, made for hobby projects. #PCB# #RS485#
LED Cube
Hi makers! As you can see in the title, we have a PCB with LEDs, many LEDs, it's a 4x4 LEDs cube. I've been planning to build such a dynamic ornament for a long time, the first step I took was designing this PCB. I was a bit nervous because I designed a PCB with thin, closely spaced traces, and—as you can see—the board has quite a few cutouts, but JLCPCB did a pretty good job. Totaling 64 5mm LEDs, the colors are your choice, distributed in a 4x4 matrix format (so 16 LEDs per layer, 2cm distance between LEDs) on 4 layers, it's a normal-sized cube, not very complex but which can be easily controlled using a board of your choice (Arduino, Rapsberry Pi, ESP32 and so on). I have blue LEDs, and I opted for blue color PCBs; we have the electronic diagram available, and on the PCB are noted the points where the fixing and interconnection elements (1mm wire diameter) of the layers will be soldered. If you follow the circuit, you will easily figure out where the anodes and cathodes are placed on the PCB. Components used: Mostly the necessary things used are: • 64x LEDs, either 3mm or 5mm, the color is your choice; • 16x 220Ω resistors [TH]; • 2x 2N2222 transistors; • 4x 10kΩ resistors; • microcontroller board (e.g. ATMega); • PCB of course; • some male/female pin headers; • 1mm copper rod; • quite a bit of manual work...and patience. Source: https://youtu.be/TesnKjba0l0?si=OuD4Gcqzatl7r7Dd I did not create this circuit, I just designed the PCB for my own use. #PCB# #LED#
Twilight circuit
Hello makers! The light-operated electronic switch is a common electronic device in automation equipment, security systems, electronic counters, various remote controls, etc. It is very sensitive to light, responds quickly to its variations and has reliability in use. The assembly uses a photoresistor (LDR-Light Dependent Resistor) as the transducer, LDR which determines the value of the threshold (switching) voltage at the base of the transistor. The RV1 potentiometer, connected in series with the LDR, by the position of its cursor, determines the light actuation threshold of the relay, so the sensitivity of the electronic switch. The potential in the electrical node LDR-RV1, taken from the base of TR2 by R2, depending on the voltage value, commands 'On' or 'Off' the respective transistor. Q2 is ordered from the collector of Q1. Topologically (electrically) analyzing, the assembly Q2-Q1 forms a switch with hysteresis, which makes the relay actuators not intermittent at the same time with small variations in light intensity around the threshold (adjusted from RV1). The desired sensitivity is adjusted to light / dark, at the desired threshold, maneuvering the RV1 slider. LDR can be a photoresistor worth 4k7 ... 100k. Bill of materials available below. Enjoy it! *Most of the time I use salvaged components or buy from local store, but I tried to build a BoM for you too using LCSC.com supplier. *The project is presented as is, made for hobby projects. LDR_Switch_Relay_AFE.xlsx #PCB#
Can't decide on the PCB color? #7 Black
Hi makers! I think black is the last color option Ive tried at JLCPCB. I designed a PCB for a constant current electronics load that contains, among other things, passive components and an Arduino Nano as the main controller. Additionally, or as modules used, we also have an LCD display. The idea doesn't belong to me, I made small changes but I haven't put it into operation yet, it will take a little longer because I started working on other things in the meantime. This project is presented "as is" and is intended for personal use. Source: https://www.youtube.com/watch?v=AJvhhS8I3Ps I did not create this circuit, I just designed the PCB for my own use. #PCB#
A DIY charger for 12V battery
Hello makers! The schematic presented in this project is actually a constant current source to which a current limiting section composed of Q1, R2 and R3 has been added. The moment the current required for charging is exceeded, it is diverted through Q1 and the output voltage drops. The output voltage is: 1.2x (RV1+R5+R4)/R4 volts. The current limiting occurs when the current is approximately 0.6/R3 amps. For a 6V battery that requires a faster charge, the charging voltage is 3x2.45=7.35V (3 cells, at 2.45V per cell). So the total value for R5+RV1 is then about 585 Ohms. For a 12V battery the value for R5+RV1 is 1290 Ohms. For the power supply to work efficiently the input voltage must be at least 3V higher than the output voltage needed to charge the battery. RV1 is a standard potentiometer capable of handling enough watts for the application in which the circuit is used. The LM317 must be cooled with a sufficiently large heat sink (ultimately it depends on how much you ask of it). Except for the situation when the circuit is used for charging car batteries or accumulators, it can also be used as a stabilized voltage source in various applications. The diode bridge D1 is rated at 2A, and the transformer is a voltage drop from 230Vac, I don't know what voltage it has in the secondary but I trust that I did it correctly. Gerber files and BoM for PCB are available in the download section as well. Enjoy it! 🤓 I just designed the PCB for my own use, I am not the original author so check the source link. *Source: https://2.bp.blogspot.com/-ZEuHsBYY0IY/VtiDgHi8ouI/AAAAAAAAONM/aonvi6pJgT4/s1600/Incarcator%2Bbaterii%2Bauto.gif
Can't decide on the PCB color? #6 White
Hi makers! This time, the PCB color is very important for the project I want to build. I had a white PCB made at JLCPCB that features many LEDs in white packages as well. I plan to build a more animated and at the same time more interactive panel, practically the easiest way is to do this using LEDs, but not just any LEDs, but the addressable WS2812B ones. Why wouldn't I use LED strips? Because they don't produce the desired effect, I've tried this in the past, by just sticking an LED strip on the interior walls I don't get a really good looking panel. That's why I want to use PCBs because I will basically have a perpendicular view over the LEDs. I was inspired by the classic LED matrix, basically the panel is built from PCBs but in the shape of a hexagon, placed together, on which I place 144 LEDs and capacitors. I thought of separating the panel like this 6+4, meaning 6 PCBs placed vertically on 2 columns to create a kind of waterfall effect, I will have to experiment with SW libraries, FadeLed rather (to obtain a Matrix-like effect), and the other 4 PCBs will be placed in such a way that the overall appearance of the panel is not too linear, having different, more dynamic and diverse effects. I will also need an enclosure for these PCBs, this is where 3D printing comes in, which allows me to build enclosures the way I want, on a puzzle model. I have a friend who owns a printer. The cover will be white, but I will have to experiment when I have the PCB with LEDs, I will try to make the panel hangable but at the same time placeable on a table stand for example. But I will have to make durable joints because it will add some weight. For the power supply I will need a 5V with high current capability, because these LEDs will consume some current. Now, addressable LEDs are not called that by chance, I will need a microcontroller, and for that I will use the well known Nano and Arduino IDE. This allows me to create some scenes or operating modes. I do not exclude the use of an ESP32 and control via phone, but the internet connection is unstable. Maybe things will improve along the way. 😁 For the interactive and control part I will start with a button/touch button to change the color of the 6 cascade PCBs, and the other 4 will have different effects (wheel, stars, Gaussian Pulse, etc). By experimenting I can even use an IR sensor or ultrasonic, which will allow me to control touchless. The manual work will mainly consist of soldering a lot of wires, each hexagon PCB would have 6 power points, which I have to gather in a single point at the power supply. Then there are 2 more wires that connect the PCBs. Fortunately there is no need for many wires connected to the microcontroller board. Maybe I can manage to get a good design in the 3D printing stage that does not involve drilling holes, screws, but at the same time it has to be a solid design. f56c6b13f2214874807957972fd2221d.webp #PCB# #WS2812B#
LM1084 voltage regulator
Hi makers! This schematic represents an Adjustable Linear Voltage Regulator (Power Supply) circuit. Its primary purpose is to take a higher, DC input voltage and convert it into a lower, stable, and adjustable DC output voltage. Before sending a PCB off for manufacturing, I prefer to experiment using either a breadboard or a test board. In this case, however, experimenting on a breadboard is easy. After that, an order is placed with JLCPCB. 1. Core Component: LM1084-ADJ The heart of the circuit is the U1 LM1084-ADJ. Function: It is a Low Dropout (LDO) positive voltage regulator. Capacity: The LM1084 is capable of handling high currents (up to 5 Amps with a serious heatsink), making this a robust power supply compared to standard regulators like the LM317 (which handles 1.5A). 2. Input Stage • J1 (9-20V): This is the input connector. It accepts a DC voltage between 9 Volts and 20 Volts. • C1 (330uF) & C3 (100nF): These are input capacitors. • C1 is a large bulk capacitor that smooths out low-frequency ripples from the power source. • C3 is a small ceramic capacitor that filters out high-frequency noise and prevents the regulator from oscillating. 3. Voltage Adjustment This is how the output voltage is controlled: • R1 (120R): This resistor is connected between the Output and the Adjust pin. It sets the reference current. A value of 120Ω is standard for these regulators to ensure a minimum load current (approx. 10mA) so the regulator stays stable. • RV1 (5k Potentiometer): This is a variable resistor connected to the Adjust pin. By turning this knob, you change the resistance, which changes the output voltage. The Formula: The output voltage is determined by the formula: Vout=1.25V×(1+RV1R1)V_{out} = 1.25V \times (1 + \frac{RV1}{R1})Vout=1.25V×(1+R1RV1). With a 120Ω fixed resistor and a 5k variable resistor, the theoretical range is roughly 1.25V to ~53V. However, since the input is max 20V, the output can never exceed the input (minus a small "dropout" voltage of ~1.5V). So the practical max output is around 18V. The label 3.3-16V on J2 indicates the intended safe operating range. 4. Protection Diode (Top) D1 (1N4007): This diode is a protection component. It is connected in reverse bias (Cathode to Input, Anode to Output). Function: If the input power is suddenly disconnected or shorted to ground, the large capacitors on the output side (C2) would try to discharge back through the regulator, which could destroy it. D1 provides a safe path for this current to flow back to the input side, protecting the LM1084 chip. 5. Output Stage • C4 (100nF) & C2 (100uF): These are output capacitors. They improve the transient response (how fast the regulator reacts to load changes) and ensure the output voltage is smooth and stable. • R2 (1k) & D2 (LED): This is a simple indicator circuit. When the output voltage is present, current flows through the resistor and lights up the LED, indicating the power supply is active. • J2 (3.3-16V): This is the output connector where you would connect your load (the device you are powering). This description was created partly using A.I. Most of the time I use salvaged components or buy from local store, but I tried to build a BoM for you too using LCSC.com supplier. The project is presented as is, made for hobby projects. Enjoy it! 🤓 #PCB# #LM1084#
Can't decide on the PCB color? #5 Blue
Hi makers! Another PCB completed, and a different color chosen—blue. I created a simple, minimalist PCB (again via JLCPCB) that allows me to use a microcontroller from the ATMega family. I made this minimal platform for me, I can use it with an ATMega8 or ATMega328 microcontroller, or any compatible microcontroller. I made a simpler version, giving up the programming circuit via USB and others, like voltage regulator, resulting in a PCB that allows us access to the GPIO of the microcontroller. For microcontroller programming, you can use a method similar to that of Arduino platforms, load a bootloader in the microcontroller, and with an FT232RL TTL to USB adapter you can program the microcontroller very easy , as it is done on Arduino boards. There is also a green LED indicator on the PCB for voltage, and a red LED that we can use to load and run a Blink sketch. eb558b3f2c744803bf98c13f00515ba7.webp 1. Microcontroller & Clock Circuit (The Core) U1 (ATmega8A-AU / ATmega328): This is the brain. The schematic shows the TQFP-32 SMD package pinout. It is compatible with both ATmega8 and ATmega328 (pin-compatible for the most part). Y1 (16MHz Crystal) & C1, C2 (20pF): This is the external clock circuit. 16MHz is the standard speed for Arduino boards (running at 5V). The capacitors C1 and C2 are load capacitors required for the crystal to oscillate stable. 2. Power Supply & Indicators Decoupling Capacitors (C4, C5, C6, C7, C3): 10µF (bulk) and 100nF (high-frequency noise filtering) capacitors near the VCC pins (AVCC and VCC) and the AREF pin. This is crucial for stable operation, especially for the ADC (Analog to Digital Converter). D3 (Green LED) & R3 (1k):Power Indicator. It is connected directly to VCC (through a current-limiting resistor). It will light up as soon as the board is powered, confirming voltage is present. J6 (ICSP_2): Power header (VCC and GND), likely used to supply power to the board or tap power from it. 3. Reset Circuit R1 (10k): A pull-up resistor keeping the RESET pin (Pin 29) HIGH (active state) during normal operation. SW1 (SW_Push): A tactile button that pulls the RESET pin to Ground when pressed, manually resetting the microcontroller. Auto-Reset Circuit (C8, D1, "PTR" net): The label "PTR" connects to the DTR (Data Terminal Ready) pin of your FT232RL adapter. C8 (100nF): This capacitor couples the DTR signal to the RESET pin. When you open the serial port to program (like in the Arduino IDE), the DTR line pulses, pulling RESET low momentarily to put the chip into the bootloader. This allows for "Auto-Reset" programming just like a real Arduino. D1 (1N4148): This diode is there to protect the reset line or ensure fast discharge of the capacitor C8 when the button is pressed, preventing conflicts between the manual button and the auto-reset circuit. 4. User Interface (The "Blink" LED) D2 (Red LED) & R2 (1k): LED for testing. Note on Pinout: On an ATmega328, PB1 corresponds to Arduino Digital Pin 9. Standard Arduino Note: The standard "Blink" sketch usually uses Pin 13 (PB5). Since your LED is on PB1 (Pin 9), you would need to change the pin number in the Blink sketch to 9 (or define LED_BUILTIN 9) to see it blink, unless you have customized the bootloader/board definition. 5. Connectivity & Headers (GPIO Access) The main purpose of this board is to break out the pins. J1 (Pins_Left) & J3 (Pins_Right): These headers break out almost all the GPIO pins (Port B, C, D) and Analog pins (ADC6, ADC7, AREF). This allows you to easily connect sensors, modules, or wires. J2 (ISCP_1): This is the ICSP (In-Circuit Serial Programming) header. It exposes PB3 (MOSI),** PB4 (MISO), and PB5 (SCK)**. This is used to burn the bootloader initially using a programmer like a USBasp or AVR ISP. Once the bootloader is installed, you can switch to using the FT232RL method you described. The circuit description was created using A.I. *****The circuit is presented as is, made for hobby projects. #PCB# #Microcontroller#
Pulse Width Modulation with NE555
Hi makers! One of the most fundamental problems in robotics is controlling the speed of a DC motor. The most common speed control method is PWM (Pulse Width Modulation). Pulse Width Modulation is the process of varying the power delivered to a device by switching it on and off at a specific frequency. These on/off switching intervals are referred to as the "Duty Cycle." The diagram below shows waveforms for 10%, 50%, and 90% duty cycles. https://electrodb.ro/control-turatie-motor-prin-varierea-factorului-de-umplere-pwm/ Thus, the duty cycle describes the pulse width as a percentage. A 10% duty cycle means the device receives current for 10% of the cycle, while it receives none for the remaining 90% of the time. A 100% duty cycle means the device receives current continuously, rendering PWM unnecessary. These signals are sent to the motor at a sufficiently high frequency so that the pulsing itself does not adversely affect the motor's operation. The end result of the PWM process is that the total power delivered to the motor can be adjusted from 0% to 100% duty cycle, ensuring high efficiency and stable control. In the PWM circuit, the 555 timer is configured as an astable oscillator. This means that once power is applied, the 555 will oscillate without requiring any external trigger. Circuits of this type allow for motor speed control ranging from 0% to 100% while maintaining constant torque. In principle, the NE555 circuit generates a signal at a specific frequency that is applied to a monostable stage, the timing period of which is determined by the value of a resistor. While N-channel transistors can be used, circuit variants employing P-channel transistors also exist; the difference in the latter case is that the load is placed between the source and the power ground, while the drain is connected to the power rail (the positive voltage supply). I just designed the PCB for my own use, I am not the original author so check the link source. Source: https://electrodb.ro/control-turatie-motor-prin-varierea-factorului-de-umplere-pwm/ This project is presented "as is" and is intended for personal use. Most of the time I use salvaged components or buy from local store. I think you can easily tell who I had this PCB made by (*manual assmebled). 🤓😁 #PCB# #NE555#
Fade LED circuit
Hi maker! I believe most of us use a light source when we can't see anything around us; thats why Im presenting a simple circuit—one that is both practical and a fun project to build. I modified the author's original schematic because I wanted the LED to light up when the room is dark. Before sending a PCB off for manufacturing, I prefer to experiment using either a breadboard or a test board. In this case, however, experimenting on a breadboard is easy. This project is presented "as is" and is intended for personal use. Most of the time I use salvaged components. I just designed the PCB for my own use, I am not the original author so check the link source. Source: https://www.iot-experiments.com/power-on-a-circuit-when-the-lights-are-on/ #PCB# #LED#
Can't decide on the PCB color? #4 Yellow
Let me also show you a lighter PCB color: yellow. Its the only shade available from JLCPCB, but its actually quite good and uniform—meaning there are no spots or imperfections—even though its a PCB with a lot of traces. I salvaged an electronic board that contains an AT90CAN128 in a QFP package. Initially I thought it was an ATMega128 MCU (I also use an ATMega328, but I don't know all of them 😅), but then I did a search on the internet and discovered that it is a similar MCU that has some extra capabilities. I plan to use this MCU to create a programmable board, through methods known to me, that is, by consulting the internet (forums and so on), and I even found information to program it using the well-known Arduino IDE (and from here we all know what a wide world has formed around Arduino 🤓), but I also have difficulties on this path. Given that the MCU I found is in an SMD package, I cannot use it in optimal conditions on a test wiring, perforated, so I need to design a good PCB. t will be a 2 layers PCB, it is relatively minimalist, in the center of attention being the AT90CAN128, and next to it I will place male pin headers to facilitate access to the GPIOs. This is the electronic circuit (quite complicated to understand 😆😅): Maybe you think the dimensions are a bit generous, but I don't mind, it's one sample. Let's not forget the bill of materials, except for the pin headers, of which I don't have many, the rest of the components are recovered from other electronic boards. Regarding the other components (resistors, capacitors) I will use both SMD and TH, I have them on hand (just what I said at the beginning). This board will be powered by 5V, so it's definitely handy, plus many electronic modules work at 5V. With the help of the Arduino IDE and the available libraries, I will install the board and program the AT90CAN128 via a USB AVR programmer (from the MCU I need the signals: Reset, Mosi, Miso, Sck). What I can do next I have many options, if I have a board with many ports I can use it with environmental sensors, 16x2 display, common modules after all. I have enough ports to attach many LEDs, and for some time I have been thinking about an application with TTP223 touch buttons and RGB LEDs, to create a dynamic light panel or a small table, depending on resources (3D printing would also be needed and this part is a bit tricky) and time. But I also have a more feasible and equally brilliant alternative, 4x4x4 LED cube.In the end, I think that the outline of an application goes something like this: e002ed22dc7b468993c1db60fec6186e.png So, to successfully build this board I would need: Manufacture a professional PCB; Assemble the components that I recovered from other boards; Check the programming instructions with Arduino IDE and software libraries; Take out the USB AVR programmer from the monkeys box 🙈. So, after solving all the above, I still have to experiment with the programming tools and then we are ready to go.
Quick tip for components searching
Just a quick tip—in case anyone hasn't noticed this yet—JLCPCB and LCSC share something in common: they use the same part numbers, meaning you can search for components on both sites. They also use the same Manufacturer Part Number (MFR/MPN), so you can be certain you won't mix anything up. quick-tip-for-components-searching-v0-3s3tiv9a78th1.png?width=1366&format=png&auto=webp&s=940d97aa4407958826788a19cbaa40815de556d8 Search on LCSC quick-tip-for-components-searching-v0-mwsdr24c78th1.png?width=1423&format=png&auto=webp&s=c9989aed810be848dc764d59d84b82e59be40e44 Search on JLCPCB 👍😉
Can't decide on the PCB color? #3 Purple
We've reached the next color, purple, which also coincides with the largest PCB I've made at JLCPCB, about 200mm*70mm. Initially I experimented with a homemade PCB, obviously aesthetically it didn't turn out too well, but I wanted to make sure the project didn't have any bugs (I still make mistakes 😅). It is a panel with five 5x8 matrices and MAX7219 drivers; I am going to use it with an ATmega328 microcontroller. Who else has chosen this color? #PCB# #Color#
Can't decide on the PCB color? #2 Green
I wanted to try out all the PCB colors, and I did just that. Continuing on from my previous post, I come with a PCB that I have made over time at JLCPCB, the color is green, probably the most common option and yours, I could say basic option. I won't talk much about the PCB, it's a simple adapter for the ESP-01/S module. 🤓 *I know my phone camera isn't great, so the color might appear a bit too dark to you. #PCB# #Color#
Here is a tip for you to save some money
Since I know I’ll be finishing my project soon and am always looking to save money, I just wanted to remind you that if you install the JLCONE software from JLCPCB on your PC and place an order, you can get a discount of between $1 and $20; the amount is random, but it’s definitely worth a try. I recently placed an order myself and got a $2 discount, which helped me out.
👇👇👇
https://jlcpcb.com/news/jlcpcb-jlcone-desktop-app
Good luck!
#PCB# ##JLCONE##
Can't decide on the PCB color? #1 Red
In case anyone is still wondering what color to choose for a PCB, below are photos of my PCB (made by a hobbyist).
Just curious—does the chosen color have anything to do with your project's intended use? 🤓
Since the PCB I designed is related to temperature, I chose the color red.
#PCB# #color#
Overview
This circuit is a linear, temperature-controlled fan driver. Unlike simple on/off thermostats or PWM (Pulse Width Modulation) controllers, this circuit varies the DC voltage supplied to the fan smoothly. This "linear" approach eliminates the high-frequency switching noise often associated with PWM and prevents the "coil whine" that occurs when fans are run at very low voltages where they struggle to spin.
Key Functional Blocks
1. Temperature Sensing (The Input)
Components: TH1 (10k NTC Thermistor) and RV1 (10k Potentiometer).
Function: These two components form a voltage divider connected to the base of transistor Q1.
TH1 (NTC): An NTC (Negative Temperature Coefficient) thermistor decreases its resistance as temperature rises.
RV1 (Pot): This allows the user to manually set the temperature threshold (calibration).
Logic: As the device gets hotter, the resistance of TH1 drops, changing the voltage at the base of Q1. This signals the circuit that cooling is needed.
2. Control & Error Amplification (The Brain)
Component: Q1 (2N5401 PNP Transistor).
Function: Q1 acts as the control element.
As the temperature rises and the base voltage drops (due to the NTC), the PNP transistor turns ON more heavily.
It amplifies this small change in temperature into a control signal that drives the power MOSFET.
3. Power Driving (The Muscle)
Component: Q2 (IRF540N N-Channel MOSFET).
Function: This is a high-power transistor that handles the actual current for the fan.
Instead of acting as a simple switch (fully ON or fully OFF), it operates in its linear region (acting like a variable resistor).
As Q1 conducts more current, it increases the voltage at the Gate of Q2. This lowers the resistance between the Drain and Source, allowing more current to flow through the fan.
This results in the "smooth ramping" mentioned in your text. The fan speed increases gradually rather than in steps.
4. Hysteresis (Stability)
Components: R1 (100k) and R5 (220k) (and potentially the interaction with R3).
Function: The text mentions "shutdown hysteresis prevents frequent cycling."
Without hysteresis, if the temperature hovered exactly at the threshold (e.g., 40°C), the fan would rapidly turn on and off (chatter), which is annoying and wears out the motor.
The feedback resistors (likely R1 and R5) create a "lag." Once the fan turns on, the threshold temperature for turning it off is lowered. For example, it might turn on at 45°C but won't turn off until the temperature drops to 35°C. This creates a stable "dead band."
5. Coil Whine Prevention (The Zener Diode)
Component: D1 (5.1V Zener Diode).
Function: The text states the circuit "avoids applying voltage just at the threshold... preventing... coil whine."
Fans often make a buzzing or whining noise at low voltages (e.g., 1V–4V) because the magnetic field isn't strong enough to spin the rotor smoothly; it just vibrates.
The 5.1V Zener diode likely sets a minimum voltage threshold. The circuit is designed so that the fan stays completely OFF until the temperature is high enough to drive the voltage past this 5.1V point. Once it turns on, it starts at a healthy speed (silent operation) rather than a slow, whining crawl.
6. Filtering
Component: C1 (100uF Capacitor).
Function: This capacitor is placed across the fan terminals (parallel to the fan). It smooths out any voltage ripple and provides a burst of current when the fan motor demands it (motors are inductive loads), ensuring stable operation and reducing electrical noise.
Summary of Operation
Cold State: The NTC resistance is high. Q1 is OFF. Q2 is OFF. The fan receives 0V (or is disconnected) and is silent.
Warming Up: Temperature rises. NTC resistance drops. Q1 begins to conduct.
Activation: Once the threshold is passed (and the Zener voltage is overcome to avoid whine), Q2 begins to conduct. The fan voltage ramps up smoothly from ~5V to 12V.
Hot State: Q2 is fully ON (low resistance). The fan receives the full 12V for maximum cooling.
Cooling Down: As temp drops, the fan slows down smoothly. Due to hysteresis, it stays on slightly longer than it would in a simple on/off circuit, preventing rapid cycling.
The circuit description was created using A.I.
Source: *https://www.youtube.com/watch?v=YGpXFbxD_Wk&ab_channel=REDShade*
I did not create this circuit, I just designed it for my own use.