Search found 12 matches
- Wed Mar 20, 2024 11:49 am
- Forum: General discussion
- Topic: Related to ‘WATCHDOG’ function
- Replies: 1
- Views: 213
Re: Related to ‘WATCHDOG’ function
Check IWatchdog library, but remind after started, watchdog cannot be stopped, you have to periodically "kick the dog"
- Wed Mar 20, 2024 11:45 am
- Forum: General discussion
- Topic: ToneAC on stm32
- Replies: 1
- Views: 570
ToneAC on stm32
Hi all
I've used ToneAC library with arduino Uno (https://bitbucket.org/teckel12/arduino-toneac/wiki/Home), i tried to compile it with STM32duino but it is not compatible.
Do you know any alternative? I would like to play some louder sounds than tone library on a passive buzzer.
Thanks
I've used ToneAC library with arduino Uno (https://bitbucket.org/teckel12/arduino-toneac/wiki/Home), i tried to compile it with STM32duino but it is not compatible.
Do you know any alternative? I would like to play some louder sounds than tone library on a passive buzzer.
Thanks
- Tue Dec 05, 2023 5:17 pm
- Forum: General discussion
- Topic: #ifdef not working
- Replies: 3
- Views: 9769
#ifdef not working
Hi all In Arduino IDE i have this at my main code: #define TODAY #include "todayLib.h" and this on my todayLib.c library file: #ifdef TODAY Serial.print("Now is Today"); #else Serial.print("Now is not Today"); #endif If i run this code i see "Now is not Today"...
- Mon Nov 13, 2023 10:36 pm
- Forum: General discussion
- Topic: hardware serial for GSM
- Replies: 4
- Views: 4455
Re: hardware serial for GSM
After your confirmation that HardwareSerial Serial2(PA3, PA2); was the right syntax, i narrowed the problem to a simple swap TX and RX pins on the GSM side.
Thanks fpiSTM for your help, you point me into the right direction.
Thanks fpiSTM for your help, you point me into the right direction.
- Mon Nov 13, 2023 12:13 pm
- Forum: General discussion
- Topic: current in deepSleep mode STM32F103C8, STM32F401CC
- Replies: 10
- Views: 10665
Re: current in deepSleep mode STM32F103C8, STM32F401CC
How are you powering the devices?
Blackpill have AP7343 regulator, Bluepill have TX6211B regulator, check the datasheet.
Blackpill have AP7343 regulator, Bluepill have TX6211B regulator, check the datasheet.
- Mon Nov 13, 2023 11:43 am
- Forum: General discussion
- Topic: hardware serial for GSM
- Replies: 4
- Views: 4455
hardware serial for GSM
Hi All I've made a custom board with STM32L051 IC and i'm using Arduino_Core_STM32. I created a variant based on L051C(6-8)(T-U) example and changed Serial to UART1 (PA9,PA10 pins). My variant_mydevice.h looks like: // UART Definitions #ifndef SERIAL_UART_INSTANCE #define SERIAL_UART_INSTANCE 0 #end...
- Mon Sep 04, 2023 3:37 pm
- Forum: General discussion
- Topic: Disabling Watchdog
- Replies: 4
- Views: 758
Re: Disabling Watchdog
I'm doing a batery operated project, i'm saving all uA i can... now i have to wake like every 20 seconds just to kick the watchdog ass... Too bad...
Thank's guys for your help.
Thank's guys for your help.
- Sun Sep 03, 2023 7:57 pm
- Forum: General discussion
- Topic: Disabling Watchdog
- Replies: 4
- Views: 758
Disabling Watchdog
Hi I'm using STM32 core on a Nucleo64 board. The board is most of the time sleeping and sometimes it wakes from sleep to grab some sensors data and send it to a server. I want to implement a watchdog only on the "wake" part of the code, and i tried the IWatchdog library. the problem is whe...
- Mon Feb 13, 2023 12:09 pm
- Forum: Custom design boards
- Topic: LSE RTC crystal drift
- Replies: 4
- Views: 4962
Re: LSE RTC crystal drift
I tried with different cap values but didn't make any difference.
Last i changed the crystal and LSI start working, so the problem was a bad/defective crystal.
Thank's all for your help.
Last i changed the crystal and LSI start working, so the problem was a bad/defective crystal.
Thank's all for your help.
- Tue Feb 07, 2023 6:27 pm
- Forum: Custom design boards
- Topic: LSE RTC crystal drift
- Replies: 4
- Views: 4962
LSE RTC crystal drift
Hi all I made a custom board based on STM32L052C8T6 with a 32.768Khz crystal (ABS05-32.768kHz-T) and 2x15pF caps. I uploaded simpleRTCAlarm example that fires an alarm every 60 second. If i use the LSI every alarm fires around 58 seconds (measured with my stopwatch). But if i use the LSE every alarm...