I came across this article from Aubrey Kagan, and while the title didn’t jump out at me — Design Defensively with Displays — I’m glad I clicked through. The article mainly discusses HD44780 displays, which I haven’t used in ages, but the author makes a lot of good points about the questions we should be asknig integrating any HW or device into an embedded system. I’m as guilty as anyone about not being proactive enough about checking for errors and gracefully handling them. I’ll usually check something once on init, but then just assume everything is OK from then on in and get lazy with the error checking even if the underlying code includes the means to always check if an I2C transaction succeeded or not, etc. This article was a timely reminder that a lot more things can go wrong than we take into consideration, but if the goal is to design reliable systems (which is should be), we need to be a lot more proactive about failing gracefully.
Have an amazing project to share? Join the SHOW-AND-TELL every Wednesday night at 7:30pm ET on Google+ Hangouts.
Join us every Wednesday night at 8pm ET for Ask an Engineer!
Learn resistor values with Mho’s Resistance or get the best electronics calculator for engineers “Circuit Playground” – Adafruit’s Apps!
Maker Business — Nottingham ‘internet of things’ firm facing closure @365_Agile @WirelessThings
Wearables — From floor to sword
Electronics — Can’t afford a current probe?
Biohacking — OpenHumans – Donate Your Data to Science
No comments yet.
Sorry, the comment form is closed at this time.