My question is can you program a lower voltage to be produced from the 5v pin or 3.3v pin that is lower then what either pin supplies? I did google a few different things and didn't find anything that really related to my question.
https://www.arduino.cc/reference/en/language/functions/analog-io/analogreference/ Would analogReference work? INTERNAL4V3, and adjust the 4 and 3 to desired voltage?
Could it be supplied with a petentiometer to adjust desired voltage from min to max?