collapse

Author Topic: Faceting machine head assembly.  (Read 6257 times)

Faceting Frank

  • Global Moderator
  • ALF'er Platinum
  • *****
  • Posts: 476
Re: Faceting machine head assembly.
« Reply #45 on: March 05, 2024, 04:34:42 PM »
Looked at your video RC, looks good. When I bought the esp32, I didn’t know there were heaps of variants. But looking at info on them on the net, they are much the same with some having added features. Mine is a esp32s 38pin, they came as a pair for $25 inc. postage. Have downloaded some pinout drawings of them so I can get an idea of which pins match on different boards.

Faceting Frank

  • Global Moderator
  • ALF'er Platinum
  • *****
  • Posts: 476
Re: Faceting machine head assembly.
« Reply #46 on: March 05, 2024, 04:41:42 PM »
Can't make out the pin numbers, will take a better picture tomorrow.

Faceting Frank

  • Global Moderator
  • ALF'er Platinum
  • *****
  • Posts: 476
Re: Faceting machine head assembly.
« Reply #47 on: March 06, 2024, 10:29:27 AM »
MB recommended me getting the esp32S, which is different to yours RC, as it has 38 pins. So, MB must have a different wiring setup. The pin setup on the drawing of this esp32 is the same as mine, baring the numbered pins start with the letter G and mine start with P. I assume that means nothing. This board only has one 5v output, but the screen will run on 3.3v, so I can power the screen from the 3.3v and back to the GND on the opposite side. I will wait till I get my square pinned board before starting, as the cables I have are square pinned and I only need to solder it up when it all works.

RoughCreations

  • Administrator
  • ALF'er Platinum
  • *****
  • Posts: 322
    • Rough Creations homepage
Re: Faceting machine head assembly.
« Reply #48 on: March 06, 2024, 01:10:41 PM »
Thanks for the diagram of your board, could be helpful if there is any troubleshooting required. I have included the diagram for my current board for a reference. I think you should be able to use many of the same pin numbers as me initially, if that helps. You should be able to connect more than one wire to your 5V pin if required, i.e the encoder and screen VCC could both go to your 5V pin.

Rough Creations - Beauty from rough beginnings

Faceting Frank

  • Global Moderator
  • ALF'er Platinum
  • *****
  • Posts: 476
Re: Faceting machine head assembly.
« Reply #49 on: March 06, 2024, 01:34:56 PM »
Thanks for that RC, will be able to look at your wired up picture and compare it to this diagram and my diagram.

MakkyBrown

  • Administrator
  • ALF'er VIP
  • *****
  • Posts: 1739
    • Andrew Brown Faceting Designs
Re: Faceting machine head assembly.
« Reply #50 on: March 06, 2024, 06:02:44 PM »
The Nodemcu esp 32 are pretty good and supported. Some of the Chinese ones will cause you grief.

Faceting Frank

  • Global Moderator
  • ALF'er Platinum
  • *****
  • Posts: 476
Re: Faceting machine head assembly.
« Reply #51 on: March 07, 2024, 04:27:17 PM »
Made a wiring diagram based on your info RC. Just put the basic description of the pins on the drawing, the reset on the 38 pin model is the EN pin. Did Google for info about connecting both the encoder and screen from the same 5v outlet on the esp32. Didn’t find a that’s ok answer, so powering the screen from the 3.3v pin and opposite ground pin.
As far as I can see the drawing is correct. So fingers crossed when I wire it up.

Faceting Frank

  • Global Moderator
  • ALF'er Platinum
  • *****
  • Posts: 476
Re: Faceting machine head assembly.
« Reply #52 on: March 07, 2024, 04:29:20 PM »
For some reason it's on it's side. Will fix that.

Faceting Frank

  • Global Moderator
  • ALF'er Platinum
  • *****
  • Posts: 476
Re: Faceting machine head assembly.
« Reply #53 on: March 07, 2024, 04:44:31 PM »
Very strange, I've uploaded that picture three times and it turns it on its side every time. Even if I turn it on my PC, it will turn it back.

RoughCreations

  • Administrator
  • ALF'er Platinum
  • *****
  • Posts: 322
    • Rough Creations homepage
Re: Faceting machine head assembly.
« Reply #54 on: March 07, 2024, 08:55:13 PM »
Made a wiring diagram based on your info RC. Just put the basic description of the pins on the drawing, the reset on the 38 pin model is the EN pin. Did Google for info about connecting both the encoder and screen from the same 5v outlet on the esp32. Didn’t find a that’s ok answer, so powering the screen from the 3.3v pin and opposite ground pin.
As far as I can see the drawing is correct. So fingers crossed when I wire it up.

Looks promising. I would probably check first that you can upload code to the ESP32 OK by trying one of the simple example bits of code that are available in the Arduino IDE, and then go from there.
Rough Creations - Beauty from rough beginnings


Ghost

  • Global Moderator
  • ALF'er VIP
  • *****
  • Posts: 519
Re: Faceting machine head assembly.
« Reply #56 on: March 08, 2024, 09:59:01 AM »
1. If someone wants to look at the upside down diagram, drag it to the Desktop and use a viewing or drawing package to rotate it.
2. Try loading an upside down version and see if that comes out the right way up.
Just rambling.
Ghost.

Faceting Frank

  • Global Moderator
  • ALF'er Platinum
  • *****
  • Posts: 476
Re: Faceting machine head assembly.
« Reply #57 on: March 08, 2024, 10:22:50 AM »
MB, the screen runs on 3.3v to 5v, so it should work fine on the esp32 3.3v pin. Ghost, for some reason the drawing was turned 90deg to the right, so I turned the drawing 90deg left on my PC and uploaded that and it turned it 180deg right. Since then it has now turned the drawing another 90deg, so now its upside down. There is an edit picture option on here and I turned it round the right way up, but it won't save the changes.

Ghost

  • Global Moderator
  • ALF'er VIP
  • *****
  • Posts: 519
Re: Faceting machine head assembly.
« Reply #58 on: March 08, 2024, 10:40:39 AM »
LOL.
At computers, not you.
Ghost
« Last Edit: March 08, 2024, 10:43:55 AM by Ghost »

RoughCreations

  • Administrator
  • ALF'er Platinum
  • *****
  • Posts: 322
    • Rough Creations homepage
Re: Faceting machine head assembly.
« Reply #59 on: March 08, 2024, 11:45:45 AM »
MB, the screen runs on 3.3v to 5v, so it should work fine on the esp32 3.3v pin. Ghost, for some reason the drawing was turned 90deg to the right, so I turned the drawing 90deg left on my PC and uploaded that and it turned it 180deg right. Since then it has now turned the drawing another 90deg, so now its upside down. There is an edit picture option on here and I turned it round the right way up, but it won't save the changes.

FYI Think it is to do with the EXIF information that is embedded in the image by your camera/phone. I had this problem a while back with a rogue image doing the same. Can't remember how I fixed it, lol.
https://jdhao.github.io/2019/07/31/image_rotation_exif_info/
Rough Creations - Beauty from rough beginnings

 

Recent Activities

The Next Big Trip by MrSydney
[Today at 02:28:54 PM]


Fitting a facet design to a piece of rough by RoughCreations
[Today at 01:07:07 PM]


Victorian Sapphires by swirly
[Today at 11:41:45 AM]


Green tourmaline set in a cast 10Kt yellow gold ring by RoughCreations
[May 16, 2024, 01:27:37 PM]


How to figure platform height for the handpiece, while reading diagrams by Faceting Frank
[May 16, 2024, 10:41:17 AM]


Tomahawk creek by Besty
[May 14, 2024, 07:00:25 PM]


Vale Woofa by MrSydney
[May 07, 2024, 10:12:47 AM]


Resin-bonded scissor-grinding lap by RoughCreations
[May 05, 2024, 04:52:12 PM]


Nundle - Fossicking Access to the Peel River by Clarky
[May 04, 2024, 10:19:48 PM]


New mast and quill assembly by Faceting Frank
[May 02, 2024, 03:20:57 PM]


Hi from Toongabbie, Sydney Australia by Jimnyjerry
[May 01, 2024, 10:30:40 PM]


Planning a trip to NT by tinker
[May 01, 2024, 04:44:04 PM]


Garnet by pc bowe
[April 20, 2024, 01:56:47 AM]


Save the Gemfields. by pc bowe
[April 20, 2024, 01:46:57 AM]


Faceting machine head assembly. by Faceting Frank
[April 17, 2024, 12:26:26 PM]

SimplePortal 2.3.7 © 2008-2024, SimplePortal