Search found 30 matches
- Tue May 19, 2020 1:29 pm
- Forum: General discussion
- Topic: RTC subseconds
- Replies: 4
- Views: 5042
RTC subseconds
Hey everybody :) I'm using the STM32RTC.h lib on a Bluepill and would like to print data and timestamps into a .csv file. I think rtc.getSubSeconds should give back milliseconds or am I wrong? I tried a small example and get back only zeros. Does somebody know what I am doing wrong? #include "S...
- Thu May 14, 2020 7:28 am
- Forum: General discussion
- Topic: int16_t strange behaviour?
- Replies: 5
- Views: 4701
int16_t strange behaviour?
This might be a really stupid question, but I'm a little bit confused. I use an int16_t variable in a bluepill Programm and would like to do some bit operations - but it does not work as i expect it. when I use Serial.print() i would expect something with 4 Hex Variables, but it returns 8: int16_t c...
- Fri May 08, 2020 6:26 am
- Forum: General discussion
- Topic: question related to PWM_FullConfiguration
- Replies: 3
- Views: 3481
Re: question related to PWM_FullConfiguration
Thanks! it works fine! I was confused because of the "new" in Hardwaretimer *MyTim = new HardwareTimer(Instance); I think I lack the deeper understanding of programming... if anyone would like to explain it, I would be grateful - but it is not necesseray to mark this post as solved. greets...
- Thu May 07, 2020 3:55 pm
- Forum: General discussion
- Topic: question related to PWM_FullConfiguration
- Replies: 3
- Views: 3481
question related to PWM_FullConfiguration
Hey :) I'm working with the example https://github.com/stm32duino/STM32Examples/blob/master/examples/Peripherals/HardwareTimer/PWM_FullConfiguration/PWM_FullConfiguration.ino and it works quite well on my BluePill board! question: Is it possible to update frequency and DutyCycle in the loop Function...
- Sat Mar 21, 2020 11:37 am
- Forum: General discussion
- Topic: Custom STM32F103C8 SD Card Datalogger and USB Port
- Replies: 5
- Views: 15819
Re: Custom STM32F103C8 SD Card Datalogger and USB Port
ok, that's good to know! But what about the Layout? USB has a 5V Level and the STM is at 3.3V. So i do not knwo how to design the PCB of the USB connection correctly. Any ideas or examples? greetings, Jens EDIT: Ok, i was just to stupid to google. Found something! https://www.mikrocontroller.net/wik...
- Fri Mar 20, 2020 1:07 pm
- Forum: General discussion
- Topic: Custom STM32F103C8 SD Card Datalogger and USB Port
- Replies: 5
- Views: 15819
Re: Custom STM32F103C8 SD Card Datalogger and USB Port
Hey Thanks for your reply!
Do you also have any ideas about the USB question?
Do you also have any ideas about the USB question?
- Thu Mar 19, 2020 3:29 pm
- Forum: General discussion
- Topic: Custom STM32F103C8 SD Card Datalogger and USB Port
- Replies: 5
- Views: 15819
Custom STM32F103C8 SD Card Datalogger and USB Port
Hey everybody, i would like to design my own STM32F103 Board. There should be an micro SD Card reader on it and also an easy way to programm the board with USB. For the SD Card It seems to be a really straight forward design if you use SPI and the 3.3V Level of the STM32. Is it that easy?! just conn...
- Wed Mar 04, 2020 4:03 pm
- Forum: General discussion
- Topic: Bluepill as I2C Master and Slave
- Replies: 3
- Views: 6459
Re: Bluepill as I2C Master and Slave
Hey :) thanks for your answer! with the updatet wire.h library it works most of the time. Sometimes i do have a breakdown on the second i2c Bus. (attached picture) i2c2_breakdown2.JPG Could be the reason, that I reuse the same variable to store the Sensor Variable and then send them away? Is it poss...
- Mon Mar 02, 2020 4:01 pm
- Forum: General discussion
- Topic: Bluepill as I2C Master and Slave
- Replies: 3
- Views: 6459
Bluepill as I2C Master and Slave
Hey everybody, I'm playing around with a bluepill Board. The Idea is to create a few boards with STM32F103 Prozessors. These Boards shell collect data and do some other stuff. Sometimes a Raspberry will collect some data. (Sometimes in fact is 10ms ;) ) Currently i'm using a Raspberry pi 4 as an I2C...
- Mon Feb 24, 2020 10:47 am
- Forum: Let us know a bit about you and your projects
- Topic: Hey everybody :)
- Replies: 3
- Views: 3302
Hey everybody :)
Hey everybody, my name is Jens and currently I'm working on a project in which I will use STM32 boards to control different sensor Modules and communicate with each other. The idea is to have a Master and some slaves. The slaves collect data from sensors and do some control work. The Master will col...