- Silicon Labs Community
- Welcome and Announcements
- Silicon Labs Knowledge Base
- 8-bit MCU
- 32-bit MCU
- Bluetooth / Wi-Fi
- Other Products Category
- Optical/RH/Temp Sensor
- Other Products
- Hardware and Software Tools
- Simplicity Studio and Software
- General Discussions and Suggestions
- Chinese Forum
- Software Libraries
- Development Kits
- Reference Designs
- Third Party Tools
- White Papers
- Official Blog of Silicon Labs
- Chinese Blog
09-05-2017 10:56 AM
a R/C DAC Filter:
R= Resistor, C=Capacitor.
if you PWM a output, and it's 50% duty, your voltage will be half of Vcc after the r/c filter.
There will be some small ripple and current draw should be kept under 5mA
So you can change the Duty from 0 to 100% and you get a proportional voltage.
09-05-2017 11:00 AM
P.S many SiLabs MCU's now have IDAC, you for example use a 10K pull-up resistor and the idac can adjust it's current sink and that result is a adjustable analog voltage out below the pull-up resistor.
09-05-2017 12:47 PM
Can a constant output voltage be achieved on the thunderboard react without using an external voltage regulator?
Constant voltage output of what voltage value, exactly, and for what use?
09-05-2017 01:03 PM
I would like a constant voltage of 3.3V, but 3.0V or 2.7V could work as well.
I am developing an iPhone application that receives readings (via BLE) from a sensor wired to the thunderboard react. I retrieve a reading from the sensor through the ADC. The value returned is an integer between 0 and 65535 (16 bit). I then convert this integer to voltage: V_across_sensor = V_reference * (sensor_reading/64435). I was hoping to get a constant voltage input to my sensor so that I can simply stream the sensor_reading value to the iPhone and calculate the V_across sensor with a constant value for V_reference.
09-05-2017 09:18 PM
I have below question:
1. which device you are trying to use?
2. now you need the device to out a constant voltage from the MCU that apply to your sensor, let us assume it was Vc.
3. Is the Vc work as power supply to your sensor, how much current the sensor need?
4. The sensor would output a voltage to be measure by the MCU ADC peripheral. does the sensor output level shift with Vc, does the sensor output range scale with Vc?
5. Since you could use the internal reference voltage as ADC reference, if the sensor output don't scale with Vc, I suggest you scale the range to [0, 65536] with software.
6. How you get 64435 in your formula?
09-06-2017 08:00 AM
1.) I'm using the thunderboard-react (RD-0057-0201)
3.) Yes, however I can't find the current required in the sensor datasheet.
4.) Yes. I'm using a pressure sensor that is ratiometric to the supply voltage. With 0 pressure, the voltage should read 10% of Vc and with the maximum pressure, the voltage should read 90% of Vc.
5.) I receive an integer from the ADC scaled between [0, 65335] (16 bit range)
6.) That was an error, the correct number should be 65535 (16 bit range).
09-06-2017 09:40 AM
The VDD may power sensor with enough crrent.
if you use other peripheral like IDAC you may need to consider if it could provide enough current and external buffer needed. you should also consider if the output voltage would change with load change if no buffer was added.
09-11-2017 02:38 PM
Yes, VDD works to power the sensor. So you're saying that 10% of my max ADC value will correspond with 0 pressure and 90% of my max ADC value will correspond to full pressure? This way I don't have to worry about what the voltage is. I can simply calibrate pressure to the ADC values and this will be accurate even if voltage slowly drops over time.
I may lose resolution with lower voltages. Do you know how low the battery voltage can go before the mcu won't turn on? I may need to monitor voltage and determine a threshold for minimum voltage I can run the sensor at.