Tuesday, August 30, 2016

Rebuilding my DIY Desktop CNC with an Arduino

I have been busy rebuilding my DIY CNC machine.  It will be all metal when I get done.  It will also include a USB interface, likely an Arduino.  None of my computers have a parallel port these days.  So something has to be done to resolve that issue.

This first picture is the new metal parts all drilled and ready for assembly.  Well maybe ready to be filed so they can be assembled.....

Here is the first video, getting the electronics working again:

Here is the second video with the X and Y axis working:

I have finally ben able to get GRBL to work with my CNC.
You will need to install the Arduino software.
Then plug in the Arduino and install the driver.
Then Unzip and install the GRBL software into the Arduino library.
Then compile and upload the GRBL software into the Arduino.
Open the serial interface and set the baud rate at 115k
Then install Universal G-Code Sender on the a PC
Set the baud rate to 115K and you should now be able to control the CNC.
Now to get the limit switches to work.....

My latest upgrade is to mount the Arduino to the electrical area.  The limit switches are still not wired up.

The Z axis is now working!

Here is the latest video:

Wednesday, August 17, 2016

What my Lab / Man Cave looks like

I recently added some more shelves in my lab to hold more books, videos and projects.  Here is a couple of views of the room.

On the left side at the top there is my DVD video collection, below that there are my Volt/Ohm meters, cameras, etc. Lower down is my prototypes for my books in white plastic binders.  Center is my project shelves with some dinosaurs and my CNC machine covered in stuff.  At the bottom there is a cupboard that my dad built for me when I was a teenager.

In this picture is my free-to-me 32 inch TV mounted on the wall.  Below that there is my free-to-me 17 inch laptop and a road kill 24 inch monitor (attached to the Raspberry Pi on the desk at this time).  To the right of that is my Epson printer that was also given to me.  The book shelf on the right side of the picture actually holds books as well as some parts bins and my CD / Software collection.  The cute brown dog is something I made way back when I was in high school.

So there you have it, the room where all of my books have been written, the room where my inventions are being built.

Friday, August 5, 2016

HP Pavilion DV9000 Series Resolder or Reflow the NVidia BGA Chip

I know there are hundreds of other posts on this subject.  I have now tried it and it works!  The last time I sent the motherboard off and spent some money to fix it.  I had two sick HP DV9700 laptop's and I could not even sell them for $40 on eBay.  So with nothing to loose I thought I would give it a try myself.

You will need the following.
1. Spacers for under the motherboard to allow air flow underneath it.
2. An aluminum heat shield, a pie plate works
3. A heat gun capable of reaching about 450 degrees.
4. The defective motherboard.
5. A timer, a cell phone will do.

First run a time test.  Set a piece of solder on a metal surface and with the heat gun one inch away from it see how long it takes to melt the solder.  In my case it took 3 minutes.  Set the motherboard on the spacers and center the heat shield over the GPU chip.  In the picture above it is the left green chip located just above the center of the arc where the cooling fan goes.  Start the timer and hold the heat gun in place moving it slightly to heat the top of the chip evenly.  After the timer runs out let the motherboard cool slowly, like for 30 minutes before handling it or reassembling it.


Reassemble everything and hopefully you now have a working laptop!  So far this has fixed every motherboard that I have tried it on.  This fixes problems like CD ROM drive not recognized, No sound, garbage on screen, etc.

Monday, July 18, 2016

2016 Batavia NY Hamfest - The best one so far this year!

The 2016 Batavia Hamfest was the best Hamfest that I have attended this year.  Maybe also one of the biggest in Batavia as well.  I only spent a little over $20.  For that I purchased two studio quality TV cameras (They were not the new widescreen format, but they work!) and a laptop computer. There was also a 25 foot VGA extension cord for 25 cents!

There was lots of interesting stuff for sale too.  This was some sort of antenna tuner.

How is this for a really old tube tester?

Portable radios by the box full....

This is where I bought the two TV cameras.

Oh, and here is my stuff.  Mostly free stuff....

Here is some more neat radios.

How about a genuine HH Scott radio?

This vacuum tube amplifier looks great.  Reminds me of the first amp I built, but looks lots better.

How about an EPROM programmer or an erector set?

Neat stuff by the truck load!

Here is one of the isles of vendors.

And here is another isle.

More radios.

More radios.

A fisher stereo receiver.

What is this thing??

Monday, July 11, 2016

Raspberry Pi with SSD1289 LCD and MCP3008 ADC

I have succeeded in writing the code for the SSD1289 screen to work with a Raspberry Pi.  I also added a control panel so I have more variable resistors.  I used them to vary the color giving 256K colors.

The SSD1289 took a flexible ribbon cable to connect it up.  That is because you have to access both rows of pins.

Here is a video of it working:

Wednesday, June 29, 2016

MY latest home improvement - removed wall for an "Open Concept"

I have removed the wall between the dining room and kitchen.  This creates an open concept, making the living room and kitchen seem bigger.
Being a mobile home there was already two 8 inch by 2 inch laminated beams down the center.  There was a one inch gap in the center between the beams that was filled with plywood to bring the beam size to 8 inches by 5 inches.  The existing wall was not a supporting wall as it was only under one of the beams and was made out of two pieces, having a top and bottom half.  The beam was then covered with 1 by 8's to make it look better.

To fix the floor was a little bit tricky as the flooring material was no longer available.  I found some similar laminated flooring that almost matched the old flooring and then used that.  I used a real oak bridge to fill the gap between the laminate of the living room and the kitchen flooring.

Tuesday, June 14, 2016

Raspberry Pi with 2.4 inch parallel interface TFT LCD

After about 2 weeks of trying I finally got a parallel interface LCD to work in Python.  I converted the code from C for the Arduino.  It did not appear to be working until I slowed it way down and discovered little lines appearing on one of the LCD's.  The driver is roughly a ILI9325 driver based on the Arduino code and the ILI9325 specifications.

The picture shows two screens and they both work with the same software.

Here is what the text looks like on the other screen.

Here is the first video demonstrating that it works.

Here is a second video, I added a Analog to Digital converter and made an "Etch-a-Sketch".

2016 Chaffee NY Hamfest

The 2016 Chaffee Hamfest was last weekend.  It was supposed to rain so we used the pavilions.  It was a little too windy for my books so I kept them in a box, and hence did not sell many of them.  I did sell about 1/2 of the stuff that I brought.

This first picture is of my stuff for sale.
 Here is the next pavilion.
Here is a picture of the main pavilion.
 This next picture is of the Pioneer school's stuff.
I used to go to a lot of Hamfests but these days I only get to two or three of them every year.

Monday, June 13, 2016

My Respberry Pi family is expanding.

The Raspberry Pi Zero was supposed to be a $5 single board computer.  However they were quickly bought up and resold for $25 or more.  With the introduction of the Raspberry Pi Zero camera edition the prices are now coming down to around $18.  So I bought one and a kit to be able to use it for another $15.  To be able to use the Zero you will need a micro SD card with NOOBS on it, a 5V 2 Amp AC adapter, a mini USB to regular USB adapter/hub and a Mini HDMI to regular HDMI adapter/cable.  A case to hold it in helps a lot too.  To be able to use the GPIO pins you will need to solder in your own 26 or 40 pin header.

This first picture is of the Raspberry Pi Zero camera edition.

This picture shows the Raspberry Pi 1A, 2B, and Zero next to each other.

This third picture shows the Raspberry Pi's in their cases.  I have a model 2/3 case on order from china that has not arrived yet.

As far as cases go the case on the left broke off one of the corners.  The hole for the ribbon cable does not fit the ribbon cable connector.  I was not happy with that style of case.  The case for the zero consists of two layers of Plexiglas and that style of case is what I ordered for the Raspberry Pi 2.

Here they are all in their cases.

Wednesday, June 1, 2016

Raspberry Pi and ILI9341 2.8 inch SPI 320 by 240 LCD

Over the holiday weekend I finished up writing my code for this 2.8 inch LCD.  It can now do bmp graphics as well as text and even large text.  All of the code is written in Python, so there are no dependencies except for SPI support that is now built into the Raspberry Pi operating system.

This picture shows a sample of the text.  It supports colors as two sizes of text.

This is the wiring chart:
Raspberry Pi
1 – Vcc
Pin 1
2 - Gnd
Pin 6
3 - CS
Pin 24/GPIO8/CE0
4 – RST
Pin 18/GPIO24
5 – D/C
Pin 16/GPIO23
Pin 19/GPIO10/MOSI
7 – SCK
Pin 23/GPIO11/SCLK
8 – LCD
10 ohms to Vcc

This is the code to display the bmp graphics:

def Image (filename):
  Write_CD (( 0X2A, 0X00, 0X00, 0X00, 0XEf )) #240 Columns
  Write_CD (( 0X2B, 0X00, 0X00, 0X01, 0X3F )) #320 rows
  Write_cmd ( 0X2C ) # Next: red, Green, Blue bytes
  GPIO.output (RS, True )  # RS = 1 will send data
  try:  # Prevents crashing when images do not work
    with open(filename, 'rb') as bitmap: # Must be 240x240-320 image
      for x in range ( 0,320 ):
        pixline = []
        for y in range ( 0,720 ):   # 720=240*3
          bitmap.seek(0x36 + x*720 + (719-y)) # 36 is header size
          Pixel = ord(bitmap.read(1)) # 719-y reverses image horizontally
          pixline.append (Pixel)
        spi.writebytes (pixline)

Here is a video of it running.

Friday, May 20, 2016

Raspberry Pi and ST7735 1.8 TFT SPI LCD display.

I have written six books on the Arduino, but only one on the Raspberry Pi.  Now I am working on a second Raspberry Pi book called, "Raspberry Pi LCD Projects".  The third LCD init is this 1.8 inch 128x160 pixel color LCD.  This first picture was taken when I first got it to work doing a Red/Green/Blue test.
Then I worked on the setup configuration so that instead of using 4 bits or 5 bits per color it uses 6 bits per color or three bytes per color.  That way it matches up with the BMP file format making it very easy to display a BMP image.  Sorry but my camera does not show the colors very well.....
I used IrfanView to edit and create this 128 by 160 Raspberry Pi logo image.
At first the BMP pictures appeared to be out of sync.  The problem was that the code for this display that is listed on the Internet is wrong.  The display was not using all of its 128 pixels in the width. After a few tweaks everything came up working as it should.

Here is the video:

Friday, May 13, 2016

More medical problems - Learning to eat healthier

First of all I must say that I am not a doctor nor do I play one on TV.  But the doctors have sure seen a lot of me.  If you are sick see a doctor!

You may be wondering why there has been so few posts and no videos from me for such a long time. Well to put simply I have been sick.  In November I was not feeling well and made a doctors appointment.  I also started taking more supplements trying to stop the downward spiral of my health.  In January the doctor observed lumps in my thyroid and sent me for an ultrasound.  During the ultrasound I noticed that the tech was taking lots and lots of pictures.

Next I was sent for a consult and a biopsy.  They had observed many lumps including two that were about one inch in diameter.  One of the larger lumps had no clearly defined edges and both had unusually high blood flow.  Both of those things are bad signs.  They took three biopsy samples from each of the larger growths.  When they pierced one of the growths I flinched every time even though they had anesthetized me.

When the biopsy results came back, there was no cancer found.  Now they will observe the growths every few months to see if they are growing in size.  Also by this time my health was improving.  I was taking lots of supplements, fasting for 23 hours at a time, and mostly drinking green stuff (Greens Pak).  I am taking Turmeric with black pepper, Una De Gato (Cats Claw), and Super Supplemental vitamins as well as the supplements that I have been taking for years.  I have also eliminated all corn syrup (was in yogurt) and almost all sugar.

I have found issues with some tings that I was eating almost everyday.

Oatmeal - Recent studies found very high levels of herbicides in oatmeal.
They are using herbicides to kill oat and wheat plants for faster harvesting.
I am now eating organic oatmeal instead.

Yogurt - They use corn syrup for a sweetener.
Corn is genetically modified (GMO) to have BT Toxin in the plant.
It is also sprayed with herbicides to kill any weeds.

Pretzels and bread - Wheat products have herbicides in them.

Friday, April 29, 2016

Dodge Stratus Anti-Freeze Leak Repair

Our Dodge Stratus is nearing the end of its useful life.  It has over 150,000 miles on it.  The exhaust is held together with clothes hangers, the suspension is bouncy and it is leaving puddles everywhere it goes.  Recently it overheated and I discovered it was about a gallon low on antifreeze.  The next time I checked it was low again so I took it to a garage.  They estimated $450 for repairs so I said "No thanks" and took it home.

I could not find the problem at first because I was looking at the engine.  The problem was fastened to the inside of the passenger side wheel well.  You have to remove the antifreeze reservoir to get a good look at it as in this next picture.  The lines to the heater are rotted out.  They get even worse just out of the view of the camera.

So I removed the one hose as in the above picture.  Then I removed the other one where it attaches and coupled the two hoses together with a short piece of pipe and a screw tightened pipe strap.

The top hose attaches just below the thermostat and the bottom hose attaches someplace under the engine.  Taking the bottom strap off leads to a antifreeze leak so I held my thumb over the end of the hose until I could get it up to the junction.

So far so good, but I would not recommend this repair to anyone.  For one thing you no longer have any heat!

Monday, April 18, 2016

Comparing Sony Cameras DSC-h2, H10, H50 and DSLR Alpha A330

I have preferred Sony cameras for years.  I once saw a Sony camera that produced a picture that was much better than what I could see with my eyes and that sold me.  I have owned several Sony cameras over the years and now I have a Sony A330 DSLR camera.

In these pictures the A330 is on the left, followed by the DSC-H50 then the DSC-H2.

The DSC-H2 runs off ordinary AA Cells.  It makes a great backup camera.

The DSC-H10 is a little plastic toy.  The flash quit after a couple of months.

The DSC-H50 is a GREAT camera.  I use it for most of my videos and stills.  It does not do wide (16:9) aspect ratio video.

The Alpha A330 is a nice DSLR.  However it does not do movies.  The standard lens does not do zoom. It is my first professional camera with a interchangeable lens.

I have recently added another camera.  It is a Sony Alpha A3000.  The A330 does not do video, the A3000 does.  I thought I could use my old lenses, and you can with an expensive adapter.  However for a little more than the price of the adapter I also bought a standard lens for the A3000.

These pictures have the Alpha A3000 on the left and the DSC-H50 on the right.

Thursday, February 11, 2016

LG Optimus Fuel L34C teardown

Someone dropped a fairly new LG Optimus Fuel phone into the tub.  I had to tear it apart.  It was really amazing how easy it was to take apart.

Remove the back cover.
Remove the battery.
Remove 6 tiny screws.
Remove back gray plastic.
Unplug two connectors, they pull straight out.
Remove the circuit board.
Disconect two metal hooks and the metal shield comes off.
Insert parts in bowl or rice and wait several hours.

The two connectors to the screen are in the upper right corner of this picture.

The two screen connectors are in the lower left corner of this picture.

 These are all of the parts minus the battery and back cover.

Everything worked when I put it back together.  A little while later the screen died and has been blank ever since.....