Search found 21 matches

by leonana69
Thu Oct 21, 2021 3:04 pm
Forum: Quadcopters
Topic: crazyflie firmware with STM32CubeMX
Replies: 0
Views: 47310

crazyflie firmware with STM32CubeMX

I spend last month improving the portability of crazyflie-firmware, here is my project: https://github.com/Leonana69/POD-Firmware The idea is to use STM32CubeMX to generate the initialization codes, and I tried to make the least changes to those generated files and keep all hardware-related configur...
by leonana69
Sat Dec 05, 2020 10:54 pm
Forum: Technology
Topic: CF Bolt schematic @Tobias
Replies: 1
Views: 9451

CF Bolt schematic @Tobias

Hi, I'm curious about the schematic design of cf bolt. It seems the STM_SWIO and STM_SWCLK are not connected with the NRF, then how the NRF flash the firmware for STM32?
by leonana69
Tue Sep 22, 2020 2:32 pm
Forum: Quadcopters
Topic: NRF Firmware
Replies: 3
Views: 2075

Re: NRF Firmware

Hi! Just to make your post a bit more clear: When you try to flash the NRF, are you using the debug adapter right? You are not trying to flash the NRF through the white connector that is already connected to the Crazyflie? And are you using an stlink or another debugger? Yes, I flashed the NRF thro...
by leonana69
Tue Sep 22, 2020 5:29 am
Forum: Quadcopters
Topic: NRF Firmware
Replies: 3
Views: 2075

NRF Firmware

After I tried to flash the NRF chip, I can't connect to the drone anymore. Here is what I get when trying to flash the NRF. make flash openocd -d2 -f interface/stlink-v2-1.cfg -f target/nrf51.cfg -c init -c targets -c "reset halt" \ -c "flash write_image erase cf2_nrf.hex" -c &qu...
by leonana69
Wed Jul 22, 2020 3:51 am
Forum: Quadcopters
Topic: CF Bolt schematic
Replies: 1
Views: 1648

CF Bolt schematic

I see that in the cf bolt schematic, the STM_SWIO and STM_SWCLK are not connecting to the NRF51822, so how can the RF chip upload the firmware?
by leonana69
Tue Jun 02, 2020 5:57 am
Forum: Bitcraze
Topic: Oscillator for NRF51822
Replies: 1
Views: 1419

Oscillator for NRF51822

Hi, I'd like to know the specific type of X3 16MHz oscillator. It seems to need power, but two terminals are connected to GND.
by leonana69
Fri Apr 17, 2020 2:49 pm
Forum: Bitcraze
Topic: Make a more powerful but still tiny drone.
Replies: 27
Views: 14724

Re: Make a more powerful but still tiny drone.

@leonana69 may you share your pid and thrust base values so I can compare to the crazyflie and make the right decision for my new quad? The thrustBase is 32000 and thrustMin is 20000. For height control PID, the PID_Z_RATE_KP/KI/KD are 7.0/2.0/0.3, the PID_K_KP/KI/KD are 10.0/2.0/1.0. I didn't chan...
by leonana69
Tue Mar 31, 2020 11:57 pm
Forum: Quadcopters
Topic: Sensor BMI088 and BMP388
Replies: 2
Views: 2835

Re: Sensor BMI088 and BMP388

The reason for that is that it might be possible to build a very small and powerful quadrotor using the Bolt. Then the latency between the sensor readings and motor output will be more important. The SPI has lower latency and therefore this was chosen. It adds some possible compatibility issues tho...
by leonana69
Tue Mar 31, 2020 12:46 am
Forum: Quadcopters
Topic: Sensor BMI088 and BMP388
Replies: 2
Views: 2835

Sensor BMI088 and BMP388

I wonder is there any reason for changing I2C to SPI DMA way of reading sensors data in cf bolt?
by leonana69
Tue Mar 31, 2020 12:40 am
Forum: Bitcraze
Topic: Make a more powerful but still tiny drone.
Replies: 27
Views: 14724

Re: Make a more powerful but still tiny drone.

Very nicely done! Did you also get the flow deck to work OK? I think there are some parameters that needs to be changed/tuned to compensate for the different inertia, weight and thrust. Yes, I re-tuned the PID controller, changed the thrustBase in the position_controller_pid.c to match the current ...