element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Smarter Life
  • Challenges & Projects
  • Design Challenges
  • Smarter Life
  • More
  • Cancel
Smarter Life
Blog Smarter Life Challenge - The Henrietta Project - Personality Infusion
  • Blog
  • Forum
  • Documents
  • Files
  • Events
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: dougw
  • Date Created: 23 Dec 2013 8:55 AM Date Created
  • Views 996 views
  • Likes 0 likes
  • Comments 3 comments
  • bluetooth
  • psoc4
  • henrietta_project
  • smarter_life_challenge
  • light_sensor
  • temperature
  • touch_screen
  • thermostat
  • servo
  • smarter_life
  • gps
  • nokia5110
  • dht11
  • sensor
Related
Recommended

Smarter Life Challenge - The Henrietta Project - Personality Infusion

dougw
dougw
23 Dec 2013

Why should a thermostat have personality?

Thermostats typically are not designed to have personalities, but when I decided to call this project Henrietta (which means "ruler of the home") it naturally followed that I should infuse her with some personality. This is not because thermostats need "attitude", it is just another way to showcase PSoC4 technology and add some interesting features to an otherwise pretty mundane application. Additionally, I wanted to make her visual appearance as attractive as possible, after all, I have to look at her all day.

 

The Concept

Since Henrietta has two displays, I figured I could use them to display two eyes which could be open or closed.

When Henrietta is stimulated by some input, she can wake up by opening her eyes.

When Henrietta wants to acknowledge a request, she can wink.

These expressions are not just for looks, they actually provide useful feedback to the user, but it is a little more interesting than simply flashing an LED (and of course a lot more design work). They also provide a useful delay, for example it is possible to push on the front window to request Henrietta to open it. She will open her eyes and wink to acknowledge the request. This gives the user time to move their finger before Henrietta tries to open the window.

 

The Methodology

I started by sketching some facial features in Corel Draw:

Henrietta's Face

image

Then I used PhotoScape to create an animation to see the blink and wink effect:

Henrietta's Face - Animated

image

Next I converted the frames to black and white 84 x 48 pixel .bmp images (to fit the Nokia 5110 displays) using IrfanView.

Henrietta's Eyes

imageimage

Then I wrote a program in Visual Basic to convert these frames to graphical hex data blocks, specific to the Nokia 5110 display, that I could copy into the PSoC4 program. This program also allows images to be edited at the pixel level if you want to create custom graphics or retouch imported graphics.

LCD Bitmapper Graphics Editor

image

The reason for Visual Basic is simply productivity. It took about 2 hours to code and test the graphics editor and unfortunately I cannot come close to this level of productivity when coding in C.

 

The Results

The PSoC4 has been programmed to animate Henrietta's eyes - to see a demonstration, view the accompanying video...this video also provides a first peek at what Henrietta will finally look like. I am still working out how to get 720p video into Windows Movie Maker, but this is as close as I have come...

They say beauty is in the eyes of the beholder, but in this case it is in the eyes of the beholdee as well as the eyes of the beholder.

Henrietta Eye Animation Demo

You don't have permission to edit metadata of this video.
Edit media
x
image
Upload Preview
image

 

My next update will discuss how Henrietta is wired up to avoid a spaghetti jungle of coloured jumpers obscuring the neatly laid out electronic modules.

 

For more info on the Henrietta Project, which is entered in the Smarter Life Challenge, check these logs:

http://www.element14.com/community/videos/10631/l/smarter-life-challenge--the-henrietta-project-intro

http://www.element14.com/community/community/knode/dev_platforms_kits/element14_dev_kits/psoc4_pioneer_kit/blog/2013/12/15/smarter-life-challenge--the-henrietta-project

http://www.element14.com/community/community/knode/dev_platforms_kits/element14_dev_kits/psoc4_pioneer_kit/blog/2013/12/17/smarter-life-challenge--the-henrietta-project--touch-screen-subsystem

  • Sign in to reply
  • dougw
    dougw over 11 years ago in reply to DAB

    Eyebrow animation is a good idea DAB and not too difficult to implement. If I can get the system fully working, I may experiment with some different expressions.

    Doug

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • DAB
    DAB over 11 years ago

    I like the idea of humanizing the system.

    You need to include screens for raising the eyebrows to question the inputs before implementing them.

    That way you can simulate a bit of personality.

     

    DAB

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • COMPACT
    COMPACT over 11 years ago

    A nice post.

     

    Does Henrietta have eyes for Furby 2.0?

     

    I'd be worried if Henrietta says "I'm sorry Dave, I'm afraid I can't do that."

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube