THT Braids with Black Pill

Kia ora everyone!

I hunted through the DIY Braids posts but couldnt find any clear answers.

I have some soundforce THT braids PCBs all built up. Unfortunately I cant seem to find any of the 128kb blue pills anywhere, so I went ahead and bought a black pill instead. It seems I was a bit eager and didnt check the pin out. This is the Black pill i bought which appears to be different to some of the others out there: WeAct STM32F411CEU6 STM32F411 STM32F4 V3.1 Learning Board Micropython PYBoard Arduino BlackPill Development 512KB Flash 128KB|Demo Board| - AliExpress

It seems that the black pill isnt a direct drop in replacement for the blue pill and has some things in different places. The reset pin is in a different place and I cant find a B11 pin on it anywhere…

Has anyone had any success building a braids with the black pill? Do I just need to build an adapter to switch around some of those pins?

I think I have programmed mine right but when I plug it in I get nothing showing up on the display and nothing coming out sound wise either. I’m hoping that its just the pill and that its nothing more drastic as some of those chips in it are getting spenny.

Any help or ideas would be appreciated!!

1 Like

yeah mine are sitting in a box for same reason , I have no clue how to program anything so not sure what I am going to do next please post if you come up with anything .

3 Likes

A pal uses various mcu’s for drones, cameras and lighting. He has no clue how to program either and uses GitHub and local programmers on fiver to get what he needs.

1 Like

was thinking about hooking up with the local maker space . I am sure someone there will be able to help , and maybe I could learn to do the Arduino coding my self .

1 Like

My local maker space was a brilliant resource which sadly died out during covid. Meeting other makers is always useful and I can’t recommend them enough.
Do please remember that, like here, it’s a community that only works when people put in as much as they take out so be prepared to share some time and effort.
As for arduino can I reiterate that your old pal Dave on YouTube’s Notes and Volts has a number of great Arduino intros - Sam used much of Dave’s code as examples in his early projects.
There is also a fabulous book; Brent Edstrom’s Arduino for Musicians.
The mechanism for getting code onto an micro controller varies but is pretty easy to learn and gives you access to a great making tool. Shout out if you need any help.

2 Likes

I looked and the Arduino’s I have they are the 32f103c8t6’s and blue but the components layout looks like the black pills .
these are the braids I got from BratAttack
it seemed like the programing wasn’t a simple plug and play like there would be extra steps to loading the software that was provided , i didn’t understand and the Arduino’s were possibly different so I put it aside .
would like to get them running I really like the Mutable Instruments braids I have .

2 Likes

Thanks for your replies everyone!

I made a little adapter for the black pill which was pretty annoying to build, lots of repetition of small jumpers, which also didnt work. I’m thinking that I am going to have to buy a different black pill that has the same pin out as the blue pill. When I bought the first one I bought it from the developer so thought I was doing the right thing but turns out I should probably buy a knock off instead hah!

For reference this is the board I bought which I thought was just the latest version of the black pill but turns out to be something slightly different. So dont buy this if you want to build a THT braids

I found some links on ebay to ones that looks more like the blue pill and say they have either 64 or 128k memory (128 is what you need supposedly), but I have to wait to pay day to investigate them further. STM32F103C8T6 Micro USB controller STM32 Development ARM Learning Board | eBay

As for the programming I found that to be pretty straight forward. I got an ST Link 2 programmer which you can hook up with jumpers and goes straight to a USB port. The software for the programmer was a bit trickier, I usually use a mac but couldnt get the software to launch properly so busted out the old PC which ran the software fine once I had updated Java. This is the software I used: STSW-LINK004 - STM32 ST-LINK utility (replaced by STM32CubeProgrammer) - STMicroelectronics But there is also ST32Cube or something which also worked for me in terms of the programming.

I was using the hex files on the soundforce.nl site, you just gotta open them in the programmer software and hit the button. I know there had been issues with the bootloader in the past but I believe the hex file on the soundforce site has now been updated to include that.

If the only issue that you’ve got is with the programming I would suggest pushing on with it, get that st link thing if you havent got one as thats way less scary than breadboards to me haha. I reckon my issue is a hardware one with the wrong black pill which means I’ll have to wait a couple more weeks including shipping.

2 Likes

Not used black pill myself but I’d be surprised if you couldn’t use an Arduino as an in line programmer.
Time to hit Google and keep us updated.

1 Like

I couldn’t find the datasheet for the one you purchased so I couldn’t compare to the one listed on the SoundForce page, but sorry to hear that it didn’t work out. If you’re able to come up with a solution, please let us know!

I’ve been trying to gather the materials to build one of these lately and ran into some issues finding the blue pill with the proper microcontroller as well. It’s confusing because the C8 chip is one with 64kB flash memory and the CB is the 128kB (the correct one), but before I was aware of this, the “8” and the “B” looked similar enough that I didn’t catch the difference. It’s pretty much impossible to find a blue pill with the “B” microcontroller, but you can buy them separately without the board.

So, what I’m going to attempt to do is take one of the 64kB blue pills (I got the Type-C 64kB one: STM32F103C8T6 STM32F103CBT6 ARM STM32 Minimum System Learning Development Board Module For Arduino 32F103C8T6|development board|arm development boardarm board - AliExpress) and replace the C8 microcontroller with a CB ((5piece)100% New STM32F103CBT6 STM32F103CB 32F103CBT6 128KB QFP 48 Chipset|Integrated Circuits| - AliExpress).

No idea if it’s going to work, but considering what’s available right now, it seems like the best option worth giving a shot. Either way I’ll try to remember to post an update here.

5 Likes

Fair warning, last time I checked it was getting hard to get the 128k version of the f103 with many sellers shipping the more common 64k version when you order them.

The weAct boards are top quality boards, I have two F411’s (one for a qmk mx keyboard and one to play with)

In addition to this they use F4 series microcontrollers which are different (better) to the ones used on the F1 series.
Are you flashing the existing hex files onto the F4’s or are you recompiling from source with the target board changed?

Even plaits only uses the stm32f3 series F37x I seem to recall.

I’ve yet to find anyone documenting succeeding at this, but it should be possible, just a question of the hacking involved.

The pin out between the bluepill and black pill is a bit different:

I am not sure if you could get around that with Software alone.
Compiling the old code for the new board should be relatively easy, but I am not sure if the adcs of the f103 is used… the black pill only has one instead of two adcs on the f103.

1 Like

Wow talk about confusion, there where “black pills” that where f103 based with micro or mini usb ports that are near identical to the blue pills. The new WeAct boards are f4xx based.

The single adc should not be an issue as it is still 16 channel and fast enough to sample a number of them at control rate if not audio rate. But iirc most of the MI designs use external ADC chips.

2 Likes


these are a strange mix they are blue and sold as the 32f103c8t6 128kb units but they have the same component layout as the black pill . so I am not sure what they are . looks like an other in between hybrid .

1 Like

HI Everyone!

One last update on this for me. I never got anything working with the WeAct Black pill. Last week I started contemplating getting into the code but when I started looking at it I was like no way!

Today the Blue pill i ordered from AliExpress finally showed up. This is what I ordered: Original STM32F103C6T6 STM32F103C8T6 ARM STM32 Minimum System Development Board Module For Arduino ST Link V2 Mini STM8 |development board|module boardarm development board - AliExpress

I got the STM32F103C8T6 and the markings on the chip confirm that along with the info I got in the Cube Programmer software that its 64kb and that got me a little worried. I know that people in the past have used these and said they had trouble programming and then noise issues. But I figure that atleast with the correct pin out I’d get something on the display and could figure out if the rest of its working.

I ran into a problem programming when I loaded the braids.hex first and then the bootloader, but I ended up erasing the whole chip and loading the bootloader first (makes sense right?) and then the braids.hex file. No programming errors.

I’ve had a play with it for about 20mins though and havent run into any issues, it doesnt seem noisey to me, I dont have anything to compare it to what its supposed to sound like and I’m far too lazy to do some youtube trawling. So I’m happy!! Even if it does turn out to be noisey or whatever, mine will just be a little bit different to everyone elses and Im fine with that :slight_smile:

Next step is to get some bloody knobs that fit as these Tayda pots seem to be a bit too chunky to fit what I’ve got!!

7 Likes

Great work! With how scarce the 128kB pills seem to be, I’m glad that you had success with the 64kB one.

I’ve been putting off this project despite having all the parts because I was afraid that it wouldn’t work, but this gives me hope. :slightly_smiling_face:

2 Likes

There are 6 mm shaft pots and 6.35 mm shaft pots and T18 shaft and D-shaft, and if your knobs don’t match, they don’t work!

Tayda sells all of the above, and knobs for all the above.

1 Like

Yeah I was really happy that things worked. There’s some real spenny ics in that build that I didn’t want it to end up in the scrap pile.

I get most of my Knobs locally and they seem to only stock the 6mm ones here in NZ but I’ve got my eye on some nice ones at tayda!

3 Likes

yeah mine are still in a bin until I can find someone who can help me with this issue . I don’t know shit about loading this or that and it gives me a headache trying …

2 Likes

Upon seeing this thread, I wanted to check out these boards to see if I could get it to work before diving in. Oddly, I bought one that is labeled as an STM32F103C8T6, which should be 64kB. The STM32 ST-Link Utility shows 128kB of flash. I just loaded in the Through Hole Braids firmware without touching the boot loader or anything.

image

I bought the 8T6 with the Link V2 I am going to try their 8T6 boards next…probably get them in a month or so and report back.

In the meantime, I will probably get boards made and buy all the parts. I guess we will see if the whole thing actually works, eventually.

4 Likes

Got two more of those boards today. They both programmed with no issues and reported 128kB.

6 Likes