16 Weremonkey
mishi edited this page 2018-10-18 00:08:18 +02:00

Weremonkey

Description

The weremonkey is a very dangerous little creature with lots of sharp teeth and eyes that light up when he screams or laughs in the most terrifying way.

It is a stuffed toy with two possible motion/sound patterns and LED eyes.

weremonkey

Network location

Exhibit specific API

URL Verb Description
/scary_actions/laugh GET/POST Executes scary action laugh that randomly triggers workflow Laugh 1 or 2

Workflows

  • Laugh 1: Eyes on, trigger laugh 1, wait, stop laugh 1, eyes off
  • Laugh 2: Eyes on, trigger laugh 2, wait, stop laugh 2, eyes off

Raspberry Pi pinout:

RPi Pin RPi Name Destination Wire Function
2 5V Relay JDVCC red
4 5V 1000R to R3M white
6 Ground Relay Gnd orange
12 GPIO18 Relay In1 yellow Enable Laugh 1
16 GPIO23 Relay In2 gren Trigger Laugh 2 on/off
17 3V3 Relay VCC grey
18 GPIO24 Relay In3 blue Enable LED eyes
22 GPIO25 Relay In4 purple N.C.