Wiring

Table of contents

Wire the circuit as follows

DFPlayer mini

  1. Connect VCC to the VIN (Unregulated Voltage) of the Photon, which will allow DFPlayer Mini to receive higher voltage than 3.3V.
  2. Connect Ground to Ground on Photon
  3. Connect TX to TX on Photon (Green)
  4. Connect RX to RX on Photon (Yellow)

Speaker

  1. Connect one side (Can connect any side) of the speaker to the DAC_R (Digital to Analog Converter Right) on DFPlayer Mini
  2. Connect the other side to the Ground of the DFPlayer Mini

Photocell

  1. Connect one side (Can connect any side) of the Photocell to the VIN or 3.3V. (VIN provide higher value for photocell)
  2. Create a with an 10k Ohm resistor
  3. Connect the remaining side of the Photocell to the 10k Ohm resistor on side of the resistor
  4. Connect the same side of the resistor to A0 (Analog 0)
  5. Connect the other side of the resistor to the ground.


Table of contents