Hi guys. I need to simulate a PWM signal at 140ms frequency (50% duty cycle), so 70ms ON, 70ms OFF. Made a small bit of code which does just that, tested it with the LED, works just fine.
My problem is, the board (Wemos Mini v3) works at 3.3v, but the device I am simulating the PWM into works at 9v. So my question is ... what do I need in order to shift the voltage of the signal from 3.3v to 9v?
I have some experience with the usual bidirectional sparkfun logic shifters from 3.3v to 5v and viceversa .. but somehow I don't think that's the case here as I can't see anything that's over 5v.
I did find something called "voltage step-up" (eg. DC-DC XL6009 5V-40V 4A) but not sure if it's what I need? Any advice?
PS: What I'm trying to accomplish is to simulate signal coming from an NV9 biller (pin 1, set to pulse mode), which basically sends a pulse for every dollar I put in, therefore, I want to make an alternative (online payment solution) when you have no actual bills with you to insert, so you can scan a QR code, pay via Stripe, which in turn pings my backend to validate the payment and simulate that pulse to the NV9 biller's wire, that goes to the washing machine's controller. Everything is working just fine now, but I have to figure out how to properly send that pulse signal.