need help with 74HC04 chip to invert high to low

So not the thing you get when you google Wemos, it would have been good to know that at the start.
That board is a 3V3 board and so is not very suited to driving 5V TTL especially if you are only taking the input from a diode.
I wait in breathless anticipation for how you are wiring it up. That means schematic.