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.
Stop breadboarding and soldering – start making immediately! Adafruit’s Circuit Playground is jam-packed with LEDs, sensors, buttons, alligator clip pads and more. Build projects with Circuit Playground in a few minutes with the drag-and-drop MakeCode programming site, learn computer science using the CS Discoveries class on code.org, jump into CircuitPython to learn Python and hardware together, or even use Arduino IDE. Circuit Playground Express is the newest and best Circuit Playground board, with support for MakeCode, CircuitPython, and Arduino. It has a powerful processor, 10 NeoPixels, mini speaker, InfraRed receive and transmit, two buttons, a switch, 14 alligator clip pads, and lots of sensors: capacitive touch, IR proximity, temperature, light, motion and sound. A whole wide world of electronics and coding is waiting for you, and it fits in the palm of your hand.
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!
Maker Business — Japanese word working and more in December’s issue of HackSpace magazine!
Wearables — Solder-less magic
Electronics — = != ==.
Biohacking — Finding Bliss with Anandamide
Python for Microcontrollers — sysfs is dead! long live libgpiod! libgpiod for linux & Python running hardware @circuitpython @micropython @ThePSF #Python @Adafruit #Adafruit
No comments yet.
Sorry, the comment form is closed at this time.