Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Placement file issue reported by JLCPB #3

Closed
coelholm opened this issue Jul 26, 2021 · 16 comments
Closed

Placement file issue reported by JLCPB #3

coelholm opened this issue Jul 26, 2021 · 16 comments

Comments

@coelholm
Copy link

coelholm commented Jul 26, 2021

I have ordered the PCB from JLCPCB using production files from https://github.com/zapta/simple_stepper_motor_analyzer/tree/main/kicad/JLCPCB

They found placement minor issues with FPC1 and FPC2. From pictures looks like FPC1 is flipped horizontally, but I couldn't figure out any correction of FPC2.

It was corrected by JLCPCB before production, but I would like to let you know.

@coelholm
Copy link
Author

Original Placement:
Original placement
 
Adjusted Placement:
Adjusted placement

@coelholm
Copy link
Author

I will update you once it arrive and I have chance to test it.

@zapta
Copy link
Owner

zapta commented Jul 26, 2021 via email

@zapta
Copy link
Owner

zapta commented Jul 26, 2021 via email

@coelholm
Copy link
Author

Thank you for those hints. I've order that tape and for sure that guide will help to cut connector.

@zapta
Copy link
Owner

zapta commented Jul 29, 2021 via email

@coelholm
Copy link
Author

coelholm commented Jul 29, 2021

I've just tried with JLCPCB support to get that file without success. They said it is not possible to generate or provide details of adjusts made in their internal system, so I decided to spend some time trying to figure out by my self.

Looks like issue was related to FPC1 (Position and rotation: 51.3,28.86,-90 ) and Q1 (Rotation only: -90)

`
Designator,Val,Package,Mid X,Mid Y,Rotation,Layer

C1,100nf,SMD 0805,87.16,46.468,0,top
C2,100nf,SMD 0805,52.226,46.849,0,top
C3,10u,SMD 0805,44.06,47,90,top
FPC1,"FPC connector 40pins, 0.5mm, TOP contacts",FH12-40S-0.5SH_1x40-1MP_P0.50mm_Horizontal_flipped,51.3,28.86,-90,top
FPC2,"FPC connector, 6 pins, 0.5mm, BOTTOM contacts",FH12-6S-0.5SH_1x06-1MP_P0.50mm_Horizontal,72.68,35.93,90,top
Q1,AO3400A ,SOT-23,42.964,8.622,-90,top
R1,8.2 Ohm,SMD 0805,40.424,13.448,90,top
R2,8.2 Ohm,SMD 0805,42.964,13.448,90,top
R3,8.2 Ohm,SMD 0805,45.504,13.448,90,top
`

@coelholm
Copy link
Author

coelholm commented Jul 29, 2021

Those screenshots are from JLCPCB "Review Parts Placement" tool.

FPC1

Q1

@coelholm
Copy link
Author

coelholm commented Aug 25, 2021

Hi @zapta

Hope you can help me with that.

Finally I have all parts, PCB and time to assembly it (at least I thought I had all parts) . LCD and CPT came from the store listed in the BOM.xlsx, but looks like I got the wrong one, with controller R61529 instead of ILI9488.
I have installed firmware 1.0.3, but the LCD is blank, yet the backlight is on. At serial I can see some messages, but I can't figure out if it is will be simple change or if I should just buy the correct LCD with ILI9488.

Serial output:

0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
[1500160][er:0, 0] [ -9, -25] [en:0 0] s:2/0 steps:0 max_steps:0
DMA counters: 4394, 4394, 0`

Free memory: 49127
Options: [DEFAULT]
Pico SDK version: 1.1.2.WizIO

total_size=32768, free_cnt=3, free_size=7128, free_bigest_size=6988
used_cnt=818, max_used=26124, used_pct=79, frag_pct=2

0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
[1500160][er:0, 0] [ -12, -26] [en:0 0] s:2/0 steps:0 max_steps:0
DMA counters: 5860, 5859, 0

Free memory: 49127
Options: [DEFAULT]
Pico SDK version: 1.1.2.WizIO

total_size=32768, free_cnt=3, free_size=7128, free_bigest_size=6988
used_cnt=818, max_used=26124, used_pct=79, frag_pct=2

@zapta
Copy link
Owner

zapta commented Aug 26, 2021 via email

@coelholm
Copy link
Author

coelholm commented Aug 27, 2021

Hi @zapta ,

Thank you for your help.

Front
JLCPCB front

Back
JLCPCB back

  1. Aliexpress TFT Last item: LCD and CPT

  2. I have checked that visually, tested from Raspberry pins to the FPC connectors and I didn't notice any bridge. I have also assembled to boards and FPC connectors came assembled from JLCPCB. I have to solder only raspberry, current sensors and connectors for the stepper.

  3. I have an oscilloscope, just let me know what you need. It is a new tool for me, but I have a good friend to ask some help if I can't follow what you want me to do.

@zapta
Copy link
Owner

zapta commented Aug 27, 2021 via email

@coelholm
Copy link
Author

coelholm commented Aug 27, 2021

@zapta ,

It is the r61529, my mistake. I have mentioned that.

I have found a reference code for r61529 and arduino, but looking into display code for ili9488 I found some assembly code. So I have no idea on how to evaluate the effort of adding support for the r61529.

@zapta
Copy link
Owner

zapta commented Aug 27, 2021 via email

@coelholm
Copy link
Author

Hi @zapta,

I have ordered from the link you posted. So it should solve the problem. I appreciate your support. Thank you so much.

Just as a reference this is a basic example with initialization sequence for the R61529. ESP32_LCD_MIPI_DBI_TYPE_B_TEST

@zapta
Copy link
Owner

zapta commented Aug 28, 2021 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants