Search found 98 matches
- Sun Jan 24, 2021 8:45 pm
- Forum: Ideas & suggestions
- Topic: LCD
- Replies: 16
- Views: 522
Re: LCD
Ray's advice to store local copies of the libraries with each project is sound. I've had a couple of projects unexpectedly fail to compile after a 3rd party library was automatically updated. Now I always copy any needed libraries into the project folder.
- Sat Jan 16, 2021 8:18 pm
- Forum: STM32F4 based boards
- Topic: New STM32F401CCU6 Black Pill
- Replies: 3
- Views: 141
Re: New STM32F401CCU6 Black Pill
No need for additional bootloaders.
Press both buttons, release reset, release boot 0. That should put you in dfu mode.
Press both buttons, release reset, release boot 0. That should put you in dfu mode.
- Fri Jan 15, 2021 6:25 pm
- Forum: General discussion
- Topic: Factory Resetting my Blue Pill
- Replies: 4
- Views: 94
Re: Factory Resetting my Blue Pill
For new users, the recommended path is to use the official STM core. https://github.com/stm32duino/Arduino_Core_STM32 If you installed the Roger/Maple bootloader, your SWD pins used by ST-Link are likely disabled. Try to upload a blink sketch using the ST-Link. Press reset, click upload, release res...
- Thu Jan 14, 2021 4:28 am
- Forum: General discussion
- Topic: [SOLVED] Temp sensor DS18B20 on STM32 sometimes read 85
- Replies: 13
- Views: 451
Re: Temp sensor DS18B20 on STM32 sometimes read 85
Assuming the schematic is for a carrier board that holds the blue pill board, I would first power the blue pill separately and just hook up the sensor. If that works, I would hook up the other used pins one at a time until the problem reappears. I read somewhere that the pins going to the crystals n...
- Thu Jan 07, 2021 3:02 pm
- Forum: General discussion
- Topic: [SOLVED] Temp sensor DS18B20 on STM32 sometimes read 85
- Replies: 13
- Views: 451
Re: Temp sensor DS18B20 on STM32 sometimes read 85
PB5 - I copied and pasted your code without any modification. +------+ | Vcc |---+-----+------> 3.3V | | | | | | | | | 4.7K resistor | | | | | Data |---------+------> PB5 | | | | | --- | | --- 0.1uf capacitor | | | | GND |---+------------>GND +------+ DS18B20 Mine is one of those waterproof sensors ...
- Thu Jan 07, 2021 6:24 am
- Forum: General discussion
- Topic: [SOLVED] Temp sensor DS18B20 on STM32 sometimes read 85
- Replies: 13
- Views: 451
Re: Temp sensor DS18B20 on STM32 sometimes read 85
Your code seems to work on my sensor. I'm not seeing any unexpected readings.
I have a 0.1uf capacitor across 3.3v and GND, but it is mostly there to have a place to land the dupont wires.
I am using same board and core as you.
I have a 0.1uf capacitor across 3.3v and GND, but it is mostly there to have a place to land the dupont wires.
I am using same board and core as you.
- Tue Dec 22, 2020 5:16 am
- Forum: STM32F1 based boards
- Topic: Overriding yield() prevents sketch from starting
- Replies: 3
- Views: 250
Re: Overriding yield() prevents sketch from starting
TM1637 devices have a maximum clock frequency of 250 kHz. A delay time of 4-5 microseconds should be plenty. Also, these displays are simple enough that you really don't need a dedicated library. See https://github.com/moozzyk/TM1637Clock for an example of communications without a library.
- Fri Dec 18, 2020 7:58 pm
- Forum: Projects
- Topic: Goertzel for stm32f103 LCD
- Replies: 17
- Views: 1140
Re: Goertzel for stm32f103 LCD
You might find some useful info here: https://github.com/jmharvey1/STM32_CWDecoder. The tone detection has been solved using a timer interrupt.
- Thu Dec 17, 2020 7:21 pm
- Forum: Projects
- Topic: Goertzel for stm32f103 LCD
- Replies: 17
- Views: 1140
Re: Goertzel for stm32f103
Replacing _N in Goertzel.cpp as advised by fpiSTM allows the example program to compile without error. This will probably need more work to actually do something useful as the CPU frequencies are quite different between the two processors. 26 int _Number; 48 _Number=MAXN; 50 _Number=N; Sketch uses 2...
- Sat Nov 28, 2020 6:45 am
- Forum: General discussion
- Topic: [Solved] I need to return a single value from incoming serial data...
- Replies: 37
- Views: 2579
Re: I need to return a single value from incoming serial data...
P.S. If someone suggest me a best e-book to learn arduino programming, I'll be so grateful to ya. Thanks in advance. The book I started with many years ago and still use as a reference is "Arduino Cookbook." See https://books.google.com/books?id=raHyKejOBF4C&pg=PA142#v=onepage&q&f=false page 142 fo...