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
Smarter Life
  • Challenges & Projects
  • Design Challenges
  • Smarter Life
  • More
  • Cancel
Smarter Life
Blog UnCoStat Update #3 Frustration
  • Blog
  • Forum
  • Documents
  • Files
  • Events
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: steveturner
  • Date Created: 9 Dec 2013 11:33 PM Date Created
  • Views 927 views
  • Likes 0 likes
  • Comments 7 comments
  • psoc4
  • smarter_life_challenge
  • uncostat
  • smarter_life
Related
Recommended

UnCoStat Update #3 Frustration

steveturner
steveturner
9 Dec 2013

Frustration and Delay

It has been a frustrating few weeks with very little progress and time ticking away to the deadline. First, my computer crashed 4 days before I left for Europe. The new computer was mostly set up before my flight, but I got very little else done. I thought this trip would be an easy visit with lots of free time. When I got there they had an itinerary for me every day from 8:30 in the morning until 10 pm and I usually had a few hours of work to do in the hotel after that. It was a great trip from a professional standpoint, but not what I was expecting. The second week was vacation with my wife. I didn't expect a lot of computer time while we spent Thanksgiving week in Munich. There is a reason November is not high season in Southern Germany, but Castle Neuschwanstein is beautiful in the snow and the hordes of tourists were non-existent.

image

Their was the inevitable 'catch-up' at work when I got home, so I only had a chance to get back into the project over the weekend.

 

E-Paper Display

One of the reason I jumped into this project was to learn about and use e-paper displays (EPDs). I find them so much easier to read than LCD or OLED. I guess the luddite in my me still wants to read paper, not a glowing screen. The downside is that they update MUCH slower and the interface is more complicated. The EPD will be an excellent display for my remote sensors (indoors) but may not be the best choice for the main controller. It may not be able to update fast enough when the user is changing the settings. I hope I can find a work-around such as only updating part of the screen or skipping some of the steps in the update process and accepting some ‘ghosting’ until the user is finished, then do a proper screen update.

 

I chose the Pervasive Displays panels, not because they were the best choice, but because they appear to be the only e-paper choice for hackers. I wrote my own driver to understand the interface, but so far it isn't working (Grrr). My first step was to verify all of the IO twiddling (that’s a technical term).

image

The interface appears to be correct so there must be something in my SPI setup. With luck I’ll get that working in the next day or two and can move forward. I owe a salute to repaper.org and Adafruit for their interface board, library and tutorial. I didn’t use their files as a starting point (they are for the Arduino and MSP430), but when mine didn't work I compared code to make sure my interface is behaving the same and used an Arduino to verify my EPD is working (it is).

 

I am not giving up hope yet. I should have a lot of time over the holidays to get the overall software working and complete the circuit board design and layout. It will be really tight to get it working by the deadline, but I’m still in the game.

 

Breadboard Tip

One thing went well for this project. Every time I use LEDs I have to verify the Cathode and Anode and I still get it wrong sometimes. I had an epiphany while working on this project. I put a red paint pen mark on the Anode side and a black paint pen mark on the Cathode side on the LEDs in my breadboard kit. Whoopee! Now I’ll always know which way they go.


image

  • Sign in to reply
Parents
  • steveturner
    steveturner over 12 years ago

    DAB - I agree about traveling and computers, unfortunately mine died a few days before I left, sitting on my desk.

     

    COMPACT, you're right about the longer leg. I just don't use them often enough to remember which is which, so I always have to either look it up or measure the diode.

     

    Victor - I didn't know that was standard. I might be able to remember Cup = Cathode. Thanks!

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

    The sure fire way to get it correct for round LEDS is that the Cathode is indicated by the flat portion of the package perimeter.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
Comment
  • COMPACT
    COMPACT over 12 years ago in reply to steveturner

    The sure fire way to get it correct for round LEDS is that the Cathode is indicated by the flat portion of the package perimeter.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
Children
  • steveturner
    steveturner over 12 years ago in reply to COMPACT

    I have a bunch of cheap LEDs in my parts (including these) that don't have a flat.

    • 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