Thread Tools
Mar 10, 2015, 07:41 PM
Registered User
Rod Cole's Avatar

Circuit Boards Ordered


I just ordered three circuit boards from Cyborgcnc's drawings for $21.60. I am going to donate one to Cyborgcnc, keep one for myself, and will have an extra if anyone wants one for my cost ($7.20) plus postage.

Edit: Spelling correction
Last edited by Rod Cole; Mar 10, 2015 at 08:24 PM.
Sign up now
to remove ads between posts
Mar 11, 2015, 12:17 AM
Registered User
tigar's Avatar
I would like the third board please.
Mar 11, 2015, 08:10 AM
The Drones are Coming!!!
cyborgcnc's Avatar
Thread OP
Those look nice!!

Really do appreciate the offer, but no need....I can bang these out on my CNC machine all day long if I need more....

I am sure someone else here could use one.....would rather see more people using this so we can improve it...

thanks again!
Mar 11, 2015, 08:22 AM
Registered User
Rod Cole's Avatar
Quote:
Originally Posted by tigar
I would like the third board please.
Great. I will set one aside for you. It looks like I will have two available if anyone else is interested as @cyborgcnc has released the one I was saving for him.

I will update the progress in this forum. It normally takes five business days once they get enough orders from other projects to fill a panel. OSH Park will let me know when they have reached this stage. It took about a week the last time I ordered from them.
Mar 11, 2015, 08:25 AM
Registered User
Rod Cole's Avatar
Quote:
Originally Posted by cyborgcnc
Those look nice!!

Really do appreciate the offer, but no need....I can bang these out on my CNC machine all day long if I need more....

I am sure someone else here could use one.....would rather see more people using this so we can improve it...

thanks again!
Well, after all, it was your design

OSH Park does an amazing job on boards. I have twice ordered other projects from them and am very satisfied with their quality. I don't have a CNC machine (wish I did have one as they look very handy) so OSH Park is a reasonably priced alternative.

Thanks for all of your hard work to revive this project and move it forward.
Mar 11, 2015, 10:20 AM
Registered User
@Rod Cole
I would like one. Send me your paypal email.
Mar 11, 2015, 01:43 PM
The Drones are Coming!!!
cyborgcnc's Avatar
Thread OP

One More...


OK...so I decided that the more data we have the better!! Why not also see the vibration levels, so that we can gain an edge if we are balancing the props correctly?

Hence the graphs! :-)

Now comes the hard work of trying out the FFT's and the Kalman Filters for the very noisy accelerometers....this will take a while... :-)
Mar 11, 2015, 02:04 PM
Registered User
///Leo's Avatar
I like where this is going

I've ordered most of the parts needed. Can't wait to give it a try. I almost started my own project.

Concerning Kalman. Take another look if you really want to use this filter. Kalman is used for predictable physics. Consider maybe an alternative filter like median for this application.
Mar 11, 2015, 02:54 PM
The Drones are Coming!!!
cyborgcnc's Avatar
Thread OP
Quote:
Originally Posted by ///Leo
I like where this is going

I've ordered most of the parts needed. Can't wait to give it a try. I almost started my own project.

Concerning Kalman. Take another look if you really want to use this filter. Kalman is used for predictable physics. Consider maybe an alternative filter like median for this application.
So you are spot on!!

Do you have any good examples for a Median Filter? I have been using a run of the mill low pass filter, and it does a good job of "smoothing" or slowing down the data, so it make the display a little better, and less "wiggly" however, I want to actually filter and sooth out the vibration levels....and I really think a Median filter is the way to go...

I am a c# guy, but I can pretty much port from anything....I have been hunting down some stuff on the net, but I also have limited time with my job and travel....

Any good code snippets for using a median filter I can use??

Also, I could REALLY use the help in the coding department....
Last edited by cyborgcnc; Mar 11, 2015 at 03:28 PM.
Mar 11, 2015, 03:25 PM
Registered User
Rod Cole's Avatar
Quote:
Originally Posted by daito
@Rod Cole
I would like one. Send me your paypal email.
Cool. That makes them all spoken for. I received the following update from OSH Park.

You will receive a notification when the panel is sent to the fab. This should happen around March 13th give or take a few days

If you haven't heard about this order for a while or have any feedback to give us, then feel free to reply to this email and let us know.

For those to whom I have promised boards, send me your PayPal email address and I will send you a PayPal invoice once I have received the boards. I don't have the amount of the outbound postage and will let each of you know how much it will cost once I have the shipping weight.
Mar 11, 2015, 03:27 PM
Registered User
Rod Cole's Avatar
Quote:
Originally Posted by cyborgcnc
OK...so I decided that the more data we have the better!! Why not also see the vibration levels, so that we can gain an edge if we are balancing the props correctly?

Hence the graphs! :-)

Now comes the hard work of trying out the FFT's and the Kalman Filters for the very noisy accelerometers....this will take a while... :-)
It keeps getting better and better. Great job!
Mar 11, 2015, 03:38 PM
Registered User
Rod Cole's Avatar
Quote:
Originally Posted by cyborgcnc
So you are spot on!!

Do you have any good examples for a Median Filter? I have been using a run of the mill low pass filter, and it does a good job of "smoothing" or slowing down the data, so it make the display a little better, and less "wiggly" however, I want to actually filter and sooth out the vibration levels....and I really think a Median filter is the way to go...

I am a c# guy, but I can pretty much port from anything....I have been hunting down some stuff on the net, but I also have limited time with my job and travel....

Any good code snippets for using a median filter I can use??

Also, I could REALLY use the help in the coding department....
I don't pretend to be a coder but I had a few spare cycles today and went looking. I don't even know this is applicable, but it appeared to be something worth sharing so here it is. Just ignore if I am completely off the mark.

http://embeddedgurus.com/stack-overf...ian-filtering/

A comment in the previous article pointed to this article and it has some sample c code for a median filter.

http://www.embedded.com/design/progr...r-Than-Average

I hope one of those is pertinent. I am sure @///Leo will have something even better and can comment on the code posted below.

Code:
/* medfilt.c    Median filter in C*/

#include 
<stdio.h>
/* Size of the data buffer; length of the sequence. */
#define NWIDTH 11
/* Smaller than
 any datum */ 
#define STOPPER 0 

int medfilter(int datum)
{
    struct pair
    {
        /* Pointers forming list linked in sorted order */
        struct pair   *point;
        /* Values to sort */
        unsigned int  value; 
    };
  /* Buffer of nwidth pairs */
    static struct pair buffer[NWIDTH];
  /* pointer into circular buffer of data */        
    static struct pair *datpoint={buffer};
  /* chain stopper. */
    static struct pair small={NULL,STOPPER} ;
  /* pointer to head (largest) of linked
 list.*/
    static struct pair big={&small,0} ;
  /* pointer to successor of replaced data item */   
    struct pair *successor   ;
  /* pointer used to scan down the sorted list */                
    struct pair *scan        ;
  /* previous value of scan */                
    struct pair *scanold     ;
  /* pointer to median */                
    struct pair *median;     ;  
  /* No stoppers allowed. */
    if(datum == STOPPER) datum = STOPPER + 1;
  /* increment and wrap data in pointer.*/
     
    if( (++datpoint - buffer) >= NWIDTH) datpoint=buffer;
  /* Copy in new datum */
    datpoint->value=datum        ;
  /* save pointer to old value's successor */          
    successor=datpoint->point    ;
  /* median initially just before head of chain */          
    median = &big                ;
  /* scanold initially points to scan pointer. */          
    scanold = &big               ;
  /* points to first (largest) datum in chain */          
    scan = big.point             ;
            
  /* loop
 through the chain */    

    for( ; ; )         
    {
  /* Handle odd-numbered item in chain  */
      /* Chain out the old datum.*/
        if( scan->point == datpoint ) scan->point = successor;
      /* If datum is larger than scanned value,*/
        if( (scan->value 
<
 datum) )                
        {
          /* chain it in here.  */ 
            datpoint->point = scanold->point;
          /* mark it chained in. */
            scanold->point = datpoint;
            datum = 0;
                             
        };
  /* Step median pointer down chain after doing odd-numbered element */
      /* Step median pointer.  */
        median = median->point       ;             
      /* Break at end of chain  */
        if ( scan == &small ) break ;
      /* Save this pointer and   */        
        scanold = scan ;
      /* step down chain */                     
        scan = scan->point ;                       
  /* Handle even-numbered item. As above without the median step.  */
        if(
 scan->point == datpoint ) scan->point = successor; 
        if( (scan->value 
<
 datum) )         
        {
            datpoint->point = scanold->point;       
            scanold->point = datpoint;
            datum = 0;                              
        };
        if ( scan == &small ) break;                
        scanold = scan ;                            
        scan = scan->point;                                    
    };
    return( median->value );
}
Last edited by Rod Cole; Mar 11, 2015 at 03:49 PM. Reason: Added a link
Mar 11, 2015, 03:57 PM
Registered User
Quote:
Originally Posted by cyborgcnc
Really nice !! I do hope you share that gui !!!
I received my mini pro and adxl345 today, I went 3.3v 8mhz version after all. Started prepping them. I'll try to build the rig in the following days.
Now to sort out the pcb, smd style
Mar 11, 2015, 05:50 PM
Registered User
Rod Cole's Avatar
Quote:
Originally Posted by Rod Cole
Cool. That makes them all spoken for. I received the following update from OSH Park.

You will receive a notification when the panel is sent to the fab. This should happen around March 13th give or take a few days

If you haven't heard about this order for a while or have any feedback to give us, then feel free to reply to this email and let us know.

For those to whom I have promised boards, send me your PayPal email address and I will send you a PayPal invoice once I have received the boards. I don't have the amount of the outbound postage and will let each of you know how much it will cost once I have the shipping weight.
OSH Park works fast. Our boards are in Fabrication.
Mar 11, 2015, 06:38 PM
Registered User
So was the parts list and instructions listed in the link in first post to build one of these?
I just bought me a ardunio super kit to learn arduino with. This seems like a worthy project to tackle..


Quick Reply
Message:

Thread Tools