Search found 9 matches

by bumbur
Mon Dec 12, 2016 4:44 pm
Forum: Hardware
Topic: Brushless motor doesn't spin for all angles
Replies: 0
Views: 226

Brushless motor doesn't spin for all angles

I calibrated my ESC with values: min=1000, max=2000 (unfortunately I have no idea what the corrects number should be as I have some no name Chinese ESC). I attached it with: Servo motA; motA.attach(PB0, 1000, 2000); And I'm sending angle value like that: motA.write(value) But the motor doesn't spin ...
by bumbur
Sun Nov 27, 2016 11:20 pm
Forum: General discussion
Topic: Use both I2C1 and I2C2
Replies: 5
Views: 744

Re: Use both I2C1 and I2C2

At the end of the Wire.cpp file you can see : TwoWire Wire(PB6, PB7, SOFT_STANDARD); So, in you own code, you can add : TwoWire Wire2(PB8, PB9, SOFT_STANDARD); Thank you very much! Just out if curiosity, why do you want them on 2 different busses, I2C is designed for multiple devices on the same bu...
by bumbur
Sun Nov 27, 2016 4:21 pm
Forum: General discussion
Topic: Use both I2C1 and I2C2
Replies: 5
Views: 744

Use both I2C1 and I2C2

Hi, I'm sorry if it's a wrong thread but here is my question. How to use both I2C1 (PB6,PB7) and I2C2 (PB8, PB9) in stm32duino? I would like to use jrowberg's libraries for BMP85 and MPU6050 but I just can't figure out how to do it having these two devices connected to different I2C's. Wire.begin() ...
by bumbur
Tue Nov 08, 2016 9:19 pm
Forum: Projects
Topic: Quadcopter project - need some advice
Replies: 3
Views: 629

Re: Quadcopter project - need some advice

Are you sure u want to use freeRTOS? What is the reasoning behind? Otherwise i would just use stm32duino package +Arduino and implement each feature one after another. First try i2c. If it works then go for the next feature and so on. Like I said it is a project at the university so the logic behin...
by bumbur
Tue Nov 08, 2016 6:15 pm
Forum: Projects
Topic: Quadcopter project - need some advice
Replies: 3
Views: 629

Quadcopter project - need some advice

Hi, I am doing a quadcopter as a project at my university. I have a plan and started testing my devices but before I actually start real work I wanted to ask you - what do you guys think about it all, if it's okay etc. So my setup is: - STM32F103C8T6 board - USB2TTL adapter - gyro+acc MPU6050 - baro...
by bumbur
Fri Oct 21, 2016 10:22 am
Forum: STM32F103 Boards
Topic: Failed to init device / No response from the target
Replies: 9
Views: 1702

Re: Failed to init device / No response from the target

You may also want to take a look at the wiki page for that board http://wiki.stm32duino.com/index.php?title=Blue_Pill as some boards have the wrong USB pullup resistor fitted (10k when it should be 1.5k). So if USB is not working, you'll need to do the modification as listed in the wiki Sorry for n...
by bumbur
Thu Oct 20, 2016 11:00 pm
Forum: STM32F103 Boards
Topic: Failed to init device / No response from the target
Replies: 9
Views: 1702

Re: Failed to init device / No response from the target

I didnt know UART 2 would work Have you tried swapping RX and TX (some USB to Serial have incorrect TX and RX markings - they have TXC and RXC not TXD and RXD etc) I often put them around the wrong way and it doesnt work, so I have to try the other way. You could also try powering the board from US...
by bumbur
Thu Oct 20, 2016 9:09 pm
Forum: STM32F103 Boards
Topic: Failed to init device / No response from the target
Replies: 9
Views: 1702

Re: Failed to init device / No response from the target

I'm 100% sure it's COM4: http://image.prntscr.com/image/67ce3dffc8cb49c7b65f2aeef24c8f8b.png I checked loopback and it's working, I can see the letters in Putty. ST Flash Loader still not working, I checked all possible Baud Rates :cry: I also tried UART2 so PA2 and PA3 but it doesn't work either.
by bumbur
Thu Oct 20, 2016 7:04 pm
Forum: STM32F103 Boards
Topic: Failed to init device / No response from the target
Replies: 9
Views: 1702

Failed to init device / No response from the target

Hello everyone! I am new here and sadly I started my journey with stm32 boards with a huge problem. I have spent hours trying to figure out what is wrong and hopefully I will be able to find someone here who could help me. Okay, so: I have bought STM32F103C8T6 ARM STM32 Minimum System and it looks l...