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
Hack Like Heck
  • Challenges & Projects
  • element14 presents
  • element14's The Ben Heck Show
  • Hack Like Heck
  • More
  • Cancel
Hack Like Heck
Blog SN35 Mini Update #03 – The Screen, it's Alive! I think.. – Hack Like Heck
  • Blog
  • Forum
  • Documents
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Hack Like Heck to participate - click to join for free!
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: binaryben
  • Date Created: 29 Mar 2018 5:31 AM Date Created
  • Views 1614 views
  • Likes 3 likes
  • Comments 7 comments
  • hack like heck
  • sleepy
  • hlhblog
Related
Recommended

SN35 Mini Update #03 – The Screen, it's Alive! I think.. – Hack Like Heck

binaryben
binaryben
29 Mar 2018

SN35 Mini Project Update #03

 

It's been a week since my last update.. my bad. It's been quite a hectic week though trying to establish whether the project is actually going to end up being feasible or not. The current verdict? Cautious optimism. Ask me again tomorrow though. Some of the biggest challenges I had this week were:

 

  • Getting a screen to work at all, and then risking breaking it after I did (spoiler: I'm fairly sure I did, but I haven't confirmed yet)
  • Sourcing parts before Thursday as there are no deliveries on Easter Friday
  • Not being able to get a professional PCB fabricated and delivered because of the above

 

Keep reading to see how I am attempting to work through the issues. I also had a great chat with both the Ben Heck team and dougw late last night, so I am feeling very inspired to keep hacking at it. With a bit of luck and persistence, I'm still confident I will get a working build and an entertaining video done!

 

I'm also even more excited to start talking with people from element14 about what a potential YouTube show could look like than I already was before, so start sharing with me what you want to see in future content from potential element14 content partners.

 


 

The "Working" Screen

 

If it's not obvious by now, I've never made anything with an embedded screen before. For me, this will certainly be the "big challenge" of this build (among a collection of others firsts). After my inability to get an Arduino compatible screen working (pretty sure it was a lost cause anyway) – I was hoping for a painless experience with the Adafruit module. However, a few things didn't go right. One was mostly my fault, the others not so much.

 

image

But at least the LCD is working for now. Yay.

 

If you ever build a project using a PiTFT screen and wonder why you can't get it working, it could be that you are following several seriously outdated tutorials. For reference and as of early 2018, this tutorial from 2015 seems to mostly work! The driver is already in the kernel, and you don't need to manually configure the device tree which is nice. The other thing that took longer than I care to admit to solve, and was mostly my fault – check the connections are aligned right. But also check you are using the right header. Duh. In my defence though, if you are going to have two available 2x20 pin headers, why would you completely change the orientation of one of them...?

 

image

A big gash. Still waiting to find out the result of this, but it probably means the touch screen won't work, of that the entire thing becomes very flaky, or that I finally caught a break in regards to my break. For now, it still turns on and shows an image at least.

 

There is only one way the LCD will fit in my proposed design, and it's sure as anything not going to be on the PCB it arrived on. This meant it had to come off (no footage because I was fairly confident there was going to be profanities if it went badly). I very carefully attempted to pry it off and was worried the glass would crack. It was going very well until the last bit of tape gave way, and the thing flew off – right out of the ribbon connector. The glass is fine, but part of the ribbon cable tore. I'm reasonably sure that the damaged area is related to the capacitive touch screen given that it still turns on, and from what I know after having looked quite intensely at the data sheet before hand.

 

Kind of ironic though since I spent a bit extra to get the capacitive over the resistive touch, right? For now I'll just keeping going and will have to skip the touchscreen if it doesn't end up working.

 

 


 

Professional PCB Alternative

 

After being up most of Sunday night working on a PCB so I could send the design of to be made on Monday, I realised there was no chance it would arrive in time due to the public holiday. So after being very sleep deprived, I went to bed way too late which has really put me out of sorts these past couple of days (hence the lack of updates). Lesson learned, don't stay up past 1am no matter what needs to be done. Something something.. cognitive function good. Something something... sleep deprivation bad.

 

imageNo sleep isn't working well. I wonder if the beer thing has something.. it apparently stops Homer from going crazy. Maybe the Ballmer Peak works for hardware prototyping as well!?

 

At this point, I think the safest thing to do is to etch a few smaller boards and wire them together Ben Heck style. Smaller DIY boards tend to etch better than larger ones, which is especially important when trying to get down to a pitch of 0.05mm. On the positive side, I've etched boards before. I may use this part of the build as the "teachable moment" and quickly walk through the process of etching a PCB.

 

 


 

Not To Jinx It..

 

image

Two schools of thought on how to acquire a parts library. One is to buy a few extra parts at a time based on each project you build. The other is to bulk buy everything up front. Some how, I've ended up doing both in one shot?

 

I've received two boxes from Element 14 this week. One very large, but "free" box thanks to some awesome contest I entered. And then there was one smaller, but more expensive box. As it turns out the larger box was missing a few crucial parts that I needed for my build, but I've found a local supplier who can express post them. It's [was] mainly the Powerboost circuit I am [was] waiting on, so hopefully it will get here in time and thankfully It came while writing this! Hopefully this doesn't jinx it, but in theory that was the last part I needed that I can't buy at a local brick and mortar store – excepting a few IC's that had a 6-7 business day lead time. I might have to pinch them from the existing modules.

 

Because of the time crunch, the smaller box ended up containing quite a wide selection of parts as I'm still not 100% sure on which components I will end up using in the final design. I really didn't want to find myself short. No doubt I will use the parts for future projects though.

 

image

About a quarter of the expense of the small box was for a 10–pack of these filters for my desoldering gun. I'm thinking I may need to use it for the project, and the original filter is very well blocked. I will need to call and ask why they only sent one though!

 


 

Hopefully this will be the only "frustrated" post from me for the duration of this competition. However, the 3D printer is not showing me much love either at the moment... The next major challenges are going to be fabricating and soldering a PCB with the fine pitch, and securing access to a suitable printer over the long weekend to make the case. The next post will likely see me wiring everything together breadboard style, and running Retropie on the Pi Zero.

 

I think these types of setbacks are mostly to be expected when you are tackling so many new things at once though though. Whilst in my mind it seems like there is a lot of bad luck cascading together, it's all part of the journey and I'm excited to keep pushing onwards. It is important that I do push myself quite hard for this competition at least, especially so that I can clearly show that I have what it takes to Hack Like Heck. At the same time, it'll be equally important that I am aware of how far I can realistically and consistently push myself on a week to week, or even a fortnight to fortnight basis though.

 

Let me know in the comments.. does it help you in any way to hear about the difficulties others encounter? How do you manage to stay positive when things don't go right for a build? Stay tuned, and happy hacking everyone!

  • Sign in to reply

Top Comments

  • mayermakes
    mayermakes over 7 years ago +1
    I had the same Problem with this type of Screen. those ribbon cables are sooo delicate. Lets hope the framerate of the adafruit Version is high enough to support fluid gameplay. the first screen I tried…
  • mayermakes
    mayermakes over 7 years ago in reply to binaryben +1
    As statet in adafruits fbcp post... you cannot use the gpu of the pi when utilizing a pitft Screen, so if you need hardware acceleration it´s game over. For my Project any lag or drop in framerate would…
  • genebren
    genebren over 7 years ago

    Nice update on your Hack project.  The views of the screen text look pretty good (clear/crisp).

    Good luck on bringing your project together and getting a good video of the process.

    Gene

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • mayermakes
    mayermakes over 7 years ago in reply to binaryben

    the Support of Hardware acceleration is depending on the Software you run. If the Software takes Advantage of the GPU and Displays to hdmi, Yes. But the copying of Frames to a buffer and displaying those with the Screen will certainly induce lag as it is an additional step that requires processes to be finished bevor the captured Frame can be displayed.
    I´m sure it will be faster than SPI (which is obvious) but will it be suitable for your machine? fingers crossed!

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • binaryben
    binaryben over 7 years ago in reply to mayermakes

    Definitely focusing on less demanding hardware for this build though. I am thinking that if I get the opportunity to launch a show, my first major build will be to create what I am calling a Switchberry Pro loosely based on Drew Wallace's original build.

     

    It'll be a "Pro" variant as I'll use a compute module, design a feature complete custom PCB, and make it more streamlined. But that will hopefully be able to remotely play full PC games in a portable form factor, and more demanding emulations.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • binaryben
    binaryben over 7 years ago in reply to mayermakes

    Nah that's not quite right as far as I can tell. FBCP is the solution so that you can use hardware acceleration. Using HDMI enables hardware acceleration, yes? So you basically are setting the Pi to send the default output to an unconnected HDMI display (apparently if you have a display that can output such a low resolution, the game will show up there as well) that uses the same resolution as your TFT screen, and then FBCP just copies the pixels over (see the third paragraph at the link).

     

    Obviously I won't know for sure until I test it tonight or tomorrow night, but the research says it's promising. The real limitation I am concerned about is that I am using a Zero over a more powerful Pi 2 or 3. So you may be right about it being choppy using a Pi Zero, even if hardware acceleration works as anticipated. That said, Ben Heck and Felix are apparently replicating the build for personal use, and they are using a Zero as well (of course, not with a PiTFT screen). Fingers crossed obviously!

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • mayermakes
    mayermakes over 7 years ago in reply to binaryben

    As statet in adafruits fbcp post... you cannot use the gpu of the pi when utilizing a pitft Screen, so if you need hardware acceleration it´s game over.

    For my Project any lag or drop in framerate would just ruin it, so I changed the screentype instantly. If you Focus on less Hardware demanding games or slower gameplay you might get away with it.

    • Cancel
    • Vote Up +1 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