Kalman filter for loofs

okay..so you might not be a complete loof but I am..so I’m writing this post to the my future self..because he forgets a lot needs his memory to be refreshed every once in a while..go grab a pen paper. K.F- It is an iterative mathematical process that uses a set of equations and consecutive data … Continue reading Kalman filter for loofs


here’s how GPS works there’s a clock involved..the satellite sending out GPS signal has it..and satellite is orbiting the Earth about 20000 Km above surface with 14000 Km/Hr. So there’s a very precise clock on-board a very fast moving satellite..what da hell/..? Satellite sends a signal consisting of its orbital data and current timing. so … Continue reading break-a-leg/rtk

Pinchange Interrupts and reading PWM signals.

Here’s an article by mwwalk on Pinchange interrupts, its quite helpful. and here’s the code for reading 4 PWM signals from a RC Transmitter Reciever on Atmega328- //Digital Pins 2,3,4,5 for 4 Channels #include<avr/interrupt.h> volatile unsigned int preval[4]={0},temp=0,pwm[4]={0}; //preval stores micros() at the time when signal is going high, 4 channels 4 preval. boolean jack[4]={true}; //boolean … Continue reading Pinchange Interrupts and reading PWM signals.