collapse

Author Topic: Facetron Encoder Mod Thread  (Read 8258 times)

RoughCreations

  • Administrator
  • ALF'er Platinum
  • *****
  • Posts: 307
    • Rough Creations homepage
Facetron Encoder Mod Thread
« on: July 10, 2021, 06:35:46 PM »
Thought I would start a thread for the recent fitting of an encoder to my Facetron faceting machine by MakkyBrown  beers.

I'll do a recap to cover some of the early preparations.

A key component was required - Makky CNC-milled an alloy housing/adapter suitable for a Facetron using the dimensions I supplied (shown below). The adapter was designed to suit an Avago Technologies AEDM-5810-Z12 5000cpr encoder.

Dimensions used for CNC-milling of adapter:




Here you go. Currently, I've made the recess 24.68, which allows about 0.07mm for a slightly uneven circle polygon. Hopefully that is enough and sanding is not required. Will cut from 10mm plate, recess is 4mm deep. Hole will be adjusted so 6mm shaft slides in with as little pay as possible so the mount can be used to align the shaft extension. After the glue on the shaft sets pull off the mount and drill the hole slightly larger before gluing the mount on.After fitting the shaft extension you can check it for run out, if ok go ahead and fit the encoder if not then I won't have to buy a replacement for my machine.

I've made the recess 4mm deep, 3mm for the bearing and shaft and an extra 1 mm for glue squeezing when the shaft is fitted.

Your OD is probably 31/32" or 24.604mm
Should work, I'll see if i can cut it on the w/end.

MB



Here it is in the flesh:


« Last Edit: July 10, 2021, 07:15:34 PM by RoughCreations »
Rough Creations - Beauty from rough beginnings

RoughCreations

  • Administrator
  • ALF'er Platinum
  • *****
  • Posts: 307
    • Rough Creations homepage
Re: Facetron Encoder Mod Thread
« Reply #1 on: July 10, 2021, 07:07:21 PM »
My machine under anaesthetic, ready for some elective surgery (surgeon MB) in southern Tasmania:



You can see the catheter has already been inserted:



Black Dextone epoxy-based adhesive was used to achieve this step. You can just see a little fillet around the shaft bottom edge. Note the alloy adapter was in place when the shaft was glued to centre it correctly, this a is crucial step and without doing so would result in the shaft being badly mis-aligned.

I will state here that no drilling or dismantling of the machine was required, so the modification is reversible (but I'm certainly not going back!). At first I found it a little hard to accept the concept of gluing, as I am more of a dismantling, drilling and tapping kind of guy. However, following on with the same analogy, I see this as keyhole surgery rather than open-heart surgery. The components aren't coming off anytime soon, this black stuff sticks good. There's no physical load on the encoder or adapter, and components are very lightweight. The metal surfaces were lightly sanded to allow the epoxy to better anchor with the raised metal grain, and then surfaces were cleaned with alcohol to remove any finger grease etc.
« Last Edit: July 13, 2021, 01:28:09 PM by RoughCreations »
Rough Creations - Beauty from rough beginnings

Faceting Frank

  • Global Moderator
  • ALF'er Platinum
  • *****
  • Posts: 465
Re: Facetron Encoder Mod Thread
« Reply #2 on: July 10, 2021, 08:20:36 PM »
I take it that this will give you a digital display of the angle of the quill. Something that can be used as a stop, but also record the angle of the facet. For example, if the facet was 43.25deg and you later spot a problem with it, you can go back to 43.25deg and fix it. That would be brilliant.

RoughCreations

  • Administrator
  • ALF'er Platinum
  • *****
  • Posts: 307
    • Rough Creations homepage
Re: Facetron Encoder Mod Thread
« Reply #3 on: July 11, 2021, 10:54:53 AM »
I take it that this will give you a digital display of the angle of the quill. Something that can be used as a stop, but also record the angle of the facet. For example, if the facet was 43.25deg and you later spot a problem with it, you can go back to 43.25deg and fix it. That would be brilliant.

That's pretty much it in a nutshell. It effectively negates having to put up with play in the mechanical drivetrain from quill to indicator. No squinting at an indicator dial graduation either, you can choose how to display the encoder information (numerically or graphically) by writing some not too difficult code, or get someone else to write it for you.
« Last Edit: July 13, 2021, 01:25:27 PM by RoughCreations »
Rough Creations - Beauty from rough beginnings

RoughCreations

  • Administrator
  • ALF'er Platinum
  • *****
  • Posts: 307
    • Rough Creations homepage
Re: Facetron Encoder Mod Thread
« Reply #4 on: July 11, 2021, 11:04:11 AM »
I forgot to mention this bit, a small alloy collar with centre hole drilled the same as the shaft (6mm). I think it was used to help with the shaft alignment whilst gluing (the most critical step). MB could probably add some more details here.

MB Edit : Yes, it is an alignment tool that fits snugly into the encoder base plate and kept the small shaft centered and vertical while gluing.

« Last Edit: July 11, 2021, 03:09:22 PM by MakkyBrown »
Rough Creations - Beauty from rough beginnings

RoughCreations

  • Administrator
  • ALF'er Platinum
  • *****
  • Posts: 307
    • Rough Creations homepage
Re: Facetron Encoder Mod Thread
« Reply #5 on: July 11, 2021, 11:09:28 AM »
The alloy adapter glued with Dextone to the Facetron side arm. The black plastic encoder base plate has been screwed to the alloy adapter. The gluing was successful as the shaft run-out appeared minimal with slow manual rotation - within the encoder's installation parameters.

Rough Creations - Beauty from rough beginnings

RoughCreations

  • Administrator
  • ALF'er Platinum
  • *****
  • Posts: 307
    • Rough Creations homepage
Re: Facetron Encoder Mod Thread
« Reply #6 on: July 11, 2021, 11:31:51 AM »
Encoder internals and housing snapped onto the baseplate, a tiny allen key locks the shaft to the encoder hub wheel.



The encoder wiring harness (five wires) are connected to the encoder by a Molex KK type? push in connector (Broadcom HEDS-8903 connector). The ferrite ring seen here on the cable was later removed.




Rough Creations - Beauty from rough beginnings

RoughCreations

  • Administrator
  • ALF'er Platinum
  • *****
  • Posts: 307
    • Rough Creations homepage
Re: Facetron Encoder Mod Thread
« Reply #7 on: July 13, 2021, 01:17:51 PM »
Connected to display box. Note that the LCD screen is a little dead in some areas, I have a new screen to replace it with. The black button is the on/off, the green button is the calibration button.



The calibration button is pressed when the brass dop extension is laid flat and parallel as possible with a straight and true alloy backing disk. This then becomes the 90 degree reference value for the encoder and is stored in the EEPROM.



The cable ties seem a bit crude, but they work well and haven't got in the way of cutting so far.

Amateur Gemstone Faceting Vol 2 is the unofficial "licence" required to undertake the Tom Herbst inspired faceting machine encoder modification project.
« Last Edit: July 13, 2021, 01:20:21 PM by RoughCreations »
Rough Creations - Beauty from rough beginnings

Bucket

  • Global Moderator
  • ALF'er VIP
  • *****
  • Posts: 1116
Re: Facetron Encoder Mod Thread
« Reply #8 on: July 13, 2021, 11:16:02 PM »
Wow, looks the goods RC! You'll have to post your first stone when you do it. By the way, I know it's been a while but do you or Makkie want the specs for the saw blade holders for the Facetron? I'm home now and can measure them for you.
Common sense isn't exactly common

Faceting Frank

  • Global Moderator
  • ALF'er Platinum
  • *****
  • Posts: 465
Re: Facetron Encoder Mod Thread
« Reply #9 on: July 14, 2021, 07:25:56 AM »
Bought that book by Tom a while back so I could fit an encoder to my machine. I think he dedicated 23 pages on the subject, anyway way over my head and never attempted to fit one.

RoughCreations

  • Administrator
  • ALF'er Platinum
  • *****
  • Posts: 307
    • Rough Creations homepage
Re: Facetron Encoder Mod Thread
« Reply #10 on: July 14, 2021, 01:22:20 PM »
I agree Frank, it is not something I would have tried on my own, even with the book. The fact that MakkyBrown did the install for me, by documenting it, I hope this encourages more people with some technical ability to give it a go.
I think I will do a bit of a breakdown of what's in my display box next, and how to upload code to the micro-controller.
« Last Edit: July 14, 2021, 02:05:38 PM by RoughCreations »
Rough Creations - Beauty from rough beginnings

RoughCreations

  • Administrator
  • ALF'er Platinum
  • *****
  • Posts: 307
    • Rough Creations homepage
Re: Facetron Encoder Mod Thread
« Reply #11 on: July 14, 2021, 01:28:45 PM »
Wow, looks the goods RC! You'll have to post your first stone when you do it. By the way, I know it's been a while but do you or Makkie want the specs for the saw blade holders for the Facetron? I'm home now and can measure them for you.
Appreciate the offer, but it's all done now:


MB, (bless his soul once again) machined the saw holder up out of perspex for me.
I have already cut some stones with the encoder, it is very user-friendly to use, and my pavilion tiers meet beautifully, and are so pointy now!
« Last Edit: July 14, 2021, 02:07:28 PM by RoughCreations »
Rough Creations - Beauty from rough beginnings

RoughCreations

  • Administrator
  • ALF'er Platinum
  • *****
  • Posts: 307
    • Rough Creations homepage
Re: Facetron Encoder Mod Thread
« Reply #12 on: September 23, 2021, 11:14:30 AM »
I have recently rebuilt my encoder box to learn more about micro-controllers generally, and also enable me to add more lines of code to perform extra functionality, and have a bit more room inside to put things that are not really necessary, lol. The Nano board in my original box was reaching its limits in some areas, but still managed to do the basics just fine. Everything except the screen was bought at Jaycar.

My Parts:
Back and front of screen, black screen bezel mount and Uno Wifi 8266 board.



In progress:
Uno Screw Shield (green screw terminals not really necessary except for proto-typing), white polyethylene chopping board insert, screen underneath. By using the Uno form factor shield, the wiring can be soldered to it, but the board can be removed easily - it just pulls off and pushes back on.



ST7920 128 x 64 Screen wiring:
My soldering needs a little improvement, but it tested OK. I can provide the wiring details I used if anyone is interested. I later added a trimpot to Vo pin to control the screen contrast.



All wired up:
Completed encoder box with 8266 chip board. The little square hole was cut to enable me to access the micro dip switches underneath if required, but I haven't used the Wifi functionality of the board yet. You can see the connector on the shield for the encoder wires (red-white-green-black-black). The encoder cable is removed in this picture.



Front view, in action:
Red button stores the current angle in the EEPROM, it then becomes the Target Angle. The angle shown in large font is raw and un-smoothed. The Smoothed angle and the progress bar don't change until seven encoder readings in a row are exactly the same (about 0.5 seconds) - I find this works well for me. The black button currently does nothing, the knob does the screen contrast, and there is another button underneath to calibrate the unit (not shown).



I can't help myself, I'm experimenting with yet another board:

An ESP32 board in Uno form-factor this time, quite powerful, and still under $20. The other smaller board is a DC-DC converter to provide a cleaner input voltage to the board (taken from original box from MB). The GPIO pin outs are laid out quite differently on the ESP32 board.



« Last Edit: September 23, 2021, 11:42:12 AM by RoughCreations »
Rough Creations - Beauty from rough beginnings

MakkyBrown

  • Administrator
  • ALF'er VIP
  • *****
  • Posts: 1739
    • Andrew Brown Faceting Designs
Re: Facetron Encoder Mod Thread
« Reply #13 on: January 08, 2023, 11:11:15 PM »
Bump for jcricket.

Bucket

  • Global Moderator
  • ALF'er VIP
  • *****
  • Posts: 1116
Re: Facetron Encoder Mod Thread
« Reply #14 on: January 09, 2023, 12:45:14 PM »
Bloody hell RC, do you actually do any faceting these days or are you having too much fun with the electronics!? I will expect scores of >98 in any future competitions.
Common sense isn't exactly common

 

Recent Activities

Nundle - Fossicking Access to the Peel River by opal light
[Today at 10:07:16 AM]


Blue Hills quarry and Sapphire bend access at Oberon by opal light
[Today at 09:46:26 AM]


Armidale to Tenterfield by Bucket
[March 28, 2024, 02:40:56 PM]


Recently cut gems (AB Facet Designs) by mehoose
[March 28, 2024, 01:41:37 AM]


New mast and quill assembly by RoughCreations
[March 27, 2024, 08:46:05 AM]


Lapidary Industry Turmoil in the USA by tinker
[March 26, 2024, 02:48:04 PM]


Garnet by RoughCreations
[March 26, 2024, 11:13:38 AM]


Faceting machine head assembly. by Faceting Frank
[March 21, 2024, 09:56:28 AM]


Apex Indexer by RoughCreations
[March 20, 2024, 11:53:34 AM]


Club Badges or Pins by Suparoo
[March 16, 2024, 07:39:39 AM]


vib flat lap restoration by lewy
[March 10, 2024, 09:35:09 PM]


Save the Gemfields. by pc bowe
[March 09, 2024, 05:34:58 PM]


Novice in need of advice on Opal by Bucket
[March 09, 2024, 03:28:07 PM]


Glen Innes, Mud maps and private property by MrSydney
[March 08, 2024, 02:38:53 PM]


18ct Wedding Ring by Rusted
[March 08, 2024, 10:22:07 AM]

SimplePortal 2.3.7 © 2008-2024, SimplePortal