Search found 10 matches

by .rpv
Sun Sep 29, 2019 8:13 pm
Forum: General discussion
Topic: [Roger's core] [Blue Pill] How to change PWM frequency ?
Replies: 4
Views: 193

Re: [Roger's core] [Blue Pill] How to change PWM frequency ?

Hi, I used this code: HardwareTimer pwmtimer(1); void setup(void){ pinMode(PB1,PWM); pwmtimer.setPrescaleFactor(1); pwmtimer.setOverflow(1850);// max duty pwmtimer.refresh(); } To get around 39khz frequency on PB1 (probably will change it on all timer 1 based pins). 1850 will be now my max duty cycl...
by .rpv
Wed Sep 11, 2019 8:37 pm
Forum: Custom design boards
Topic: My custom boards (STM32F030K6T6, STM32F103VET6, STM32F405RGT6, STM32F030C8T6, )
Replies: 3
Views: 272

Re: My custom boards (STM32F030K6T6, STM32F103VET6, STM32F405RGT6, STM32F030C8T6, )

New board added: STM32F030C8T6 ProMini+
flash: 64kb ram:8kb clock:48mhz
by .rpv
Wed Sep 11, 2019 8:32 pm
Forum: General discussion
Topic: IR receive library.
Replies: 6
Views: 342

Re: IR receive library.

stevestrong wrote:
Sun Sep 08, 2019 4:22 pm
Maybe this helps: https://web.archive.org/web/20190316165 ... =18&t=2667
Again, sorry for the late reply.

And thanks!, I can use that.

Cheers.
by .rpv
Sun Sep 08, 2019 12:52 am
Forum: General discussion
Topic: IR receive library.
Replies: 6
Views: 342

Re: IR receive library.

Search G**gle for: ir library site:stm32duino.com and check the cached pages. Sorry for the late reply, yeah, I tried that and a tried a few libraries and forks that claims to be for the stm32, but without luck, most (if not all) seems that were writed specifically for the blue pill and I'm using a...
by .rpv
Wed Sep 04, 2019 11:19 pm
Forum: General discussion
Topic: IR receive library.
Replies: 6
Views: 342

Re: IR receive library.

Yes, I was using the IR-remote library on the atmel mcus but it won't work on stm32. I've tried a few forks also but with no luck. I just want to use the receive feature.

Cheers.
by .rpv
Wed Sep 04, 2019 10:33 pm
Forum: General discussion
Topic: IR receive library.
Replies: 6
Views: 342

IR receive library.

Hi guys, does any one knows a IR receive library that works with stm32/duino boards?. I tried a few but no one seems to compile.

Cheers.
by .rpv
Mon Sep 02, 2019 8:20 pm
Forum: Custom design boards
Topic: My custom boards (STM32F030K6T6, STM32F103VET6, STM32F405RGT6, STM32F030C8T6, )
Replies: 3
Views: 272

Re: My custom boards (STM32F030K6T6, STM32F103VET6, STM32F405RGT6, )

Nice boards ! I know it's a matter of cost, but maybe you could add a CH340E or CH330N to the 030K6 board because that mcu lacks usb hardware. The USB-to-Serial converter addition could also be used as a firmware uploader. You are right!, a "nano" version of this board will be cool. I like the ch34...
by .rpv
Sun Sep 01, 2019 10:39 pm
Forum: Custom design boards
Topic: My custom boards (STM32F030K6T6, STM32F103VET6, STM32F405RGT6, STM32F030C8T6, )
Replies: 3
Views: 272

My custom boards (STM32F030K6T6, STM32F103VET6, STM32F405RGT6, STM32F030C8T6, )

Hi guys, I made some custom boards: STM32F030K6T6 ProMini https://raw.githubusercontent.com/r-pv/STM32F030K6/master/rSTM32F030K6T6.pinout.jpg Schematic All files are on: https://github.com/r-pv/STM32F030K6 STM32F030C8T6 ProMini+ https://raw.githubusercontent.com/r-pv/rSTM32F030C8T6_ProMiniPlus/maste...
by .rpv
Fri Apr 12, 2019 8:17 am
Forum: STM8
Topic: PWM frequency
Replies: 1
Views: 451

Re: PWM frequency

I like this little beast :D just trying adapting a tm1637 library on the stm8: stm8_01.jpg //--------------------------------------------------------------------------------------------.rTM1637;--// //this.it's.just.a.reduced.version.of.the.library:https://github.com/maxint-rd/TM16xx byte _rLD[4]={ ...
by .rpv
Wed Apr 10, 2019 5:49 am
Forum: STM8
Topic: PWM frequency
Replies: 1
Views: 451

PWM frequency

Hi guys!

I wonder if someone knows how I can change the pwm frequency on one of this little beast, I'm using sduino on arduino, I can't find any example on the documentation and the code that works on the blue pill didn't work on this mcu.

Thanks.