Uploaded March 2024 | Updated November 2026, 2 days ago
An easy method to Compile the Raspberry Pi Pico C/C++ Code using VSCode and Pico SDK in Windows 10
======================================
Article: eeweb.com/an-easy-solution-to-compile-the-raspberry-pi-pico-c-c-code-using-vscode-and-pico-sdk-in-windows
======================================
Altium Designer + Legal License (Free): altium.com/yt/myvanitar
======================================
Altium 365: altium.com/altium-365
======================================
OctoPart: octopart.com
======================================
Other Videos: bit.ly/2N9OlPa
======================================
Raspberry Pi Pico is a cute piece of hardware. It has a powerful dual-core RP2040 microcontroller that offers 2MB (up to 16MB) Flash and 264K SRAM memories. But what truly sets the Pico apart is its adaptability. Equipped with a plethora of GPIO pins, SPI, I2C, and UART interfaces, this tiny board is ready to connect with a vast array of sensors, displays, and other peripherals. Such specifications make it suitable for a variety of hobby and industrial applications.
There are many variants of the Raspberry Pi Pico on the market, but all come with the RP2040 microcontroller and differ in flash size, board shape, USB connector, … etc. Therefore, we essentially write a piece of code for the RP2040 MCU and there is a minor difference between the boards.
There are three straightforward options to write the code for the Pico/RP2040: Arduino (C/C++), MicroPython (Thonny, MU Editor, ... etc.), and VSCode (C/C++). I prefer C/C++ for RP2040 over MicroPython because in some cases MicroPython limits the user, and available hardware libraries are also limited, but on the other side, configuring a Windows machine and VSCode IDE for the Pico is challenging. This article introduces a piece-of-cake method to overcome this problem.
An easy method to Compile the Raspberry Pi Pico C/C++ Code using VSCode and Pico SDK in Windows 10
======================================
Article: eeweb.com/an-easy-solution-to-compile-the-raspberry-pi-pico-c-c-code-using-vscode-and-pico-sdk-in-windows
======================================
Altium Designer + Legal License (Free): altium.com/yt/myvanitar
======================================
Altium 365: altium.com/altium-365
======================================
OctoPart: octopart.com
======================================
Other Videos: bit.ly/2N9OlPa
======================================
Raspberry Pi Pico is a cute piece of hardware. It has a powerful dual-core RP2040 microcontroller that offers 2MB (up to 16MB) Flash and 264K SRAM memories. But what truly sets the Pico apart is its adaptability. Equipped with a plethora of GPIO pins, SPI, I2C, and UART interfaces, this tiny board is ready to connect with a vast array of sensors, displays, and other peripherals. Such specifications make it suitable for a variety of hobby and industrial applications.
There are many variants of the Raspberry Pi Pico on the market, but all come with the RP2040 microcontroller and differ in flash size, board shape, USB connector, … etc. Therefore, we essentially write a piece of code for the RP2040 MCU and there is a minor difference between the boards.
There are three straightforward options to write the code for the Pico/RP2040: Arduino (C/C++), MicroPython (Thonny, MU Editor, ... etc.), and VSCode (C/C++). I prefer C/C++ for RP2040 over MicroPython because in some cases MicroPython limits the user, and available hardware libraries are also limited, but on the other side, configuring a Windows machine and VSCode IDE for the Pico is challenging. This article introduces a piece-of-cake method to overcome this problem.

![Linear Power Supply Circuit [LM317, LM337, Adjustable & Low Noise]
Linear Power Supply Circuit [LM317, LM337, Adjustable & Low Noise]
A single-output transformer
Article Source: https://www.pcbway.com/blog/technology/Low_Noise_Adjustable_Linear_AC_DC_Power_Supply.html
Support me on Patreon: https://www.patreon.com/myvanitar
Check other videos: http://bit.ly/2N9OlPa
Features:
AC – DC Conversion
Double output voltages (Positive – Ground – Negative)
Adjustable positive and negative rails
Just a Single-Output AC transformer
Output noise (20MHz-BWL, no load): Around 1.12mVpp
Low noise and stable outputs (ideal to power Opamps)
Output Voltage: +/-1.25V to +/-25V
Maximum output current: 300mA to 500mA
Cheap and easy to solder (all component packages are DIP)
A double output low noise power supply is an essential tool for any electronics enthusiast. There are many circumstances that a double-output power supply is necessary such as designing pre-amplifiers and powering OPAMPs. In this article, we are going to build a linear power supply that a user can adjust its positive and negative rails independently. Moreover, just an ordinary single-output AC transformer is used at the input.D1 and D2 are rectifier diodes.
C1 and C2 build the first noise reduction filter stage. R1, R2, C1, C2, C3, C4, C5, and C6 build a low pass RC filter which reduces noise from both positive and negative rails. The behavior of this filter can be examined both in theory and practice. An oscilloscope with a bode plot feature can perform these measurements, such as a Siglent SDS1104X-E.IC1 [1] and IC2 [2] are the main regulation components of this circuit. According to the IC1 (LM317) datasheet: “The LM317 device is an adjustable three-terminal positive-voltage regulator capable of supplying more than 1.5 A over an output-voltage range of 1.25 V to 37 V. It requires only two external resistors to set the output voltage. The device features a typical line regulation of 0.01% and a typical load regulation of 0.1%. It includes current limiting, thermal overload protection, and safe operating area protection. Overload protection remains functional even if the ADJUST terminal is disconnected”.As it is clear, this regulator introduces good line and load regulation figures, therefore we can expect to get a stable output rail. This is identical to the IC2 (LM337). The only difference is that this chip is used to regulate the negative voltages.D3 and D4 are used for protection. The diodes provide a low-impedance discharge path to prevent the capacitors (C9 and C10) from discharging into the output of the regulators.R4 and R5 are used to adjust the output voltages. C7, C8, C9, and C10 are used to filter the remained output noises.
#adjustable_power_supply
#LM317
#LM337 Linear Power Supply Circuit [LM317, LM337, Adjustable & Low Noise]](https://i.ytimg.com/vi/ObFXqTvyjyU/mqdefault.jpg)






![[PCB Update] AC to DC Transformerless Power Supply
AC to DC Transformerless Power Supply, PCB Update
Ive modified the wrong clearance for two capacitor pins
Altium-365 Workspace (Free): https://www.altium365.com/yt/myvanitar
PCB Fabrication (1$ for 10Pcs): https://www.pcbx.com/?mtm_campaign=AD&mtm_kwd=MyV&mtm_source=YT
Schematic/PCB/Gerber: https://365.altium.com/files/75F890FD-DD2D-415E-A9E6-1F7CB2435219
Other Videos: http://bit.ly/2N9OlPa
Whenever you hear the transformerless (AC to DC converter without transformer) supply term, you initially imagine the capacitor-based solution: a high-voltage non-polarized capacitor in series with the mains line, a bridge rectifier, a Zener diode, and a filtering electrolytic capacitor. Such a circuit is not only unable to deliver sufficient current for many applications, it is also not a reliable solution for the industry. However, you might see such circuits in some cheap products.
The AL17150-10B is a universal high-voltage input step-down regulator product family, which provides accurate Constant Voltage (CV) and outstanding dynamic performance without requiring an optocoupler over line and load regulation. Typical applications are offline low power applications including connected LED lighting power supply for microcontrollers and other IoT applications. The AL17150-10B integrates a 500V/1A MOSFET that can make it use fewer external components and create a low Bill Of Material (BOM) cost solution. The AL17150-10B can provide up to 300mA output current and lower than 50mW standby power, which is very suitable for IoT-connected lighting devices. The AL17150-10B achieves excellent regulation and high power efficiency. The characteristics of max peak current and driving frequency vary as the load changes, which can get excellent efficiency performance at light load and improve the overall average efficiency. The AL17150-10B has rich protection features to enhance the system safety and reliability. It has Over Temperature Protection, VCC Under Voltage Lock function, Output Short Protection, Over-Load Protection, and Open Loop Protection (220v AC to 12v DC converter without transformer).
The AL17150-10B is available in the SO-7 package. [PCB Update] AC to DC Transformerless Power Supply](https://i.ytimg.com/vi/StoZTyxJi3g/mqdefault.jpg)

