Live data from Hacker News

Raspberry Pi Zero: the $5 computer

raspberrypi.org

151–160 of 521 posts

Re: Raspberry Pi Zero: the $5 computer

#151
post #121

Earlier quoted context omitted.

I realise how silly this question may seem but here we go: If I get an ESP8266, I can have something that run code, sit on my home network wirelessly and use it to do things like report on sensor inputs? Am I missing some larger expense that would be required as this seems very cheap compared to other options I've seen.

Yes. At least for limited values of yes. You need to run it on 3.3v which means 3.3v versions of your sensore or external level shifting. You've got limited IO compared to, say, Arduino. But of you've got 3.3v sensors - yeah - all you need is an ESP8266 and some way of providing 3.3v. (And probably some pulldown/up resistors and decoupling caps...)

to makomk: No first-hand experience, but entotheteeth on reddit, says that 5v data on the I/O will kill your device in this thread: https://www.reddit.com/r/esp8266/comments/3bm061/5v_board_wi...

Re: Raspberry Pi Zero: the $5 computer

#152
post #4

I just... I don't... I'm a bit lost for words. The sheer amount of "stuff" you get for $5 (albeit USD) is staggering. I am designing some simple electronics gadgets for Burning Man, and the electronics (low-end MSP430 based) for that is costing me a significant portion of $5 yet its significantly less powerful. I know, I know, volume is a key issue, but honestly, that doesn't make it any less impressive to me.

The Pi foundation being good friends with Broadcom also helps.

Re: Raspberry Pi Zero: the $5 computer

#153
post #33

I learned to take these pricing claims with a large grain of salt. $5 sounds great and makes for great news. But then I head over to Farnell/element14 and learn that a) this is unobtainium, because the first shipment is expected on Dec 21, and b) it will cost me $17 + VAT + shipping. The title should say "the computer that might be available to some people at $5 at some time in the future ".

I just ordered the magazine with the Pi for 5.99GBP(~$8). Should be arriving tomorrow.

Re: Raspberry Pi Zero: the $5 computer

#154
The 80s are widely considered as the golden age of hacking, but what the hell? I just bought ten microcontrollers that can run Lua/Python/C for $20, there are full-blown computers for $5, and all the supporting ecosystem (sensors, components, etc) is cheaper than most toys.

I am very optimistic about the future, given that people (and children) these days have trivially cheap access to powerful programmable and easily connectable computers, and hopefully they'll start to demand more and more that all their other devices are equally hackable. If most people have a microcontroller at home that they made themselves that controls the coffee maker, they will want to be able to connect other stuff around the house up, and that can only be done with open protocols.

The next few years are going to be very interesting on the maker scene.

Re: Raspberry Pi Zero: the $5 computer

#155
post #117

Hi, maybe not entirely relevant for this topic - but maybe you guys have any idea how to build and cheap system which will gather temperature wireleslly to one place. Ideally I'd like to have 2 sensors (one inside and other outside, with own batteries) which will send data to some central device. I have home server on MacMini - so WiFi could be option. Any ideas? I've always wanted to build something like this which…

I am doing something similar to this. My setup includes multiple temperature sensors in addition to a Raspberry Pi thermostat which controls my heating system. The thermostat also acts as a HomeKit server, and so can be controlled using Siri - which is really just a fun party trick more than anything else.

(I know Nest and Ecobee can probably do all of this out of box -- my reasons for building this were just to tinker and learn)

Here's what I use:

Sensors:

Since these are likely to run on batteries, you'll need to choose a platform with allows for low enough power consumption that you aren't draining the batteries too quickly. This is suitable for the microcontroller-based options (Arduino, ESP8266, NodeMCU, Particle), but not for R-Pi (due to too-high power consumption). In addition to the platform, your code will also need to take advantage of power saving opportunities, like going to sleep and disabling battery-draining radio services like WiFi, waking up periodically to take a measurement, enable WiFi and emit the metric before going back to sleep.

For my temperature sensors, I chose to the $19 Particle Photon [1] for the following features:

  - Built-in WiFi
  - Built-in REST API (goes through Particle's cloud REST API)
  - Add a temperature sensor like TMP36 [2] to it and your sensor hardware is done.
Thermostat:

For this I use a Raspberry Pi (plugged into wall power) + a relay breakout board to interface with my heating system. My thermostat needs to periodically do things like access google calendar, keep a log of temperature data, to run a HomeKit server [3] [4], and to be ever-ready to respond to REST requests from the internet (eg. IFTTT). So, it's more like a real server, for which RPi was much more appropriate.

Data Storage:

Many options here. Take a look at Phant [5] from SparkFun form something quick and simple.

[1] https://store.particle.io/collections/photon

[2] https://www.sparkfun.com/products/10988

[3] https://github.com/KhaosT/HAP-NodeJS

[4] https://github.com/nfarina/homebridge

[5] https://learn.sparkfun.com/tutorials/pushing-data-to-dataspa...

Re: Raspberry Pi Zero: the $5 computer

#156
post #92
post #26

This is seriously impressive. While the Raspberry Pi is not the perfect hacker-friendly computer, it has done a lot of good. Some reasons off the top of my head: 1. Providing a low cost computer has given many people access to computers. Giving more people access to the web, email, an office suit, a programming environment AND giving people the ability of safely tinker without the fear of bricking an expensive device…

Are you sure about 1? Where are the maths please? In my little circle, the only people who have raspberry already have awesome computers and co. Curious about that.

Personally, I am very much in need of an office suit.

Re: Raspberry Pi Zero: the $5 computer

#160

The Specs: - A Broadcom BCM2835 application processor - 1GHz ARM11 core (40% faster than Raspberry Pi 1) - 512MB of LPDDR2 SDRAM - A micro-SD card slot - A mini-HDMI socket for 1080p60 video output - Micro-USB sockets for data and power - An unpopulated 40-pin GPIO header - Identical pinout to Model A+/B+/2B - An unpopulated composite video header - Our smallest ever form factor, at 65mm x 30mm x 5mm Source: http://r…

You can't actually get the USD$5/AUD$7 version from piaustralia/littlebird though. It's a kit for AUD$25 (plus AUD$7 shipping) and no other option.

I ordered one from PiHut in the UK because that was the cheapest I could find (AUD$16 including shipping).

Post reply on HN