A DREAM Robotics Agent · Tracked

NIKA

Neural Instrument Kinetic Automaton

MILA’s sister: the same board, tracks and fleet link, with sixteen RGB LEDs, a small OLED, an infrared obstacle sensor and a synthesizer for a brain. You can hear her think.

C++ Python Arduino UNO ESP8266 Synthesizer MIT License
NIKA's avatar: a human representation of the robot, in a wooden-brown jacket with RGB lights and a little synth, among autumn leaves
NIKA · avatar

Overview

Everything MILA does, and a mind you can hear

Play

Follow, hello, dance

She keeps your hand 30 cm from her sonar in short pulses, and shakes her sonar head or dances on the spot.

Drive

Three modes

WASD, TANK and OBSTACLE, from the remote, her dashboard on :5013, the Python controller or NORA’s IR link.

Sense

Two ways to see a wall

An ultrasonic on a servo looks ahead and to both diagonals, and an infrared sensor says “something’s there”. Either one stops her.

Show

Sixteen LEDs and an OLED

The LEDs are the colour of her thought while she drives; the OLED shows her mode, what’s ahead and what she’s thinking.

Think

A synthesizer brain

Her drives are square-wave oscillators. The loudest is her thought, and the synth plays it.

Listen

Hear her anywhere

She has no speaker, so her thought and every beep come over WiFi: LISTEN on her dashboard plays them on your phone, L on the PC controller.

Fleet

The ladder and the link

She joins the fleet’s network at the very bottom, below MILA, registers with the hub, and NORA can drive her over IR (0x0DA5).

Safe

The guard and her PIN

Driven by hand she won’t go into a wall, ticks faster as one gets close, and only an unlocked controller can drive her.

Mind

MIND mode

The LLM on her PC controller drives her, one short move at a time — and it feels what her synth brain feels: her thought and its Hz are among its senses. M on the controller.

Hardware

What she's built from

  1. 01 UNO + WiFi R3 board (ATmega328P + ESP8266), like MILA
  2. 02 L298N motor driver and a wooden tank chassis (like IDA’s)
  3. 03 HC-SR04 ultrasonic on a servo
  4. 04 IR obstacle sensor (on/off)
  5. 05 16-LED RGB array (WS2812)
  6. 06 SSD1306 128×32 SPI OLED
  7. 07 Synthesizer kit (XR2206-style) + MCP41010 digital pot
  8. 08 IR remote + receiver, buzzer

The synth brain

She thinks in square waves

DriveFrequencyWhat moves itExploring, she drives at
calm196 Hzalways there, the hum underneath80%
curious220–660 Hzthe way ahead staying open100%
caution220–880 Hzsomething getting close; 880 when the IR sensor sees it45%
social523 Hz, fadinghearing NORA over the IR link55%, and a hello

A digital potentiometer sits where the synthesizer kit’s frequency pot was, so NIKA sets its pitch, and with the kit’s square-wave jumper on, what you hear is her thought.

Quick start

Get her thinking

  1. Copy scripts/esp8266/secrets.example.h to secrets.h.
  2. Flash scripts/NIKA to the UNO and scripts/esp8266 to the ESP8266, with the DIP switches set for each.
  3. Put the synth kit’s jumper on square wave, and tune SYNTH_K by ear.
  4. Power her on and open http://<her IP>:5013/, or run run.bat.

WiFi signal

How well she hears the network

Her /status has wifi_rssi (her signal, 0 while she hosts), which RITA’s STATS shows. Her ESP8266 has no Bluetooth: Bluetooth controllers reach her through NORA’s IR link.

Windows app

A native window on NIKA's page

It opens NIKA's own hosted page in a window, so it always looks the same as the page. It remembers the address, and FIND looks on the fleet list of the network you're on. If NIKA doesn't answer, it says so and lets you change the address.

Download NIKA-Controller.exe

The DREAM Robotics ecosystem
Minds — DREAM companion · TINA engineer · NINA caretaker · RIFT fleet hub · LYCEA training school
Robots — NORA · MILA · WHIP · KIDA-00 · KIDA-01 · IDA · ARM · NIKA · ARIA · AURA weather · FLORA gardener
Remotes — RITA handheld remote