terjeio / GRBL_MPG_DRO_BoosterPack

Tiva C BoosterPack for GRBL MPG/DRO
43 stars 20 forks source link

Possible to buy an PIPico pcb? #3

Open mundsen opened 2 years ago

mundsen commented 2 years ago

Cool project

terjeio commented 2 years ago

I have to order some PCBs first - been too busy to do that. I have one homemade prototype (single-sided) so hopefully the first run will be bug-free...

mundsen commented 2 years ago

ok :-)

Have ordered a Tiva C , LCD and Pico

As a first step I hope to get the LCD working in combination with my grblHAL Pro

terjeio commented 2 years ago

The Tiva C is not needed, the Pico is used as an alternative...

There is a MSP430 on the board that needs to be programmed, my plan is to port the programming code (it is public domain) so that the Pico can do that. Currently I use a MSP-EXP430G2 to program it, it is possible that the Tiva C can be used as well. Anyway, I believe can supply a preprogrammed MSP430 - IIRC I have an adaptor for doing that off PCB.

terjeio commented 2 years ago

FYI I have now received a few PCBs and have the first up and running with basic functionality in place. I need to make a 5x5 keypad to assign and check out new key mappings required as the board only support a single MPG encoder so there is a little bit more work to do before I can release the code.

You still want a PCB? Unpopulated?

mundsen commented 2 years ago

Yes 😊

Possible to get it with the MSP430 programmed?

Would like to test it with my laser project based on the grblHAL Teensy 4.1 Pro controller

I have the pico and some other components, but great if I can get a list with the needed components for this project.

oyvind@mundsen.no

CoreXyOpt_2022-Jan-04_07-49-21PM-000_CustomizedView1098947543


Fra: Terje Io @.> Sendt: Wednesday, January 5, 2022 9:07:33 PM Til: terjeio/GRBL_MPG_DRO_BoosterPack @.> Kopi: Øyvind Amundsen @.>; Author @.> Emne: Re: [terjeio/GRBL_MPG_DRO_BoosterPack] Possible to buy an PIPico pcb? (Issue #3)

FYI I have now received a few PCBs and have the first up and running with basic functionality in place. I need to make a 5x5 keypad to assign and check out new key mappings required as the board only support a single MPG encoder so there is a little bit more work to do before I can release the code.

You still want a PCB? Unpopulated?

— Reply to this email directly, view it on GitHubhttps://github.com/terjeio/GRBL_MPG_DRO_BoosterPack/issues/3#issuecomment-1006040344, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AAXKXEKX45N3P5TTZ366LMDUUSQILANCNFSM5H47LWKA. You are receiving this because you authored the thread.Message ID: @.***>

mundsen commented 2 years ago

Is Grbl v1.1 jogging supported by grblHAL ?

https://github.com/gnea/grbl/wiki/Grbl-v1.1-Jogging

terjeio commented 2 years ago

Is Grbl v1.1 jogging supported by grblHAL ?

Yes, and I have fixed the bug where a jog cancel is sometimes not handled as it should.

Also, legacy Grbl errors out if a jog command exceeds max travel if soft limits is enabled - contrary to what the linked document claims. grblHAL has separate soft limits handling for jog commands that can be enabled by setting $40 to 1.

terjeio commented 2 years ago

Testing is going well and I have ordered an adaptor for programming the MSP430 off board. Should be here soon.

Here is the BOM as extracted from KiCad:

RP2040 MPG and DRO.zip

R1-9 has no value due to LEDs often having different current requirements for outputting the same brigthness. I use 2K7 for the 3mm LEDs in my test setup and the different colors vary from quite dim to very bright... R1-9 could be replaced with 0R resistors on the board and having leaded resistors in series with the LEDs instead.

U3 is not needed if the supply voltage is 5V or the Pico is connected via USB. Short pin 1 and 3 with a wire if so.

DB15 is optional, use the connector(s) of your choice and wire to the pin headers as needed. I believe that wireless operation via HC-05 bluetooth modules is possble but I have not tested that yet.

The display is a 2.4" ILI9341 based panel, I may add touch support later but not sure if it is going to be practical.

My test setup has all 25 buttons wired up, do you plan to add any? (You will need at least two).

20220107_222655

mundsen commented 2 years ago

Possible to use something like this?

https://www.aliexpress.com/item/32635207928.html?spm=a2g0o.detail.1000060.1.6d4733dc9chmPd&gps-id=pcDetailBottomMoreThisSeller&scm=1007.13339.169870.0&scm_id=1007.13339.169870.0&scm-url=1007.13339.169870.0&pvid=af4624f1-85fd-40f5-8538-35733463f9a3&_t=gps-id:pcDetailBottomMoreThisSeller,scm-url:1007.13339.169870.0,pvid:af4624f1-85fd-40f5-8538-35733463f9a3,tpp_buckets:668%232846%238111%231996&&pdp_ext_f=%7B%22sceneId%22:%223339%22,%22sku_id%22:%2210000006002568188%22%7D

less wires - Seems like different keys gives different ohm values?

terjeio commented 2 years ago

Possible to use something like this?

Yes, but you will have to write code for it. Polling an AD-converter and decoding the value. You can ditch the MSP430 if doing that - and luckily the I2C SDA/SDC going to it are broken out to a pin header. Depending on how many key functions you require it may be a bit restrictive though - and I am not sure you will be able to get two key rollover to work.

mundsen commented 2 years ago

Ok only an idea - I guess it’s best start with the same setup you use

Last ned Outlook for iOShttps://aka.ms/o0ukef


Fra: Terje Io @.> Sendt: Thursday, January 13, 2022 10:01:49 PM Til: terjeio/GRBL_MPG_DRO_BoosterPack @.> Kopi: Øyvind Amundsen @.>; Author @.> Emne: Re: [terjeio/GRBL_MPG_DRO_BoosterPack] Possible to buy an PIPico pcb? (Issue #3)

Possible to use something like this?

Yes, but you will have to write code for it. Polling an AD-converter and decoding the value. You can ditch the MSP430 if doing that - and luckily the I2C SDA/SDC going to it are broken out to a pin header. Depending on how many key functions you require it may be a bit restrictive though - and I am not sure you will be able to get two key rollover to work.

— Reply to this email directly, view it on GitHubhttps://github.com/terjeio/GRBL_MPG_DRO_BoosterPack/issues/3#issuecomment-1012512387, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AAXKXEIHS5A42XJA5XKE7RDUV44T3ANCNFSM5H47LWKA. You are receiving this because you authored the thread.Message ID: @.***>

mundsen commented 2 years ago

Does/can the LCD show other live status information when not in MPG mode ? Job % Alarm messages Use some of the buttons for functions like CycleStart, Feed Hold..?

terjeio commented 2 years ago

Does/can the LCD show other live status information when not in MPG mode ? Job % Alarm messages Use some of the buttons for functions like CycleStart, Feed Hold..?

I have not (yet?) implemented Job % (only available when running code from SD card), the rest - yes.

carneeki commented 2 years ago

Does/can the LCD show other live status information when not in MPG mode ? Job % Alarm messages Use some of the buttons for functions like CycleStart, Feed Hold..?

I have not (yet?) implemented Job % (only available when running code from SD card), the rest - yes.

Is it running from the grbl SD card? If not, is there enough room to show current, and last couple of lines executed?

mundsen commented 2 years ago

I have the PI, LCD.. Have to buy som eresistors.. So almost ready for the pcb :-)

terjeio commented 2 years ago

Is it running from the grbl SD card? If not, is there enough room to show current, and last couple of lines executed?

Currently any SD card has to be connected to the controller, not to the MPG. To display lines in the MPG they have to be transferred somehow. That would require code changes in the controller. It would be easier to add a SD card interface to the MPG board?

So almost ready for the pcb :-)

And I am waiting for the TSSOP programming adapter, should be here any day now.

terjeio commented 2 years ago

The adapter is here and I have a PCB and a preprogrammed MSP430 ready.

mundsen commented 2 years ago

Sent e-mail :-)

mundsen commented 2 years ago

All parts arrived + a hot air soldering sation..

Hope to get some spare time soon - so I can get this pcb ready