Skip navigation

Sci Fi Your Pi

14 Posts authored by: amgalbu Top Member
During these weeks I experienced lot of problems with the Emlid board and the servo controls The servos that move control surfaces were moving not so smoothly and they made a lot of noise and vibrations. I Initially thought that the problem was in the mechanic (leverages not moving smoothly or getting stuck during the movement) After one of the servo started emitting some magic smoke, I started thinking the problem was actually on the PWM signal... So I connected the Bitscope to the PWM outpu ...
In this post we will face some image processing technique, like blob analysys. I will use the cvBlob library to detect blobs in the image capture by the raspicam   Step1: cvBlob installation 1.       Download cvBlob library from this link                https://github.com/Steelskin/cvblob                   ...
After some busy times, I finally have a weekend for working on this project One of the ancillary parts of this project, is to make some blob analysis on the images captured by RaspiCam to detect laser beams. So I need install the OpenCV libraries and try to get images from RaspiCam inside a C program. The idea is that an external application will command the autopilot subsystem (by means of MAVLink messages) and will detect reflected laser beams to start some special effect So here are the s ...
Programming the Transmitter Since the hardware is finished, it's time to work on system setups. First of all, I programmed the transmitter (a Taranis X9D. BTW, if you don't know the Taranis, google it: it's a open-source transmitter, so you can do everything you want with it!) The first thing to do is... to upgrade the transmitter firmware. This is required not just to have the latest version, but because the European version of the transmitter is shipped with a firmware that does not support ...
In this post, some details about the connections to the Raspberry and Navio+ boards will be provided An overview of the required connections are shown in the following picture     Raspberry and Navio+ power Navio+ has three power sources, all of them can be used simultaneously as they are protected by ideal diodes. For testing and development purposes:, it is possible to connect 5V 1A power adapter to the Raspberry Pi’s microUSB port. Raspberry Pi will provide power to the N ...
Today I completed the wiring of the TrainingSphere. The final result is shown in picture       As you can see, I finally made the decision the use the Emlib Navio+ board. This is a really challenging project I want to continue to develop even after the end of this design challenge, so I invested some  money in a piece of hardware that is reliable and tested enough to make me develop applications that run in the Raspberry environment and interact with the APM platform. Po ...
In my previous post I showed some photos of a frame made of steel wires. I found out this design to be absolutely faulty because it was not rigid enough to dampen vibration induces by motors and propellers. So I started with a new frame frame made of U-shaped aluminum profiles. The final result is shown here     The U-shaped profiles are joined using 0.5 mm-thick aluminum sheet     At the bottom, two servos and the battery are located. The control surfaces are made wi ...
The frame is almost completed I encountered more difficulties than I expected in assembly a structure using steel wires...     It's not very clear in these pictures, but there are three "parallels" corresponding to three "levels" On the upper level, the raspberry and the accelerometerers will be mounted The middle level will host the two engines and propellers The bottom level will host the control surfaces At the bottom of the sphere (so outside the sphere) I will place the ...
Today the parcel with the components I need for bulding the training sphere arrived   Now that I have the components, I can start making a detailed drawing of the frame. BTW, after long thinking which material was better (either aluminium or plywood), I made the decision to use plywood since it's easy to work with and there will be no soldering issues. Let's hope for the best! ...
Building APM Since I expect I will have to make some changes to the code, I will now try to build APM fro source code. Working repository for Navio APM port is on GitHub. I decided to build APM directly on your Raspberry Pi since it does not require to setup a cross-compiling environment and Raspberry Pi has enough computing power to make this step fast enough Download the APM’s port for Navio: git clone https://github.com/emlid/ardupilot.git Switch to the 'navio' b ...
It's time to start doing something serious!   So, according to the plan, I will install the realtime version of the Raspbian. I will use Raspberry Pi Model B. I will install this Raspbian version with real-time kernel for Raspberry Pi 2 Model B. It is based on 2015-02-16-raspbian-wheezy with default kernel replaced to 3.18.9-rt5-v7+ kernel and a few additional tunings. Default Raspbian kernel 3.18 is configured with PREEMPT option and provides worst case latency around hundreds of microse ...
The first thing of this project, is to select the proper configuration. I'm not an expert in multirotor drones and UAVs, but the selection criteria are quite clear. The configuration must meet, in order of relevance, the following requirements compact: I want to build a sphere can be safely used indoor, so size matter easy to control: the control system will be based on a Raspberry Pi board which runs a Linux that, despite any realtime patch, can not be considered a hard realtime operating ...
The TrainingSphere is basically a coax drone based on the Raspberry board. There is a very interesting project (Navio+) that is a porting of the ArduPilot software on a Raspberry board. Navio+ software is supposed to be used with their own board, but this board is very expensive and have a lot of features I don't actually need for this project. So I will try to create an APM that uses a different set of sensors specifically designed for indoor use, namely position will be based on the recognit ...
Abstract In "Star wars", a young Luke Skywalker is trained to use the force and sense your enemy. In the training sessions, the enemy is an hovering sphere that randomly fires laser shots. The apprentice Jedi has to intercept the non-lethal laser beams with his light saber. For this challenge, I'd like to build a similar gadget. Reasons The are many reasons why building the hovering sphere is both exciting and challenging autonomous flight is a field I always liked to explore in ...