First Impressions of a $9 CHIP Computer
spin.atomicobject.com
spin.atomicobject.com
This is a bog-standard device in a sea of similar SBC's. The entire magic here is the price. Honestly, I don't even "believe" in the Pi zero yet. It could still turn out to be a publicity stunt produced in a very limited quantity just to get everyone talking.
Until its a product you buy a dozen at a time and leave behind in the projects in your wake, the magic hasn't happened yet. Otherwise, you pull it out of those projects because its a rare specimen you might not be able to get another of any time soon. It doesn't matter if it only cost $9 if you can't get any more of them.
But I want to believe!
"Quantity has a quality all its own." — Stalin
The point of cheap computing is ubiquitous computing. Doing things you couldn't seriously imagine previously because it would have felt like an "investment" and you would have psychologically needed a "return" on that investment, even if you intellectually understood that it was less than X cups of coffee or that you'd only be mildly peeved if you spent that much on a book which turned out to be a loser.
This is related to threshold pricing: The fact that $20.00 looks different from $19.99, and that that kind of thing has an impact. However, this goes beyond just-under pricing; it extends to things which aren't blatant black-hat mind hacking tricks, into more benign territory where a $50.00 project just feels different from a $20.00 project, even if it involves the same amount of labor; the $50.00 project feels like "This is close to $100 of equipment. I need to make this count", but the $20.00 project feels like "This is one new book's worth of stuff. It might work, it might not. Worth a shot."
https://en.wikipedia.org/wiki/Threshold_price-point
http://www.frugalsolutions.org/Toolbox/Lower-price-threshold...
The final piece is what you mentioned: Scarcity makes things psychologically valuable. This is a well-known effect. If some piece of your build is rare, even if it was cheap, it still has a value which skews your willingness to use it. It's suddenly something which can't be "wasted". OTOH, if you know you could buy a dozen of them at any time and get them in a few days with the cheap shipping option, the psychological resistance to using them goes way down.
The maximum order quantity is 5 C.H.I.Ps per order, which sounds in line with them having a limited production capacity and wanting to spread it over more customers.
However, until they can reach volume on a major released project (e.g. the Zero), they should be careful about getting too much press visibility on said product. As of 2016, Raspberry Pi is world-wide name with international name recognition, and it can only hurt the organization when its products marketed at a $5 USD price point are, in practice, only really available at $40+ USD, to the majority of its potential customers, and this many months after release.
They've understood that PR is worth screwing users over since day minus-one. Even before the Pi launched, they were encouraging their supporters to promote it to non-technical users as a media box and dismissing suggestions that this might leave a bad impression because they couldn't get it working. Cut to after the launch, and the narrative is that the Pi is getting unfair criticism from non-technical users who mistakenly thought it was a media box when obviously it isn't.
A thing stops being new and interesting if you have to wait that long to get it. The competition doesn't stop improving their product and/or price point just because you have supply chain problems.
And it sucks all the joy out of the purchase to have to wait 3+ extra months for something you already paid for.
1) Is built using CHIP and has a simply case + power adapter
2) Is wired to https://www.sparkfun.com/products/10167
3) Has an easy Wifi setup process and does DHCP
4) Lets me do a GET http://ip/status and gives me JSON of the current temperature and humidity.
Then all I have to worry about is setting up a cron job that wgets all 50 devices and logs the result to DB.
FYI equivalent systems, even non-NIST-calibrated ones cost $500/device or more.
Also, as a warning from experience the DHT22's aren't that great and they have been a headache. They are relatively expensive, not very precise and also I've seen a huge variation in their manufacturing quality. The relative humidity readings in particular are wildly inaccurate. There are better temperature sensors that cost less than a dollar (DS18) and to get reliable humidity readings you really need something nicer like the SHT-31.
It's not the perfect solution for everything; but it's tiny, and it costs $1.50 on aliexpress / banggood, and there's a ton of code for it.
If you need a module that is mono-task, tiny, cheap and reliable, it's hard to go past the ESP.
If you're looking for a full computer, then it's an obvious choice towards CHIP / Raspberry PI, etc
I'd consider the ESP8266 if I could run Go or Rust on it.
Also I don't know many people who use the native C SDK for the ESP8266. Most people use Arduino (simplified C++), but there's also Lua, Javascript and Python.
If OP searches for "Arduino soil moisture sensor" he/she will find find plenty. There's not a whole lot of difference between them.
From what I can tell the ESP8266 is some sort of wifi enabled...chip? That you need to solder onto something or plug onto a breadboard, then you need an arduino for some unstated reason. What is an arduino? how do you make these two things interact? How do you provide power to these things? why are there so many arduinos?
I think the advantage of these single board computers are they are a much lower barrier to entry if you don't have that much knowledge of electronics, but have more experience of navigating Linux systems and writing software.
You don't need to solder it to anything (it already comes soldered on its own board). You don't an external microcontroller to use it. It is standalone. It is compatible with the 'Arduino'. The Arduino is a family of microcontrollers built from the ground up to be easy to use. Easy to use software, easy to program (Variant of C) - and more importantly, heaps of support and tutorials online.
Honestly, the most difficult thing about using the ESP is powering and programming it. It takes 3.3V - and only 3.3V, so finding an appropriate power supply can be trickly. It programs over serial, so you need to use a USB > serial module - $1.30 [1]
The modules themselves are super cheap: - $1.50 [0] There's a very strong community behind the module: http://www.esp8266.com/
Essentially: Don't be scared: there's an initial learning curve that is very gentle, and you'll suddenly find unlimited uses for these tiny little modules.
I've got modules that show build statuses, affiliate account activity.. etc.
They also work, as mentioned, exceptionally well in a flock reporting to a main system - which may be a CHIP system, Raspberry PI, OpenWRT router, etc.
[0] http://www.aliexpress.com/item/Free-Shipping-2pcs-lot-ESP826... [1] http://www.aliexpress.com/wholesale?catId=0&initiative_id=SB...
The "raw" parts are super-cheap but when getting started I think it's much easier to get started on a still pretty cheap breakout board. I have a Sparkfun ESP8266 Thing I haven't started playing with yet but if getting one today I'd get the Adafruit Feather HUZZAH ("Feather" is their new line of micro controller boards that share a form factor, "HUZZAH" is what they call all their ESP8266 products).
Here's a link:
http://www.cnx-software.com/2016/02/19/4-wemos-d1-mini-esp82...
I also have a project where I built a smart thermostat that aggregates sensor data fed from multiple ESP8266 sensors that is pretty involved. I've been meaning to write it up in detail to share on HN and I'll probably have time to sometime in the next couple months.
https://www.stavros.io/series/esp8266/
Also, this tag has more generic hardware stuff:
The Arduino is _not_ a familiy of microcontrollers, it's a family of dev boards (well, more like an ecosystem) and most Arduinos are based on AVR microcontrollers (but not all of them as far as I remember).
I wonder what other common bits of electronics might have useful amounts of processing power...
https://blog.adafruit.com/2012/12/05/how-we-built-a-super-ni...
http://haxit.blogspot.ch/2013/08/hacking-transcend-wifi-sd-c...
http://www.amazon.com/Transcend-Wi-Fi-Class-Memory-TS32GWSDH...
There are multiple versions - seemingly incremented at random by chinese manufacturers - we're up to the ESP-14 now - http://www.aliexpress.com/wholesale?catId=0&initiative_id=SB...
Then the module itself can run with very little external stuff - just power it with 3.3v, there are multiple options of doing so (but forget about a transformerless AC source, this thing eats up to 500mA).
You may also want a simple debounced reset button, and that's it.
"Arduino" is used to refer both to a family of microcontrollers based on an Atmel processor as well as a set of libraries designed to make programming microcontrollers accessible to people without embedded hardware experience. Originally, the ESP8266 was marketed as a simple serial Wifi adapter for the (hardware called) Arduino, but the community quickly realized that they could be programmed on their own and used to replace the Arduino. Subsequently, the Arduino libraries were ported to the ESP8266, making it instantly much more accessible as well as giving it access to a huge range of libraries for interfacing with different hardware and software.
ESP8266 refers specifically to the processor, but it is usually sold in an integrated package with onboard memory and antenna etc. There are several of these packages for different uses, called e.g. ESP-01 or ESP-12e. While you can use these modules yourself with a bit of knowhow and some deft soldering, much easier is to buy a prepackaged dev board like the NodeMCU or WeMos D1. These are basically the equivalent to a CHIP (albeit again much fewer IO pins)- they pair an ESP integrated module (usually the ESP-12e) with all the supporting hardware needed to power and program the module. You just plug in a USB cable, load your code on and connect whatever external devices to the GPIO pins.
I didn't have any significant electronics knowledge when I dove in head first. Arduino is designed to be accessible and there are plenty of kits with detailed instructions and all the parts you need. The ESP8266 has been wildly popular in the last year or so because it's got Wifi + compatible with Arduino (i.e. easy) + dirt cheap, which was previously unheard of.
But I'm curious if Espressif actually have any design wins? I mean I don't mind using the community Arduino port (which is awesome), and buying from...unknown suppliers :) but is thing commercially viable or just a hobbyist gadget?
I got the "NodeMcu Lua WIFI Internet Things development board based ESP8266 CP2102 Arduino" a while ago on eBay for $6.85 USD, price has now dropped to $4.76 USD, plus CAD is better-ish.
I am a ESP8266 fan but not sure that I'd be confident enough to do a product with the ESP8266.
You could probably work out a way to wire in the humidity sensor onto that, and scale it up via a printed PCB.
And instead of worrying about GETs, you can program the device to report in via MQTT to a central server.
You likely know all this, just curious :)
Onboard RTC, LiPo charger, temperature sensor, micro SD card socket. Designed to be plugged into a 5 volt solar panel. (Many complaints that the panel Seeed supplies is undersized and degrades quickly in the field, so we don't carry it, so you'd have to source that yourself, or just use a DC wall adapter) Uses XBee-footprint radio modules, sold separately. (We don't carry those either, since Digi got really obnoxious about trademark enforcement)
[1] http://lowpowerlab.com/moteino/
[2] http://jeelabs.net/projects/hardware/wiki/JeeNode
[3] http://lowpowerlab.com/blog/2015/12/17/esp8266-vs-sub-1-ghz/
They have consistently delivered updates to backers and have always been on schedule (they are even ahead of schedule now!). I'm not sure how they do it, but they just solve problems.
Initially, the shipping cost for their Kickstarter was too high ($9 computer + $20 shipping to Europe). They lowered shipping costs (to $14 for me) just before the end of their Kickstarter. Even though I had the expectation of paying $29 to get a C.H.I.P to my door, they let everyone use the difference with what they paid to buy more boards or accessories, so I got two C.H.I.P.s for $32 instead. [1]
They encountered issues with the CPU they planned on using, and had to replace it with a bigger version that didn't fit the front of the board. They had to put it on the back, and added small cases to everyone's orders so the computers could lay flat as expected. [2]
The hardware and software initially had issues for some people. They quickly released a simple flashing tool for Windows, OS X and Linux. For hardware problems, they flat out offered to swap defective C.H.I.P.s. [3]
I've truly appreciated their level of professionalism and their customer support work. The computer in itself is fine, and much more economical than the Raspberry Pi (integrated networking capabilities).
[1] : https://www.kickstarter.com/projects/1598272670/chip-the-wor...
[2] : https://www.kickstarter.com/projects/1598272670/chip-the-wor...
[3] : https://www.kickstarter.com/projects/1598272670/chip-the-wor...
Though I suspect there'd be practical issues with getting enough energy to keep it charged.
https://learn.adafruit.com/turning-your-raspberry-pi-zero-in...
Yes. The BOM is well over $9. You could reasonably debate if it's $12, or $20, or $15. But it's not less than $9. Not even with sweetheart deals all around.
Here's the BOM: https://github.com/NextThingCo/CHIP-Hardware/raw/master/CHIP...
The R8 CPU + 4GB NAND FLASH + 512M DDR3 alone would be close to $9. The RTL8723 wifi/bt chip is at least a dollar. The rest is cheap individually, but there's a lot of connectors, resistors, caps, etc. It adds up.
Also, the BOM doesn't include any of the costs for the PCB itself,assembly, the employees, engineering time, etc.
>How is $9 possible?
Loss leader. Make it up in shipping and accessories.
Edit: Don't believe it? Enter your own prices here. I put in "sweetheart deal" prices for the 4 items mentioned above, and assumed $0.01 unit cost for everything else (which is not realistic). That unrealistic approach totals $12.19.
https://docs.google.com/spreadsheets/d/1HPjX9_H2NIkR4l1l34JT...
So, if you're going to claim it's somehow less than $9, clone the spreadsheet, update the prices, and show us how :) Oh, and throw in what you think the bare PCB + assembly costs.
Looks like some combination of padded shipping prices, plus sales of accessories that appear to actually be priced above cost. (PocketChip, VGA, HDMI, etc).
So, you can pledge for just a $9 CHIP, but they are subsidizing the losses there with the other pledges + shipping margin.
Cut out all those parts and at sufficient volume, $9 seems possible.
Likely, the tablet used the A33 Allwinner chip. Because of the volume, that would have been a cheaper option than the brand-new R8, but not by much. Maybe $1 less. That still doesn't get you to a < $9 bom.
Olimex asked Allwinner directly why, and this was the answer:
"R8 is new IC just published especially on IoT, it is not like A33 this one had used on a large scale forTablet PC. So R8 is more expensive as produced in lower quantities than A33 which is selling for tablets in big volumes."[1]
[1]https://olimex.wordpress.com/2015/06/05/how-to-get-in-the-ne... (bottom of page)
Most solutions I were able to find are ridiculously expensive compared to how simple this ought to be. Now we have an adequately cheap computer ... is there a modem you can drive from the GPIO? Or is that crazy.
The more complex way is to have an interface/isolation circuit using two GPIO pins (one input for ring detection, one output that switches a relay into the rest of the circuit and also takes the line off the hook). You then have a single DAC or PWM output that plays the tone into the isolation transformer. If you are interested in more info on this sort of thing, contact me.
Not great quality, but it sounds like you just want to go off hook and send a single DTMF tone. (ATH1, then ATD6). It should work fine.
a) Disable Auto Answer on the modem, manually: ATS0=0
b) Set the "answer-chat" setting in mgetty to send the ATH1 then ATDT6
I imagine you'll also have tons of errors, since no actual modem-to-modem data connection will ever get established in this scenario. So maybe some options to suppress all that.
Phewww! I almost spent a whopping $9 on a tiny computer that cannot process media as well as computers 50x more expensive and 10x as big. I'll just wait until those shrink down and cost the same so I only ever need to buy one computer for all my projects.
There's a whole bunch you can do with peripherals and networking over PCIe that would make those chips useful for a new set of situations.
This leaves just latency-sensitive high-bandwith applications, of which the most common is video.
(And DisplayLink offers graphics over USB, but it's so bad that in almost any other context it should be regarded as not counting.)
Maybe not the same 3 you wouldn't use, but that's part of the 'be all things to all people' problem.
For example an IOT device probably doesn't need PCIE as it would be more focused on sensors, power consumption, ultra low BOM, etc.
But in the mid - high end embedded space PCIE is already taking over. WiFi chips are switching from SDIO interfaces -> PCIE (finally!), storage is shifting from eMMC -> NVMe (uses PCIE), NICs have been PCIE for a long time, multi board designs are using PCIE b/w boards, etc.
For the higher end embedded systems that need the latency and throughput PCIE is king.