The article claims that the ESP32 costs $5. The reality is around half of that for the MCU, and around $3 for pre certified modules including crystal, PCB antenna or UF-L connector. So it's really affordable. Espressif has also launched a new ESP32C3 based on RISC-V, with modules priced at around $2.
that second core is worth its weight in gold
cant wait until they can make a dual-core risc-v but p.happy on the -s3
I can attest to the challenges of the section on Dynamic analysis on real hardware and the struggles of attenuating signal interference on the ESP. Anyone have a recommendation on conducting fabric for RF isolation as briefly mentioned in the article or resources on the subject of rf isolation/Faraday cages for microcontrollers?
We needed a large highly isolating cage for a project and the cost-effective (but still costly) way to do that was to build our own, having local welders make a custom steel box and lining it up with rf anechoic pyramid foam, otherwise the reflections make weird RF noise. A tricky part is the seams where your doors meet the box. It's easier to get good isolation from outside if you don't have to connect any wires, i.e. if any "control" you need is done by a battery-powered computer (laptop or smartphone) inside the isolation.
The section on trying to attenuate outside wifi signals interested me. There is a bunch of hand wavy information on building faraday cages online, some people suggesting to utilize a microwave oven, since they operate at the same frequency. There are even wifi faraday cages for sale on amazon. However I can't really find much actual benchmark data online about how well these various approaches actually attenuate sign…
A microwave oven is an excellent (30-40dB) attenuator specifically around 2.4GHz. The legal requirements essentially mandate 30dB + manufacturing safety margin. Your mileage will vary for other frequencies, as they're not actually faraday cages, so it's usually easier to simply use aluminum foil or a copper mesh/PVC box depending on your needs.
I picked up an ESP32 devboard recently. I've always been intrigued by embedded but don't have a background in it at all. I have no idea what my first project should be. Any ideas?
Make an LED blink.
Then, connect an RGB LED and experiment with PWM signal generation.
Then, experiment with network programming, accepting a UDP packet to the ESP32 that sets the color of the RGB LED.
I picked up an ESP32 devboard recently. I've always been intrigued by embedded but don't have a background in it at all. I have no idea what my first project should be. Any ideas?
I tried making a small servo tester as a first small project on the esp32. I obviously took the servo testing code from somewhere else but yeah, the control part was useful.
I picked up an ESP32 devboard recently. I've always been intrigued by embedded but don't have a background in it at all. I have no idea what my first project should be. Any ideas?
Make an LED blink. Then, connect an RGB LED and experiment with PWM signal generation. Then, experiment with network programming, accepting a UDP packet to the ESP32 that sets the color of the RGB LED.
Alternatively, you can go high-level immediately - instead of accepting a UDP packet to set the color, run a webserver on it with functionality to change the RGB LED color that you can access from any browser. Modern microcontrollers have enough resources to just spend them like that.
The section on trying to attenuate outside wifi signals interested me. There is a bunch of hand wavy information on building faraday cages online, some people suggesting to utilize a microwave oven, since they operate at the same frequency. There are even wifi faraday cages for sale on amazon. However I can't really find much actual benchmark data online about how well these various approaches actually attenuate sign…
If the product doesn't list some form of dB loss (at at least 1 frequency) I assume it's more or less just a standard box. Sometimes that'll be right, sometimes it won't. Some of it comes down to how you use the box as well. If you're feeding un-isolated power in via a big hole in the back then it doesn't really matter how perfect the front is at blocking signals. I'm surprised their paint can only gave them a 10 dB…
At least for microwave ovens, with domestic models reaching 1 kW and commercial (e.g. in food) 2 kW, the shielding on these needs to be pretty darn good to make sure that someone standing right next to it doesn't get their body fried. The maximum allowed leakage power density is 5-10 mW/cm² [1], according to a 2004 study even then most ovens barely get up to 1% of the legally allowed emissions limits [2, page 7].
Out of random interest I tested the "put a phone in it and call it" and it didn't work (as did wifi) that's mentioned in [2].
Make an LED blink. Then, connect an RGB LED and experiment with PWM signal generation. Then, experiment with network programming, accepting a UDP packet to the ESP32 that sets the color of the RGB LED.
Alternatively, you can go high-level immediately - instead of accepting a UDP packet to set the color, run a webserver on it with functionality to change the RGB LED color that you can access from any browser. Modern microcontrollers have enough resources to just spend them like that.
Are we talking lightweight servers like minihttp and shizaru, mid-level lighttpd , or big-ass Apache and nginx?