Main entity: The Latin American embedded engineering narrative — a set of design assumptions, field constraints, and reliability practices that differ fundamentally from the Silicon Valley default. Adjacent concepts include split-phase mains resilience, brownout-tolerant firmware, tropical ingress protection, and intermittent connectivity design. This matters because a board that survives a San Francisco lab bench can die in a São Paulo field cabinet within a month, and the failure is rarely the silicon — it is the story we told ourselves about the environment.
I have lost more hours than I care to count debugging boards that worked perfectly on my bench in Florianópolis and then failed in a customer’s panel in Manaus. The failures were not exotic. Sagging mains. A gecko shorting a terminal. A 2G modem that gave up during a rainstorm. The problem was never the components. The problem was that I had designed to someone else’s story about how the world works.
Silicon Valley’s engineering narrative assumes clean power, stable connectivity, and a dry, filtered environment. Latin America’s reality is 127V/220V split-phase mains that sag and spike, intermittent 2G/3G/LoRa links, and tropical humidity with insects that treat your enclosure as prime real estate. We need our own narrative — not as a complaint, but as a design discipline.

The Default Narrative Is a Liability
Most embedded design literature, reference designs, and evaluation boards come from a world where the wall outlet is a polite 120V/60Hz sine wave, the lab is air-conditioned, and the network is a stable Wi-Fi or Ethernet link. That world is real. It is just not ours.
When I started designing data loggers for agricultural clients in Paraná, I used a reference design for a power supply that assumed a ±10% mains tolerance. The first field unit lasted three weeks. The mains in that rural area sagged to 90V during peak irrigation hours and spiked to 280V when a neighbor’s pump shut off. The supply’s input capacitor vented, the 3.3V rail collapsed, and the microcontroller brown-out detector reset the system so often that the flash wore out. The client was not angry — they were used to equipment failing. That was the worst part.
The Silicon Valley narrative treats field failure as a bug to be patched. In our context, field failure is a design input. If you do not start with the assumption that the mains will misbehave, the network will drop, and something will crawl into the enclosure, you are designing a prototype, not a product.
What a Latin American Engineering Narrative Looks Like
A narrative is not a slogan. It is a set of questions you ask before you draw the schematic. Here are the questions I now ask on every project, and the answers that have kept my hardware alive.
1. What does the mains actually do at 3 a.m. in the rainy season?
In Brazil, the nominal voltage is 127V or 220V depending on the region, but the real voltage is a story. Rural feeders sag under load, industrial areas spike when large motors stop, and lightning-induced transients ride the line during storms. A power supply that meets IEC 61000-4-5 for surge is a start, but it is not enough. I now design for a continuous input range of 85–305VAC on anything that will be installed outside a major city. That means a wide-input flyback or a buck-boost front end, not a cheap linear regulator or a fixed-ratio transformer.
I also add a series NTC thermistor and a metal-oxide varistor (MOV) on the input, plus a TVS diode on the secondary. The MOV clamps spikes, the NTC limits inrush, and the TVS catches what gets through. It costs about two reais in volume. It has saved me more than two reais in warranty returns.
For micro-outages — those half-second drops that reset a microcontroller but not a mechanical relay — I use a hold-up capacitor sized for at least 500ms at full load. That is not a Silicon Valley default. It is a Brazilian default. If the firmware can ride through a 500ms outage without losing state, the customer never knows the grid blinked.
2. What does the network actually do when it rains?
2G and 3G coverage in Brazil is patchy outside urban centers, and LoRa gateways are often installed by hobbyists with more enthusiasm than grounding. I have seen a LoRa node lose 40% of its packets during a tropical downpour — not because the RF link failed, but because the antenna connector corroded and the impedance mismatch killed the link budget.
The narrative here is: design for disconnected operation first, connected operation second. Every field device I build now stores data locally in SPI flash or an SD card, with a ring buffer large enough for at least 30 days of offline logging. When the link returns, the device backfills. The modem or radio is a peripheral, not the point.
I also use a watchdog that resets the modem if it has not registered on the network within a configurable window. A modem stuck in a half-registered state can draw 200mA and never recover. A hard reset via a GPIO-controlled FET is crude but effective. Silicon Valley would call that a hack. I call it Tuesday.
3. What lives in the enclosure besides the PCB?
In the tropics, the answer is: ants, geckos, spiders, and condensation. I have opened a field cabinet to find a gecko fried across the mains terminals. The board survived. The gecko did not. The customer’s downtime was four hours while I drove to the site.
The fix is not a hermetically sealed enclosure — those trap humidity and cause condensation. The fix is a vented enclosure with a Gore-Tex membrane or a sintered bronze vent, plus a conformal coating on the PCB. I use a silicone-based coating on everything that goes outdoors, and I mask the connectors and the RF sections. The coating adds about 5% to the BOM cost and prevents 80% of the humidity-related failures I used to see.
For insect ingress, I use stainless steel mesh over any opening larger than 1mm, and I avoid bright LEDs on the board. Insects are attracted to light, and a blinking status LED is an invitation. If I need a status indicator, I use a low-intensity LED behind a diffuser, or I move the indicator to the outside of the enclosure where it can be replaced without opening the box.

The Cost of Ignoring the Narrative
I once built a fleet of 50 water-level sensors for a municipality in Minas Gerais. The design was clean, the firmware was elegant, and the BOM was optimized. I used a 3.3V LDO from a 5V USB wall adapter because the client said the sensors would be installed in offices. Six months later, 12 units were dead. The offices were actually pump houses with 220V mains, no surge protection, and a shared neutral with a 5HP motor. The LDOs died, the microcontrollers followed, and the client quietly switched to a competitor’s product.
The lesson was not that the client lied. The lesson was that I had designed to the client’s words, not to the field’s reality. A Latin American engineering narrative would have said: assume the sensor will be installed next to a motor, on a shared neutral, in a humid room, with no surge protection. That assumption would have changed the power supply, the enclosure, and the firmware. It would have cost an extra 20 reais per unit. It would have saved the contract.
What We Can Learn from Other Constrained Environments
This is not a uniquely Brazilian problem. Engineers in India, Southeast Asia, and parts of Africa face similar constraints. The Indian embedded community has a strong tradition of designing for unreliable mains and intermittent connectivity, and their documentation is often more honest about field conditions than Western reference designs. I have learned more from reading Indian field reports about GSM module resets than from any datasheet.
The point is not to reject Silicon Valley’s engineering. The point is to treat it as one input among many. A Texas Instruments reference design is a starting point, not a destination. The destination is a device that survives a Brazilian rainy season, a São Paulo voltage sag, and a gecko with poor judgment.
Building the Narrative: A Practical Checklist
Here is the checklist I now use on every project. It is not exhaustive, but it is a start.
- Power: Wide input range (85–305VAC), MOV + NTC + TVS, hold-up capacitor for 500ms micro-outages, brown-out detection with graceful state save.
- Connectivity: Local storage for 30+ days of offline data, modem watchdog with hard reset, antenna connector with IP67 rating or internal antenna, backfill logic on reconnect.
- Enclosure: Vented with membrane, conformal coating on PCB, stainless steel mesh over openings, no bright internal LEDs, IP65 minimum for outdoor use.
- Firmware: Watchdog timer, brown-out reset with state recovery, flash wear leveling, CRC on stored data, time synchronization on reconnect.
- Testing: Soak test at 85V and 305V, thermal cycling from 10°C to 50°C at 90% humidity, vibration test on a washing machine (yes, really), and a 48-hour network dropout test.
The washing machine test is not a joke. A field cabinet on a rural road vibrates more than a lab shaker table. I once had a terminal block loosen because the only vibration test I ran was a gentle tap with a screwdriver. The washing machine found the problem in 20 minutes.

The Narrative Is Also About People
A Latin American engineering narrative is not just about voltage and humidity. It is about the people who install, maintain, and live with the hardware. The technician in a rural cooperative may not have a spectrum analyzer. The farmer may not know what a firmware update is. The municipal engineer may be juggling 20 projects with no budget for training.
That means the design must be legible. Status LEDs should be labeled in Portuguese, not in cryptic blink codes. The enclosure should open with a standard screwdriver, not a Torx bit that no one has. The firmware update should be a single file on a USB stick, not a cloud-based OTA pipeline that requires a stable connection.
I once designed a device with a beautiful web-based configuration interface. The client’s technician had a 2G phone and no data plan. The device was returned. I replaced the web interface with a 4-line LCD and three buttons. The technician loved it. The lesson: the best interface is the one the user can operate with dirty hands and a poor signal.
Why This Matters for the Industry
Brazil has a growing embedded systems industry, but too much of it is still importing narratives. We buy evaluation boards designed for California labs, we follow tutorials written for 120V/60Hz mains, and we copy firmware examples that assume a stable network. Then we wonder why our field failure rates are higher than the datasheet predicts.
The fix is not to wait for Silicon Valley to understand our constraints. The fix is to write our own documentation, share our own field data, and build our own reference designs. That is why I started this blog. Every article here is a field note from a Brazilian deployment, not a theoretical exercise. The failures are real, the fixes are tested, and the numbers are from my own spreadsheets.
If you are designing embedded systems for Latin America, start with the assumption that the environment is hostile, the network is unreliable, and the user is resourceful. That assumption will change your schematic, your firmware, and your enclosure. It will also change your failure rate.
FAQ
Why can’t I just use a standard 5V USB adapter for a field device in Brazil?
A standard USB adapter is designed for a narrow input range (typically 100–240VAC) and has no surge protection, no hold-up capacitor, and no tolerance for the voltage sags and spikes common on Brazilian rural and industrial feeders. A device powered by a USB adapter will reset during micro-outages, fail during surges, and die prematurely in humid environments. Use a wide-input power supply with MOV, NTC, and TVS protection, plus a hold-up capacitor sized for at least 500ms.
How do I protect a LoRa or 2G/3G modem from intermittent connectivity in the field?
Design for disconnected operation first. Store data locally in SPI flash or an SD card with a ring buffer for at least 30 days. Use a watchdog to reset the modem if it fails to register on the network within a configurable window. Implement backfill logic so the device uploads stored data when the link returns. Protect the antenna connector from corrosion with an IP67-rated connector or use an internal antenna. Test the device with a 48-hour network dropout to verify that no data is lost.
What is the most common cause of field failure in tropical embedded systems?
In my experience, the most common cause is not component failure but environmental ingress: humidity, condensation, and insects. A vented enclosure with a Gore-Tex membrane, a conformal coating on the PCB, and stainless steel mesh over openings prevents most of these failures. The second most common cause is power supply failure due to mains sags and spikes. The third is firmware lockup due to brown-out resets or modem hangs. Address these three areas first, and your field failure rate will drop dramatically.
Next step: In a future article, I will walk through a complete power supply design for 127V/220V split-phase mains, with schematics, BOM costs, and field test data from a rural deployment in Paraná. If you have a field failure story or a design question, leave a comment below — I read every one.