1. Use Renesas R7FA2E1A72DFL to realize touch button control of LED light switch and brightness adjustment.
2. Use the H-bridge drive circuit as an LED driver. You can also drive the motor for fun if you don’t need it in the future.
3. There are some circuits that are not used and are used to verify other things, such as Q1, Q2, and operational amplifiers in the schematic diagram. They can be ignored in this project.
Updated on 2022-5-9
1. I can’t handle touch without an emulator, so I changed it to buttons.
2. There is a small problem with the driving circuit. I changed it to using the mos tube alone to drive the LED light.
3. I forgot to adjust the brightness, and finally connected an external one (the touch is useless anyway and the buttons are connected externally)
4. I feel like I might as well make a development board for fun.
5. Some functions feel too late, such as different ratio dimming of two colors of light. Let’s look at it later.
6. RA_td01 in the attachment is code (actually the serial port and external interrupt are not used, just for debugging). The oled code in some E1 development board routines has been modified to make it easier to use when displaying 6*8 small characters.
All reference designs on this site are sourced from major semiconductor manufacturers or collected online for learning and research. The copyright belongs to the semiconductor manufacturer or the original author. If you believe that the reference design of this site infringes upon your relevant rights and interests, please send us a rights notice. As a neutral platform service provider, we will take measures to delete the relevant content in accordance with relevant laws after receiving the relevant notice from the rights holder. Please send relevant notifications to email: bbs_service@eeworld.com.cn.
It is your responsibility to test the circuit yourself and determine its suitability for you. EEWorld will not be liable for direct, indirect, special, incidental, consequential or punitive damages arising from any cause or anything connected to any reference design used.
Supported by EEWorld Datasheet