Talk

ESP32 firmware for a DIY RF bug detector

From Wikiprompt, the free prompt encyclopedia

Coin Shot ☁️

Jun 10, 2026

ESP32 firmware for a DIY RF bug detector Prompt for Claude Code to generate complete Arduino/ESP32 firmware for a handheld RF signal (hidden bug) detector with an OLED bar graph and audio feedback.

Related media

Prompt ContentSave

🌐
Write me ESP32 firmware for an RF bug detector. Hardware: - AD8317 logarithmic RF detector on analog pin 34 - SSD1306 OLED screen on I2C pins 21 and 22 - LiPo battery powered Requirements: 1. Read the AD8317 voltage 20 times per second. 2. Convert the voltage into a signal strength value in dBm. 3. Show a live bar graph on the OLED that rises as signal gets stronger. 4. Play a beep through a buzzer on pin 25 that speeds up as the signal increases, so I can sweep a room and home in on the source. 5. Add a calibration button on pin 4 that sets the current room level as the baseline, so only stronger signals trigger alerts. Output one complete Arduino sketch with comments so I can tune the sensitivity.

Sign in to see the full prompt

Continue with:

By logging in, you agree to our Terms of Use and Privacy Policy

Usage

This prompt is designed for use with coding. Copy the prompt content above and paste it into your preferred AI tool.

For best results, you may customize the placeholders (indicated by square brackets or capital letters) with your specific requirements.

References

Categories:coding| twitter| esp32| arduino

Talk