Programming the STM32F103C8T6 is easy using an FTDI USB-to-Serial dongle.
$5 for 10 PCBs www.pcbway.com
First order free! 2-sided PCB just $5 for 10 pieces. Assembly for 20-pieces just $30.
Plug one end into your PCs USB socket and connect two wires to the STM32 (plus power).
Visit my GitHub for all this info + links and more information including the KiCAD project files.
github.com/RalphBacon/STM32F1...
So using the FTDI to program the STM32 is great.
Until the wires come off and you spend ages plugging it back in (wrongly). This PCB does away with all the hassle and lets you program an STM32 in seconds.
I was frustrated as not getting the USB socket working as expected on my "Blue Pill" STM32 board and reverted to an equally good way of connecting it to my PC with an FTDI dongle.
But it needed a better and more secure way of connecting the two devices so I designed a PCB from PCBWay to help me. Whilst I was at it I included a couple of LEDs and a switch to obviate the need of the jumpers. Oh, and big, red RESET switch!
Watch the video for much more information!
==============================================
LINKS to item shown in the video.
Affiliate links help my channel financially at no cost to you.
As an Amazon Associate I earn from qualifying purchases.
==============================================
On offer until July 31st, 2019 $1.49 each
Geekcreit® FT232RL FTDI USB To TTL Serial Converter Adapter Module For Arduino
www.banggood.com/FT232RL-FTDI...
CJMCU CP2102 USB To TTL/Serial Module Downloader For Arduino
www.banggood.com/CJMCU-CP2102...
RobotDyn® USB Serial Adapter CH340G 5V/3.3V USB to Ttl-uart For Arduino Pro Mini DIY
www.banggood.com/RobotDyn-USB...
Blue Pill STM32F103C8T6 Small System Board Microcontroller "Blue Pill"
www.banggood.com/STM32F103C8T...
Black Pill (UK link via Amazon)
amzn.to/2JWYUSB
Black Pill (Chinese link)
STM32F103C8T6 ARM STM32 Minimum System Development Board
www.ebay.co.uk/itm/283415142564
ST-LINK Geekcreit® 3.3V 5V XTW ST-LINK V2 - less than $3
www.banggood.com/Geekcreit-3_...
The KiCAD project, board, Gerber files etc. "Blue Pill Shield"
All on my GitHub. Download to a folder on you PCB, unzip and open the project (.pro) using KiCAD.
"Beginning STM32" book. I've got this excellent technical book and it's bare metal programming using freeRTOS, libopencm3 and GCC. I'm slowly working my way through it. Not for the faint-hearted but it is absolutely superb, the bees knees!
amzn.to/2JYZwHo
If you like this video please give it a thumbs up, share it and if you're not already subscribed please consider doing so and joining me on my Arduinite journey
My channel and blog are here:
------------------------------------------------------------------
/ ralphbacon
ralphbacon.blog
------------------------------------------------------------------
25 июл 2019