MaslowCNC/Electronics

Electronics Schematic Labelling does not match software pin mapping

Closed this issue · 15 comments

The Electronics Schematic for the Maslow CNC Motor Shield has different Arduino Pin Mapping Labels from the latest revision of the software for V1.2 of the PCB which is the closest match.

The inconsistencies are as follow and should be looked at for completeness
The discrepancies are as follows

  1. Software mapping PCB Revision 1.2

Software shows AUX ports are AUX1 = 17, AUX2 = 16, AUX 3=15, AUX4=14
Electronics Schematic shows AUX1=14, AUX 2=15, AUX3=16, AUX4 = 17
I am not sure if the schematic is correct or the software pin mapping as I am not sure anyone uses these but this should be looked into

  1. Software mapping PCB Revision 1.2

Software Mapping Encoder1A=20, Encoder1B=21, Encoder2A=19, Encoder2B=18 , Encoder3A=2, Encoder3B=3
Electronics Schematic shows Encoder1A=18, Encoder1B=19, Encoder2A=21, Encoder2B=20 , Encoder3A=3, Encoder3B=2

Given that the system is working for other users the software mapping must be correct and the electronics schematic incorrect. This should be looked into

The schematic has been different from the silkscreen and software since the beta days. I'll open a PR to change the v1.2 schematic and replace the .jpg of the schematic. Do we want signal, ground and Vcc indicators next to the rows of pins as well (or should that be a separate PR)?

I think one PR would be OK. Doing version control on the PCB files is so dicey anyway that I vote less pull requests is better to avoid conflicts

Here is a modified schematic with the nets renamed to match the silkscreen and the firmware. Note that I've moved J2, J3, J4 and J5 around to keep the AUX pin names in order as well:
powerdistributionschematic-pr

and the companion board layout with labels for the AUX GND and Vcc:
powerdistributionboardlayout-pr2

Let me know if this satisfies the issue, if so I'll put in a PR wit these changes.

You're certainly right, the encoder signal names for motors 1 & 2 were wrong. I've re-done the IN__ names for Motors 1&2.
Thanks for catching this too. Here's the result:
powerdistributionschematic-pr4

I've swapped INC3A/INC3B on the schematic.
The diagram you mention didn't make it into the comment, but it sounds like you're quoting pin numbers for the 'Multiwatt15' package L298N or L298HN; we're using the 'PowerSO20' package, L298P.
screen shot 2018-01-11 at 11 53 12 am

Is that the issue?

Here's the schematic that addresses INC3A/INC3B:
powerdistributionschematic-pr4

That's Ok, thanks for going into the files in such depth. Is the Schematic ready for a PR, then?

This was addressed in PR#42 - is it Ok to close this?

Yes, I believe so. Well taken care of 👍 👍 💯