Search found 20 matches

by neo_nmik
Sat Oct 30, 2021 3:29 pm
Forum: General discussion
Topic: No serial with BlackPill and PlatformIO
Replies: 4
Views: 4379

Re: No serial with BlackPill and PlatformIO

Hi, Unfortunately, I’m on Mac, so no idea how the windows side works. Might be best to start your own thread! Hope it works out! Cheers, Nick Hello, I am having same problem eg no usb connect from WeAct F411CE to Win10 64 Device Manager does not show the board COM port. I have a STLINK and upload th...
by neo_nmik
Sat Oct 30, 2021 10:51 am
Forum: General discussion
Topic: No serial with BlackPill and PlatformIO
Replies: 4
Views: 4379

Re: No serial with BlackPill and PlatformIO

Don't mind me being an idiot... I hadn't added the build_flags to enable the USB serial in PlatformIO [env:blackpill_f401cc] platform = ststm32 board = blackpill_f401cc framework = arduino upload_protocol = dfu build_flags = -D PIO_FRAMEWORK_ARDUINO_ENABLE_CDC -D USBCON All I needed was the build_fl...
by neo_nmik
Sat Oct 30, 2021 10:44 am
Forum: General discussion
Topic: No serial with BlackPill and PlatformIO
Replies: 4
Views: 4379

No serial with BlackPill and PlatformIO

So, I'm just getting started with the BlackPill (F401CC) uploading with the DFU through VSCode/PlatformIO with ST STM32 14.2.0 (and before I had 12.something, updated it to see if that was the issues). It's a knock off WeAct v2.0, and came with the original pulsing blink. I can upload to it with the...
by neo_nmik
Wed Oct 06, 2021 10:13 pm
Forum: General discussion
Topic: Bluepill and USBMIDI
Replies: 4
Views: 3157

Re: Bluepill and USBMIDI

Old Site search should cover old stuff for BluePill, etc. usb midi site:stm32duinoforum.com For this site, usb midi site:stm32duino.com And... be bold and check github... usb + midi + STM32 site:github.com Oh thank you MrBrunette! I think I saw something from one of those links before, and I’d lost...
by neo_nmik
Wed Oct 06, 2021 8:21 pm
Forum: General discussion
Topic: Bluepill and USBMIDI
Replies: 4
Views: 3157

Bluepill and USBMIDI

Hey guys! Looking for some pointers regarding possibly implementing USBMIDI on a bluepill (F103), and later one of the new blackpill's (F401) when I get round to it. Background: I've made a little 8 note wavetable poly synth, with envelopes, LFO and an arp, which is a lot of fun! Buttt, I'm yet to a...
by neo_nmik
Sun May 02, 2021 8:16 am
Forum: General discussion
Topic: Any support/use for STM8?
Replies: 4
Views: 2337

Re: Any support/use for STM8?

There is a section dedicated for STM8: https://www.stm32duino.com/viewforum.php?f=75 With F401 you can do same (and more) as you want with F103. Thanks Steve! I’ll have a play with them and post any stuff there. As for the F401’s they’re probably more suited to my project to be honest! (Mainly the ...
by neo_nmik
Sat May 01, 2021 3:11 pm
Forum: General discussion
Topic: Any support/use for STM8?
Replies: 4
Views: 2337

Any support/use for STM8?

So, I was happy this morning as my long awaited AliExpress order turned up... Turned out, the seller sent 10x STM8S105 black boards, instead of 10x Blue Pills (STM32F103). :oops: Super annoying, definitely my fault for ordering too cheap (I got excited as they were the oldish price of £1.80~ a board...
by neo_nmik
Tue Apr 13, 2021 8:39 am
Forum: General discussion
Topic: Changing analogRead Voltage reference?
Replies: 7
Views: 4954

Re: Changing analogRead Voltage reference?

AnalogRead is arduino compatible, so it is limited to 0-1023 by default. You can change this to 12 bits, 0-4095 by adding a line or two of code to your program. See https://github.com/stm32duino/wiki/wiki/API#analog Thanks Fredbox, I tried this, but unfortunately the same thing happens with the 12b...
by neo_nmik
Mon Apr 12, 2021 7:15 pm
Forum: General discussion
Topic: Changing analogRead Voltage reference?
Replies: 7
Views: 4954

Re: Changing analogRead Voltage reference?

When I poll them, I’m getting 0-1023 (10bit) which is fine for my use, but the upper range (roughly the last 1/4) are all responding 1023. Are those pots linear or logarithmic ?? They're linear, when situated in the centre they're reading ~1.65V. and I'm getting a correct reading with the voltmeter...
by neo_nmik
Mon Apr 12, 2021 6:27 pm
Forum: General discussion
Topic: Changing analogRead Voltage reference?
Replies: 7
Views: 4954

Re: Changing analogRead Voltage reference?

I might be off on my thinking it was down to a Voltage Ref setting then. :roll:. I have 3 potentiometers (10k) wired up to pins PA0-PA2 (along with GND and 3.3V provided via a 3.3V LDO that’s one of 2 powered from one of the 5V pins). When I poll them, I’m getting 0-1023 (10bit) which is fine for my...

Go to advanced search