How to best change orientation of diode, and other errors?

I’m a little late but spiked do matter, even when being operated by switches;

  1. Fast changing voltages will cause RF (radio frequency) noise that can be picked up by other circuits.
  2. To a much smaller extent, the “spike” will reduce the life of a set of contacts.

Do you see any Perticuler place on the board that could cause thar?

Best regards Jacob Wiqvist

If you want to read the state in which the relay is located, it is better to read pin 1 (ULN1) in analog. Otherwise with your connection you need a voltage divider to have a maximum output at 3v3.

Instead if you want to activate the relay with A0 you must always connect (I8) with (ULN1) for example but attention is needed in the software so that A0 can be set HIGH or LOW but GPIO1…GPIO7 must be in HiZ .
Otherwise you could find yourself in a short circuit condition.

I hope I understand the problem well.

Dimmer project8.zip (3.4 MB)

This is my latest changes.

I have added alot of text to explain how it works.

Will this not work?

Thats why i added the diods to relay input from D-sub and now also from the multiplexer chip.

Will that not work?

I can’t understand what you want to do with the further releases that drive GPIO1…GPOI8, I thought you wanted to set the relays via software by bypassing the dip-switches.

[EDIT] to have a dip-switches software you must use 74hc595 otherwise using CD74HC4067M you only have one relay active, and if you perform analog readings the relay is deactivated.

The dip switch is to select what relays should be on by what signal.

Ther is basicly meant to be 3 ways of controling a relay:

1: With external arduino or Pokeys card.
2: With the togle switch on each chanel above the relay.
3: With output from internal MCU, ItsyBitsy M0 Express

In adition to this I want any input from external or internal relay control to be able to control any relay or all relays, the same with Pot signal.

You should be abel to use 1 signal to control all relays or 1 pot to control all Mosfets.

I can not uplod files to JLCPCB what could be the error?

I am not about to order but I am about to test placement of components.

I have not recived components to test on paper yet.

What. Oh no.

to have a dip-switches software

I want dip-switch hardware controled. As much as possible with hardware control.

[EDIT]

I say wrong in the video.
If you want to control 3 chanel with on pot and one relay input You should select the 3 first dip switches on bothe pot chanle 1 and relay chanel 1. Never use 2 of the same. I dont know how to explain this on the card.

If someone could help me with that text it would be nice.

[EDIT]

I managed to get this far:

Any sugestions for C5, C4

[EDIT]
Also this:

Can I use this part insted:

:blush: :rofl:

Definatly did something wrong with, also the multiplexer chips seems to be rotated.

[EDIT]
Why are the diods on have a pink + sign on the left side of the component. I want “My” + to be in the not short circut direction, som It looks like I have placed it corect.

I know that components are placed wrong. What should I change with the origin?

Cant understand, I placed the origin for drill and components in lower left corner:

[EDIT]
I managed to fix it, by placing origin again and saving the files again:

But the price is high. I must think how I can reduce that.
Also the multiplexer chips was rotated but that was possible to change, by rotating in there editor, must check if I rotated the coract way.

[EDIT]

I also saw that the diod footprint for 1N4148W dose not look correct.

@Fabio_De_Bernardi

What values did you select on the power supply capacitors?

I can see that one is 1000nF.

Is this a good choice?

[EDIT]
Or what brand of capacitors should I select?

Can you recommend any from JLC PCB that are good quality?

I am thinking that all of them could be the same, and that all of them is good if they can handle 40-50V.

Because the Mosfets can handle 40V this could make it possible to have a wider selection of voltages on all power “rails”?

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.