<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.element14.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Raspberry Pi Projects</title><link>https://community.element14.com/products/raspberry-pi/raspberrypi_projects/</link><description>Raspberry Pi Projects: You can find all the coolest new Raspberry Pi project or activities right here on element14. Research new Pi Project idea and more...</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title /><link>https://community.element14.com/products/raspberry-pi/raspberrypi_projects/b/blog/posts/raspberry-pi-pico-control-a-servo-motor-with-micropython-beginner-s-guide?CommentId=f0cebd66-8649-40a2-a877-c24ab6465ea5</link><pubDate>Mon, 23 Nov 2026 13:02:00 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:f0cebd66-8649-40a2-a877-c24ab6465ea5</guid><dc:creator>Qbit</dc:creator><description>Your guide looks impressive Ben, I love to see you in the design challenge and it seems like you have already build a robotic arm : 0</description></item><item><title /><link>https://community.element14.com/products/raspberry-pi/raspberrypi_projects/b/blog/posts/building-a-simple-vhf-uhf-signal-generator-with-cmt2300a-and-pi-pico?CommentId=b2e6a5b0-09a6-41fc-9334-8dc06943fb03</link><pubDate>Sun, 22 Nov 2026 05:09:00 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:b2e6a5b0-09a6-41fc-9334-8dc06943fb03</guid><dc:creator>kmikemoo</dc:creator><description>shabaz Thank you for your kind offer. I don&amp;#39;t have any Hammond 1593 boxes. I do have an assortment of other project boxes that I should really find a use for. Of course... I have been known to impulse buy things. If I get this working, I think the first use will be to tune a VHF receiver kit. The ARRL sold a kit that was originally made for the Experimental Aircraft Association Airventure (an annual fly-in and air show). Kids can still build the kit and listen to Air Traffic Ground Control. It is tuned by stretching and squeezing an air inductor. I bought a couple of kits a few years back. Every project needs a purpose. ☺</description></item><item><title /><link>https://community.element14.com/products/raspberry-pi/raspberrypi_projects/b/blog/posts/building-a-simple-vhf-uhf-signal-generator-with-cmt2300a-and-pi-pico?CommentId=7df6f864-316b-447e-8604-ce6cc4ff6c8e</link><pubDate>Fri, 20 Nov 2026 03:39:00 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:7df6f864-316b-447e-8604-ce6cc4ff6c8e</guid><dc:creator>shabaz</dc:creator><description>Hi Mike, Oh great, it will be interesting to see what you do with it! By the way, I was messing with this in KiCad today.. it&amp;#39;s going to be a general-purpose front panel for Pi Pico projects, because I figured it could be useful to attach to this project, and have rotary control (there will be some buttons underneath the screen too). If I ever get this completed, I can send a PCB to you too if you like (plus a CMT2300A at the same time if yours doesn&amp;#39;t work, since I will likely order a few more now that the code is functioning). This panel will fit in Hammond 1593W boxes (or 3D printed enclosure etc).</description></item><item><title /><link>https://community.element14.com/products/raspberry-pi/raspberrypi_projects/b/blog/posts/building-a-simple-vhf-uhf-signal-generator-with-cmt2300a-and-pi-pico?CommentId=e8c8502c-f657-48a2-8838-2305c803f66e</link><pubDate>Fri, 20 Nov 2026 03:26:00 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:e8c8502c-f657-48a2-8838-2305c803f66e</guid><dc:creator>shabaz</dc:creator><description>You&amp;#39;re right, it&amp;#39;s not easily undoable unfortunately.</description></item><item><title /><link>https://community.element14.com/products/raspberry-pi/raspberrypi_projects/b/blog/posts/building-a-simple-vhf-uhf-signal-generator-with-cmt2300a-and-pi-pico?CommentId=b9da8854-a42b-4cf1-aacf-55dce8cc3a59</link><pubDate>Fri, 20 Nov 2026 00:30:00 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:b9da8854-a42b-4cf1-aacf-55dce8cc3a59</guid><dc:creator>colporteur</dc:creator><description>Am I correct to assume this is difficult to remove if maintenance is required?</description></item><item><title /><link>https://community.element14.com/products/raspberry-pi/raspberrypi_projects/b/blog/posts/building-a-simple-vhf-uhf-signal-generator-with-cmt2300a-and-pi-pico?CommentId=8808bf49-1fee-402a-ad77-07dcf37516b2</link><pubDate>Fri, 20 Nov 2026 00:14:00 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:8808bf49-1fee-402a-ad77-07dcf37516b2</guid><dc:creator>kmikemoo</dc:creator><description>This so cool that I have to try it. I have ordered a couple of CMT2300A&amp;#39;s. Since I went cheap, it will be a few weeks before I find out if I&amp;#39;m receiving the real deal or a counterfeit.</description></item><item><title /><link>https://community.element14.com/products/raspberry-pi/raspberrypi_projects/b/blog/posts/building-a-simple-vhf-uhf-signal-generator-with-cmt2300a-and-pi-pico?CommentId=12f4705e-c906-4fa8-9380-c37a4c155958</link><pubDate>Thu, 19 Nov 2026 21:00:00 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:12f4705e-c906-4fa8-9380-c37a4c155958</guid><dc:creator>DAB</dc:creator><description>Nice project.</description></item><item><title /><link>https://community.element14.com/products/raspberry-pi/raspberrypi_projects/b/blog/posts/building-a-simple-vhf-uhf-signal-generator-with-cmt2300a-and-pi-pico?CommentId=70f51a07-bbc9-4838-8f51-26b757a91023</link><pubDate>Thu, 19 Nov 2026 16:43:00 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:70f51a07-bbc9-4838-8f51-26b757a91023</guid><dc:creator>shabaz</dc:creator><description>I used this, called Araldite (nearest equivalent may be &amp;quot;Gorilla 2-Part Epoxy&amp;quot;). I syringed out a bit, mix it with a matchstick/cocktail stick etc, and then quickly apply it (about a 30 second window after mixing, before it starts getting too firm to apply). The board was very small (17x17mm) so I used a toothpick to apply the glue.</description></item><item><title /><link>https://community.element14.com/products/raspberry-pi/raspberrypi_projects/b/blog/posts/building-a-simple-vhf-uhf-signal-generator-with-cmt2300a-and-pi-pico?CommentId=002acf31-40cd-473a-bb6d-7d2c6287e937</link><pubDate>Thu, 19 Nov 2026 16:05:00 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:002acf31-40cd-473a-bb6d-7d2c6287e937</guid><dc:creator>colporteur</dc:creator><description>I&amp;#39;m curious about your wire strain relief technique. Can you describe?</description></item><item><title /><link>https://community.element14.com/products/raspberry-pi/raspberrypi_projects/b/blog/posts/building-a-simple-vhf-uhf-signal-generator-with-cmt2300a-and-pi-pico?CommentId=d957d8dd-ca54-4ba6-902a-3a0c033a5cc5</link><pubDate>Thu, 19 Nov 2026 15:36:00 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:d957d8dd-ca54-4ba6-902a-3a0c033a5cc5</guid><dc:creator>shabaz</dc:creator><description>Hi Jon, Nice find, that diode looks ideal. Also, it could be worth buying a few more than required (since they are so low-cost) to try to pick the closest matching ones (I just used a multimeter). I have something not quite as good: PMBD353,215 NEXPERIA, Small Signal Schottky Diode, Dual Series, 4 V | Farnell&amp;#174; UK Also these are TC4-1T clones in the photo (well, second-source, but the CoilCraft ones you mentioned in the other thread would be a good known brand: https://uk.farnell.com/coilcraft/wbc4-1tlc/wideband-transformer-1-4-0-25/dp/2458087?COM=e14c-direct-ugc&amp;amp;CMP=e14c-direct-ugc&amp;amp;osetc=e14c-direct-ugc or: https://uk.farnell.com/coilcraft/pwb-4-blc/rf-transformer-1-4-0-14-700mhz/dp/2458070?COM=e14c-direct-ugc&amp;amp;CMP=e14c-direct-ugc&amp;amp;osetc=e14c-direct-ugc I still want to get that active mixer you found: https://uk.farnell.com/analog-devices/max2680eut-t/downconverter-mixer-0-4-2-5ghz/dp/2517314 Since that would be the better choice at these frequencies. By the way the CMT22300A boards should cost around &amp;#163;2.50 although there are sellers charging &amp;#163;6. The specific one I got has a datasheet with manufacturer Silicontra written on it. There are some misleading AliExpress ads where the title contains CMT2300A but the description has a Silabs part.</description></item><item><title /><link>https://community.element14.com/products/raspberry-pi/raspberrypi_projects/b/blog/posts/building-a-simple-vhf-uhf-signal-generator-with-cmt2300a-and-pi-pico?CommentId=f5e9afd7-6955-4102-be73-a8ffafe5044e</link><pubDate>Thu, 19 Nov 2026 10:22:00 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:f5e9afd7-6955-4102-be73-a8ffafe5044e</guid><dc:creator>jc2048</dc:creator><description>Useful blog. I&amp;#39;ve been thinking about doing some RF stuff (at a personal, hobbyist level) and it&amp;#39;s interesting seeing what it&amp;#39;s possible to improvise at low cost, particularly as you have some good kit to measure with and can show us the performance. If anyone is tempted to try that double-balanced diode mixer for themselves, be aware that normally the diodes used would be RF Schottky (hot-carrier) diodes, not junction diodes. This is the kind of thing intended for the purpose at UHF https://uk.farnell.com/toshiba/1ss315-tph3-f/schottky-diode-5v-0-03a-sod-523/dp/3869971 It has low capacitance (0.6pF) and a low forward voltage (250mV at 2mA). Note that the max reverse voltage is quite low (5V), so don&amp;#39;t expose it to too high a level of LO signal. On the other hand, the mixing depends on the diodes being turned on by one of the input signals, so the LO level will be need to be fairly high to achieve that. Also be aware that though the double-balancing should stop the LO signal escaping out of the input port, in practice that balance won&amp;#39;t be perfect and if you connect an aerial directly to the input you may end up with some LO signal and other mixing products radiating off of it.</description></item><item><title /><link>https://community.element14.com/products/raspberry-pi/raspberrypi_projects/b/blog/posts/building-a-simple-vhf-uhf-signal-generator-with-cmt2300a-and-pi-pico?CommentId=a567b10c-095e-42ad-b73e-7385de83e9d0</link><pubDate>Thu, 19 Nov 2026 04:50:00 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:a567b10c-095e-42ad-b73e-7385de83e9d0</guid><dc:creator>ggabe</dc:creator><description>A very nice way to catch the RF bug!</description></item><item><title /><link>https://community.element14.com/products/raspberry-pi/raspberrypi_projects/b/blog/posts/building-a-simple-vhf-uhf-signal-generator-with-cmt2300a-and-pi-pico?CommentId=695e2dd3-cca0-489b-b30f-8fd4471f4d47</link><pubDate>Wed, 18 Nov 2026 22:05:00 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:695e2dd3-cca0-489b-b30f-8fd4471f4d47</guid><dc:creator>shabaz</dc:creator><description>Hi Gerald, Thanks!</description></item><item><title /><link>https://community.element14.com/products/raspberry-pi/raspberrypi_projects/b/blog/posts/building-a-simple-vhf-uhf-signal-generator-with-cmt2300a-and-pi-pico?CommentId=ef30f5e1-d154-4982-b33c-398efef49ee6</link><pubDate>Wed, 18 Nov 2026 21:39:00 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:ef30f5e1-d154-4982-b33c-398efef49ee6</guid><dc:creator>geralds</dc:creator><description>Hi shabaz Thank you for this very interesting blog!</description></item><item><title>Blog Post: Building a Simple VHF/UHF Signal Generator with CMT2300A and Pi Pico</title><link>https://community.element14.com/products/raspberry-pi/raspberrypi_projects/b/blog/posts/building-a-simple-vhf-uhf-signal-generator-with-cmt2300a-and-pi-pico</link><pubDate>Wed, 18 Nov 2026 21:19:00 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:b46e31ae-b1dc-4e17-b677-11925d146665</guid><dc:creator>shabaz</dc:creator><description>Table of Contents Introduction Motivation RF ICs To the Rescue Software Results For Reference Summary Introduction This blog post discusses how to make a signal generator using an off-the-shelf low-cost transceiver module plus a Pi Pico microcontroller. This is a simple two-component project; a CMT2300A module, and a Pi Pico. The desired frequency is selected via USB (a USB Serial menu), but in future, buttons and a display could be attached if desired. Motivation Recently, an interesting topic came up on the Element14 site; how could a 433 MHz transmitter output be easily viewed using an instrument that only works up to 60 MHz? One popular method is called down-conversion. A three-port device called an RF Mixer is utilized. The mixer has two inputs (labelled RF and LO ) and an output ( IF ). Mixers are available as ready-made modules, or they could DIY’d. Here is an example of one: Mixers have the property that the IF output contains the sum, and the difference of the frequencies present at the other two ports. The diagram here shows how a mixer could be deployed to solve the problem, because 480 minus 430 provides a 50 MHz signal comfortably within the 60 MHz range of the equipment. In reality, the IF output would also contain the sum of 910 MHz (plus sometimes a load of other unwanted frequencies, perhaps at much lower levels), but those could be ignored by the receiving instrument. Assuming you have a mixer, the problem then shifts to how to create a suitable LO frequency. A traditional method would have been to use an NE602 IC, which contains a built-in oscillator that needed a few components to set and manually trim the frequency. The NE602 is unfortunately obsolete. In addition, one may want a more accurate method to set the frequency these days. There are digital clock generation ICs such as Si5351 , but often they do not support frequencies beyond the low-to-mid VHF range. RF ICs To the Rescue I decided to exploit the fact that RF ICs intended for low-power communications for simple remote control or telemetry, might be able to be operated in a continuous-output mode with no modulation applied. Searching around, I decided to try the CMOSTEK/Hope RF CMT2300A, because it is readily available pre-soldered onto a small circuit board with all the necessary parts, all ready to attach to a microcontroller. I liked that it supported a broad range of frequencies, specifically: 127-169 MHz 190-339 MHz 380-509 MHz 759-1019 MHz In practise, the 759-1019 MHz range is not recommended with the particular module that I used, at least not unmodified (more on that later). The module closely follows the circuit in the datasheet : (Image source: CMT2300A datasheet) I annotated the photo with component references for the RF portion, just in case in future I ever wish to modify it. The module is very small, and soldering the wires is a bit fiddly. I wired the antenna output to a short length of thin coax that goes to an SMA connector. For testing, I connected that to a spectrum analyzer, but a radio receiver could be used too. Use attenuation, because the output in theory approaches 20 dBm! I connected the module to the Pi Pico. The module was powered from the 3.3V output from the Pi Pico (the module consumes around 50 mA). Pi Pico CMT2300A GPIO2 (pin 4) SCLK GPIO3 (pin 5) SDIO GPIO4 (pin 6) CSB GPIO5 (pin 7) FCSB GPIO6 (pin 9) IO3 +3.3V (pin 36) VCC GND (pin 8) GND Software See the github repo to download the code. The Hope RF website had example code for STM32, I used bits of that. I used AI to create a user menu that uses set and get commands to control the functionality. The code is written to build using the RP2040 C/C++ SDK (the steps to install the SDK and to build the firmware are not covered here, because that is identical to all the hundreds of Pi Pico SDK examples/tutorials on the Internet). There is a ready-built firmware file called prebuilt.uf2 that could be immediately used, if there is no desire to compile the code. To install, hold down the BOOT button on the Pi Pico and insert the USB cable into the PC, then release the button. A drive letter will appear, and the .uf2 suffix file can be drag-and-dropped over that drive letter. The firmware will install within a few seconds and start running. On the PC, a serial port should appear ( COM port on Windows, or /dev/ttyUSB0 (or approximately similar) on Linux). Serial terminal software is used; type help in the terminal, to see the list of supported commands. The screenshot here shows what to type to set the frequency to 440 MHz and turn on the transmitter: Once transmission is enabled (using set tx=1 ) then the frequency can be modified at any time by typing the new value (for instance set freq=480.123 ). A very useful feature in my opinion is the ability to calibrate. For example, after setting to any desired frequency, if equipment can be used to measure the actual frequency, then the set measfreq=480.123456 command can be used to notify the software. It will calculate the crystal oscillator error in parts per million (ppm) and display that, and all future set freq commands will apply the calibration. The calibration doesn’t survive a reset; I have not implemented non-volatile memory for now (if you add that before I get around to it, please submit your changes so that they can be added to the project GitHub repository). My CMT2300A module happened to be out by around +20 ppm, but with calibration, the 440 MHz output was just off by 85 Hz: To interpret that screenshot above; the entire spectrum shown spans 100 kHz, and is centered at the peak output, which was 440.000085 Hz. The power output at that frequency was 15.87 dBm (see the M1 marker). The CMT2300A supports a resolution of 25 Hz, so it is possible to trim further, to get the output almost dead-on. Press [ or ] in the menu, to shift left/right by 25 Hz. Hold the key down and watch the output slowly slide left or right. Now the output is reported as 440.0 MHz as seen in the following screenshot: Results With the transmission off ( set tx=0 ) the CMT2300A module current consumption was 1.36 mA. I measured the power level of the desired signal, for a range of frequencies, along with current consumption: Freq (MHz) Output (dBm) Current (mA) 127 12.2 28.3 150 13.5 36.2 169 14.2 41.4 190 14.5 45.6 265 15.3 50.5 339 16.1 48.8 380 16.0 48.8 445 15.9 50.0 509 15.0 39.2 759 -1.27 43.0 As can be seen, the maximum practical output was about 16.1 dBm. The module is designed for 433 MHz operation, so it is not surprising that the output drops off at extremes. I don’t think it will be wise to operate at 759 MHz upward, because the output level is low, and there is a risk of damage to the module. There is possibly lower risk of damage at the lower frequencies, but I cannot guarantee there will be no issue. The modules are cheap, perhaps one could be left operating for long periods to see what happens. If operation at 759 MHz or higher is required, a different module should be used, or the components on the module could be replaced (the datasheet would need to be consulted). For Reference Output screenshots for reference, click to enlarge: Summary A very low-cost CMT2300A 433 MHz RF transceiver module was repurposed to provide an adjustable RF output signal. This could be useful for down-conversion, to observe (for instance) higher-frequency signals on equipment that does not directly support the frequencies of interest. Another use-case could be to build a radio receiver. It turned out not too difficult to use the CMT2300A, although I made use of AI to help me. A Pi Pico was used to configure the CMT2300A, using a USB Serial based menu system. It was found that the output is likely usable without any board modifications, except for the upper range (759 MHz upward). However, there is no guarantee that there will not be an issue long-term. The module is being used outside of its intended range, it is designed for the 433 MHz band. The code is in GitHub , along with a prebuilt firmware file if compiling is not convenient. Thanks for reading!</description><category domain="https://community.element14.com/products/raspberry-pi/raspberrypi_projects/tags/signal%2bgenerator">signal generator</category><category domain="https://community.element14.com/products/raspberry-pi/raspberrypi_projects/tags/rpiintermediate">rpiintermediate</category><category domain="https://community.element14.com/products/raspberry-pi/raspberrypi_projects/tags/uhf">uhf</category><category domain="https://community.element14.com/products/raspberry-pi/raspberrypi_projects/tags/CMT2300A">CMT2300A</category><category domain="https://community.element14.com/products/raspberry-pi/raspberrypi_projects/tags/vhf">vhf</category><category domain="https://community.element14.com/products/raspberry-pi/raspberrypi_projects/tags/rp2040">rp2040</category><category domain="https://community.element14.com/products/raspberry-pi/raspberrypi_projects/tags/rf">rf</category><category domain="https://community.element14.com/products/raspberry-pi/raspberrypi_projects/tags/raspberry_5F00_pi_5F00_projects">raspberry_pi_projects</category><category domain="https://community.element14.com/products/raspberry-pi/raspberrypi_projects/tags/RF%2bMixer">RF Mixer</category><category domain="https://community.element14.com/products/raspberry-pi/raspberrypi_projects/tags/pi%2bpico">pi pico</category></item><item><title /><link>https://community.element14.com/products/raspberry-pi/raspberrypi_projects/b/blog/posts/raspberry-pi-pico-control-a-servo-motor-with-micropython-beginner-s-guide?CommentId=0f75468e-e072-4027-a151-a040ce6d3698</link><pubDate>Wed, 11 Nov 2026 15:06:00 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:0f75468e-e072-4027-a151-a040ce6d3698</guid><dc:creator>mearm.ben</dc:creator><description>There&amp;#39;s a lot of thinking between making one servo move and a good application for that challenge! The dev board looks complex.</description></item><item><title /><link>https://community.element14.com/products/raspberry-pi/raspberrypi_projects/b/blog/posts/raspberry-pi-pico-control-a-servo-motor-with-micropython-beginner-s-guide?CommentId=ba2aff6b-ed69-408a-9bc3-d1f344b583d7</link><pubDate>Wed, 11 Nov 2026 14:54:00 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:ba2aff6b-ed69-408a-9bc3-d1f344b583d7</guid><dc:creator>cstanton</dc:creator><description>What benefit might you get from using the kit that&amp;#39;s part of the Rise of the Robots design challenge ?</description></item><item><title>Blog Post: Raspberry Pi Pico Control a Servo Motor with MicroPython (Beginner's Guide)</title><link>https://community.element14.com/products/raspberry-pi/raspberrypi_projects/b/blog/posts/raspberry-pi-pico-control-a-servo-motor-with-micropython-beginner-s-guide</link><pubDate>Wed, 11 Nov 2026 13:41:00 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:24fddd93-734b-4a94-816e-43bcdbe2fce8</guid><dc:creator>mearm.ben</dc:creator><description>Arguably one of the most fun things you can do with a Raspberry Pi Pico is to control a servo motor. If you&amp;#39;re planning on taking over the world, I&amp;#39;d suggest this is a good place to start. In this short tutorial we&amp;#39;ll cover the electrical connections, software, and commands that you need to get a hobby servo motor working with MicroPython . In this beginner-friendly tutorial, you&amp;#39;ll learn how to: Connect up a hobby servo motor Control the servo using MicroPython Lay the foundations for controlling a robot from your Raspberry Pi What You&amp;#39;ll Need Raspberry Pi Pico USB cable PC or Mac Hobby Servo Motor Connecting Cables External Power Supply (optional unless you want to lift things) On the software side we&amp;#39;ll use Thonny , which is one of the easiest ways to program a Raspberry Pi Pico with MicroPython. If you&amp;#39;ve already used a Pico before, you&amp;#39;re probably ready to skip ahead to the code. Otherwise, install Thonny , connect your Pico, and we&amp;#39;ll get everything set up before writing our servo control program. Once your software is installed we can do the first interesting part. Installing the servo library. A library is a set of code that does a bunch of stuff behind the scenes for you. In this case it sets up the PWM duty cycle, timers, and converts pulses to angles for you. What does all that mean you ask? Well because it&amp;#39;s a library it means you don&amp;#39;t need to know for now, we just want to get on with the good stuff. Sure we can look into all of that at a later date. For now, in Thonny Click on Tools &amp;gt; Manage Packages... and type micropython-servo into the search box. Click enter and select micropython-servo from the list and click install. Congratulations, you&amp;#39;ve installed a library! The details of what this basic library can do, along with a short example is available here . Now we&amp;#39;re going to paste in this code import time from servo import Servo my_servo = Servo ( pin_id = 15 ) my_servo . write ( 30 ) time . sleep ( 2.0 ) my_servo . write ( 60 ) time . sleep ( 2.0 ) my_servo . write ( 90 ) What this code does is Sets up the bits of software it will need (time and servo) Tells the pico there is a servo on pin 15 Moves the servo to a 30 degree position Waits 2 seconds Moves the servo to a 60 degree position Waits 2 seconds Moves the servo to a 90 degree position that&amp;#39;s it Before we run this code however we need to wire our servo up. Fortunately this too is pretty simple. Since we&amp;#39;re only watching the servo motor turn and it&amp;#39;s not carrying any weight we can wire it to our power from the Raspberry Pi Pico. Here we&amp;#39;re connecting the power, which is normally red to the VSYS on the pico, this takes power from the USB supply. The black (or sometimes brown) wire goes to ground, and the yellow or orange wire we call our signal wire and that is going to Pin15. PLEASE NOTE: USB can&amp;#39;t supply lots of power, so if you want to use your servo to lift something you&amp;#39;ll need an external power supply, like a 4xAA battery pack. You can connect this up as follows: Here the power goes to the battery and the ground is connected to both the battery and the Raspberry Pi Pico. We call this having a &amp;quot;common ground&amp;quot;. Now that we have connected up the Pico and the servo we can upload the code. Our servo should spring to life and move through the three positions. Now we&amp;#39;ve got it moving, but ideally we don&amp;#39;t want to have to change the code every time we want to move our servo motor. Wouldn&amp;#39;t it be better if we could just send a signal somehow? I have another tutorial that&amp;#39;ll get round to publishing on here soon! But for now if we hash two bits of code together we can get a USB Serial controlled servo motor... import sys, select, time from machine import Pin from servo import Servo #say something print(&amp;quot;PICO READY to move your servo&amp;quot;) print(&amp;quot;what angle should I move to?&amp;quot;) #set up our input method poll = select.poll() poll.register(sys.stdin, select.POLLIN) buf = &amp;quot;&amp;quot; #set up the LED led = Pin(25, Pin.OUT) #set up the servo my_servo = Servo(pin_id=15) while True: if poll.poll(0): ch = sys.stdin.read(1) if ch: if ch == &amp;quot;\n&amp;quot;: line = buf.strip() buf = &amp;quot;&amp;quot; if not line: continue try: print(&amp;quot;You said: &amp;quot;,line,&amp;quot; watch me move!&amp;quot;) my_servo.write(int(line)) led.toggle() except Exception as e: print(&amp;quot;ERROR&amp;quot;, e, &amp;quot;. You Wrote: &amp;quot;, line, &amp;quot;which means you didn&amp;#39;t give me a whole number&amp;quot;) else: buf += ch time.sleep(0.005) Now we can throw values into the serial monitor and watch the servo motor move to position. I&amp;#39;ve taken a short video of this. So what next? Obviously we&amp;#39;ll want to control more servo motors, but we could also control them more easily. Perhaps we could make a little graphical user interface (GUI) with a slider that could send the data over serial for us? Watch out for the next in the series. In this tutorial you&amp;#39;ve learned how to control a servo motor with MicroPython, you&amp;#39;ve also learned how to hook up servos, and how to control one over a serial connection. These are hugely useful tools for people planning to take over the world using robots.</description><category domain="https://community.element14.com/products/raspberry-pi/raspberrypi_projects/tags/robotics">robotics</category><category domain="https://community.element14.com/products/raspberry-pi/raspberrypi_projects/tags/raspberry%2bpi%2bpico">raspberry pi pico</category><category domain="https://community.element14.com/products/raspberry-pi/raspberrypi_projects/tags/servo">servo</category><category domain="https://community.element14.com/products/raspberry-pi/raspberrypi_projects/tags/raspberry%2bpi">raspberry pi</category><category domain="https://community.element14.com/products/raspberry-pi/raspberrypi_projects/tags/servo%2bmotors">servo motors</category><category domain="https://community.element14.com/products/raspberry-pi/raspberrypi_projects/tags/raspberry_5F00_pi_5F00_projects">raspberry_pi_projects</category></item><item><title /><link>https://community.element14.com/products/raspberry-pi/raspberrypi_projects/b/blog/posts/solving-error-unknown-flash-device-an-openocd-upgrade-for-pi-pico-xiao-and-other-rp2040-boards?CommentId=c26fdc88-5c45-4bef-b1ec-17b64a094efe</link><pubDate>Sun, 25 Oct 2026 15:32:00 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:c26fdc88-5c45-4bef-b1ec-17b64a094efe</guid><dc:creator>shabaz</dc:creator><description>Finally! : ) Great, I&amp;#39;ll add a note at the top of the blog post to indicate that this is now historical.</description></item><item><title /><link>https://community.element14.com/products/raspberry-pi/raspberrypi_projects/b/blog/posts/solving-error-unknown-flash-device-an-openocd-upgrade-for-pi-pico-xiao-and-other-rp2040-boards?CommentId=819f0e39-57ea-48b7-bd00-e28e28ddacc3</link><pubDate>Sun, 25 Oct 2026 15:28:00 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:819f0e39-57ea-48b7-bd00-e28e28ddacc3</guid><dc:creator>Jan Cumps</dc:creator><description>Update: solved. the Open OCD installed by the Raspberry Pi Pico Project extension for VS Code doesn&amp;#39;t need patching anymore.</description></item></channel></rss>