Bret Lanius

Random Stuff

  • Screenshot_20160727-201720[1] Creating a clock face that can be insterted into existing Clock and controlled from the phone. Using and I2C LED display from Adafruit.com a Bluetooth breakout and Real time Clock module. Also created the Android app using MIT Appinventor2 which is a great way to create your own simple apps without real coding. Next steps:
  • Field Testing
  • Getting it from Breadboard to PCB and easy connections

20160628_072957[1]

So My 2nd AC Agnes has burned herself with the accidental discharge of her Dust Off on her Belt, and a while back another AC had suggested the idea of a nozzle lock, I tried a different design that I didn’t like much but recently came up with a new idea for this and Here it is:nozzle lock v2

 

I will be field testing this and when I feel they are ready I’ll make them available here

One of the first things I found and wanted to 3d print was this Raspberry Pi Camera enclosure that looks like an old Bellows Camera picamerahttp://www.thingiverse.com/thing:513579 but quickly was finding that the printer I had access to couldn’t handle this prints.

Fast forward I am now printing the parts on my two printers quite nicely and even printing the wood parts in a wood filament. I decided against using actual metal filaments as they are hard on the printer and didn’t add much to the project.

The Original files were for an older Pi so one thing I had to do was redesign the back and the board mount for a Pi2, so I fired up Designscape Mechanical and imported a pi2 model from Grabcad.com and then imported and converted the .stl files from the camera.

Screenshot 2016-02-05 09.50.07 I Also have a really cool touch screen interface from Itead Studios called the Nextion screenshot-www.itead.cc 2016-02-05 14-37-46So I include a way to mount that as well. I’ll use this for camera controls and to change settings on the camera, I also designed one without just in case I change my mind and to offer it to Thingiverse users.

Next up assembling it.

Feb 28 2106:

Finally have it mostly together.12745464_10153921398675883_3707582292400787009_n 12804684_10153921398630883_3696990578824050632_n 12801131_10153921398710883_4497484210047724955_n

Now the fun begins, I decided to try to use a Non-GUI version of Raspian, So I loaded up an SD card with Jessie lite available from HERE. First thing to do was to get expand the filesystem to use the entire card and set locale and keyboard, disable Serial boot , enable camera, enable SSH all of which is done by running

sudo raspi-config  and reboot with sudo reboot now

Before I could update or install anything it needs to go online, I could have used the network port but since I was going to need wifi I put a USB wifi adapter in.

Searching online I found to enable the wifi and had to edit a file with

sudo nano /etc/network/interfaces

I then added the following lines:

allow-hotplug wlan0
auto wlan0

iface wlan0 inet dhcp
     wpa-ssid “mynetwork_ssid”
     wpa-psk “mynetwork_password”

 

Now reboot again and you should connect:

sudo reboot now

check that you are connected with

ifconfig

you should see an valid IP address for wlan0

Now we start loading stuff

First Update and upgrade your system with

sudo apt-get update

sudo apt-get upgrade

then make Python a development version with

sudo apt-get install python-dev

then install the PIP python tool for installing Python libraries

sudo apt-get install pip

Tired yet?

There is a great library for working with the camera on Raspberry pi, read up on it HERE

sudo apt-get install python-picamera

And we will need the Pillow graphics library but before we do we have to install the JPG libraries

sudo apt-get install jpeglib-dev

then

sudo pip install pillow

oh and since I want to auto mount USB flashdrives to use to store the photos I installed

USBmount

sudo apt-get install usbmount

now when I put a flashdrive in it will be at /media/usb/

This is as far as I have gotten at this point, up next testing the camera with picamera

Well it was long overdue. My Flash based website hadn’t been updated since 2004. Here it is 2016 and I’m just now changing things.

One reason is the my focus has changed, I don’t really need a website for my primary work as a Focus Puller (1st Assistant Camera), but I needed somewhere to put information about the other things I do. I also no longer build websites or interactive media which was featured on the old site.

So here I hope to document some of the other things I’m doing especially the 3d printed items that I now sell both directly and on Shapeways