Starting to build a simple circuit to test basic functionality...

    ---------->|--------
    |         D1       |
    |                  |
   Vin ~              [ ] R1 10k
    |                  |
    |                  |
    ----------|---------
              |
              _
              _
              -
             0 (Ground)
             
Yep it's a very primitive half wave rectifier. Maybe a smoothing
capacitor should be added. But it will do for now.