Search found 67 matches

by dannyf
Tue Aug 15, 2017 6:34 pm
Forum: General discussion
Topic: Forum cluttered with posts about non existent problems...
Replies: 24
Views: 345

Re: Forum cluttered with posts about non existent problems...

The issues you are complaining about reflect the nature of the beast called arduino: it was designed by beginners for beginners . it draws (originally)non users in by lowering the huddle for them.

As such you get the kind of questions you typically don't get.

I see no fix to that.
by dannyf
Sat Aug 05, 2017 11:27 pm
Forum: Projects
Topic: hall effect tachometer
Replies: 14
Views: 305

Re: hall effect tachometer

have not found any code for the stm32duino using a hall effect sensor for measuring RPM, just code for the Arduinos. the two should be fairly easy to port to / from. basically, set up an isr that's called when the tachometer output changes state (or rising / falling). and calculate timing different...
by dannyf
Sun Jul 30, 2017 12:05 am
Forum: Generic STM32F103
Topic: Blue pill current?
Replies: 7
Views: 251

Re: Blue pill current?

LF crystals generally have a hard time get it going on the f1.

The drive level is too low for some crystals. The price you pay for claiming low current consumption.
by dannyf
Mon Jul 24, 2017 10:27 pm
Forum: Generic STM32F103
Topic: Protecting Bootloader from being Corrupted
Replies: 8
Views: 228

Re: Protecting Bootloader from being Corrupted

It is not uncommon to lose firmware. Jlink v8 clones, based on stm32 as well, lose firmware regularly.

No one has been able to find a cure, short of upgrading to v9 (Lpc based) or the genuine article.
by dannyf
Thu Jul 20, 2017 10:10 am
Forum: STM8
Topic: STM8 Core
Replies: 34
Views: 1012

Re: STM8 Core

used the STM/COSMIC compiler as well. STVD is a dog, ugly as hell. there is an unlimited cosmic available on github. the morality of using it may be questionable to some, however. I use IAR. it is simple, intuitive and very utilitarian as well. the beauty of it is that you can use the same IDE acro...
by dannyf
Wed Jul 19, 2017 11:17 pm
Forum: Maple
Topic: Fading PB1 (D33) LED
Replies: 9
Views: 269

Re: Fading PB1 (D33) LED

I am asking if I can control it with PWM with AnalogWrite. you can check the datasheet to see if it is one of those output compare pins associated with a timer. if it is not, you may want to write two almost identical timer routines in which you flip the led pin. the two timer routines are identica...
by dannyf
Mon Jul 17, 2017 11:51 pm
Forum: Projects
Topic: Sine wave generator
Replies: 5
Views: 238

Re: Sine wave generator

Much easier to pick one with built-in DAC.
by dannyf
Thu Jul 13, 2017 10:01 am
Forum: General discussion
Topic: "Irregular" non-integer timer interrupt values (e.g. 22.67us/44.1khz)
Replies: 30
Views: 567

Re: "Irregular" non-integer timer interrupt values (e.g. 22.67us/44.1khz)

to reach the sample rate of 44.1khz. At the moment it works at 22 and 23 us rather than thinking about it from a time perspective,t hink about it from a frequency perspective: what frequency do you need the mcu to run at for you to hit that 44.1khz number with an integer dividor? then it becomes mu...
by dannyf
Sun Jul 09, 2017 1:21 pm
Forum: Cores
Topic: List of cores currently available
Replies: 53
Views: 6971

Re: List of cores currently available

The most complex to me is Timers initialization
i think if you look at what you do with timers, the majority of them can be stylized. So rather than doing x y and z, you can simply do A which will do x y and z for you.

that's basically what modular programming / libraries are all about.
by dannyf
Sun Jul 09, 2017 1:18 pm
Forum: Welcome & FAQs
Topic: Welcome & 2 questions
Replies: 10
Views: 289

Re: Welcome & 2 questions

which board is best this moment? (I mean cheap boards). they typically go a few dollars - mine were like $2 shipped. you can get it done cheaper if you buy raw chips and do the fabrication yourself -> I have tons of ghetto boards exactly like that. the chips go for a little bit less than that. can ...