Search found 10 matches

by Jakub_Szubzda
Fri Aug 21, 2020 1:18 pm
Forum: STM32F1 based boards
Topic: STM32F103C8T6 + neopixels
Replies: 9
Views: 16609

Re: STM32F103C8T6 + neopixels

Adafruit library works only with STM32 core. :o :o :o :o :o :o Oh man so simple, still so hard. Thank you so much it really helps me to complete this project. if anyone has problem with finding upper mentioned core you just have to go: File > Preferences > Additional boards Menager URLs and paste t...
by Jakub_Szubzda
Fri Aug 21, 2020 1:05 pm
Forum: STM32F1 based boards
Topic: STM32F103C8T6 + neopixels
Replies: 9
Views: 16609

Re: STM32F103C8T6 + neopixels

Have you tried to g**gle stm32 + neopixel + library One of the results: https://github.com/rogerclarkmelbourne/WS2812B_STM32_Libmaple yes i have downloaded this library before and it works, but unfortunatelly uses spi, which in my project is already used by nrf24l01 module. Both cannot work togethe...
by Jakub_Szubzda
Thu Aug 20, 2020 10:55 am
Forum: STM32F1 based boards
Topic: STM32F103C8T6 + neopixels
Replies: 9
Views: 16609

Re: STM32F103C8T6 + neopixels

This one
by Jakub_Szubzda
Thu Aug 20, 2020 1:34 am
Forum: STM32F1 based boards
Topic: STM32F103C8T6 + neopixels
Replies: 9
Views: 16609

Re: STM32F103C8T6 + neopixels

GonzoG wrote: Wed Aug 19, 2020 11:14 pm Just change
#define PIN 6
to
#define PIN PA10

But Adafruit library isn't optimized for STMs and on F103 it takes over 1ms to send data for 8 LEDs (about 280-300us on Arduino UNO/nano).
sorry i sent pure example, but of course I changed pin. It still doesn't work.
by Jakub_Szubzda
Wed Aug 19, 2020 10:15 pm
Forum: STM32F1 based boards
Topic: STM32F103C8T6 + neopixels
Replies: 9
Views: 16609

STM32F103C8T6 + neopixels

so I'd like to drive neopixels using STM32F103C8T6's PA10 pin with Adafruit_NeoPixel library, and arduino ide as you can do with arduino uno, but i have no idea how, so i'd be very glad if someone helped me with this. :?: i also attach example: #include <Adafruit_NeoPixel.h> #ifdef __AVR__ #include ...
by Jakub_Szubzda
Mon Jun 15, 2020 10:04 am
Forum: STM32F1 based boards
Topic: Using STM32F103C8T6 PWM pin to drive ws2812b Neopixel Ring in arduino IDE
Replies: 13
Views: 24835

Re: Using STM32F103C8T6 PWM pin to drive ws2812b Neopixel Ring in arduino IDE

What problem did you have with the ST core and the Adafruit library? fpiSTM said it works, but I have not tried it. I don't really know what's wrong with it, but no matter what i try to do it just doesn seem to light leds. As I mentioned above, on SP2 you can only get max 18MHz, that is why the pul...
by Jakub_Szubzda
Sat Jun 13, 2020 1:06 pm
Forum: STM32F1 based boards
Topic: Using STM32F103C8T6 PWM pin to drive ws2812b Neopixel Ring in arduino IDE
Replies: 13
Views: 24835

Re: Using STM32F103C8T6 PWM pin to drive ws2812b Neopixel Ring in arduino IDE

So, you are still using Roger's core and WS2812B library? Yes i'm using Roger's library, because when i try to use adafruit neopixels library it just doesn't work. When I run it, I have no LED string connected, but I can see output on SPI2 - PB15. However, the timing is not as expected. It is in th...
by Jakub_Szubzda
Fri Jun 12, 2020 2:35 pm
Forum: STM32F1 based boards
Topic: Using STM32F103C8T6 PWM pin to drive ws2812b Neopixel Ring in arduino IDE
Replies: 13
Views: 24835

Re: Using STM32F103C8T6 PWM pin to drive ws2812b Neopixel Ring in arduino IDE

SPI.setModule(1); // call here functions related to NRF module using SPI1 ... SPI.setModule(2); // call here functions related to WS using SPI2 I tried this, but all it does is lights leds full white and nothing more, some suggestions? Here is code i use: #include <WS2812B.h> #include <SPI.h> #incl...
by Jakub_Szubzda
Wed Jun 10, 2020 4:36 pm
Forum: STM32F1 based boards
Topic: Using STM32F103C8T6 PWM pin to drive ws2812b Neopixel Ring in arduino IDE
Replies: 13
Views: 24835

Using STM32F103C8T6 PWM pin to drive ws2812b Neopixel Ring in arduino IDE

So, I've been trying to use pwm pin of STM32F103C8T6 board (bluepill) to drive WS2812b RGB ring, but i'm not such a pro to achive that. Firstly I tried to use this: https://github.com/adafruit/Adafruit_NeoPixel library, but it seems to work only on arduino board. Then I tried this: https://github.co...

Go to advanced search