Search found 5961 matches

by RogerClark
Tue Jun 27, 2017 9:49 pm
Forum: General discussion
Topic: Recommended TFT LCD displays for stmduino compatible boards?
Replies: 8
Views: 92

Re: Recommended TFT LCD displays for stmduino compatible boards?

I have seen some 3.5 inch SPI displays, but not much bigger than that.
by RogerClark
Tue Jun 27, 2017 9:45 pm
Forum: Problems with libraries
Topic: Configurable libraries?
Replies: 3
Views: 39

Re: Configurable libraries?

I don't think this is possible, because the defines would need to be in a header that the library includes. And the libraries do not include headers from the sketch folder. With a Make based build system, those defines would be passed directly to the compiler using the -Dxxx syntax, but the Arduino ...
by RogerClark
Tue Jun 27, 2017 9:41 pm
Forum: General discussion
Topic: distance sensor VL6180
Replies: 8
Views: 74

Re: distance sensor VL6180

How much current does it take?

Perhaps you can drop 3.3v to 2.7 with 2 diodes in series
by RogerClark
Tue Jun 27, 2017 9:37 pm
Forum: General discussion
Topic: convert PORT to int
Replies: 9
Views: 86

Re: convert PORT to int

AFIK

const int , would also be OK,
by RogerClark
Tue Jun 27, 2017 9:32 pm
Forum: STM Nucleo boards
Topic: STM32F091 ADC resolution 10 bit instead of 12 bit
Replies: 22
Views: 195

Re: STM32F091 ADC resolution 10 bit instead of 12 bit

zmemw16 wrote:
Tue Jun 27, 2017 3:26 pm
roger,
could you please try it with 7.5v / 9v / 12v and report your findings :D
actually 12v would be redundant as i already know the answer is copious.
stephen
I may try 5v again, because I have 2 old Red Pill boards, which are partially broken already, as the USB connections keep breaking
by RogerClark
Tue Jun 27, 2017 9:27 pm
Forum: Projects
Topic: OV7670, Generic STM32F103RC and ILI9341 display
Replies: 93
Views: 6599

Re: OV7670, Generic STM32F103RC and ILI9341 display

Individual byte writes to SPI are not that fast

I use dmaSend() a whole line at a time

Edit.

I have QVGA

I will download later
by RogerClark
Tue Jun 27, 2017 12:54 pm
Forum: Linux
Topic: Install STM32duino on Raspbian?
Replies: 17
Views: 152

Re: Install STM32duino on Raspbian?

There is something odd with the board name, as lib maple does not support the nucleo 03

I wonder if you are mixing STMs core with the PR for the LibMaple core ??
by RogerClark
Tue Jun 27, 2017 12:52 pm
Forum: STM Nucleo boards
Topic: STM32F091 ADC resolution 10 bit instead of 12 bit
Replies: 22
Views: 195

Re: STM32F091 ADC resolution 10 bit instead of 12 bit

On the subject of magic smoke, I am sure I accidentally powered a F103VET board or several hour from 5V and it survived !

I think on the whole the STM32F103 MCU is quite robust
by RogerClark
Tue Jun 27, 2017 12:49 pm
Forum: General discussion
Topic: convert PORT to int
Replies: 9
Views: 86

Re: convert PORT to int

Different port pins are part of an enum, like this: https://github.com/rogerclarkmelbourne/Arduino_STM32/blob/master/STM32F1/variants/maple_mini/board/board.h#L76 Well, actually they should be identical, but I don't know the logic behind why the pins are not taken in the same order for each variant...
by RogerClark
Tue Jun 27, 2017 10:51 am
Forum: General discussion
Topic: SD card on ILI9341 display board??
Replies: 19
Views: 262

Re: SD card on ILI9341 display board??

ag123 wrote:
Tue Jun 27, 2017 6:27 am
i shorted those spi lines, replace with wires it seemed to work just ok for me, no problems so far :?
I will do that until I get some resistors