[Grbl_Esp32 Issue#12] New Grbl_ESP32 PCB

未分类 bolang 4个月前 (10-14) 55次浏览

Issue #12 | 状态: 已关闭 | 作者: buildlog | 创建时间: 2018-08-02

标签: enhancement question


Here is the new PCB I am working on. I will sell it in my Tindie Store as a complete assembly, but not including the plug in modules. (Stepper drivers, ESP32, P/S and SD). Here are the features.

– It has a socket for a NodeMCU 32S ESP32 board
– It has a second set of of pads next to each ESP32 pin for easy test and hacking.
– (3) Standard stepper motor sockets with jumpers for microstep selection.
– Adjustable power supply module connected to power connector. Diode OR’d to ESP32.
– SD module connector for SD testing (not supported by firmware yet)
– All inputs and output have individual ground connection.
– All inputs have R/C filter to reduce noise issues.
– All inputs without ESP32 pullups have external pullups.
– 3.5″ x 3.5″ size.

Attached are a schematic and rough placement. If you have comments, let me know, I will incorporate all reasonable requests.

pcb_snap1


评论 (30)

#1 – DirtyEngineer 于 2018-08-02

Glad to see a development board moving forward. Is the end goal of the SD card to be able to run code from it?

On a semi related note I put together a ESP32 “DOIT” to Arduino Nano converter that will be headed to Fab tomorrow. It adapts both the 30 and 36 pin “DOIT” boards for use with the Grbl Nano CNC boards.

!bottom svg m
!top svg m


#2 – bdring 于 2018-08-02

That’s nice Jon,

I have another project I am working on where I put dual footprints like that. The Dev board is all ESP32 though.

The SD card would be a great option. You have to sacrifice some other functions, but I tried to have those be the most seldom used uses like Spindle direction. Another option worth looking at would be to upload files to ESP32 flash. They can’t be huge, but could be an option for smaller files.

Once we both have boards, maybe we can arrange a trade.


#3 – DirtyEngineer 于 2018-08-02

Adding the filtering on the Inputs was a wise move. I’ll be sure to do that on the next iteration of the converter board. Will the SD version be a different branch of the code as boards based on the V1 schematic will be incompatible?


#4 – bdring 于 2018-08-02

I hope to use the same code via config.h and cpu_map.h options. The V1 does not actually wire the SD card. It just makes it easy to jumper it in.


#5 – unixbigot 于 2018-08-03

I just sent a two-axis-plus-servo board off for manufacture.

!screen shot 2018-08-03 at 4 05 52 pm


#6 – bdring 于 2018-08-03

Nice, do you plan to run Grbl on it?


#7 – bdring 于 2018-08-03

@unixbigot I see you are using the ESP32-WROOM module. Will you have USB connectivity?


#8 – nhrones 于 2018-08-03

This board looks great. Thanks for all your hard work. I’ll be sure to purchase.


#9 – unixbigot 于 2018-08-03

@bdring My board is targeted at grbl, yes. The header below the wroom is for a usb module, the micro-usb at right is for power only. My goal is to implement a wifi bridge compatible with Chilipeppr and laserweb.


#10 – bdring 于 2018-08-03

@unixbigot What USB module. Is there a standard that people like to use when using a ESP32-WROOM module


#11 – unixbigot 于 2018-08-03

@bdring the defacto standard for TTL serial headers is the pinout from the CH340 Serial module has a compatible pinout; my board has a header to match the Wemos pinout.


#12 – bdring 于 2018-08-03

@unixbigot Thanks

I am planning on a project using that module and I did not want to re-invent any standards.

BTW: My board is on order and should arrive in about a week.


#13 – bdring 于 2018-08-08

Got version 2 working.

– Cleaned up the features
– Added R/C filters to all inputs
– All major circuits are now low cost plug in modules.
– Added pullups to the control switch inputs. (ESP32 does not have internals for these)

It will be on Tindie next week. Price TBD
I’ll publish the source files too.

!20180808_180919


#14 – bdring 于 2018-08-21

The PCB is now fully tested and for sale on Tindie.

https://www.tindie.com/products/33366583/grblesp32-cnc-development-board/

!20180820_125926


#15 – DirtyEngineer 于 2018-08-21

Bart that board looks fantastic!. I’ve got something to show off as well.
!img20180821001544 3
!img20180821001818 3
!img20180821010021 2
!img20180821010158 2


#16 – derFrickler 于 2018-10-03

Nice work!
Maybe the ESPduino-32 together with the CNC-Shield could although be an nice and easy option.
https://github.com/SmartArduino/SZDOITWiKi/wiki/ESP8266—ESPduino-32

The GRBL CNC Shield for the Arduino Uno is dirt cheap and available everywhere.
https://www.google.com/search?q=grbl+shield&client=ubuntu&channel=fs&source=lnms&tbm=isch&sa=X&ved=0ahUKEwjFleiG1undAhUJaQKHW8wCT0QAUICigB&biw=1575&bih=974


#17 – basalisco 于 2018-11-08

> Here is the new PCB I am working on. I will sell it in my Tindie Store as a complete assembly, but not including the plug in modules. (Stepper drivers, ESP32, P/S and SD). Here are the features.
>
> * It has a socket for a NodeMCU 32S ESP32 board
> * It has a second set of of pads next to each ESP32 pin for easy test and hacking.
> * (3) Standard stepper motor sockets with jumpers for microstep selection.
> * Adjustable power supply module connected to power connector. Diode OR’d to ESP32.
> * SD module connector for SD testing (not supported by firmware yet)
> * All inputs and output have individual ground connection.
> * All inputs have R/C filter to reduce noise issues.
> * All inputs without ESP32 pullups have external pullups.
> * 3.5″ x 3.5″ size.
>
> Attached are a schematic and rough placement. If you have comments, let me know, I will incorporate all reasonable requests.
>
> pcb_snap1

easyeda link?


#18 – bdring 于 2018-11-10

@xsiriusx The version 3.1 open source documentation is here


#19 – AlmightyFrog 于 2018-11-19

Currently I am trying to get it running on a ESP-32S board free wired to an Arduino CNC Shield.
(Sadly currently now working as I don’t get it to compile both in Arduino IDE and platform.io)

@derFrickler I didn’t know about ESPduino 32 but that would be really a good solution for easy access.
But what about the missing pullups on most inputs which seem to be mandatory (if I understood documentation correctly)?


#20 – bdring 于 2018-11-19

@AlmightyFrog Only GPIOs 34-39 don’t have pullups. It is easy to add them externally.


#21 – Harvie 于 2018-11-24

What about start/hold/stop buttons? Are there any pins left for that?


#22 – bdring 于 2018-11-24

@harvie

What PCB?

On my PCB there are pins for those.


#23 – DeanRM 于 2018-12-10

Any chance of you adding a clone of the y axis? My machine uses 2 motors and I currently use your raspberry pi controller hat.
Also on my wish list – adding (3) 5v pins near the limit pins. I use magnets on the moving axis and hall sensors to detect limits. Much more accurate for positioning.


#24 – bdring 于 2018-12-10

@DeanRM I’ll take that into consideration on the next version. Do you have a link to a datasheet on the hall sensors.


#25 – DeanRM 于 2018-12-10

https://www.mpja.com/download/a3144eul.pdf.
Any open collector hall sensor will work. Three different types hall sensors – N pole, S pole or both. I use two in parallel on each axis to detect the moving magnet between them. Once detected – Grbl can back off 1mm for homing which is more accurate than what is needed with a switch.


#26 – bdring 于 2018-12-10

It would be safer to put 3.3V. Is that OK?


#27 – DeanRM 于 2018-12-24

5v would be better. I am worried about voltage drop on the long wires. Smaller gauge wires (no control over what people use) – higher resistance – less voltage available on both the supply and signal lines. If 3.3v is necessary, then a warning to use optocouplers may be needed or you could add them into the design to isolate input signals from whatever is used. There are 3.3v hall sensors available, but voltage drop on wires may put them into a gray area.


#28 – xP373Rx 于 2018-12-30

Here is what i came up with

!nanocncshield

This is a nano GRBL shield where you can connect pretty every thing to it.

!esp32tonano

And here i´ll try to make a shield ( not finished but you get the Idea ) for the nano socket to replace the nano with the esp32.
What is important to me is having 5v level shifters , since alot of high power drivers use 5v.

But the best thing would be a mix of those 2 on 1 pcb so maybe im gonna go for that .


#29 – Harvie 于 2019-01-03

Arduino nano socket is much smaller and should fit inside of nodemcu esp32 socket. So we can have both.


#30 – bdring 于 2019-01-03

I have a new (Rev 2) 2D pen/laser machine controller on order. The most significant changes are a 5V PWM for laser power control and a dual width socket for the ESP32 module.

!art_2


原始Issue: https://github.com/bdring/Grbl_Esp32/issues/12

喜欢 (0)