Thank you @mrburnette for the detailed reply. Thanks for the warning too, I might have missed that and damaged the board.
I will try out the simulator first.
Search found 8 matches
- Wed Sep 23, 2020 4:41 pm
- Forum: General discussion
- Topic: analogRead showing a digital behaviour
- Replies: 6
- Views: 5622
- Tue Sep 22, 2020 5:37 am
- Forum: General discussion
- Topic: analogRead showing a digital behaviour
- Replies: 6
- Views: 5622
Re: analogRead showing a digital behaviour
Thank you all for the replies.
I did not realize that there is no DAC in the board, so I was under the assumption that I can simply use analogWrite.
mrburnette thanks for the link! It mentions that an analog output can be obtained by filtering the digital output, so I believe a series RC will ...
I did not realize that there is no DAC in the board, so I was under the assumption that I can simply use analogWrite.
mrburnette thanks for the link! It mentions that an analog output can be obtained by filtering the digital output, so I believe a series RC will ...
- Sun Sep 20, 2020 3:47 pm
- Forum: General discussion
- Topic: analogRead showing a digital behaviour
- Replies: 6
- Views: 5622
analogRead showing a digital behaviour
Hello everyone,
I have seen an earlier post about this, and tried reading voltage using several pins, but am unable to figure out the problem.
The board I am using is STM32F103C8T6 and the core is the STM32 official core. I want to measure an analog voltage with a 12 bit resolution. I am using ...
I have seen an earlier post about this, and tried reading voltage using several pins, but am unable to figure out the problem.
The board I am using is STM32F103C8T6 and the core is the STM32 official core. I want to measure an analog voltage with a 12 bit resolution. I am using ...
- Sat Jul 25, 2020 1:52 pm
- Forum: General discussion
- Topic: Need some help with Bluetooth communication
- Replies: 8
- Views: 14389
Re: Need some help with Bluetooth communication
Sorry for not mentioning the core. I realized some mistakes I made and reinstalled stuff again.
1. Initially, I followed a tutorial on youtube without paying attention to what "core" is. I used this link to install the boards: http://dan.drown.org/stm32duino/package_STM32duino_index.json
2. I ...
1. Initially, I followed a tutorial on youtube without paying attention to what "core" is. I used this link to install the boards: http://dan.drown.org/stm32duino/package_STM32duino_index.json
2. I ...
- Sat Jul 25, 2020 8:51 am
- Forum: General discussion
- Topic: Need some help with Bluetooth communication
- Replies: 8
- Views: 14389
Re: Need some help with Bluetooth communication
Hi,
I am encountering this error in the definition of HardwareSerial:
Bluetooth_Basic:28:32: error: no matching function for call to 'HardwareSerial::HardwareSerial(<anonymous enum>, <anonymous enum>)'
HardwareSerial Serial1(PA10,PA9);
^
/home/user/Documents/stm32_stuff/codes/Bluetooth_Basic ...
I am encountering this error in the definition of HardwareSerial:
Bluetooth_Basic:28:32: error: no matching function for call to 'HardwareSerial::HardwareSerial(<anonymous enum>, <anonymous enum>)'
HardwareSerial Serial1(PA10,PA9);
^
/home/user/Documents/stm32_stuff/codes/Bluetooth_Basic ...
- Fri Jul 24, 2020 4:18 pm
- Forum: General discussion
- Topic: Need some help with Bluetooth communication
- Replies: 8
- Views: 14389
Re: Need some help with Bluetooth communication
I have tried doing what you suggested, but the result is still the same, nothing is being printed in the serial monitor in the IDE. Serial1.write() isn't printing anything to the serial monitor.
Initially with the blink code, I have used Serial to print the state of the LED, and it worked. So I ...
Initially with the blink code, I have used Serial to print the state of the LED, and it worked. So I ...
- Fri Jul 24, 2020 12:10 pm
- Forum: General discussion
- Topic: Need some help with Bluetooth communication
- Replies: 8
- Views: 14389
Need some help with Bluetooth communication
Hi, I am attempting to run a basic code which will print the text entered in the serial monitor of the Arduino IDE to the mobile phone and vice versa. I am using a bluetooth terminal app on the phone and a HC-05 bluetooth module. I am using an FTDI module to program the STM32. The board I am using ...
- Fri Jul 24, 2020 12:05 pm
- Forum: Let us know a bit about you and your projects
- Topic: Hi Everyone
- Replies: 1
- Views: 3557
Hi Everyone
I am currently working on a bluetooth communication project where I have to use an android app and send commands to STM32 via bluetooth and then receive processed data from STM32 to android. I have come across a problem. I will post it in the relevant section.