1
0
mirror of https://github.com/s00500/SimpleExpressions synced 2024-11-23 05:50:54 +00:00
An Arduino Library to make you robots cute and noisy
Go to file
2017-12-01 13:51:22 +01:00
docs Adding images to documentation 2017-12-01 13:51:22 +01:00
examples/expressions Moving example 2017-12-01 12:51:51 +01:00
.gitignore adding ignore 2017-11-21 13:11:50 +01:00
keywords.txt CLEANUP and adding Pirates 2017-12-01 12:45:46 +01:00
library.properties Moving example 2017-12-01 12:51:51 +01:00
README.md Adding images to documentation 2017-12-01 13:51:22 +01:00
Shapes.h Moving arrays to progmem 2017-11-28 12:29:38 +01:00
simpleExpression_blocks.js CLEANUP and adding Pirates 2017-12-01 12:45:46 +01:00
SimpleExpressions.cpp CLEANUP and adding Pirates 2017-12-01 12:45:46 +01:00
SimpleExpressions.h CLEANUP and adding Pirates 2017-12-01 12:45:46 +01:00
Sounds.h CLEANUP and adding Pirates 2017-12-01 12:45:46 +01:00

SimpleExpressions: Make your robots cute and noisy

image of a cute robot

This library simply takes a 7 LED Circle module and a buzzer to do lots of funny things, see for yourself. The reason I made this was that I wanted to have a simple way to make combine mouths and sounds on this funny little Robots

You can buy these little ws2812 circles for a dollar or two at aliexpress and other china marketplaces and they are a really simple way to make some funny output. And a beeper or buzzer is available literally everywhere.

The main parts

Dependencies

Internally the library uses the Adafruit NeoPixel Library, so make sure you have this one installed

Install

The library can be installed manually (by unzipping and copying the files to the "libraries" directory) or using the Arduino Library installer, there is not to much to care about, just make sure the Adafruit NeoPixel Library is also installed.

Supported Platforms

The sound are taken from BQs Zowie. The Library supports all Arduino boards (that are compatible with the NeoPixel Library) and also the ESP8266 and ESP32

Functions

Available mouth shapes

single color shapes

  • zeros
  • happySmall
  • happyFull
  • sadSmall
  • sadFull
  • neutral
  • circle
  • center
  • hook
  • upsidedownhook
  • kooh
  • upsidedownkooh
  • cross
  • rect
  • leftarrow
  • rightarrow
  • lefthalf
  • righthalf

multi color shapes

  • colorCircle

Available SOUNDS

  • S_CONNECTION

  • S_DISCONNECTION

  • S_BUTTON_PUSHED

  • S_MODE1

  • S_MODE2

  • S_MODE3

  • S_SURPRISE

  • S_OHOOH

  • S_OHOOH2

  • S_CUDDLY

  • S_SLEEPING

  • S_HAPPY

  • S_SUPER_HAPPY

  • S_HAPPY_SHORT

  • S_SAD

  • S_CONFUSED

  • S_FART1

  • S_FART2

  • S_FART3

  • PIRATES The complete PIRATES OF THE CARIBBEAN theme (highly experimental, but funny =P)

TODO

  • If you have new Ideas for different shapes or multicolor shapes just write them down and create a pull request (Or if you are not familiar with git draw them and post an issue)
  • Calculate frame count from arraysize
  • Currently I am happy with it, any Ideas? let me know

Buy me a coffee

If you like the library and all my other projects maybe think about buying me a coffee.? I really like coffee. 🙃

another image of a cute robot