New to microcontrollers, need guidance

is it possible to connect a digital watt meter (the one we use to measure power in remote cars) with an esp32 to transfer the values of that wattmeter?

Can anyone explain briefly how esp32 actually works? thank you

You write a program in C/C++ in an Integrated Development Environment (IDE - a word processor for writing a program) for a Microcontroller (MCU - your ESP32) which is powered by an external power supply and has a clock-pulse input for timing. The written program instructs the microcontroller to perform tasks to process values internally (for example 1 + 1), or control digital input/output (DIO) pins to read the voltage on the pin (and translate to a 0 or 1), or set the pin at a particular digital voltage (0vdc or 5vdc for 0 or 1), or perform pulse-width modulated to create values in 255 steps from 0vdc to 5vdc, or read analog input pins (AIN) and translate, with an Analog to Digital Converter, those 0vdc to 5vdc values to a number of steps/bits (10-bit ADC is 1024 bits, 12-bit is 4096 bits). You can do many things with these simple devices.

Your topic is of a generic nature and hence has been moved to a more suitable location on the forum. Further the section where you posted is specific to problems with the Arduino Nano ESP32.

We have no idea what that is. Communication between a microcontroller and a device can be done in different forms; consult the datasheet of that meter or provide it.

Your question is too broad. It basically works like any microcontroller. There is a processor block and a number of peripheral blocks; you write code for the processor block to control the peripheral blocks.
Examples of peripheral blocks are UART and timers; for an ESP32 you can add WiFi and/or Bluetooth (I'm not familiar with ESP32 based devices).

1 Like

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.