❌

Normal view

There are new articles available, click to refresh the page.
Before yesterdayMain stream

Building a Raspberry Pi Pico 2-powered drone from scratch

16 October 2024 at 14:59

The summer, and Louis Wood’s internship with our Maker in Residence, was creeping to a close without his final build making it off the ground. But as if by magic, on his very last day, Louis got his handmade drone flying.

3D-printed CAD design

The journey of building a custom drone began with designing in CAD software. My initial design was fully 3D-printed with an enclosed structure and cantilevered arms to support point forces. The honeycomb lid provided cooling, and the enclosure allowed for embedded XT-60 and MR-30 connections, creating a clean and integrated look. Inside, I ensured all electrical components were rigidly mounted to avoid unwanted movement that could destabilise the flight.

Testing quickly revealed that 3D-printed frames were brittle, often breaking during crashes. Moreover, the limitations of my printer’s build area meant that motor placement was cramped. To overcome these issues, I CNC-routed a new frame from 4 mm carbon fibre, increasing the wheelbase for better stability. Using Carveco software, I generated toolpaths and cut the frame on a WorkBee CNC in our Maker Lab. After two hours, I had a sturdy, assembled frame ready for electronics.

Not one, not two, but three Raspberry Pis

For the drone’s brain, I used a Raspberry Pi Pico 2 connected to an MPU6050 gyroscope for real-time orientation data and an IBUS protocol receiver for streamlined control inputs. Initially, I faced issues with signal processing due to the delay of handling five separate PWM signals. Switching to IBUS sped up the loop frequency by tenfold, which greatly improved flight response. The Pico handled PID (Proportional-Integral-Derivative) calculations for stability, and a 4-in-1 ESC managed the motor signals. The drone also carries a Raspberry Pi Zero with a Camera Module 2 and an analogue VTX for real-time FPV (first-person view) flying.

All coming together in the Maker Lab at Pi Towers

Programming was based on Tim Hanewich’s Scout flight controller code, implementing a β€˜rate’ mode controller that uses PID values to maintain desired angular velocities. Fine-tuning the PID gains was essential; improper settings could lead to instability and dangerous oscillations. I followed a careful tuning process, starting with low values for each parameter and slowly increasing them.

To make the process safer, I constructed a testing rig to isolate each axis and simulate flight conditions. This allowed me to achieve a rough tune before moving on to actual flight tests, ultimately ensuring the drone’s safe and stable performance.

The post Building a Raspberry Pi Pico 2-powered drone from scratch appeared first on Raspberry Pi.

Qualcomm introduces IQ9, IQ8, and IQ6 industrial IoT SoC families with up to 100 TOPS of AI performance

16 October 2024 at 08:56
Qualcomm IQ9 IQ8 IQ6 industrial IoT processors

Qualcomm Technologies has introduced the new industrial-grade IQ chipset family with the IQ9, IQ8, and IQ6 series offering on-device AI performance of up to 100 TOPS, industrial temperature range, and built-in safety features such as SIL-3 (safety and integrity level). Qualcomm IQ series of chipsets target a range of premium (IQ9), mid-tier (IQ8), and entry-level (IQ6) applications such as industrial and agricultural robots, drones, industrial inspection and automation, edge AI boxes with computer vision capabilities, edge gateway analytics solutions, and more. Qualcomm IQ9 Series – IQ-9100, IQ-9075 Key features and specifications: CPU IQ-9075 – Octa-core Kryo Gen 6 scaling from 1.632 to 2.55 GHz IQ-9100 – Octa-core Kryo Gold Prime @ 2.36 GHz (CNXSoft: The specs are not clear for the CPU part…, both SKUs could be the same for the CPU part) GPU – Adreno 663 GPU Audio DSP (LPASS) 1980 MPPS, 7x TDM/I2S 3x High-Speed I2S for Radio [...]

The post Qualcomm introduces IQ9, IQ8, and IQ6 industrial IoT SoC families with up to 100 TOPS of AI performance appeared first on CNX Software - Embedded Systems News.

LiteWing DIY ESP32 drone costs about $12 to make

21 September 2024 at 08:49
DIY ESP32 Drone

Circuit Digest’s LiteWing is a low-cost DIY drone controlled by an ESP32 module, based on a custom PCB and off-the-shelf parts that costs around 1000 Rupees to make, or $12 at today’s exchange rate. The DIY ESP32 drone was designed as a low-cost alternative to more expensive DIY drones that typically cost close to $70. The result is a WiFi drone that fits in the palm and controlled over WiFi using a smartphone. Interestingly it does not include any 3D printed parts as the PCB forms the chassis of the device. DIY ESP32 drone key features and components Wireless module – ESP32-WROOM-32 for WiFi control using a smartphone. Storage – MicroSD card slot Sensors – MPU6050 IMU for stability control. Propulsion 4x 720 coreless motors 2x 55mm propeller type A(CW) 2x 55mm propeller type B(CCW) USB – 1x USB-C port for charging and programming (via CP2102N) Power Management 1300mAh Li-Ion [...]

The post LiteWing DIY ESP32 drone costs about $12 to make appeared first on CNX Software - Embedded Systems News.

❌
❌