collapse

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

Faceting Frank

  • Global Moderator
  • ALF'er VIP
  • *****
  • Posts: 561
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 VIP
  • *****
  • Posts: 561
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 VIP
  • *****
  • Posts: 561
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: 388
    • 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 VIP
  • *****
  • Posts: 561
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: 1794
    • 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 VIP
  • *****
  • Posts: 561
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 VIP
  • *****
  • Posts: 561
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 VIP
  • *****
  • Posts: 561
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: 388
    • 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: 527
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 VIP
  • *****
  • Posts: 561
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: 527
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: 388
    • 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

Pendant findings by Faceting Frank
[Today at 11:44:27 AM]


Good vs Bad cutting by Faceting Frank
[December 01, 2024, 08:47:59 AM]


Tumbling already naturally tumbled rocks/ quartz by Rock gal
[November 26, 2024, 10:36:31 PM]


Advice wanted re sanding and polishing a largish piece of petrified wood by hand by Rock gal
[November 21, 2024, 12:09:17 AM]


Black Opal? by Debono
[November 17, 2024, 03:22:50 PM]


Recently cut gems (AB Facet Designs) by swirly
[November 17, 2024, 02:31:38 PM]


Introductions by tinker
[November 14, 2024, 03:46:32 PM]


Vulcan state forest/black springs. First finds by Jimnyjerry
[November 08, 2024, 08:48:48 PM]


(No subject)COLLAPSABLE SIEVE SHAKER by Ranger Itchy
[November 08, 2024, 07:33:07 AM]


Faceting machine head assembly. by Faceting Frank
[November 07, 2024, 02:22:34 PM]


Does anybody know details of pink Dynalap laps by Alaskan
[November 03, 2024, 10:51:16 AM]


Garie Beach by oldbullhubbard
[November 01, 2024, 07:46:22 PM]


CRT Panel Glass by FlashGP
[October 31, 2024, 09:05:31 AM]


Faceting machine encoder by Faceting Frank
[October 30, 2024, 09:53:14 AM]


Andrew Brown's latest design book: Briolettes is out now! by Faceting Frank
[October 30, 2024, 09:48:32 AM]

SimplePortal 2.3.7 © 2008-2024, SimplePortal