element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • 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 & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • 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
      • Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Vietnam
      • 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
Personal Blogs
  • Community Hub
  • More
Personal Blogs
Legacy Personal Blogs ELEC2645 Project - Week 19
  • Blog
  • Documents
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: Former Member
  • Date Created: 6 Mar 2016 10:36 PM Date Created
  • Views 686 views
  • Likes 3 likes
  • Comments 1 comment
Related
Recommended

ELEC2645 Project - Week 19

Former Member
Former Member
6 Mar 2016

ELEC2645 - Embedded Systems Project - 'Sensor-matic!'

 

The aim of the project is to create an interface between a distance and a temperature sensor and an LCD screen.

 

**Specification to follow...**

 

Week 19:

 

I made some initial mock-ups of the each screen and arranged them in terms of the navigation with connecting arrows.

 

imageimageimage

imageimageimage

image

 

A potentiometer will be used to change which box is selected and two buttons will be used to navigate forward and backward between the screens. For the sensor screens, a thermometer will change depending on the temperature output. Similarly for the distance sensor, the boxes will fill in as the distance increases.

 

This week I focussed on creating the splash screens. The code could be adapted from the Game of Life simulation (created for ELEC1620 in Level One).

 

 

void welcomeScreen()    // Prints Welcome Message on Screen for 2 Seconds

{

 

    // printString is a function from N5110.h

    screen.printString("ELEC2645", 20, 0); // Format: screen.printString("Text", Number of Pixels 'in' (X-Position), Bank Number (Y-Position))

    screen.printString("Sensor-matic!", 5, 2);

    screen.printString("By", 35, 4);

    screen.printString("Jack Berriman", 3, 5);

 

    wait(2);    // Delay so text stays long enough to read

 

}   // End of welcomeScreen Function

 

 

Each screen was adapted so that the text was perfectly centred and displayed the relevant information. A void for every screen was created and the position of the 'selector square' is changed in each void - i.e. a new void was created for each different position of the selector square. The 'selector square' was created using the 'drawRect()' function by inputting the X and Y start point and how deep the square is in the X and Y direction.

 

Below are pictures taken of the Nokia 5110 LCD screen with the output:

 

imageimageimageimage

 

The screens for the distances and temperature sensor screens have not been created yet. It is task that will hopefully be finished at the end of Week 20. Overall, the screens are relatively consistent with the mock-ups.

 

The final specifications for the project will be posted by the end of next week.

  • Sign in to reply
  • DAB
    DAB over 9 years ago

    Nice post, but for those of us with poor eyesight, we would appreciate you using at least 8 pt. type.

     

    Thanks,

     

    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