element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Members
    Members
    • Benefits of Membership
    • Achievement Levels
    • Members Area
    • Personal Blogs
    • Feedback and Support
    • What's New on element14
  • Learn
    Learn
    • Learning Center
    • eBooks
    • 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
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Dev Tools
    • Manufacturers
    • Raspberry Pi
    • RoadTests & Reviews
    • Avnet Boards Community
    • Product Groups
  • 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
Single-Board Computers
  • Products
  • Dev Tools
  • Single-Board Computers
  • More
  • Cancel
Single-Board Computers
Blog Single-board computers are a game-changer. Here's why.
  • Blog
  • Forum
  • Documents
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Single-Board Computers requires membership for participation - click to join
Blog Post Actions
  • Subscribe by email
  • More
  • Cancel
  • Share
  • Subscribe by email
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: Catwell
  • Date Created: 18 Feb 2014 12:30 AM Date Created
  • Views 205 views
  • Likes 1 like
  • Comments 1 comment
Related
Recommended

Single-board computers are a game-changer. Here's why.

Catwell
Catwell
18 Feb 2014

The realization was in college. I built a perfect 555 timer circuit on a university lab breadboard – the square wave was perfect. A geometric perfection that would make Mies van der Rohe proud. Begrudgingly, I had to transfer it to a portable board, the sharp edges were gone; the project became a mess. My project wasn’t building a 555 timer square pulse generator, but there I was trying to create a perfect one again. After many builds, I was close, but never achieved that original sharp edge. I considered cutting the breadboard in the lab, removing the section. But you know how watchful those TAs can be.

 

image

 

A near perfect 555 timer square wave generator. This one is from instructables. Mine… was the square of legend! (via Instructables  http://www.instructables.com/id/Audio-modulated-flyback-transformer-driver/all/?lang=de)

Since then, I’ve avoided “building projects before building my project.” It’s become somewhat of a mantra I share whenever the situation arises. Is your goal building a CNC machine, or do you want to use a CNC machine to make part? Honestly, this applies to almost every task. For me, it has never been more apparent than in the world of electronic development. Development (dev) boards and single board computers (SBCs) are a catalyst to the ultimate goal.

 

Starting at the end of the design chain, test-rigs are perfect candidates for off the shelf dev-boards. Typically, the dev-board is a “one-of” device, only seen behind closed doors. It can be crude, as long as it does the job. Size is rarely a concern. The rig can be the size of those envy inducing Smart Cars - it hardly matters. This is where a SBC like Raspberry Pi (R-Pi) really shines. With all the plug-n-play accessories for the R-Pi it can handle any data input/output situation. Just take all my recent R-Pi projects; it could handle flipping relays at a certain time (Scary Door), sense temperature (Project Goldie), actuate other products (Drinkmotizer), and even set off an event at a certain time (Fireworks Launcher). With it, I did not have to build and sort of circuit since it is ARM based system, figure out a way to see the reading with its built in HDMI port, worry about IO with its GPIO bank, video and microphone input, and the list goes on from there.

 

image

Project Goldie block diagram. This could almost be seen as a fish tank test-rig, monitoring all aspects of the tank. (via Project Goldie)

 

I remember having to build a test setup using a PIC and come relays. At first it was a breadboard nightmare of broken wires and tracks, then it was a soldering mess plagued with similar issues. Like the Three Stooges stuck in a door, I did manage to get it working; one false movement and it could fall apart.

 

A step back leads us to what drives a project. Like the test-rig, if a system can be any size and shape, going with anything other than a dev-board or SBC seems silly. All the heavy lifting is done for you. Case in point, all the R-Pi projects again. Not only do they perform repetitive tasks, but they are complete systems. The Drinkmotizer is the perfect example. I could get away with just using an Arduino and some input buttons. But, I wanted a LCD touchscreen, mouse and keyboard input, and a full-fledged operating system for future additions/changes.

 

image

 

The Drinkmotizer complete system sketch. The R-Pi is the nexus of activity. If I had to build everything there myself, I would still be working on it. (via Drinkmotizer)

 

(For the record, with Drinkmo, I could get away with some discrete components and touch buttons. But, where is the flash in that?)

 

Moving backward, we come to the most important aspect, the development environment. These devices in focus offer the “Ideal” platform. The boards come to us with the guarantee to work. Many boards, like the R-Pi and Arduino, have huge communities where almost every challenge has been tackled. Example code abounds, if you need it. On top of that, many boards come with a software development kit (SDK) not only from the manufacturer but also third parties. These are designed to make your job even easier. Not to mention manufacturer help in getting up and running is only a phone call or email away.

 

This reminds me of a story from my early work history. I worked at a company that made a lot of warning systems for government agencies factories, pretty much everywhere in the world. They had this audio tone module product that operated like an Atari cartridge. Slap it into a “command center” and it stored a warning sound or voice message. If it was an Atari cartridge it would be more modern. This device was far older, designed in the 60s or 70s. No one knew, since it was so old! Believe me, I asked.



image


The Atari game “Combat” stripped of its plastic shell showing off that edge connector. Probably one of the worst style of connectors every made. Faulty contacts were always plagued the setup. To play devils advocate, if you never remove it from the first time it is installed, you should be good forever. (via Atariage.com)

 

There was an analog IC on board that handled both storing the sound clip and playing it. Life was good for many decades. Then the chip was discontinued. This company bought every last one they could find on the planet Earth. Life was still good for another decade. Then the party ended. Right at the point where they only had 1000 or so left, they bring me in. I was tasked to make a whole new system. No pressure, it just had deadlines that involve the life’s blood of a company…

 

I went about making it digital. My solution was modern, at the time. Same form factor and cartridge connection. But, I used a microprocessor (uC) and a SD card for storing sound clips, and lots of them. I found a uC that had native sound playback features, various flash storage options and a robust SDK. What did I do? I bought the development board.

 

I demonstrated how it would work with the dev-board. Then I just copied all the elements I needed from the schematic, chip and SD card interface. I laid out a PCB from there with the same cartridge interface. Consulted the manufacturer and wrote some simple code to handle the task. The first batch of prototype boards worked perfectly. I dropped the engineer microphone on stage and walk off.

It doesn’t get any more clear than this… why build a project before you build your project?

  • Sign in to reply
Parents
  • DAB
    DAB over 8 years ago

    Amen Cabe,

     

    Every project should begin with an assessment of the buy verses build tradeoff.

    I have seen a lot of people reinvent the world, only to find that their solution was much too expensive.

    It takes a lot of effort to persuade new engineers that the insight they had about doing an existing design better and cheaper with their idea, is really not a practical engineering solution.

     

    Reuse existing solutions first unless you positively cannot meet your requirements.  Even then ask the customer if they could live with the existing solution.  That choice is almost always better than spending a lot of time and money on a new development.

     

    DAB

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
Comment
  • DAB
    DAB over 8 years ago

    Amen Cabe,

     

    Every project should begin with an assessment of the buy verses build tradeoff.

    I have seen a lot of people reinvent the world, only to find that their solution was much too expensive.

    It takes a lot of effort to persuade new engineers that the insight they had about doing an existing design better and cheaper with their idea, is really not a practical engineering solution.

     

    Reuse existing solutions first unless you positively cannot meet your requirements.  Even then ask the customer if they could live with the existing solution.  That choice is almost always better than spending a lot of time and money on a new development.

     

    DAB

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
Children
No Data
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 © 2023 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

  • Facebook
  • Twitter
  • linkedin
  • YouTube