![]() Now that you have everything you need to start, it's time to connect everything up and burn the bootloader. You also need to download the bootloader itself. (bottom of the page) You need to register to the page and then you get to download it. ![]() This is a program that you use to install the bootloader. In order to do this, you'll need two things. It's called a bootloader, but the name doesn't really matter. Remember that "windows" thingy that needs to be on the board in order for you to use the USB, well, we have to put it on the board now. Just say yes to everything.Ĭongratulations, you're basically done.well, almost. Somewhere in that folder you'll find a file named install_drivers (it's a batch file). Now open the Arduino_STM32 folder.there is a folder inside that's named drivers. Rename it to Arduino_STM32 (just delete the master part) Once you're in the hardware folder, drag the "Arduino_STM32-master" from the ZIP to the hardware folder. Once there, open the hardware folder.you should have one, but if not, just make one. ![]() It's usually C:\Program files(x86)\Arduino Keep it open and go to where ever your Arduino installation folder is. Once you've done that, open the zip file. You do this by clicking the green button that says "Clone or Download" then selecting Download ZIP. This too it just a "drag and drop" process so don't worry, I'm sure you can handle it. Since windows doesn't properly recognise the board, you should manually install the drivers. Click install (lower right corner) and wait for it to install. Now you should open the IDE again and go to Tools->boards->Boards Manager (it's the very first thing on the list)Ī new window will open and where it says "Filter your search." you should type in stm32f1 If you already have something in the window, just go into a new line. Yet another window will open and there you have to write Go to File->Prefferences.a new window will openĪt the bottom there's a line saying "Additional Boards Manager URLs:".at the end of the line, there's an icon of two windows open, click that. Don't worry, this is quite easy.įirst open the Arduino IDE. Step 1: What You'll Need:īefore you can start programming the blue pill in the Arduino IDE. In this instructible I'll show you where to get the boards, how to program them and FIX the no USB connection problem so you can program it exactly like an Arduino, using just a USB serial connection. (A bootloader is basically Windows for microcontrollers, it doesn't do anything, but you still need it to run stuff) The boards can't be programmed over USB, since they don't come with a bootloader. You'll say it sounds too good to be true and it kind of is. The best thing (apart from it's amazing speed and overall performance) is the ability to program it with the Arduino IDE, essentially making it an Arduino. If you haven't heard there's an Arduino nano like board, nicknamed the blue pill. However if you need more speed, more analog inputs, more precision, but still don't want to switch from Arduino programming, there's a elegant solution.The blue pill! You and I both love Arduino boards, from the smallest Attiny85, to the biggest MEGA2560.
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |