Showing posts with label raspberry. Show all posts
Showing posts with label raspberry. Show all posts

Thursday, November 13, 2014

New hardware including 3d Printers are being added!

I  got extremely sidetracked while waiting for a delivery of 10 ultrasonic sensors from China.  It basically took 3 months before the shipper would agree they were lost in transit.  In the mean time,  I received a Christmas gift that took over 100% of my hobby time.  A Printrbot Simple 2013 maker's edition 3D printer.  Since that time I have completely changed the design of that original printer and built 2 more.
  I started designing mod files and even recreating the original Laser-cut DFX files into Printable STL format. If you have a printer you can print your own 2014 Printrbot Simple 1405. If you don't you can commission an owner to print you one or even use a local 3d print service.  Those and all my files can be located at  http://www.thingiverse.com/metaled/designs
  I have a ton of subjects I would like to share hints and tips for.  Don't get me wrong,  I have ordered new Ultrasonic Sensors and do plan to continue sharing that robotics project.  But I  also plan to share Raspberry Pi,  PcDuino,  Arduino,  Intel Edison and lots of electronic circuits with the Lawn Mower Robot assembly!
  I'll try to find time to share as much as possible and if you have any questions,  please feel free to ask in the comment sections!




Wednesday, May 22, 2013

Add a case to your Raspberry Pi Camera!




Add a case to your RPi camera.  Simple, safe and secure storage for your Raspberry Pi Camera. (Read everything and understand it all before starting this yourself.  Any questions?  Just ask!) 
I received my Rpi camera and got nervous just using it. All the warning about static electricity as well as notices not to kink the cable. There is no safe way to set it down since the circuits are exposed.  Accidentally set it on the pi and short out a couple connections and not only is your camera gone, but it could damage or destroy the Pi itself! 
This entry is going to be detailed (long with lots of photos).  So it can show you how I made a case that allows me to use my Pi Camera without worry.  To start, the case I chose is rather large at roughly 3"x2.25" by 5/8" deep. You could get away with a case measuring 1.25"x1.25"x5/8" The reason being it's the smallest case that Fry's electronics had in stock. The cases can be found at most electronic supply stores and online by searching for "plastic electronic project enclosure".  The one I have is for small projects and is designed to hold a remote control... Like a garage door opener. 


First step is to make sure everything is unplugged and that you wear a grounding strap or ground yourself to a cold water pipe to discharge any static. Figure out where you want to place the camera and mark it with a sharp brad or small drill. Since it is plastic,  drill a smaller pilot hole to position the larger 5/16" drill bit. Don't use brad point drill bits (they may tear it up), drill at a slower speed to prevent melting and let the bit do the cutting.  Don't force it to avoid cracking the soft plastic. 

The camera lens should fit flush against the case. You can smooth the edges of the hole with a piece of 180 sandpaper and your finger-tip. Protect the lens on hard surfaces. 


With the camera in place, I marked the screw holes with a very tiny phillips screwdriver, simply twist it a couple times to score/mark the plastic. 


Same drilling procedure with 5/64" drill bits.  I then inserted the 2-56 x 3/4" nylon screws, then the camera board and the nylon nuts.  I didn't have to tighten them down since the screws are the exact size of the breadboard holes.  Just connecting the board to the nylon screws holds it in place.  (if you do tighten the nuts down or use other hardware, be aware of the components! They are very close and it could damage the electronics!) 
Since the screws are too long, I cut them off with wire cutters. (screws were found at Fry's electronics, but I have also found them in the specialty hardware drawers at local home improvement centers) 


I then used a dremel with a cutoff wheel to cut a tab in the back cover and the end cap, just slightly larger than the ribbon cable so it can move freely.  It can even sit on the edge or lay flat without kinking or folding the ribbon cable.  Sand the cut edges smooth with the sandpaper. 
Tighten the cover's screws and you are done! Protected,  self standing and lay flat for storage.   You have a custom camera case! 



If you have any questions, drop me a line in the comments and I will do my best to help you out! 

Monday, April 29, 2013

Destroyed the SD card socket in my Raspberry Pi.




Micro SD adapter mounted in the Raspberry Pi

When it rains,  it poors! For the first week, I have been chasing a bug on the Raspberry Pi. Where keystrokes from the USB keyboard are missing or are duplicated continously .  This bug is caused by low or no power on your USB hub. Since I have a 2 amp powered hub, I have tried changing devices looking for something that was shorted or power hungry that could be causing it.  The problem was intermittent, so I would have to wait for it to occur to try and solve it. Today it happened, so I replaced the keyboard (yet again) and started wiggling wires. I pulled too hard and yanked it from its case while the sd card was installed. The Raspberry Pi came out of the case ripping the Sd card mounts clips off.  It will no longer hold an sd card. Without an sd card it would not boot!

Friday, April 26, 2013

Arduino Mega 2560 + Raspberry Pi experimental platform


image
First experiment with a mobile platform using the Raspberry Pi and the Arduino mega 2560.  The kit comes from Sainsmart.com and is a very basic starter kit with the mega 2560, motor driver board and the sensor shield as well as most of the car parts themselves. I purchased them from Amazon.com for about $80 each.  Not bad when the Mega alone sells for $60+ bucks.

Raspberry Pi Installed!


image

Ran into a few problems before even getting into the programming.  I have been reading several books on python while waiting for a delivery of arduino and parts to build a robot.  Anyhow every time I have tried to enter code or update the system, strange things have been happening.  The first keyboard I kept missing keys or getting certain keys stuck in the buffer. so I replaced the keyboard and it seemed to correct the problem.  For the last 2 days I kept trying to download software to install hardware or update the Raspberry Pi itself. My internet connection kept crapping out after 3-4% of a file. (could not keep an internet connection for more than a few minutes)