3

Yes, 1MB is fine for OTA. There are, though, a few caveats when working with OTA that you must observe regardless of the flash size: The maximum OTA program size is less than half the available flash size. Typically it is about 500kB. Two copies need to be stored in flash, plus the partition table and NVRAM. The rest of the flash on larger chips is most ...


3

There's a lot of controversy on this issue, but if it works for your needs, absolutely do it! Basically, there are 2 questions you have to answer: Should I use actual Arduino boards in production? The answer is generally "no", simply because you need to customize the boards to add components to support your project, and to make them more robust, ...


3

For example – ff9d denotes a value of -99 The function you wrote returns an unsigned integer which, being unsigned, cannot be negative. The simple fix is to declare it as int hexToDec(String hexString) That should be enough to get it working as expected. Note that the local variable decValue still has to be unsigned, otherwise you would get a signed ...


2

Working from what Ignacio Soler Garcia wrote (which didn't work for me), I tried around and came up with a solution for my case (I downloaded the OneDarkArduino Theme from GitHub): Unpack the theme if it came in a ZIP file copy the folder called "theme" (there should be a bunch of .txt and .svg files in there) paste it into the folder where all ...


2

There is two cases. First you use arduino boards. I would avoid this because it will be more expensive and harder to assemble the product. There is one exception, the new arduino nano family. These boards are made to be easily use in production (they can be soldered as a SMD components) but it's always expensive. The second case is to use arduino software on ...


2

First of all find out on which port the Arduino is connected by running the command : dmesg | grep tty. You should get [82893.921017] usb 1-1: cp210x converter now attached to ttyXXX with the ttyXXX COM port. Then check if the port is visible Tools->Port. If the port is not visible then you have a permission issue.


2

Arduino allows you to connect external peripherals (via I2C, SPI, UART, I/O) and shields. It'll be impossible to list them all, as you can even make your own; but here an overview of the most common I can think off: WiFi Bluetooth LoRa Zigbee Z-wave RF (433mhz) InfraRed GSM/LTE It'll be a trade-off between signal range, power usage, delay and bandwidth. Do ...


2

In general, ESP-NOW uses the WIFI radio in an ESP processor as a physical layer. But uses it's own protocol which likely looks like garbage to a normal WIFI equipment. So, it's like being in a meeting room with a bunch of people only knowing German and occasionally someone pipes up taking French. As no one understands the French speaker, the French ...


1

SPIFFS (SPI Flash File System) is also know as FS(File system) . so What you are seeing as FS is basically SPIFFS .The OTA partition on esp8266 is compulsory so you cant get rid of it . Hope this helps


1

Which mode of DLMS you are you using? IEC 61107 or currently IEC 62056-21, was an international standard for a computer protocol to read utility meters. It is designed to operate over any media, including the Internet. A meter sends ASCII (in modes A..D) or HDLC (mode E) data to a nearby hand-held unit (HHU) using a serial port. IEC 62056 In your question ...


1

“Multiple definition” means that you have something defined more than once. According to the error message, some methods are defined both in libraries\Adafruit_DRV2605_Library and in your sketch folder. It looks to me like you are trying to use two copies of the Adafruit_DRV2605 library. One of them is properly installed as a library, and the other is within ...


1

I was dumb, turns out it was converting the hex into a int. I sent the array through serial and looked at it.


1

It's easier to follow if you indent it properly. I'll do that, and add comments as I go: void loop() { if ( Serial.available() > 0 ) { // If there is something in the serial RX buffer static char input[inputLength]; // Create a working string to store data in static uint16_t i; // This is the current index in that working string ...


1

I don't know how, but finally I have found working solution... I have add HTTPClient http; at top of function and it works... void DB_state(String component,int state){ HTTPClient http; // THIS IS ADDED String postData =("component=" + String(component) + "&state=" + String(state)); Serial.println(postData); http.begin("http:/...


1

I don't know whether it's really the smallest you can find but... The ATtiny84 has an ADC, more digital pins than you need, and is available in 3 mm packages (UFBGA and VQFN). There is also an Arduino-compatible core available for it.


1

In my case: I erase the board configurations that was with problem in the file boards.txt. These configurations appears between #### ... board configurations... #####.


1

I've seen this error a few times and renaming the serial port fixed the problem in my case. I documented the steps in detail in Tip #4 of this blog post: https://gyorgybalassy.wordpress.com/2020/10/16/cant-open-device-com-access-is-denied-arduino-upload/


Only top voted, non community-wiki answers of a minimum length are eligible