In the landscape of electronic devices, microcontrollers play a pivotal role in processing sensor data and executing programmed functions.
However, the cost of the microcontroller often constitutes a substantial portion of the device’s overall cost.
Traditionally, the integration of microcontrollers into electronic devices has been a substantial contributor to the Bill of Materials (BoM) and consequently the overall cost of the product.
Also Read: Microcontroller Vs Microprocessor
Devices ranging from game pads and electronic controllers to sophisticated robotics often demand microcontrollers with a hefty price tag, frequently ranging from 200 to 300 Rupees.
This financial barrier has limited the accessibility of advanced technology to a broader audience.
Enter the CH32V003F4U6 RISC-V microcontroller, a game-changer in cost-effective system design. Priced at a modest 12 to 20 Rupees, this microcontroller not only significantly reduces the cost associated with the heart of the system but also paves the way for innovative solutions where cost efficiency is paramount.
The project aims to reduce costs associated with the microcontroller, which typically comprises a significant portion of the Bill of Materials (BoM).
Through the integration of RISC-V architecture, this system provides an efficient and cost-effective solution for designing devices, such as induction heaters, while maintaining affordability under 100 Rupees.
RISC-V Chip Board – BoM
Power System Design
According to the datasheet, the chip works within the voltage range of 5 to 3.3V. So here we designed the Voltage regulation system using LM1117 with two capacitors to power the system and provide a regulated power supply of 3.3V.
The voltage regulation circuit consists of the LM1117 voltage regulator, two capacitors, and the CH32V003F4U6 microcontroller.
The LM1117 is connected with its input pin to the unregulated voltage source and its output pin to the microcontroller, providing a stable 3.3V output.
Two capacitors are strategically connected across the input and output pins of the LM1117 to enhance stability and filter out noise:
- Input Capacitor (C_IN): Connected between the input pin of LM1117 and the ground, it helps stabilize the voltage input and mitigate transient fluctuations.
- Output Capacitor (C_OUT): Connected between the output pin of LM1117 and the ground, it provides stability by minimizing output voltage fluctuations and improving transient response.
Reset and Indicators
Reset Button Implementation:
The reset button is a fundamental component in any embedded system, allowing users to initiate a controlled restart. In our design, a reset button is connected to Pin PD7 of the CH32V003F4U6 microcontroller. A capacitor is added to provide a brief delay, ensuring a stable and noise-free reset signal.
Indicator LED for Power Status:
To provide users with a visual indication of the system’s power status, an indicator LED is connected to the power pin of the CH32V003F4U6 microcontroller. This LED lights up when the system is powered, offering a quick and intuitive assessment of the operational status.
In-Built LED on Pin PC0:
For user feedback and debugging purposes, an in-built LED is integrated into the design, connected to Pin PC0 of the CH32V003F4U6 microcontroller. This LED can be programmed to convey specific system states or to assist in troubleshooting.