DIY Hack and Tricks

DIY Hack and TricksDronebuilds

Quadcopter build with folding frame


Quadcopter custom build with folding frame.

Recently as i am working on the quad setups of size 1600mm and 2000mm wanted to check all on the miniature drones first so thought to make a frame..

On surfing and googling “custom designed frames for Quadcopter” i got some intresting frames.. well now then i made one for myself lazer cut it and used screws the build is under process i will be using the following components:

2216 900kv Tmotor

18amp Tesc

Frsky x4rsb rx

Frsky QX7

Hubosd (PDB Only working)

Naza lite/V2/Pixhawk/APM have all of them lying of which naza is somewhat disy so it will be checked too.. for which the quad is made and if everything works good will confirm the frame and go forward with it ..

Now only thing left is putting up motor mounts and just the electronics i have a clone HUBOSD (Beware of clones, its better to buy a good one.. my osd isnt working and i can use it as a pdb on this frame).

Will update the progress here lets see…



read more
All TopicsDIY Hack and TricksDronebuildsDroneRacingTech Talks

DIY : Connecting L3G400D Gyro with Arduino

L3G4200D img

Well thinking about making a Flight Controller based on Arduino after using Multiwii as the first Flight controller years ago… Have been familiar with the tuning and programming C code.

Also the basic copter has a gyro which basically helps to correct the orientation and alignment of the copter.

Roll and Pitch are corrected with the Gyro when you dont have any Tx stick Inputs Accelerometer helps in this too.

The L3G4200D is a 3-axis angular rate sensor, aka gyro/gyroscope with a user selectable 250, 500 or 2000º/Sec scale. I was about to write about what a gyro is, but Sparkfun has done a really great job of that, so to quote them:

Gyroscopes measure angular velocity, how fast something is spinning about an axis. If you’re trying to monitor the orientation of an object in motion, an accelerometer may not give you enough information to know exactly how it’s oriented. Unlike accelerometers gyros are not affected by gravity, so they make a great complement to each other. You’ll usually see angular velocity represented in units of rotations per minute (RPM), or degrees per second (°/s). The three axes of rotation are either referenced as x, y, and z, or roll, pitch, and yaw.

Connecting the L3G4200D with Arduino :

The L3G4200D has a lot of pins on it because it supports both SPI and I2C but also has some other features as well such as programmable interrupts. We are going to go as simple with this as possible.

The L3G4200D supports both SPI and I2C, but we are just going to talk I2C here. I2C is a 2-wire serial connection, so you just need to connect the SDA (Data) and SCL (Clock) lines to your Arduino for communication. On your Arduino (everything but the mega) SDA is on analog pin 4, and SCL is on analog pin 5. On an arduino mega, SDA is digital 20, and SCL is digital 21.

But other than Power, Ground, and the I2C pins, we just need to connect SD0 to 3.3v (to set the I2c Address).

Code :

//Arduino 1.0+ only

#include <Wire.h>

#define CTRL_REG1 0x20
#define CTRL_REG2 0x21
#define CTRL_REG3 0x22
#define CTRL_REG4 0x23
#define CTRL_REG5 0x24

int L3G4200D_Address = 105; //I2C address of the L3G4200D

int x;
int y;
int z;

void setup(){


Serial.println(“starting up L3G4200D”);
setupL3G4200D(2000); // Configure L3G4200 – 250, 500 or 2000 deg/sec

delay(1500); //wait for the sensor to be ready

void loop(){
getGyroValues(); // This will update x, y, and z with new values


Serial.print(” Y:”);

Serial.print(” Z:”);

delay(100); //Just here to slow down the serial to make it more readable

void getGyroValues(){

byte xMSB = readRegister(L3G4200D_Address, 0x29);
byte xLSB = readRegister(L3G4200D_Address, 0x28);
x = ((xMSB << 8) | xLSB);

byte yMSB = readRegister(L3G4200D_Address, 0x2B);
byte yLSB = readRegister(L3G4200D_Address, 0x2A);
y = ((yMSB << 8) | yLSB);

byte zMSB = readRegister(L3G4200D_Address, 0x2D);
byte zLSB = readRegister(L3G4200D_Address, 0x2C);
z = ((zMSB << 8) | zLSB);

int setupL3G4200D(int scale){
//From Jim Lindblom of Sparkfun’s code

// Enable x, y, z and turn off power down:
writeRegister(L3G4200D_Address, CTRL_REG1, 0b00001111);

// If you’d like to adjust/use the HPF, you can edit the line below to configure CTRL_REG2:
writeRegister(L3G4200D_Address, CTRL_REG2, 0b00000000);

// Configure CTRL_REG3 to generate data ready interrupt on INT2
// No interrupts used on INT1, if you’d like to configure INT1
// or INT2 otherwise, consult the datasheet:
writeRegister(L3G4200D_Address, CTRL_REG3, 0b00001000);

// CTRL_REG4 controls the full-scale range, among other things:

if(scale == 250){
writeRegister(L3G4200D_Address, CTRL_REG4, 0b00000000);
}else if(scale == 500){
writeRegister(L3G4200D_Address, CTRL_REG4, 0b00010000);
writeRegister(L3G4200D_Address, CTRL_REG4, 0b00110000);

// CTRL_REG5 controls high-pass filtering of outputs, use it
// if you’d like:
writeRegister(L3G4200D_Address, CTRL_REG5, 0b00000000);

void writeRegister(int deviceAddress, byte address, byte val) {
Wire.beginTransmission(deviceAddress); // start transmission to device
Wire.write(address); // send register address
Wire.write(val); // send value to write
Wire.endTransmission(); // end transmission

int readRegister(int deviceAddress, byte address){

int v;
Wire.write(address); // register to read

Wire.requestFrom(deviceAddress, 1); // read a byte

while(!Wire.available()) {
// waiting

v =;
return v;

This code just outputs the x,y,z axis angular rate (in deg/sec) in the serial terminal. Simple as that.

read more
All TopicsDIY Hack and TricksGUIDE TO BUY DRONE

How to get camera output on a Display (FPV DOWNLINK)


So guys  this is a common question by anyone who has just made a scratch build copter or a buggy.

well getting a video down-link,i.e. Getting the camera output at ground station on a display is called FPV setup (FIRST PERSON VIEW).


There are 2 sides of a typical FPV setup Tx side and Rx side which generally is a way to cut off the wires in between a normal camera and a screen.

Also most of the things will be self explanatory due to the descriptive images themselves.

Note: In FPV setups always a Tx has a power at which it transmitts the signals usually it transmits at 5.8Ghz but the power factor matter much and the second thing which comes is antennas well power of a VTx(Video Transmitter) is measured in “mw” (milli-watt). For instance for a distance of 500-800 mts a 200 mw tx is good to go with and similarly you can get a VTx till 2000 mw ” more the power more the battery it will need and better the reception”  ,  “more the power the more directional it gets” ,Now you will ask what about the Rx why not keep the Tx small and improve the Rx well for now the Rx doesn’t has any power but it has reception antennas you can you diversity setups for good reception. You can read about the Diversity here : DIVERSITY RX


There are mostly 2 types of setups that can be done in FPV setups.

One is the normal cctv or fpv camera which is connected to the FPV Tx and battery connection is given to Tx.


You can ignore the extra adapters mentioned in the image you can directly solder any wires to the correct respective port on the VTX.

Coming to the other setup that i mentioned other setups are for High Quality downlink which can also be HD.

fpv-gopro fpv-yi

You can also use Gopro series or clones such as Xiaomi Yi for FPV down-link well then but you wont get HD down-link even if you use a HD camera as the FPV setup inst made for HD down-link well there is a solution for that also some of the companies have made a HD downlink and but they are very expensive and only used on commercial big rigs which carry “RED EPIC” like camera.

“In this hobby as the feature increases the cost increases thus burning our pockets.”

Well so you can just make the cable or buy a ready cable for the camera you are using if you are using a CCTV camera that wont be issue for you but if you want to record in HD and get a downlink for reference of what you are shooting you can use Gopro or Xiaomi Yi camera from which the usb port acts as output for the down-link to FPV TX, here if you think that the only way to record the footage no thats not the only way suppose you have a gopro on the drone and its connected to the FPV Tx as shown in the diagram you can record in HD and get down-link in the normal way its that simple but what if you have a cctv camera and you want to record the footage cctv camera dont have that system. Well you can Buy a DVR and connect it to the RX end so that you can record the footage that you see Live only thing is that the live footage isnt that clear and may have static lines at times depends on surroundings you are flying and interference.





This is the typical used fpv setup on any system may it be a drone or buggy well you can make out that the cctv camera is connected to the fpv tx which is genereally above 2000mw if used professionally to avoid interference and others that are used for projects and hobbies are 200mw-600mw. This tx is then connected to a battery or lipo of sufficient voltage that the tx is rated at.

All FPV setups are mostly based on 5.8Ghz and some places where 5.8Ghz is a issue due to interference the frequency is switched to 2.4Ghz and control radio frequency is switched to 1.2ghz or other which is best suitable at that location.

So the next part is Fpv Rx which is the down-link part kind off the component which receives the signals and gives it to the display so that you can see what the camera see’s so basically you are at the pilot seat.

There are 3 ways to get the downlink and some good equipments to get the downlink:

1.) LCD display with 5.8Ghz Rx

2.) LCD with integrated diversity Rx.

3.) FPV Goggles.

Starting with the first one.

As i already mentioned above how the display is used to connect the Rx.


FPV Rx gives you the general 3 audio video and ground pins out and the power out you can connect them to any lcd you want the lcd which you can see above generally has all 3 pins or composite pin which takes all 3 inputs in 1 pin.

Coming to the second case now the FPV display with Diversity Rx.

To know What exactly the Diversity Rx is Read these : DIVERSITY RX


So in this LCD it is the simplest way to get the downlink and you can directly use this with any Radio Tx just place it on the Tx lcd holder and you are done this LCD has a inbuilt battery and diversity Rx.

You can use spironet one side and the other can be directional patch antenna depends on you to get full reception.More about antennas here : TYPES OF ANTENNAS AND WHICH TO USE?

Finally coming to the third and last type of Rx which is Goggles well i have mentioned everything and all types of goggles in details you can visit this link to know about them in detail : FPV Googles


So guys if you want to know something which i missed out or you can comment below or contact me from the contact us page.

Thats all for the topic that I have for now!!! Refer other topics for more details on the blog.

FPV transmitter in Cheap Budget for Drone racing

Fpv cameras



read more
All TopicsDIY Hack and TricksTech Talks

Under $150 Budget Gaming 8 Core CPU, Motherboard & 16GB RAM


Hello every0ne!!

Today while going through the processors i came across somestuff which can be done and has been done by some  for fun…

Yes am talking about a 150$ super gaming pc with 8cores and 16gb ram yes its correct!!

coming to the build i would give a tip visit ebay or local stores which sale second hand parts as some of the parts that i mention wont be avalaible for the price i mentioned.

I wont be mentioning the exact prices for all but yes the approx pricing from ebay comes to be same if you get proper deals and find good deals!!



In this build we would using server processors you can google out xeon 5000 and get to know that some of the old onces have been outdated and are cheap but they have 4 cores and clock at 2.5ghz to 3.3ghz which is what we are intrested in now as we are focused on the server processors we get to know that we need a supporting motherboard.

Motherboard: Motherboard and processors in this build might take time to figure out and find great deals but yes it will be worthfull well coming to the point you need to check for a dual processor motherboard. You need to keep in mind that the motherboards are odd shaped and some dont fit in the normal cabinet that you get into market. Also the graphic card may not fit the slot due to irregular fitted capacitors.

Its expansion slots are very limited and sometimes may have only 1 pcie slot. So if you want more than 4 usb 2 port for soundcard,wifi,etc you need to have to check for alternatives some boards may have so I/O  shields but needs trial and error. Also need to figure out that the cooling fans may not have the proper pins.



any supporting ram can be used well most of the Intel server motherboards support ECC DDR2 or FBDIM DDR2 while both are available for cheap if you dont get the proper ram you may be stuck with wrong stuff in hand or extra. Also most ebay listings dont have proper details here is a tip:

You can identify the FBDIM  by the full heat spreader which was used to cool the advance memory buffer chip.

and the ECC rams are easy to identify.There is another issue to server ram compability even if you get the right type so select the ram part number which was on the (QVL) qualified vendors list or get the most generic thing you can and cross your fingers.

Graphics card


any ddr5 or ddr3 which ever is supported by the motherboard you get and support.

You can use zip ties for the CPU cooler and all stuff you can even make a CPU holder from any material.

These setup is tested on star wars battle front,etc.

Some of them have monitored these setups with GTX980 these cards were sometimes bottle necked with this CPU’s but they worked with lower settings.

Crisis3 run at MEDIUM , Shadow of Mordow run at High with motion blur off.. well it was with less frames though than any usual PC.

Tom raider run at same settings than any other normal PC.

Only thing is that there is no upgrade stuff in this pc its a one time investment also there is less scope for development also you cannot expect this to run with advance stuff with latest technology but this isnt a outdated stuff as a community is working dedicated on this systems.

Also some games are been worked on to work with this proccesors.


Intel® Xeon® Processor L5420
(12M Cache, 2.50 GHz, 1333 MHz FSB)



Processor NumberL5420
StatusEnd of Life
Launch DateQ1’08
Expected DiscontinuanceQ4’2010
Lithography45 nm
Recommended Customer Price$413.00


# of Cores4
Processor Base Frequency2.5 GHz
Cache12 MB L2
Bus Speed1333 MHz FSB
FSB ParityYes
VID Voltage Range0.850V-1.3500V

Supplemental Information

Embedded Options Available


Package Specifications

Sockets SupportedLGA771
Package Size37.5mm x 37.5mm
Processing Die Size214 mm2
# of Processing Die Transistors820 million
Low Halogen Options AvailableSee MDDS

Advanced Technologies

Intel® Turbo Boost Technology No
Intel® Hyper-Threading Technology

Intel® Virtualization Technology (VT-x) Yes
Intel® VT-x with Extended Page Tables (EPT)

Intel® 64

Instruction Set64-bit
Idle StatesYes
Enhanced Intel SpeedStep® Technology

Intel® Demand Based Switching

Thermal Monitoring TechnologiesYes

Intel® Platform Protection Technology

Trusted Execution Technology

Execute Disable Bit Yes

Intel or Dell server boards.

Regular ECC DDR2 (4x4Gb) 16Gb

If you are trying this build all the best to you pls. google more about the these stuff inorder to get it all right!!!

Although its the Best Budget Gaming PC!!!

read more
All TopicsDIY Hack and TricksDroneRacingGUIDE TO BUY DRONE

Difference between CCD and CMOS


Digital cameras have become extremely common as the prices have come down. One of the drivers behind the falling prices has been the introduction of CMOS image sensors. CMOS sensors are much less expensive to manufacture than CCD sensors.

Both CCD (charge-coupled device) and CMOS (complementary metal-oxide semiconductor) image sensors start at the same point — they have to convert light into electrons. If you have read the article How Solar Cells Work, you understand one technology that is used to perform the conversion. One simplified way to think about the sensor used in a digital camera (or camcorder) is to think of it as having a 2-D array of thousands or millions of tiny solar cells, each of which transforms the light from one small portion of the image into electrons. Both CCD and CMOS devices perform this task using a variety of technologies.

The next step is to read the value (accumulated charge) of each cell in the image. In a CCD device, the charge is actually transported across the chip and read at one corner of the array. An analog-to-digital converter turns each pixel’s value into a digital value. In most CMOS devices, there are several transistors at each pixel that amplify and move the charge using more traditional wires. The CMOS approach is more flexible because each pixel can be read individually.

ccd cmos

CCDs use a special manufacturing process to create the ability to transport charge across the chip without distortion. This process leads to very high-quality sensors in terms of fidelity and light sensitivity. CMOS chips, on the other hand, use traditional manufacturing processes to create the chip — the same processes used to make most microprocessors. Because of the manufacturing differences, there have been some noticeable differences between CCD and CMOS sensors.

  • CCD sensors, as mentioned above, create high-quality, low-noise images. CMOS sensors, traditionally, are more susceptible to noise.
  • Because each pixel on a CMOS sensor has several transistors located next to it, the light sensitivity of a CMOS chip tends to be lower. Many of the photons hitting the chip hit the transistors instead of the photodiode.
  • CMOS traditionally consumes little power. Implementing a sensor in CMOS yields a low-power sensor.
  • CCDs use a process that consumes lots of power. CCDs consume as much as 100 times more power than an equivalent CMOS sensor.
  • CMOS chips can be fabricated on just about any standard silicon production line, so they tend to be extremely inexpensive compared to CCD sensors.
  • CCD sensors have been mass produced for a longer period of time, so they are more mature. They tend to have higher quality and more pixels.

Based on these differences, you can see that CCDs tend to be used in cameras that focus on high-quality images with lots of pixels and excellent light sensitivity. CMOS sensors traditionally have lower quality, lower resolution and lower sensitivity. CMOS sensors are just now improving to the point where they reach near parity with CCD devices in some applications. CMOS cameras are usually less expensive and have great battery life.


The above image should define all i wanted to say well both are for specific purpose and you need to check which one fulfill your purpose.

read more
All TopicsDIY Hack and TricksDronebuildsDroneRacingGUIDE TO BUY DRONE

Budget best drone for fpvracing/droneracing 2016 #custom build



This was the quad we decided to make when banggood introduced racestar series of racing motor and esc well we were very keen on trying this motors although there were many best motors like rs2205 and zmx ,etc but we thought of making a cheapest quad possible with a better specs of a pro copter hence we choosed the below parts do refer the build and follow the youtube channel linked below for more details and how to build the quad.All parts are imported from banggood and self assembled. Components arrangement depends on you how skillful and thoughtful you are to arrange the stuff and make it look cool !!

Parts we choosed:

4X Racerstar Racing Edition 2205 BR2205 2300KV 2-4S Brushless Motor 2 CW & 2 CCW For QAV250 ZMR250

Realacc HUBOSD ECO H Type w/STOSD8 Current Sensor 5V 12V Dual BEC PDB

4X Racerstar RS20A 20A BLHELI_S OPTO 2-4S ESC Support Oneshot42 Multishot for FPV Racing

Upgrade NAZE32 F3 Flight Controller Acro 6 DOF/Deluxe 10 DOF for Multirotor Racing

Skyzone Upgrade TS5823S 40CH 5.8G 200MW AV Transmitter Module RP-SMA Female OR

Eachine CCD 700tvl 148 Degree Camera Lens w/ 5.8G 200mW FPV Transmitter

LT210 frame

well this parts took a while to reach us and after getting these parts the quality was as expected too nice and ThumbsUp to banggood once more they have offers too for the kits and individual parts.

will write and post video about the build soon after finishing the build log.



well guys the quad is build and ready for test flight will be flying it soon for testing have testing it at home but needs to be tested at field.

Components used for the drone are :

f3-racing hubosd lt210 racestar-esc racestar-motor


So these components were used also hubosd is a super product i have used it for the first time got awesome results and the motors are also of good quality.

well check the video out to get to know more in detail about the build .

dsc03419 dsc03421 dsc03422 dsc03423

read more
All TopicsDIY Hack and TricksDronebuildsDroneRacingGUIDE TO BUY DRONE

Build videos

no thumb
read more
All TopicsDIY Hack and Tricks

Fix Overheat Issue on Video Transmitter – TS5828


The fact that VTX nowadays are getting smaller, it means there is less surface area to let the heat go and often cause overheat issues. This is especially the case with high power units like the TS5828 600mW. In this post we will share some tips how you can prevent VTX overheat. Same principle should applies to other VTX and electronics.

Video transmitter overheats

When I first received my TS5828 (a tiny yet high power VTX), I powered it up with a 3S battery, so it was no more than 12.6V. Even though it’s rated up to 24V, only after a few minutes of use, the transmitter was getting so hot it almost burned my fingers. (Antenna was connected).

I measured the temperature with a digital thermometer and it showed 90 degree Celsius, I cannot imagine what would happen if we run 24V on it as the excessive voltage will turn into heat.

I thought it was a faulty unit, but after some research on forums and reviews, I found out that the overheat issue is happening not only to mine but almost every unit.

Why is overheat bad?

  • Your VTX can burn out during FPV flights and cause crashes
  • Running at this high temperature while in contact with other electronics in your aircraft could damage them
  • It affects your range and transmitter efficiency as they depend on the working temperature

Solution to Fix your VTX Overheat

We can’t reduce the heat VTX generated without changing the design of the VTX or lowering the power, but there are a few easy and cost effective ways to improve heat dissipation.

Better Heatsink

This is the best way to decrease operational temperature. Insert a small heat sink to the transmitter which lets the vtx remain light weight as only add 1-2 grams.


  1. Remove the factory heatshrink from the transmitter
  2. Apply some thermal conductive paste/greese on the VTX
  3. Put the new heatsink on the VTX, and secure by a zip-tie

Lower input voltage

Most VTX has built-in linear voltage regulator, they burn excessive input voltage into heat. To minimize this it’s always a good idea to provide the VTX with the lowest voltage possible (closest to its working voltage).

For example for the TS5828:

  • The lowest input voltage it can take is 7.4V, so if you are running 2S lipo you can just connect your VTX directly to the main battery
  • If you are running 3S, and there is no way you can get anywhere near 7.4V, feeding the VTX with your battery voltage should be fine (max 12.6V), that’s not the end of the world
  • However if you are running 4S, max voltage is 16.8V, and that’s pretty high for the VTX. I would recommend converting the voltage down to 12V for the VTX. Most PDB these days provides 12V and 5V outputs so it’s not hard to find

Good airflow

Decent airflow has significant cooling effect on your electronics, try to place the transmitter in a position with maximum airflow. This is the same principle when talking about where to mount your ESC’s.

The rule of thumb is that you never place your VTX too close to any other components which also generate heat without good airflow.

To get best result you should consider all 3 options above. These techniques can be applied not only in the case of the TS5828 video transmitter, but any other electronics devices.

Other causes of overheat?

Please be aware that there are many other issues that can also cause your VTX to overheat. It’s always a good idea to check the below as well.

No Antenna?

Never ever power on your VTX without antenna, all the energy sent to the antenna will bounce right back when the antenna is absent, and instantly cause overheat and might permanently damage your video transmitter.

Wrong antenna connector type

Always make sure that you are using the right connectors between the VTX and antenna. For example the TS5828 is sold with both RP-SMA and SMA connectors.


It does not matter which one you bought however you need to buy the antenna with the correct connector for that. The reason is that some connectors have a pin inside, and the matching connector should have a hole inside. But if you accidentally used 2 connectors with holes, the antenna and VTX are actually not connected, as if you are not running an antenna at all.

Bad/damaged VTX antenna

The VTX antenna can be tuned to a certain frequency, and if you are broadcasting at that tuned frequency your VTX should run cooler. But unless your antenna is really that bad, this normally shouldn’t be a huge difference.

Another problem with antenna could be the bad/broken solder joints in the antenna, resulted from poor quality manufacturing or crashes.

read more
All TopicsDIY Hack and Tricks

How Program Turnigy/Flysky 9x to Open Tx/Er9x


So, Guys if you have a 9x and you are tired of all limited functionalities and boring UI with very few options of tweaking stuff you are at the right place.

Note: you need to know how  to solder as its not that easy as it looks, right soldering ion is needed also some programming knowledge if you go wrong somewhere.

If you are lazy and do not want to read the post skip to the video its easy to understand : youtube/bmsweb

Thing you need to have to perform this mod :

Turnigy 9x or Flysky 9x : Find here


USBASP USB ISP AVR Programmer : Find here or here

Soldering ion with fine tip

Soldering wick/wire

laptop with drivers installed

eepeinstaller : Find here any similar program will work

Er9x firmware for your version of tx : Find here

Open tx firmware : Find here

Well next you need to prepare you soldering ion and open up your radio remember battery must be disconnected and radio module should be removed while performing the mod.

Next step is to prepare 8 wires for soldering to the processor chipset, and then the wires goes to usbasp adapter or you can get a connector similar to this:

wire for usb

Follow the video for more details… video .

pin diagram

Remember to check the pin connection and pin diagram every time you solder anything cause that may be pain if you go wrong you can permanently solder and keep the wires with the plug inside also make a slot so that you need not open the TX every time you want to program the tx .

After you are good to go further go and solder the wires to the board as follows:


Now that you have soldered all the pins properly time to connect the usbasp to laptop or pc and install the firmware first you need to download the drivers and make sure that the com-port is detected.

Next you need to open the software Eepeinstaller from there you need to make sure that the tx is selected and flash the er9x firmware you have downloaded earlier.

Thats it!! You have flashed the 9x with er9x and now you can connect the battery and switch the tx on so as to check it will beep if you have any switches on juss press okie to override them calibrate the tx sticks and configure the Tx as you want it to…

Thank you!

read more