DIY Driver Nanjg Style/AMC7135 using Z8F082A MCU

Look it over carefully. I guarantee nothing. I spent less than five minutes on this…

PPtk

PDF File of Artwork

Gerber Files - CAD Data

Schematic

U1 - Z8F042A-SO8
U2 - AMC7135-380
D1 - 1N4148WS
C1 - 1uF, 0603, 10V
R1,R2 - 10K, 0805, 5%
LED+/LED- Holes - Up to 20Ga Wire

Or use REV.B where I broke out PA3, PA4, and PA5 to wire pads in case you want to use them for something…


REV-B Gerbers CAD Data

PPtk

Wow! You’re fast!
Thanks for spending time on this. If possible pls:

o Have the a Vdd and Gnd plated thru holes on the spring side.
This will make it easy to re-program the code (Vdd, Rst, Dbg and Gnd).

o As many AMC7135 you can fit on both sides. Stacking them will also be an option.
How about connecting the AMC7135 GND tab to the GND ring.

This will be a budget alternative for the $35 blue tooth option! :beer:

Yeah, It’s my job. Pays to be fast when you’re a salary employee who doesn’t get overtime :slight_smile:

No problem. That’s an easy change.

Really wish you would have mentioned that or included a few of them in your schematic. I would have used smaller parts and done the layout very much differently… I’ll see what I can do without spending a ton of time on it…

How about looking at the artwork which shows it’s already connected with a big plane of copper?

Best of luck with the Zilog. I have to admit, the only reason I knocked out the layout on this is because I was so shocked to see someone using Zilog. I forgot they existed! I'm turning off the work engine for the night, but I'll see what I can do with this in a few minutes tomorrow.

PPtk

Yup, Zilog, how quaint…

Well, it was kind of an obvious (to me), from that first schematics that 1 x AMC setup is just for testing purposes, otherwise not much use of a 350mA driver, right!

Easiest way would be to add another pcb with only AMC stacked like Mattaus 16xAMC slave board and one could add suitable number of regulators depending on drivers use...

I’m an engineer. Nothing is obvious and I don’t make assumptions about what the original designer intended. He posted a schematic of a 1X AMC7135 board and asked for someone to do the PCB/Layout. I made a PCB/Layout from his posted schematic. Should I have changed the processor to an ATTINY or PIC since it’s obvious no-one in their right mind would use Zilog?

PPtk

Or nobody in their left mind would use Zilog… Or nobody out of their mind…

actually, now I see that OP did mention in his post this:

so, my bad, I just assumed that schematics contains only one AMC just for simplification and easier understanding and the idea is to get XML driver (2,8A+) but it seams that OP wanted 1 or 2 AMC driver and then later on, when you already offered a pcb layout he changed his mind…

Oops! Sorry for the confusion. yes the original posting was for development and when i posted the schematic i forgot to note the 8x Amc7135’.

Not familiar with atmel and microchip and got some experience with zilog parts.
No choice between left and right mind :slight_smile:

Once again, Look it over… Because…
A) I spent very little time on it…
B) It was not easy to cram in everything that’s on a NANJG, plus two resistors, plus six thru-hole wire holes.


Gerbers - CAD Data

Schematic

PPtk

Thanks PPtk! It’s really very close to what I have in my mind.
I have not done a PCB layout/trace review but will do my best provide feedback on any issue.

Would be great if other BLF’ers try to evaluate this. It’s really easy to modify the code. But
one need to get a Zilog USB Smartcable for programming. The Development/Proggramming Software is free.

Cheers! :beer:

You’re welcome. Here’s a quick update with something I thought of. By connecting the AMC7135 chain to both Pin 3 and Pin 5 of the microcontroller, the board can now be used for the Zilog Z8F042A-SO8 or the PIC12F1840 (likely many other PICs in the SO8 Package). ATTINY Won’t fit because Power/Ground are in totally wrong places.

If using the Zilog, set PIN 5 to Input. It’s not usable that way, but it won’t hurt anything.
If using the PIC, set PIN 3 to Input. It’s not usable that way, but it won’t hurt anything.

Beautiful! Zilog for the strange guy :slight_smile: and PIC for the normal people.

Programming pins are broken out for both Zilog (VCC/VSS/RESET/DBG) and PIC (VCC/VSS/MCLR/PGD/PGC)

Way more useful this way.

PPtk


Gerbers - CAD Data

Nope, ATTINY power and ground are in the correct place (where God put them when He invented TTL logic). Pic and Zilog are in the wrong place… :wink:

That’s what I meant - Power/Ground are in totally wrong places on this PCB. I fully agree with you. The only nice thing about where PIC/Zilog put it is that it gives a nice place to stick a decoupling cap…

PPtk


Proto #2 on SK68:

The ramping is a nice addition. Might be going a little too fast to pick a level, especially on the lower end. The lowest low looks nice too.

Thanks Relic!
Currently my Group 3 is Lo > Ramping Up and Down (continuous).
I plan to add Group 4 which is ML-L——up—–100% with memory save after 2 secs.
Like within 1 sec tap to ramp up and if no tap after 2secs save mode/level. Change Group at L.

Would appreciate suggestion/recommendation for the behavior. How many levels?
Is it ML—up—> 100% —down—>ML
or ML—up—> 100ML—up>100

:beer: