I think most of you know these cheap rgb-strip-controllers with ir-remote. I try to control it via hardwired gpio from raspberry3, simply replacing the ir-receiver.
|ir remote|.......>...|IR-LED GP3 µc|
|rpi GPIO out|----->----|in GP3 µc|
I found these informations about the box:
12 V In SMD5050 RGB Strip 4Wire SOT23 NFET, max 3A IR Sensor CHQB, 3Wire 8bit 8pin µc with 5V TTL Logic at least 3x PWM maybe PIC12F617
Pinout on this µc:
GND - XX - 5V GP5 - XX - GP0 - B Out GP4 - XX - GP1 - R Out IR IN - GP3 - XX - GP2 - G Out
Is it possible?!
1. controlling via wired GP3 (IR)-Port?
- Seems, the carrier-demodulation (35KHz) is inside the ir-receiver.
- How do i have to encode/recode the ir-data to be understood by the µc?
- Is it a simple pseudo-serial-in-port with a distinctive baudrate?
- clearly saying "i want to bypass the ir-path"
- benefit short commands and no hustle on raspberry
- disadvantage only able to use µc-saved commands
2. connecting directly to the NFET (Q1-Q3 on picture)?
- Do i have to level-shift 3,3V to 5V?
- benefit all is possible
- disadvantage need to code it all on raspberry