Errata‎ > ‎RaspberryPi‎ > ‎

CutiePI

Last update 4 April 2018

April 2018:  Retracing my steps using Dietpi, preparing for V3 w/ touchscreen (work-in-process below)

Grandbaby's first PI - designed to evolve as she does WHILE refreshing grandpa's programming skills!  Originally built using a PI 2 in a cottage-style lego block case.  Lego case will hopefully facilitate the project's 'evolution'.

Version 1 - A little device that that plays stream music so mom and dad can pipe lullabies into the nursery
Version 2 - Added a button and lights because she is figuring out how to use her fingers (python + solder!)
Version 3 - CutiePI Vs + Touchscreen = ?????

CutiePI V1 

A simple streaming music player in a Lego case.  Built using spare parts. 

Hardware

Software

  • Stock Raspbian installed using NOOBS
    (weezy initially, worked find, but some fiddling to get wifi and audio)
  • AirPlay services via Shairport-Sync 
    (Originally used Shairport, worked OK, but was a little squirrelly, if I recall)

Capabilities

Fond Memories



CutiePI V2

CutiePI V2

Added a button & LEDs and a custom app that plays sounds & music when button is pressed.

Hardware

Software

Capabilities

  • STILL allows mom/dad to stream music into nursery using iPhone/iPad 
  • V2 added a button, lights (LEDs) and custom app that blinks lights and plays preloaded sounds 
    • Simple Python script (my first!) - CutiePI_V2 (source)
    • 3 sound files and one song file (wav format) 
    • each button press blinks light bar and plays a sound 
    • GPIO:  Button @ GPIO 2.   LEDs:  Red @ GPIO 17, Green @ 27, Yellow @ 22, Blue @ 4 
  • Added remote access/support - I periodically change sound files to surprise grandbaby ... e.g. xmas theme

Fond Memories


CutiePI V3

Work in process!

Config & notes as I go (so I don't forget)
  • Dietpi-Config (ToDo - see if there is a config report)
    • Audio Options  
      • Onboard HDMI/3.5mm for testing
        ToDo - Figure out which soundboard matches my cheap-o Virtual 5.1-surround USB 2.0 External Sound Card
      • Set "PSU noise reduction" because V2 does hiss. 
        ToDo - What does this do?  Does it work?  Can I set on Jessie?
    • Language/Regional: set to US
      • Security: set Hostname and change root pw
    • Network Adapter:  Wifi Setup
    • Network NAS/Misc:  ftp and samba client (for my world)
    • Autostart:  Console/Automatic login
  • Dietpi Software Optimized
    • Shairport Sync
    • Remot3.it for remote access (requires account)
    • RPi GPIO - so I can run v2
  • Additional Software
    • ALSA
    • Python
    • Build-Essentials
    • Git Client
  • No support for PiTFT Plus


Odds N Ends

Project CutiePI



Components used*

 

USB-Powered Speakers:  

I had some laying around the shop, 

Lots of options, pretty cheap on Amazon

 

---------------

* T. Pedersen Ventures is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to amazon.com.
 

ċ
CutiePI_V21.py
(3k)
Tom Pedersen,
Apr 4, 2018, 5:31 AM