Monday, January 26, 2015

3D Printer Linear Motion without Linear Bearings!

 I currently use several modified Printrbot Simple Maker's Editions. They are very solid machines and make some impressive and fast prints. My largest print size is 200mm x 320mm. Roughly 8” x 14".
  The one thing that is a constant battle for higher speed prints is slop or flexing parts during the movements. I started experimenting with different materials to use in place of linear bearings for use in 3d printing. Although 8mm linear bearings and case hardened rods are the go-to solution, they still have play that is evident in the prints (especially when changing direction)..
  One quick, possible solution for my existing printers are the small round parts in the pictures. They are 8mm I.d. x 10mm x 10mm linear bushings. The are self lubricating bronze linear bushings with a hardened carbon steel outer casing and a PTFE (Teflon) inner liner. Extremely nice fit with no play, but they will require some new mounts to be fabricated to fit my existing bearing mounts.

The white part on rails is a test for my custom designed printer. The plastic is also self lubricating, but is HDPE. 
  I am very excited about this test as it is smoother than the bearings could ever hope to be and will easily be fabricated so there will be no play when mounted correctly.
  It's 5/8” thick HDPE and has had all 4 sides routed top and bottom, leaving a 3mm tab that fits snugly into the 3mm screw rail of  15x15 mm extruded aluminum (openbeam v2.1).
   This is an idea that I hope to develop in my custom printer and maybe even for the CNC machine I have been planning for the future.


  The last item is a roll of PTFE tape. I had considered using it to line the edges of an aluminum plate that could also run in the extrusions rail with HDPE wheels to provide side pressure, removing all play. That is something I will be trying and sharing the results here as well.
  It may be necessary to use aluminum/Teflon combo over the HDPE glide depending on how well my ideas work out to prevent heat creep on the heated bed and extruder mount. HDPE is my material choice for these projects. Wonderfully smoother linear movements without bearings.

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!




Sunday, October 20, 2013

Brains behind Arduino Lawn Mower!


Finally got a delivery from China.  It is the new Arduino Mega 2560 R3 compatible MCU along with a the v2 Sensor Shield.  (this combination had the same pin to usb short I discussed in an earlier post.  Be sure to check that post for the fix or it will fry your mega 2560! (Arduino Mega 2560 shorts against v2 Sensor Shield)
 It took a couple weeks to be delivered,  but the price is less than a quarter of what the cheapest price vendors are offering it here in the U. S..  Not only do a lot of local vendors order them from china,  but a lot of auction sellers will take your money and have it drop shipped from china.  Well worth it to do some research and cut out the middle-man! 


Now that I started to put the components into the battery box,  it is getting very tight with the new SLA 12Ah 12v battery.  The solution is to build a multi-level control board that will slip right in beside the battery. Seems like it works very well,  but it might get a little tight after I start adding sensors and more wiring. 

Thursday, October 3, 2013

Hobby RC remote for testing the Lawnbot!

I've been stuck indoors, unable to work on the mechanical parts of our robotic lawn mower.  I took advantage of this time and wired a Futaba FP-R127DF 7 channel Receiver to an Arduino Uno r3 and wrote a few lines of code to see if I could get it to read the signal from a Futaba T6XH-Super PCM1024 6 channel transmitter.  Was a lot easier to get the Arduino to display the signals than it is going to be for me to figure out what they all are.  This is a programmable aircraft/helicopter remote with settings for just about everything.  Ailerons, flap, Swash Plates and mixing of all the signals.  Wish it was a standard RC car remote!  It's going to take some research to program the transmitter.  With what I do know now, I believe I can get it driving the bot. 
 I started out the day knowing nothing about how to read or interpret rc hobby remotes.  I searched and found a real nice tutorial over at sparkfun.  Wasn't as complete as I thought,  but there is additional info in the comments that will help get it working with dual motor controllers.  The actual page is: https://www.sparkfun.com/tutorials/348
 BTW, not sure if the Raspberry Pi running Raspbian allows for enough time slicing in the multi-tasking to be able to poll the serial ports (usb)  for an rc transmitter combo.  I originally started using the Pi to program the Arduino as I always do.  When I opened the serial port monitor to view the signals, the cpu bogged down and brought the entire system to an absolute crawl at 9600bps.  Made it unusable.  Was forced to bring out another machine with an OS that I loathe! If it weren't my kids, I would install linux on it.  If you were to really delay the polling, you may be able to read it, but I would really check into other OSs or distributions if you want to use it with the Pi.  This is one of the reasons I  will be using the arduino with the Pi on this robot. 
 Tomorrow I hope to post some new updates on the chassis.  At the latest I hope to have something actually moving my the end of next week!  
 I also updated the current hardware page.  This is really starting to run together.  I think it's time to separate the parts by project.  That way if you are trying to duplicate something,  you will know exactly what I  did it with. 

Tuesday, October 1, 2013

Large mower-robot chassis progressing quickly !

Here's a quick update since I haven't posted in a bit.  Work is going on daily.  At least a couple hours a day is what I have been trying for.  Lately I  have been working on getting a physical chassis up and running.  What is pictured is a first mock-up of my 3 wheeled mower bot.  
The 2 rear wheels are salvaged, geared drive, dual 12v, 25 amp motors.  Taken from a kid's power wheels ride on jeep.  Along with the dual 45amp mosfets driven H-bridge should be more than enough to drive this bot through any urban environment . 
 The cutter motor is a 25cc, 4 stroke propane string trimmer (weed whacker) motor.  I had built the system around the string trimmer's 18" inch cutter head, but the body size of 18x24 inches is extremely large for my yard and would not only cut the lawn in a couple passes, but prevent me from maneuvering in the tight areas.  So I believe I  will not only shorten the cutter head, but also the overall size by about 2/3rds.
  The next step is to mount the battery box and some of the computer equipment so I  can start testing the base with a 6 channel remote control.  I will be sure to post some videos of this step as well. 
 The next hurdle is going to be cutting up the motor's clutch housing and fabricating a cutter head drive.  Obviously I won't be able to use the 8 foot drive shaft that came with the weed whacker. 
  So anytime I am not posting,  it's not that I have given up on any of this project!  It's more like I am so involved and barely have time to do anything but work on this bot.  I really want it to move forward quickly and have a working, remote controlled chassis in the next couple of days!  (did I mention a contractor has the front of my house torn off at the moment?  Ah,  Busy days!) 

Sunday, September 22, 2013

Raspberry Pi tablet using Tightvnc and Remote Ripple.

Yesterday I showed you how to convert an inexpensive LCD monitor to be powered and run with the Raspberry Pi. My intention for that screen is to run a custom python program which will monitor sensor data and system status of my robot.  But it is much too small for everyday use and I  really don't want to plug it into the HDMI monitor every time I need to change one line of code.  The solution for me is to run a TightVNC server on the Raspberry Pi and Remote Ripple (from the creator of TightVNC. )  on my Nexus 10 running Android.  I can connect to the RPI from Windows, Macintosh, Linux, Android or any computer running a VNC Client program over WiFi. You can then run any program,  change files,  update the system, reboot or halt the RPI as if you were connected to it with a keyboard,  mouse and local monitor with any computer running the client software.  Even a Nexus 10 Tablet! 
So how do you do it? 

 I installed it using the instructions here: http://elinux.org/RPi_VNC_Server


TightVNC is available for free at Tightvnc.com contains the client and server software, is available for free and works on most platforms (except android) .  Remote Ripple client software does work on Android,  requires a very small license fee and is available from the Play Store. 

Friday, September 20, 2013

Hack 4.3 inch tft display to run on the Raspberry Pi's 5v DC supply!



I purchased one of the inexpensive 4.3 inch tft lcd display to use with my Raspberry Pi/Robot. It is set up for 12v DC Automobile voltage, but the hardware can be hacked to run on 5v DC power.  The same power as the USB input on the Raspberry Pi and the logic supply on my motor controller.  I did a search and found instructions for other displays,  but not for the specific one I had purchased.  No brand name on the packaging.  It is model number BWCMO363 and is titled " 4.3'' Color TFT Car Monitor Support 480 x 272 Resolution + Car/Automobile Rear-view System Mirror Display Monitor" on Amazon that uses  the xl1509-5.0 voltage regulator.  Note: do not do any of the following unless you are familiar with electronic components and comfortable with the procedures described.  Altering the components can damage or destroy your display. 
I found the data sheet and confirmed that pin 2 was the 5v out.  Unlike other instructions, I just want to change the power requirements from 12v to 5v.  I am not swapping in a USB cable or any other mods, so it is not necessary to unsolder the voltage regulator chip or even disconnect any other wires except the 12v + Red wire.  We do not need to disconnect the ground since I  am using this cable's Black/ground wire. 
(xl1509-5.0 located center, far right on the circuit board. 
Only 8 leg IC on the board))

This second photo you can see that I moved the red wire from the cable connector on the breadboard.  I moved it over to pin 2 of the xl1509-5.0 voltage regulator and carefully soldered it to the pin 2 leg.  Since there is no longer a voltage in feed,  the regulator should be dormant and does not need to be removed or altered. 


This is my first solder attempt with surface mount components.  As you can see i n the photo above,  this is a very fragile procedure.  I am pointing with needle nose tweezers! My tip of the soldering iron covers at least 2 legs of the voltage regulator.  So just be prepared! 



Since I left a long lead on the wire (less than a 1/8th inch) exposed,  I  put electrical tape above and below the wire to insulate it.  Also, there is no strain relief for the input wires.  (Solder is the only thing keeping it connected to the monitor!)  I used a zip-tie,  tightened around the wire inside the case.  Cut off the tail and when it is closed up, the cable will snap before the solder joint comes under any stress. 



Before closing it up or applying any power, check your connections.  Then the only thing to do is connect it and confirm it works (another note on this model,  connect a video signal/raspberry pi.  Otherwise, without a signal it will not look like any power is connected!) 


It's up and running!  That is my desktop from my Raspberry Pi displayed on this little 4.3 inch tft screen and both of them are running on a regulated 5 volt dc power supply!  The actual monitor I purchased is listed as :

model number BWCMO363 
4.3'' Color TFT Car Monitor Support 480 x 272 Resolution + Car/Automobile Rear-view System Mirror Display Monitor on Amazon.  

Note from the reviews: the model number stays the same,  packaging and design (menu buttons)  do change.