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 - PC App
  • 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: 10 Jan 2014 1:22 AM Date Created
  • Views 1138 views
  • Likes 0 likes
  • Comments 5 comments
  • bluetooth
  • psoc4
  • henrietta_project
  • smarter_life_challenge
  • light_sensor
  • temperature
  • touch_screen
  • servo
  • smarter_life
  • gps
  • nokia5110
  • dht11
  • sensor
Related
Recommended

Smarter Life Challenge - The Henrietta Project - PC App

dougw
dougw
10 Jan 2014

This installment of the Henrietta Project documentation covers operation of the touch pad and the remote PC app which uses Bluetooth to set up and control Henrietta. Actually, pretty much the whole system is shown in operation. In addition to programming the PC app and properly maping the touch pad, other significant progress since the last update includes implementing the thermostat scheduler with four programmable time periods each day on a seven day rotation. Since adding in the thermostat scheduler, memory usage on the PSoC4 has climbed over 80%.

There are 4 videos associated with this update:

  1. The first video is mainly a summary of the hardware subsystems.
  2. The second video demonstrates the touch pad and its use in programming the thermostat schedule.
  3. The third video was split into two parts, the first part shows the PC remote control app features.
  4. The second PC app video (fourth video in this update) shows the PC app and Henrietta together and how they interact.

Henrietta Hardware Recap

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

 

Henrietta Touch Pad Operation

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

 

Henrietta PC App

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

 

Henrietta PC App with Henrietta

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

 

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

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

http://www.element14.com/community/community/knode/dev_platforms_kits/element14_dev_kits/psoc4_pioneer_kit/blog/2013/12/29/smarter-life-challenge--the-henrietta-project--wire-wrap-versus-jumpers

http://www.element14.com/community/community/knode/dev_platforms_kits/element14_dev_kits/psoc4_pioneer_kit/blog/2014/01/01/smarter-life-challenge--the-henrietta-project--bluetooth-operation

http://www.element14.com/community/community/knode/dev_platforms_kits/element14_dev_kits/psoc4_pioneer_kit/blog/2014/01/02/smarter-life-challenge--the-henrietta-project--furnace-interface

http://www.element14.com/community/community/knode/dev_platforms_kits/element14_dev_kits/psoc4_pioneer_kit/blog/2014/01/02/smarter-life-challenge--the-henrietta-project--light-sensor

http://www.element14.com/community/community/knode/dev_platforms_kits/element14_dev_kits/psoc4_pioneer_kit/blog/2014/01/03/smarter-life-challenge--the-henrietta-project--gps-clock

 

 

videos

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

http://www.element14.com/community/videos/10720/l/henrietta-eyes-animation-demo

http://www.element14.com/community/videos/10789/l/the-henrietta-project--bluetooth

http://www.element14.com/community/videos/10808/l/the-henrietta-project--voice-control

http://www.element14.com/community/videos/10809/l/the-henrietta-project--light-sensor

http://www.element14.com/community/videos/10810/l/the-henrietta-project--gps-clock

http://www.element14.com/community/videos/10826/l/henrietta-gps-clock-large-font

http://www.element14.com/community/videos/10849/l/the-henrietta-project--hardware-summary

http://www.element14.com/community/videos/10850/l/the-henrietta-project--touch-pad

http://www.element14.com/community/videos/10851/l/the-henrietta-project--pc-app

  http://www.element14.com/community/videos/10854/l/the-henrietta-project--pc-app-operation

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

    Hey Douglas,

    Good! I was just wondering, you don't have to fix it for me... I just guessed that they could run faster, and whether the firmware load was too big or not. Apparently it was more in the timing, good to see that... Might improve overal performance!

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

    Hi Victor,

    I took a quick look and eliminated some of the timing delays in the LCD writing routine which improved the refresh rate by about a factor of 2. I will look into it more closely later.

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

    Hi Victor,

    The SPI to the displays is implemented with a bit-banging routine using fairly conservative timing. Each pixel takes several microseconds and there are various other delays in the driver. It could probably be improved significantly, but I haven't tried to optimize it yet, mainly because of other higher priorities.

    The reason for bit-banging is I tied up the 2 hardware serial ports with Bluetooth and GPS and wasn't sure if I could implement another serial port in programmable hardware, given all the other interfaces I was trying to implement. I did mess around with a different solution for the Bluetooth port to free up an SPI port, but PSoC Creator wasn't too happy with my attempts, so I parked it. Chalk it up to rookie ignorance. I'm still thinking about it, but it is on the back burner right now. The LCDs are already connected to valid SPI data and clock pins in case I do find a solution that frees up an SPI port.

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

    Hello Douglas,

    Very well done, you're integrating quite a lot.

    One thing I was wondering about: why do the screens refresh so slowly? Would there be a way to speed that up?

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

    Very well done.

    You have done an excellent job with the project.

    I am truly impressed.

    DAB

    • 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