Saturday, January 7, 2017

First Attempt at Arduino Drone

I only had 2 motors, but I am testing some ideas.

Thursday, November 26, 2015

Leak protection system prototype

Leak protection system prototype:

I built my first version of my leak protection system with arduino. When a leak is detected, it will ultimately shut off the water to the house.

video

Monday, August 17, 2015

Arduino controlled yogurt incubator

I finally completed my first project that is somewhat useful. I made a yogurt incubator by controlling the temperature in the oven with a heating element (in this case a worklight).

Yogurt incubator setup. Arduino chip is on bottom right, thermocouple reader is on top right,
relay is on bottom left and outlet controlled by relay is on top left

Here is a plot of the temperature as a function of time. The arduino is programmed to maintain a temperature of 110 +/- 4.5 degrees F.



Here's a video showing the relay turning on the light when the temperature dropped too low.

video


Monday, July 20, 2015

How to install CalculiX binaries cgx and ccx for Ubuntu 15.04

Install CalculiX binaries cgx and ccx for Ubuntu 15.04 (Incomplete)

 
uncompress files
bunzip2 cgx_2.8.bz2
move file
sudo mv cgx_2.8  /usr/local/bin/cgx
change permission

chmod ao+rx /usr/local/bin/cgx

Here I need to add modified steps from these two links.


Helpful links where I got my info.
http://www.dhondt.de/ccx_2.8.README.INSTALL
http://www.libremechanics.com/?q=node/9

https://launchpad.net/~freecad-maintainers/+archive/ubuntu/freecad-daily

Friday, July 17, 2015

Power law velocity profile given average velocity with groovyBC or swak4FOAM

Power law velocity profile given average velocity with groovyBC or swak4FOAM for use in OpenFOAM


circular pipe aligned in the x-dir

   inlet
    {

    type    groovyBC;
      value   uniform (1 0 0);
      variables (
        "Uavg=1;"

        "r=sqrt(pos().y*pos().y+pos().z*pos().z);"
        "R=(max(pts().y)-min(pts().y))/2;"
        "Re=Uavg*R*2/nu;"
        "n=-1.7+1.8*log10(Re);"
        "Uc=Uavg*(n+1)*(2*n+1)/(2*pow(n,2));"
        );
      valueExpression "-Uc*pow((1-r/R),1/n)*normal()";
}

in controlDict

libs (
    "libsimpleFunctionObjects.so"
    "libsimpleSwakFunctionObjects.so"      
    "libswakFunctionObjects.so"
    "libgroovyBC.so"
);


see https://openfoamwiki.net/index.php/Contrib/groovyBC#Download