Search found 1813 matches

by stevestrong
Tue Dec 05, 2017 9:55 am
Forum: General discussion
Topic: Trying to make STM32F103 and HC-05 work together
Replies: 18
Views: 263

Re: Trying to make STM32F103 and HC-05 work together

It seems an overkill to use long variables, I think "uint16_t" would cover your needs. Have you tried two blue pills transferring data to each other? Or between PC and BP via an USB to serial adapter? Have you checked with a scope the incoming data? Maybe the HC module is not outputting the data as ...
by stevestrong
Tue Dec 05, 2017 9:48 am
Forum: STM32F103 Boards
Topic: Driving LED dim/glow using PWM pins and MOSFET
Replies: 11
Views: 416

Re: Driving LED dim/glow using PWM pins and MOSFET

Have you measured the voltage on the output pins for full brightness?
by stevestrong
Tue Dec 05, 2017 9:46 am
Forum: General discussion
Topic: difference between wire twowire
Replies: 14
Views: 188

Re: difference between wire twowire

The F103 Wire lib now includes the hardware I2C interface.

Code: Select all

#include <Wire.h>
...
HardWire bus;
If you want to use the software I2C, you need to do:

Code: Select all

#include <SoftWire.h>
...
TwoWire bus;
by stevestrong
Tue Dec 05, 2017 9:39 am
Forum: General discussion
Topic: STM32F103 Help - How to determine a reset is cuase by waking up
Replies: 8
Views: 99

Re: STM32F103 Help - How to determine a reset is cuase by waking up

asmallri wrote:
Tue Dec 05, 2017 4:21 am
Then the outputs:
RESULTS:

Code: Select all

  Power on reset....
    NORMAL RESET
    RCC_Register = C000000

  Wake up from standby
    NORMAL RESET
    RCC_Register = 0
  
What is wrong with that? What do you expect?
by stevestrong
Tue Dec 05, 2017 9:32 am
Forum: New users MUST post here first, and let us know a bit about you and your projects
Topic: Hello everybody
Replies: 9
Views: 114

Re: Hello everybody

I think the "repetition counter" feature would allow you to go up with the PWM carrier frequency to 3 or 4 times 16KHz without any special affort, as Victor depicted here: http://stm32duino.com/viewtopic.php?f=18&t=2750&p=36422#p36384 I will follow your development, just please open a new thread in ...
by stevestrong
Mon Dec 04, 2017 5:02 pm
Forum: Postbag
Topic: Robot Dyn Black Pills
Replies: 5
Views: 453

Re: Robot Dyn Black Pills

I received my black pills today, and wanted to solder boot 0 to 0, and use boot 1 as IO pin.

And the first issue: which boot row is actually boot 0? Near to the reset button or on the chip side?
I could not find any info about this...
by stevestrong
Sun Dec 03, 2017 4:11 pm
Forum: General discussion
Topic: Disable SPI peripherials
Replies: 1
Views: 75

Re: Disable SPI peripherials

Do you use SPI at all?
If not, just set the pinMode of the SPI pins as you wish.
by stevestrong
Fri Dec 01, 2017 2:28 pm
Forum: STM32F103 Boards
Topic: Driving LED dim/glow using PWM pins and MOSFET
Replies: 11
Views: 416

Re: Driving LED dim/glow using PWM pins and MOSFET

I think it is possible to use all channels of a timer but with the same basic frequency for all, different duty cycles are doable though.
by stevestrong
Fri Dec 01, 2017 2:23 pm
Forum: General discussion
Topic: INPUT_PULLDOWN
Replies: 23
Views: 469

Re: INPUT_PULLDOWN

ramgc wrote:
Fri Dec 01, 2017 11:50 am
work in pin B5 and B6, and dont work in A11-A12-A15-B3-B4... this pins always 3.3 or 0V, it is rare, or chinese seller send to me bad bluepill or i dont know...
Those pins are rsserved for Usb and SWD interface.
Search the forum for pb4.