please, have a look at my circuit
My goal is to provide 24 V to pin X6A pin 2. For this, I am planning to use the 5v pin of my arduino mega 2560 and convert to 24 V with a step up converter MT3608.
The concern is that since my power source ( = my arduino ) is not a stabil power source, the X6A pin2 gets over voltage. Need some comments / feedbacks from you, guys.