in the data sheet its written
''The output of the power amplifier is also adjustable''
how can i do this ? where can i find the option for it ?
i also want to measure the power consumption of Power amplifier/operational amplifier in ESP32
Power amplifier/operational amplifier in ESP32
-
- Posts: 20
- Joined: Sat May 12, 2018 5:02 pm
Re: Power amplifier/operational amplifier in ESP32
Hello Ahmed, designing with esp-idf you can call "make menuconfig" and set the PA output power, check line 1064 of https://github.com/espressif/esp-idf/bl ... 32/Kconfig
Re: Power amplifier/operational amplifier in ESP32
How are the kconfig values manipulated when using the Arduino IDE. Some appear in the IDE (clock) other no. Is it through esp32.h attributes/methods?
IT Professional, Maker
Santiago, Dominican Republic
Santiago, Dominican Republic
- Vader_Mester
- Posts: 300
- Joined: Tue Dec 05, 2017 8:28 pm
- Location: Hungary
- Contact:
Re: Power amplifier/operational amplifier in ESP32
Actually this mentioned section it's not for the OPamp, rather the wifi.Franco wrote:Hello Ahmed, designing with esp-idf you can call "make menuconfig" and set the PA output power, check line 1064 of https://github.com/espressif/esp-idf/bl ... 32/Kconfig
I just noticed that the OPamp description is removed from the latest Technical Reference Manual, dunno why.
Here you can see a short description and a way to set the gain.
If you know OPamps in general, this is an integrator configuration of the opamp.
https://en.wikipedia.org/wiki/Op_amp_integrator
Anyway I attached here the snippets from the old TRM.
On the WROOM and WROVER modules there are two 270pF caps already placed, which are to set the gain (seen in the attached sheet how). So you can only adjust it if you replace those components.
- Attachments
-
- ESP32_LNA_Opamp.png (176.73 KiB) Viewed 14585 times
Code: Select all
task_t coffeeTask()
{
while(atWork){
if(!xStreamBufferIsEmpty(mug)){
coffeeDrink(mug);
} else {
xTaskCreate(sBrew, "brew", 9000, &mug, 1, NULL);
xSemaphoreTake(sCoffeeRdy, portMAX_DELAY);
}
}
vTaskDelete(NULL);
}
Re: Power amplifier/operational amplifier in ESP32
The opamp to ADC is starting to make sense to me. But I still have a gap between what I have and how to make it work. Do you know if there is there any sample code available?
It am a little uneasy with it having disappeared from the latest documentation. What do you think the significance is? not working/shelved for now/going away in v3
I ordered a TI LNA for my water/air pressure sensor but it is appealing to use the built-in amp.
It am a little uneasy with it having disappeared from the latest documentation. What do you think the significance is? not working/shelved for now/going away in v3
I ordered a TI LNA for my water/air pressure sensor but it is appealing to use the built-in amp.
IT Professional, Maker
Santiago, Dominican Republic
Santiago, Dominican Republic
Re: Power amplifier/operational amplifier in ESP32
If your pressure sensor has a Wheatstone bridge configuration and is insensitive, consider using the HX711 "24-Bit Analog-to-Digital Converter (ADC) for Weigh Scales". It's available as a chip, or as a breakout board from Sparkfun and elsewhere (note: Sparkfun wrongly describe it as an amplifier). Using an HX711 avoids the very poor 'noise' performance of the ADCs within the ESP32.tommeyers wrote:I ordered a TI LNA for my water/air pressure sensor but it is appealing to use the built-in amp.
- Vader_Mester
- Posts: 300
- Joined: Tue Dec 05, 2017 8:28 pm
- Location: Hungary
- Contact:
Re: Power amplifier/operational amplifier in ESP32
Honestly, I would not use the OPamp in the ESP, rather an external one, or a PIC with a built-in OPamp, which will do the conversion and use either SPI or I2C with the ESP to do the data sharing.
Code: Select all
task_t coffeeTask()
{
while(atWork){
if(!xStreamBufferIsEmpty(mug)){
coffeeDrink(mug);
} else {
xTaskCreate(sBrew, "brew", 9000, &mug, 1, NULL);
xSemaphoreTake(sCoffeeRdy, portMAX_DELAY);
}
}
vTaskDelete(NULL);
}
Who is online
Users browsing this forum: No registered users and 88 guests