The Nerd

Summary of The Nerd


The Nerd is an IoT pet that "eats" WiFi SSIDs, waking every half hour to scan for networks, saving new SSIDs to flash, and using light and darkness plus RTC-driven sleep to manage behavior and battery. If offline too long it signals with a buzzer; if unfed for over two days it dies. The project demonstrates WiFi scanning, flash storage, RTC time sync via NTP, and low-power modes on an MKR1000.

Parts used in the Nerd:

  • RGB LED
  • Phototransistor
  • Buzzer
  • Battery
  • 220 Ohm resistor

Help keep your IoT pet alive via the Internet!

Story

 

Quick Solutions to Questions related to the Nerd:

  • How does the Nerd feed?
    The Nerd scans for WiFi SSIDs and saves new SSIDs in flash memory as food.
  • Can the Nerd keep its data after power loss?
    Yes, values saved in Flash memory survive a reset and power off but are cleared when uploading a new sketch.
  • What libraries are used to implement the Nerd?
    WiFi101, FlashStorage, RTCZero, ArduinoLowPower, and WiFiUdp are used.
  • How often does the Nerd wake to scan networks?
    The Nerd wakes every half hour to scan available networks.
  • Does the Nerd signal when offline?
    Yes, it communicates an SOS in Morse code via the piezo buzzer and beeps more the longer it is offline.
  • How does the Nerd get the current time?
    When connected to home WiFi and the internet, it uses NTP via WiFiUdp to get epoch time and sets the RTC.
  • What happens if the Nerd is not fed for more than two days?
    It will die dramatically, making a lot of noise.
  • How many networks can be saved?
    The example defines MaxNet as 30 maximum saved networks.

About The Author

Ibrar Ayyub

I am an experienced technical writer holding a Master's degree in computer science from BZU Multan, Pakistan University. With a background spanning various industries, particularly in home automation and engineering, I have honed my skills in crafting clear and concise content. Proficient in leveraging infographics and diagrams, I strive to simplify complex concepts for readers. My strength lies in thorough research and presenting information in a structured and logical format.

Follow Us:
LinkedinTwitter
Scroll to Top