Re: [DIYbio] Amazon unintentionally solves "low cost lab automation device" challenges

I also like the C.H.I.P. board.
Use your phone for the user interface (or tablet, or laptop).
I already use remote desktop for my Raspberry Pi's, meaning I have my 40 inch 4k monitor as a display, with four times the screen real estate that the HDMI port has (so I won't miss the HDMI port on the C.H.I.P.).

The Arduino (especially the $2.51 Nano clones) are nice when you absolutely need real-time behavior.
But with WiringPi software, GPIO on the Linux-based boards can be as easy to program, especially when you consider that languages like Python are available, which may be better suited to novices. And by the time you add WiFi or Bluetooth to make the Arduino wireless, you are close to the price of the 32 bit Linux board with 4 gigabytes of RAM and a real operating system.

I like tiny boards that don't need a lot of cabling. Getting rid of the keyboard, mouse, USB, and monitor cables makes the C.H.I.P. more easily integrated into a system. Put the board and its sensors and effectors into a box, and talk to it using a phone app, and your workspace gets a lot less cluttered. You have one workstation for all user interface work (your laptop or desktop computer), and all the devices in the lab can each be controlled by a little window on the computer desktop.

Most of the Arduino projects I've been building send data back to the host computer to save in a database and graph for display on the web. With the C.H.I.P., all that can be done with the $9 board itself. With IPv6, all my lab equipment can have public IP addresses, making collaboration with remote partners all over the globe possible (I have a couple dozen public IPv4 addresses, but billions of public IPv6 addresses).

I build the Arduino Nanos into equipment, since they are cheap. At $9, I'll be building the C.H.I.P. into the equipment, gaining tremendously over the Arduino (fast processing, windowing OS, Internet, PHP, Apache, Python, MySQL, 4 gigabytes of RAM, hardware floating point, more I/O pins, X-Windows, a GPU for serious number crunching, terabytes of external USB storage, and the huge amount of free Linux software out in the world).

If you ever need to make the Arduino do something like store data in flash memory, draw a graph, talk to the Internet, do speech output, or run a program that has more than 32k bytes of data, you will quickly find that the Linux board is much easier to program and use, and most likely cheaper than the Arduino plus all the stuff it needs to do any of those things.

For many applications, the Raspberry Pi Zero, at $5 a board, is also a great device. You have to add your own MicroSD card (the C.H.I.P. has 4 gigabytes soldered in), but since you can get 16 gigabytes for seven dollars, or eight gigs for $4, someone who wants more room for data logging might opt for the Zero. If your project needs HDMI output, the Zero has it, and the C.H.I.P. needs a $13 add-on board.


-----
Get a free science project every week! "http://scitoys.com/newsletter.html"


On Thu, Dec 3, 2015 at 2:58 PM, Cathal (Phone) <cathalgarvey@cathalgarvey.me> wrote:
Honestly, the CHIP is my way forward for lab hardware in future. $9, Open Source, ARM32bit 1GHz, 512 RAM + 4Gb Flash, Wifi/BLE onboard, with LiPo charging circuit onboard.

Write control software in any language, host device control over TCP, HTTP or WebSocket, or direct HDMI/Component for display, bluetooth keyboard for direct input... It's cheaper than a Seeduino and infinitely better.

Websockets means you can integrate hardware with Antha's new framework, too. Which is potentially huge for future hardware.


On 3 December 2015 21:44:22 GMT+00:00, Bryan Jones <bryanjjones@gmail.com> wrote:
One reason I've gone with arduino instead of an android device is that it's stupid easy to write a simple program for, especially with simple digital or analog inputs/outputs. I have very little programing ability and wouldn't know where to start with android. What's the learning curve for programming an android device to interface with inputs/outputs via the USB port or, like you mentioned for analog, the headphone jack? Do you think that today without the fire being "ready-made with *three simple metal contacts", is it very feasible for someone with only low level programing skills?
I'd love to start using cheap android devices to control lab equipment, but I wouldn't know where to start.

On Thu, Dec 3, 2015 at 3:20 PM Jonathan Cline <jcline@ieee.org> wrote:
My answer applies to various lab devices, not looking to make this only about OpenPCR.  The arduino board or other microcontroller board can very likely be designed out, if using the Fire tablet.  You only need an op amp circuit to convert the analog inputs to "something the tablet can read" (suggestions below).  In cases where this isn't the best design, then only a simple external A/D chip is needed.  No other processor such as arduino is needed, and especially no extra firmware.  Having zero firmware eliminates a big chunk of the design effort which also translates into hidden cost.  Lab devices are low volume, so the development costs are a big factor.  I am still against using Arduino in designs due to their "high cost, low performance" results.  Other solutions are better as I've mentioned before, and progressively appear.  The $5 Raspberry Pi Zero just announced is powerful and a good fit, but still, an external controller can be eliminated with good design, by allowing the tablet hardware and tablet software to do the work.  The only external hardware should be the minimal analog hardware, such as the analog buffers and sensors and transducers themselves.

I agree, no one buys an extra laptop specifically for communication to lab automation devices, but having that as part of the overall design is clunky, complex, and if USB is needed, then there is a limited-length physical wire involved.  "Here's my great low cost device, now just bring along your $1000 laptop or $600 smart phone to use it!" - No thanks, and that is often not practical in field use anyway.  Which is why many published-then-hyped-by-Wired-magazine devices fail to really deliver.  Total system cost and complexity must be considered, as well as ease of use.  Simplicity is often the better design.

When I say above "something the tablet can read", there are analog inputs & outputs on the Fire that are available to interface to external circuits.  They just aren't as easy.  If the Fire is someday ready-made with *three simple metal contacts* on the outside of the case, for I2C communication, it would be a cakewalk.  That's why Jeff Bezos needs some email sent to him :-D   For example, the headphone/mic jack of the iPhone has been used to plug in several popular analog measurement devices.  The Square credit card reader for example, or the little spinners to measure wind speed.  On the low end Fire, these are available too.  Although not as convenient, the overall cost is lower and the design is simpler.  Even the recent thread about conductivity measurement could be done on the $35 Fire without any external controller needed, and thus also no firmware needed, by using some simple analog chips in a nice design.  It's likely that the OpenPCR or any temperature controller could use a temperature sensor directly wired to a voltage controlled oscillator which connects directly to the microphone input, for example (LM35 to an LM555).    The OpenPCR already uses the LM35 or a similar sensor.  The LM555 designed with bias components costs only an additional $0.30, max.  If multiple temperature sensors are required then the analog design could mix those in too, the tablet would easily discriminate the inputs of each sensor.

I don't have OpenPCR's Bill of Materials and I don't know if it was ever published (it should have been, in order to be named Open).  Assuming the costs involved, $5-$10 LCD display, $25 arduino w/ USB, $1 USB cable, $2-$3 added enclosure cost due to cut outs for the LCD and arduino mounting hardware, the current BOM definitely loses.  Plus firmware development costs and firmware support costs (time & effort).  It should be noted that OpenPCR is "Not arduino, it is atmega firmware" (OpenPCR does not use arduino software because arduino software was not sufficiently powerful).   Additionally the features added with the tablet (wifi, bluetooth, touch screen, near HD display, memory card slot, internet/cloud support, web browser), make the Fire possibly a huge winner.  Likely the Fire should be looked at to serve as the basis for other lab devices such as, cell counting, gel photography (note; the 720p camera is not comparable to current high end smartphones, but is probably comparable to 2nd generation iPhones), pH meters, colorimetric / fluorescence meters, PCR or incubator temperature controllers, lab robotics controllers, pump controllers, and so on.  The added feature of having the hi def screen even when purposed as a simple control device allows for graphical plotting directly to the user, of historical data or real time data.  What are the device's limitations?  Are the Amazon adverts a limiting factor to usability?  Is the Bluetooth capability limited by the hardware?  Is the camera sufficient for imaging use?  Is Amazon's pricing structure going to limit the longevity of the low end Fire line, thus diminishing the Fire's value as a common platform?  It should be noted that the low end Fire has been rooted to run android, so presumably low level software development is possible.  Amazon has resumed normal pricing of the low end Fire so it's back to $50, though I assume it will ultimately return to the $35 price.


Note- If anyone does use the Fire or another inexpensive tablet or smartphone as the basis for a lab device platform, then make sure to physically disable any unused hardware for when the device inevitably gets hacked from outside.   I wouldn't want a device in the lab which has a hacker, or a government, monitoring the microphone, or snapping unauthorized photos from the built-in camera.  Simple black electric tape over each camera solves the photo hacking problems, and wire cutters for the microphone and speaker.  Don't trust any internet-connected device to be safe even if it is set to airplane mode.




## Jonathan Cline  ## jcline@ieee.org  ## Mobile: +1-805-617-0223  ########################    
On 12/3/15 10:50 AM, Bryan Jones wrote:
Good thoughts Jonathan. The openPCR would be sexier, and more convenient with a nice big 7" touchscreen. But this would still be a slight increase in cost. You'd still need the arduino board to monitor analog inputs, so you already have a USB. The only thing you could cut out would be the $5-10 display. You wouldn't need a PC, but I doubt anyone bought a dedicated computer to run the openPCR.

On Thu, Dec 3, 2015 at 12:21 PM Jonathan Cline <jcline@ieee.org> wrote:
Over the years in this and related groups, those who are building lab
devices rehash the same engineering tradeoffs of cost vs functionality
vs ease of use.  The basic lab automation requirements come down to
these major points: an electronic controller of some kind, some
electronic sensors of some kind, a simple display, a simple touchscreen,
flash memory for data logging, and a safe enclosure.  Various ways
around these requirements are hashed & rehashed, such as offloading
communication features to a laptop or web browser, either via USB or
Bluetooth or Wifi, all of which add cost and reduce ease of use, while
providing a few new computer networking benefits.  Consider the OpenPCR
machine for example, which is expensive considering it's feature set,
some of this base cost necessary due to the requirement of user controls
and display (USB and LCD, and extra software).  Even the simplest lab
automation device, such as a networked digital thermostat for an
incubator, or a data logging pH meter, need at least a minimal user
input method and a user output method. These increase the cost by a base
amount, and that cost provides for rather clunky "1970's NASA" style
electronics - LEDs, LCDs, 7-segment displays, some knobs and switches.
This past month with Amazon dropping the price of the lowest cost Fire
tablet to $35 -- a retail price made available to Lab26 by virtue of
manufacturing volumes and potential future advertising revenue -- the
challenges of low cost vs ease of use vs computer networking for lab
automation devices are solved, even if this product version currently
has some minor quality limitations. Now if Jeff Bezos could hear the
hint that the only item missing from the low end Fire to truly seal the
deal to make the product into "electronic paper" is a bidirectional
general purpose input/output contact on the outside of it's case (in
function, similar to iPad Pro's bidirectional data contact "keyboard
dock"), then the only remaining challenge, of basic interfacing to the
outside world to read sensors and control transducers, would be very
easy to solve in the lowest cost way.  Someone send him some email. I2C
contacts would be an obvious design choice.  Imagine the OpenPCR machine
with the $35 tablet docked into it's front panel, to use it's touch
screen and memory card slot, instead of OpenPCR's existing display and
USB port.  The more general trend of technology convergence continues:
the curve favors those solutions which share in technology gained from
the relentless march of better communication devices.

--

## Jonathan Cline
## jcline@ieee.org
## Mobile: +1-805-617-0223
########################

--
-- You received this message because you are subscribed to the Google Groups DIYbio group. To post to this group, send email to diybio@googlegroups.com. To unsubscribe from this group, send email to diybio+unsubscribe@googlegroups.com. For more options, visit this group at https://groups.google.com/d/forum/diybio?hl=en
Learn more at www.diybio.org
---
You received this message because you are subscribed to the Google Groups "DIYbio" group.
To unsubscribe from this group and stop receiving emails from it, send an email to diybio+unsubscribe@googlegroups.com.
To post to this group, send email to diybio@googlegroups.com.
Visit this group at http://groups.google.com/group/diybio.
To view this discussion on the web visit https://groups.google.com/d/msgid/diybio/5660880C.4070402%40ieee.org.
For more options, visit https://groups.google.com/d/optout.


--
Sent from my Android device with K-9 Mail. Please excuse my brevity.

--
-- You received this message because you are subscribed to the Google Groups DIYbio group. To post to this group, send email to diybio@googlegroups.com. To unsubscribe from this group, send email to diybio+unsubscribe@googlegroups.com. For more options, visit this group at https://groups.google.com/d/forum/diybio?hl=en
Learn more at www.diybio.org
---
You received this message because you are subscribed to the Google Groups "DIYbio" group.
To unsubscribe from this group and stop receiving emails from it, send an email to diybio+unsubscribe@googlegroups.com.
To post to this group, send email to diybio@googlegroups.com.
Visit this group at http://groups.google.com/group/diybio.
To view this discussion on the web visit https://groups.google.com/d/msgid/diybio/087F4097-F970-438E-AFAF-CDBDA947A72B%40cathalgarvey.me.

For more options, visit https://groups.google.com/d/optout.

--
-- You received this message because you are subscribed to the Google Groups DIYbio group. To post to this group, send email to diybio@googlegroups.com. To unsubscribe from this group, send email to diybio+unsubscribe@googlegroups.com. For more options, visit this group at https://groups.google.com/d/forum/diybio?hl=en
Learn more at www.diybio.org
---
You received this message because you are subscribed to the Google Groups "DIYbio" group.
To unsubscribe from this group and stop receiving emails from it, send an email to diybio+unsubscribe@googlegroups.com.
To post to this group, send email to diybio@googlegroups.com.
Visit this group at http://groups.google.com/group/diybio.
To view this discussion on the web visit https://groups.google.com/d/msgid/diybio/CAA0yOM4%3DTcYoswKbxKRd-bdtsW88yYNOFLY%3Dz0DZANO%2BU5OakA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

  • Digg
  • Del.icio.us
  • StumbleUpon
  • Reddit
  • RSS

0 comments:

Post a Comment