|
Forum Index : Microcontroller and PC projects : Stepper Project
| Author | Message | ||||
| PhenixRising Guru Joined: 07/11/2023 Location: United KingdomPosts: 1954 |
Quick observation: Did you run the DRC? The square pad looks a bit close to the track. Also, if the pad remains green, it's not thru-hole (TH) which might be what you intended, dunno. |
||||
| mozzie Guru Joined: 15/06/2020 Location: AustraliaPosts: 383 |
G'day Bryan, If you are making changes to the PCB's, a couple of suggestions: If possible, change GP16/GP17/GP18 on the LCD PCB to match the main PCB, keeping the order of both the same makes fault finding easier. Could also use IDC cable or plug direct while testing. Add 10uf / 100n bypass caps to the LCD board 5V to GND Put options for both pull up and pull down resistors on GP1 (enable) for different applications. Just a few thoughts. Hard to believe they can produce the boards for that cheap, almost makes making them at home expensive. Can't beat 2 hour turnaround though Regards, Lyle. |
||||
Bryan1![]() Guru Joined: 22/02/2006 Location: AustraliaPosts: 2092 |
yea I nearly caught myself out today with the missmatch as the CLK is labeled differently so in the morning I will take all this onboard when I revisit Sprint Layout. Anyway mate if you have any updated code could you pass it along as I did spend hours today trying to workout Claudes code and why it won't show the machine position. Now i did try claude today but after 3 questions it cut off. |
||||
| matherp Guru Joined: 11/12/2012 Location: United KingdomPosts: 11499 |
Even for a PCB this simple my strong recommendation is to use a proper PCB package that starts with a schematic. EasyEDA is free, easy to use, and fully integrates with JLCPCB. Get the schematic right and the physical board will be right. Saves so much time and money in the long run. Also, it is much easier for others to help check the designs. Just post the schematic and then any feedback is easy to incorporate before wasting copper. Just my two-penny worth |
||||
| PhenixRising Guru Joined: 07/11/2023 Location: United KingdomPosts: 1954 |
And rumour has it (Gemini) that they will soon have an AI assistant. |
||||
| mozzie Guru Joined: 15/06/2020 Location: AustraliaPosts: 383 |
G'day, As most of the PCB's used here are more of the "Power" than "Motherboard" variety they have been designed on an ancient CAD package (WIN 98) and cut with a CNC engraving machine, results have been surprisingly good: ![]() ![]() This is 0.5mm pitch connector for GT911 touch screen. Considering a PCB can go from idea to finished product in 2-3 hours its hard to beat. just don't look too close at the soldering However with the prices from JLCPCB and others and the services they offer, it might finally be time to bite the bullet and give EasyEDA or one of the similar packages a try. Bryan, I've had the flu (covid?) for the last week so any programming was utter rubbish, the grey cells turned to snot.... Will have a crack over the next couple of days.Regards, Lyle. |
||||
Bryan1![]() Guru Joined: 22/02/2006 Location: AustraliaPosts: 2092 |
Morning Guy's Lyle I took on all your suggestions mate and found it was easier to change the stepper board LCD pin assignments to suit the LCD Board. Now above the pico 2 is a 3 pin header so GP01(Enable) can be pulled up to 5V or Gnd and I moved the I2C breakout so it is clear of the RTC, did a DRC and made sure all my changed did confirm and like usual the S1 silkscreen pads seem to cause errors where simply deleting the offending one's with a new componet does fix the problem.![]() ![]() Peter I do get what your saying where when one designs a new project a schematic should be done first so I did have a look at EDA this morning and it went straight over my head as I would need to be ontop of all the new components etc. Now with this stepper board for example Lyle did give a schematic of the step/direction outputs and yes the Enable(GP01) should of had the pullup/pulldown option put in. Then a LCD output and why I didn't make the LCD outputs the same one can put it down to grey cells Well for my first attempt one could expect something to go wrong but the board did work nicely and just a few hacks were needed. Like with the LCD board getting the MISO/MOSI pin wrong was an easy fix to get it working. Now at $3.50 for 5 boards it's not going to break the bank for a V2 revision and now you have done the GUI addition for LCD screens I'm sure this 4" LCD will become obsolete Regards Bryan |
||||
| mozzie Guru Joined: 15/06/2020 Location: AustraliaPosts: 383 |
Hi Bryan, I guess its up to you mate but I would prefer to keep the I/O in order and change the LCD PCB to suit, could be my OCD kicking in Pretty sure this will work, not sure how easy it is to edit in your program. I have asked Peter about a change to the stepper system to make the calibration routines easier, now I'm nearly over the flu hopefully some progress can be made Regards, Lyle. |
||||
Bryan1![]() Guru Joined: 22/02/2006 Location: AustraliaPosts: 2092 |
Lyle the edits I did to the stepper board now confirm with the LCD board and the pin assignments didn't change also now I do have the LCDBoard working with the touch SPI hack I did best not to change it I think. Now I did find some old limit switch's to use for the X Axis So cut some 3mm plate to 75x25mm and using some 8x7 key steel the 8mm is right for the slot so adjustment can be kept inline.Found some M3 x 12 socket head cap screws for holding the key steel so dialed in the vice on my bridgeport mill so it's nice and square. Now for securing the limit switch I need some M3 x 20 bolts and the search is still on but lunch is in the way so time for a break. Now if your happy with my mod's I can get these boards off today and the testing can still be done where the RTC can wait for the new revision. Regards Bryan |
||||
| mozzie Guru Joined: 15/06/2020 Location: AustraliaPosts: 383 |
Hi Bryan, I was more thinking of trying to keep the I/O in order on both boards to make fault finding easier, GP12-GP21 as on the original Main PCB and change the LCD PCB to suit as its already been modified. It'll work either way so no real problem You could also make an adapter board for VGA/DVI output using the same pins, this was the reason for specifying them Regards, Lyle. |
||||
Bryan1![]() Guru Joined: 22/02/2006 Location: AustraliaPosts: 2092 |
Well mate with the VGA/DVI I will leave that you to make the schematic so I can get an understanding as this is all new to me. I do have several old 14" VGA screens here that I kept as I knew oneday they would find a use Anyway thats lunch over so time go back and find some 20mm long M3 screws and if all else fails the limit switch holes are getting drilled out to 5mm as I do have those bolts Regards Bryan Edit: Well that didn't take long with fresh grey cells opened the second draw in my Dad's old case and sure enough found some 1/8" BSW cheesehead screws 1" long A quick check in my toolbox soon found some 1/8"BSW taps so now I can get on and get the limit switch mounts made. ![]() Edited 2026-06-17 14:02 by Bryan1 |
||||
Bryan1![]() Guru Joined: 22/02/2006 Location: AustraliaPosts: 2092 |
Well finally got the limits mounted also last week gave the surface grinder a bath to clean it up.![]() So in the morning I will make a strike plate that sits on that centre post so the limits can gently close and they fully adjustable too I am pretty happy I got this far today and setting them up in the morning will be a fun task. Regards Bryan |
||||
| matherp Guru Joined: 11/12/2012 Location: United KingdomPosts: 11499 |
I need to do a build but check STEPPER TUNE in the updated manual Stepper_Reference.pdf |
||||
| mozzie Guru Joined: 15/06/2020 Location: AustraliaPosts: 383 |
G'day, Peter, just downloaded latest version, will test and report back. A quick read of the manual and that is pretty much spot on. Thanks again Bryan, Looking good Regards, Lyle. |
||||
| The Back Shed's forum code is written, and hosted, in Australia. | © JAQ Software 2026 |