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
Pi Chef Design Challenge
  • Challenges & Projects
  • Design Challenges
  • Pi Chef Design Challenge
  • More
  • Cancel
Pi Chef Design Challenge
Blog KCON - Pi Chef 7 inch Touchscreen Time
  • Blog
  • Forum
  • Documents
  • Polls
  • Files
  • Events
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: jkutzsch
  • Date Created: 28 Mar 2018 3:08 AM Date Created
  • Views 1197 views
  • Likes 7 likes
  • Comments 5 comments
  • pi chef design challenge
  • kitchen
Related
Recommended

KCON - Pi Chef 7 inch Touchscreen Time

jkutzsch
jkutzsch
28 Mar 2018
  1. Intro Blog
  2. Unboxing
  3. Setup
  4. Gourmet Install
  5. Load up some Recipes!
  6. Enclosure Planning.
  7. 7inch Touchscreen Time   <<<---
  8. AIY Build / Google Voice
  9. AIY API & Certs
  10. Succes with Google AIY!

 

Time for some TouchScreen implementation!

 

I have on hand a Raspberry Pi Element 14 7inch Touchscreen from a previous project and now is the time to bring it into this project.

 

image

 

Ye Olde Raspberry Pi 7" Touchscreen Display box.  It does a fine job of storing the Screen when it is not in use.

 

image

 

Here we have the new Screen laying face down below the KCON.  When it is installed it will be flipped on top kind of like two pieces of bread that you would be adding jelly and peanut butter to.

 

image

 

Here we have combined the two boards and you can see where the video will be connected.

 

image

 

I am sure everyone knows that the black plastic lifts up for the insertion of the cable, but since I had it set up for pictures I thought I would be sure all the new RPI users would see this.

 

image

 

Here we have the cable seated and locked in place.

 

image

 

Here is the LCD screen flipped back over on it's front to allow you to see where the power is connected.  It is very clearly marked with GND and 5V.

 

image

 

Here is a correct side up picture so you can more easily see where everything is plugged into.

 

image

 

Here we have the KCON secured to the underside of the 7" screen, ready for power connections.

 

image

 

Referring to the Element 14 Documentation for the Raspberry Pi Element 14 7inch Touchscreen pins 2 & 6 are good pins to use for power off of the Raspberry Pi.  Pins 2 & 4 both provide 5v but we only need one, so Pin 2 it is, and Pin 6 provides us our ground connection.

 

Now let's flip it over and see what happens when we connect it to power and a keyboard/mouse setup.

 

image

 

Wow, the system recognized the screen and powered up pretty fast.  Faster then my camera would allow for me to get some pictures in fact!

 

I still have the screen protector on since I usually leave it on while doing test projects.  I am sure when this goes into actual use it will be removed.  My wife hates those things!

 

image

 

So a quick check shows us our Gourmet application is easily found!

 

image

 

And here is our Gourmet Recipe Manager!  Not too bad!

 

image

 

Knowing my wife is going to want the quickest path to the Recipe Manager I went back to the icon and right clicked on it to allow a shortcut to be placed on the Desktop.  Since I am adding easy access for her, I might as well put a web browser there for her as well.

 

Okay, following the Element 14 documentation it suggest adding Matchbox Keyboard for a touchscreen keyboard. 

 

Right now I am using a plugged in keyboard and mouse but the end install idea is for the touchscreen and hopefully voice control.

 

So let's walk through the install of the Matchbox Keyboard application:

 

image

 

sudo apt-get install matchbox-keyboard

 

image

 

And we are off to the install races!

 

image

 

Per the instructions the next step is to exit the terminal and reboot.  So a quick right click on Shutdown allows us to choose the Restart option.

 

image

 

Now that it has rebooted we should be able to access the keyboard option under accessories...

 

But it is not there!

 

So a quick search shows others having the same issues and a variety of potential fixes ranging from install another application to some tweaking of install locations.

 

I liked the options provided by the Raspberry Pi Forum for tweaking the install so I will give that a try here.

 

 

image

 

sudo cp /usr/share/applications/inputmethods/matchbox-keyboard.desktop /usr/share/applications/

 

This copies our .desktop file.

 

image

 

lxpanelctl restart

 

This of course restarts the lxpanel.

 

image

 

Sure enough following their directions when I now look under accessories I see TWO Keyboard options.  Much better then none, but not quite the one.

 

image

 

sudo rm /usr/share/applications/matchbox-keyboard.desktop

 

Let's now remove that copy we had added earlier.

 

image

 

lxpanelctl restart

 

And another lxpanel restart.

 

image

 

A quick check shows us now with just one Virtual Keyboard!  Success!

 

image

 

Here we have it up on the screen,  It is a tad large for the screen, taking roughly 1/2 of the screen.  Sad since the keys are kind of tiny for my clunky fingertips.

 

image

 

Let's use it with our Gourmet Recipe Manager and look up our Raspberry Pi recipe.

 

image

 

Very nice!  Now we have our recipe up and ready to be used!

  • Sign in to reply

Top Comments

  • genebren
    genebren over 7 years ago +3
    Great progress on your project. The screen sure does look nice. Hopefully you will be able to continue to make progress and get your project done. Good Luck! Gene
  • DAB
    DAB over 7 years ago +2
    Very good update John. Was the integration of the screen to the RPi really easy? I might have a use for one, but I have limited experience with this screen interface. DAB
  • three-phase
    three-phase over 7 years ago +1
    Nice update, good luck with the rest of the build. Kind regards
Parents
  • genebren
    genebren over 7 years ago

    Great progress on your project.  The screen sure does look nice.  Hopefully you will be able to continue to make progress and get your project done.

    Good Luck!

    Gene

    • Cancel
    • Vote Up +3 Vote Down
    • Sign in to reply
    • More
    • Cancel
Comment
  • genebren
    genebren over 7 years ago

    Great progress on your project.  The screen sure does look nice.  Hopefully you will be able to continue to make progress and get your project done.

    Good Luck!

    Gene

    • Cancel
    • Vote Up +3 Vote Down
    • Sign in to reply
    • More
    • Cancel
Children
  • jkutzsch
    jkutzsch over 7 years ago in reply to genebren

    Ty, I have been thinking about this project for quite awhile so actually getting some focused time to work it through has been great.  Although I am not actually sure when this Competition ends with the delays in starts and shipping I am hoping to have it fully functional in time!

    • 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