Hi all
I have a PWM RGB led connected to PB5 (red), PB14 (green) and PB2 (blue) on a custom board with STM32L051T6.
Can someone confirm that PB5 is a PWM pin ?
From https://www.st.com/resource/en/datasheet/stm32l051c6.pdf page 42 it says TIM22_CH2, but when i do a analogWrite(PB5,255) does not ...
Search found 22 matches
- Tue Apr 29, 2025 8:46 pm
- Forum: General discussion
- Topic: PWM on PB5 pin
- Replies: 1
- Views: 25
- Fri Feb 28, 2025 12:06 am
- Forum: General discussion
- Topic: PL9823 RGB led
- Replies: 6
- Views: 484
Re: PL9823 RGB led
I put my multimeter on diode test position and checked every pin, always showing infinite value. The only moment i see some readings was with the negative probe on the 3rd pin (counting from the flat side) and the positive probe on the others. Apparently could be a RGB led, being the 3rd leg the ...
- Wed Feb 26, 2025 3:52 pm
- Forum: General discussion
- Topic: PL9823 RGB led
- Replies: 6
- Views: 484
Re: PL9823 RGB led
Thanks guys for your answers.
I had a 500ohm resistor in the data line, i remove it and using
Adafruit_NeoPixel pixels(NUMPIXELS, PIN, NEO_RGB + NEO_KHZ400)
it works but with erronious behavior. Issuing a red color it shows green, blue color does not show and green color shows as purple.
I ...
I had a 500ohm resistor in the data line, i remove it and using
Adafruit_NeoPixel pixels(NUMPIXELS, PIN, NEO_RGB + NEO_KHZ400)
it works but with erronious behavior. Issuing a red color it shows green, blue color does not show and green color shows as purple.
I ...
- Wed Feb 26, 2025 2:54 pm
- Forum: General discussion
- Topic: Debug in Arduino IDE - is it possible? ...or even Platform IO
- Replies: 6
- Views: 554
Re: Debug in Arduino IDE - is it possible? ...or even Platform IO
That chapter is for SAMD boards, i assume it will work for STM32, right?
I have one nucleo-64 with integrated stlink programmer, i'll give it a try.
Thanks
I have one nucleo-64 with integrated stlink programmer, i'll give it a try.
Thanks
- Tue Feb 25, 2025 10:13 pm
- Forum: General discussion
- Topic: PL9823 RGB led
- Replies: 6
- Views: 484
PL9823 RGB led
Hi all
Has anyone successfully put stm32 to work with PL9823 RGB leds?
I'm using Adafruit neopixel library without success, i can only see my led turning blue and nothing else.
Here's my code, it should blink blue, green, red
#include <Adafruit_NeoPixel.h>
#define PIN PA12
#define NUMPIXELS 1 ...
Has anyone successfully put stm32 to work with PL9823 RGB leds?
I'm using Adafruit neopixel library without success, i can only see my led turning blue and nothing else.
Here's my code, it should blink blue, green, red
#include <Adafruit_NeoPixel.h>
#define PIN PA12
#define NUMPIXELS 1 ...
- Tue Feb 25, 2025 10:03 pm
- Forum: General discussion
- Topic: Debug in Arduino IDE - is it possible? ...or even Platform IO
- Replies: 6
- Views: 554
Re: Debug in Arduino IDE - is it possible? ...or even Platform IO
Debugging stm32 in arduino IDE sounds great, do you have a roadmap how to do it? I cannot find much information on internet...
- Wed Jul 17, 2024 1:51 pm
- Forum: General discussion
- Topic: Problem after upgrade STM32 MCU based boards
- Replies: 3
- Views: 3126
Re: Problem after upgrade STM32 MCU based boards
I didn't notice that. I upgraded to arduino 2.3.2 and now it works.
Thanks
Thanks
- Wed Jul 17, 2024 11:17 am
- Forum: General discussion
- Topic: Problem after upgrade STM32 MCU based boards
- Replies: 3
- Views: 3126
Problem after upgrade STM32 MCU based boards
Hi all
Today i upgrade STM32 MCU based boards to version 2.8.0 and now when i upload a sketch to my nucle64 i get this error:
java.io.IOException: Cannot run program "{tools_bin_path}/massStorageCopy.bat": CreateProcess error=2, The system cannot find the file specified
I searched for ...
Today i upgrade STM32 MCU based boards to version 2.8.0 and now when i upload a sketch to my nucle64 i get this error:
java.io.IOException: Cannot run program "{tools_bin_path}/massStorageCopy.bat": CreateProcess error=2, The system cannot find the file specified
I searched for ...
- Wed Jul 17, 2024 11:00 am
- Forum: General discussion
- Topic: PN532 on SPI not working
- Replies: 2
- Views: 21195
Re: PN532 on SPI not working
I ended using other PN532 library and now it is working, so the problem seems to be on the adafruit library.
Thanks.
Thanks.
- Thu May 02, 2024 9:24 am
- Forum: General discussion
- Topic: PN532 on SPI not working
- Replies: 2
- Views: 21195
PN532 on SPI not working
Hi all
I have a RFID PN532 module with SPI and i tested it with arduino using Adafruit_PN532 library, it works ok. I'm using these pins:
#define PN532_SCK 13
#define PN532_MOSI 11
#define PN532_SS 16
#define PN532_MISO 12
Adafruit_PN532 nfc(PN532_SCK, PN532_MISO, PN532_MOSI, PN532_SS);
Next ...
I have a RFID PN532 module with SPI and i tested it with arduino using Adafruit_PN532 library, it works ok. I'm using these pins:
#define PN532_SCK 13
#define PN532_MOSI 11
#define PN532_SS 16
#define PN532_MISO 12
Adafruit_PN532 nfc(PN532_SCK, PN532_MISO, PN532_MOSI, PN532_SS);
Next ...