News for hackers. Stuff that matters.
Re:Why we won't be selling Genuino or Arduino any more by manyxcxi on Thursday August 11, 2016 @11:12AM (#12268853)
Because they're much friendlier to get started for the novice, most of the widespread examples seem extremely trivial to someone with experience.

Now- I'm DEFINITELY not an expert, probably barely mediocre with the EE fundamentals, but I did take a lot of EE and some robotics at Uni to get my degree in Computer Engineering. I am nothing more than a hobbyist but some of my cooler projects have been:

- Autonomous 4WD robot

- Quadcopter

- A USB nerf gun that shoots at the developer who broke the Jenkins build

- Used an electronic photo frame as a display to show happy birthday tweets and Facebook posts to my wife from all the friends and family on her birthday

- WiFi/Proximity garage door opener (before they were cool)

- Garage freezer monitor (after an accidental unplug that spoiled a season's worth of salmon and elk)

- A vending machine that let you pay with your work badge from 'points' you earned (this involved a Raspbery Pi and a surface tablet as well, but the Arduino was what actually controlled the vending machine)

I've done a ton of random home automation IoT gizmos, mostly just for the fun of it, and a lot of robot builds for the boys. But the reason I use a lot of Arduino is that they are pretty friendly to use, there's a lot of help when I'm stuck, and I often don't need more. When I do, sometimes I just add another Arduino (or 4) and use serial or SPI communications between them. I've got some PIC chips for stuff, and some other random chips laying around, but I get more done quickly with the Arduino.

Now, if I ever got on to an idea I wanted to make more permanent I would look elsewhere, but for a hobby, everything else provides more friction and ramp up in the few hours a month I can free up to work on stuff.

EDIT: I'll add I've gotten some ESP8266 chips/breakouts that I've gotten more used to and I may start using them in a lot of places I've previously used Arduino + WiFi because the WiFi breakouts use a LOT of the available I/O and are usually the most expensive part of a build. I think I have 2 or 3 that I reuse.

Re:Why we won't be selling Genuino or Arduino any more by timlyo on Thursday August 11, 2016 @11:21AM (#12268933)
>A USB nerf gun that shoots at the developer who broke the Jenkins build

Anywhere I can read any more about this?

Re:Why we won't be selling Genuino or Arduino any more by manyxcxi on Thursday August 11, 2016 @11:26AM (#12268981)
I always mean to write up my projects but never do. The gist is really, through trial and error I was able to map developer's desks to coordinates and elevation angles to get to their seat and just made a flat file that had their username, X, Y, and Z values in it.

The main loop was just the standard socket server you'd find in a Ethernet module example and I wrote a Jenkins plugin that would connect on break and send the offending username over the socket.

There were at the time a number of examples showing how to control the USB launcher from Geekwire w/ an Arduino that I pretty much just copied.

Re:Why we won't be selling Genuino or Arduino any more by ayuvar on Thursday August 11, 2016 @12:14PM (#12269438)
You probably could have done some basic artillery calculations.

Then again, you might work in one of those weird offices where trying to measure the distance from your desk to theirs is more awkward than repeatedly attempting to shoot your coworkers while you fine-tuned the numbers.

Neat project!

Re:Why we won't be selling Genuino or Arduino any more by manyxcxi on Thursday August 11, 2016 @01:22PM (#12270054)
Actually, having someone sit at their desk while I continued to shoot closer and closer to their face was probably the most fun of the entire project.

I tried some basic calculations, but as you could guess with a nerf dart, building HVAC, and all the other things going on it wound up being faster and easier (and again, more fun) just shooting until I was on target a couple of times.

After the first few desks it was pretty easy to get close on the first shot because you could generally know that 4ft left or right was about an adjustment value of +/- whatever from the last coordinate you had dialed in.

Re:Why we won't be selling Genuino or Arduino any more by soylentcola on Thursday August 11, 2016 @01:42PM (#12270241)
Plus then they can build defense fortifications and start an arms race!
Re:Why we won't be selling Genuino or Arduino any more by fapjacks on Thursday August 11, 2016 @03:58PM (#12271164)
Precisely. I immediately started thinking about Arduino-powered counter-battery fire.
Re:Why we won't be selling Genuino or Arduino any more by trampi on Thursday August 11, 2016 @11:24AM (#12268960)
I think it was on HN some time ago: https://github.com/codedance/Retaliation
Re:Why we won't be selling Genuino or Arduino any more by manyxcxi on Thursday August 11, 2016 @11:26AM (#12268989)
That's pretty much what mine was, but isn't mine (and probably better?)
Re:Why we won't be selling Genuino or Arduino any more by screature2 on Thursday August 11, 2016 @04:46PM (#12271443)
Here's another similar Jenkins/USB/NerfDart gitblame launcher project...

https://github.com/codedance/Retaliation

Re:Why we won't be selling Genuino or Arduino any more by flamedoge on Thursday August 11, 2016 @12:24PM (#12269534)
I keep throwing money at the screen, but I don't get the nerf gun.
Re:Why we won't be selling Genuino or Arduino any more by rjeli on Thursday August 11, 2016 @01:27PM (#12270095)
this is not reddit, please comment as such.
Re:Why we won't be selling Genuino or Arduino any more by pat_space on Thursday August 11, 2016 @12:11PM (#12269416)
Please!
Re:Why we won't be selling Genuino or Arduino any more by win_ini on Thursday August 11, 2016 @12:25PM (#12269551)
Similar to the nerd question - could you describe your approach to the freezer monitor? I have a cabin I don't live nearby to, and I basically can't keep anything in the freezer. It seems to go out often enough to unfreeze then refreeze the ice cube water.

I was thinking a flat thermistor. Then I started thinking - what if it's not the power, but the freezer itself?

Now I'm getting into a battery to log when power is out, save that state, continue logging temps, then transmit after the wifi (assuming loss of power - although I have a UPS for the modem/wifi that will last a few hours) is available again. This obviously adds complexity.

Would love to hear your approach to that project....

Re:Why we won't be selling Genuino or Arduino any more by barttenbrinke on Thursday August 11, 2016 @01:00PM (#12269873)
We used to put a marble and water in an empty camera film roll canister (transparant). Freeze in the freezer and flip over. If you come back and the Marble is frozen on the bottom of the canister: don't eat anything! #lowtech
Re:Why we won't be selling Genuino or Arduino any more by mcpherrinm on Thursday August 11, 2016 @02:50PM (#12270710)
I've always just put an ice cube in a ziplock bag. If it isn't square, that means it's melted & refrozen. The marble trick seems like it's probably more sensitive, but I also don't have marbles and film canisters laying around.
Re:Why we won't be selling Genuino or Arduino any more by win_ini on Thursday August 11, 2016 @01:12PM (#12269986)
Low effort too: I just look at the ice in the bucket rose if it's frozen in a blob - or a pool of frozen water at the bottom. :)
Re:Why we won't be selling Genuino or Arduino any more by manyxcxi on Thursday August 11, 2016 @01:14PM (#12269997)
This is a tip EVERYONE should know and I still do this! I use a half filled bottle of water, a small rock, and mark safe/not safe so anyone who's not me knows which way it should be.

Pretty sure it was my great-grandpa who taught me that.

Re:Why we won't be selling Genuino or Arduino any more by detaro on Thursday August 11, 2016 @01:18PM (#12270030)
I remember that my parents' old freezer had something like this built-in (using colored liquid instead of the marble, but the principle is the same). Seemed like such an easy and obvious feature.
Re:Why we won't be selling Genuino or Arduino any more by RankingMember on Thursday August 11, 2016 @01:12PM (#12269985)
I love low-tech solutions like this.
Re:Why we won't be selling Genuino or Arduino any more by centrinoblue on Thursday August 11, 2016 @03:32PM (#12271007)
I dabbled in designing a cooler/freezer monitoring setup for a local farmer not too long ago.

The 2 biggest constraints I found were power and communication from within the freezer.

One promising approach was - a BLE enabled temp. sensor beacon with a coin lion battery - a nearby externally mounted unit (RaspberryPi) plugged into a wall socket as a relay - a small central 'black box' SSD/Wifi/router ground-station to collect, store and push the data to the internet

The biggest question was whether the beacon signal could get through the freezer walls. If not then I was going to look into the idea of some super flat cable to enable a wired sensor connection without compromising the freezer seal (like a meat thermometer in an oven)

Re:Why we won't be selling Genuino or Arduino any more by manyxcxi on Thursday August 11, 2016 @07:34PM (#12272470)
Depending on the freezer, putting a hole somewhere and sealing it up really well is just as good as the walls and insulation that were in there before. I did this to a chest freezer that wasn't terribly expensive and I haven't ever noticed that the outside of the hole is any cooler than surrounding areas, nor did I notice that it had to work any harder to keep it cool.

That being said, I didn't exactly exhaustively detail the before and after performance of the freezer either. I used the smallest drill bit possible that would let me get a probe in there and everything else is external of the freezer down by the compressor motor where there is a lot of extra room- and input power to tap in to.

Re:Why we won't be selling Genuino or Arduino any more by centrinoblue on Thursday August 11, 2016 @11:02PM (#12273160)
I was evaluating designs from a potential commercial opportunity perspective so keeping things non-invasive was considered a constraint for ease of use and to avoid warranty/liability risk.
Re:Why we won't be selling Genuino or Arduino any more by manyxcxi on Friday August 12, 2016 @12:52AM (#12273455)
Well then that makes a lot of sense for not wanting to put holes in it.
Re:Why we won't be selling Genuino or Arduino any more by manyxcxi on Thursday August 11, 2016 @01:11PM (#12269972)
I keep approximately 5 minutes of temp readings (used a TMP36 sensor) at 1 minute intervals using an RTC (Real Time Clock) to more accurately time it. I made a small 'power tester' circuit that basically acts like a normally open button and closes when there's no power coming into the freezer. I may or may not have spliced into the wiring of the freezer for this and lied to my wife about it when she asked if I was going to burn the house down.

Side note: Is it just me or does it seem like you get asked this question frequently?

I have the 'button' circuit wired into an Arduino I/O pin just like you would an old normally open button. When the 'button' circuit closes the Arduino triggers a VERY audible siren I cut out of an old water leak detector. If I have 5 minutes above my temp threshold the siren goes off. I upgraded it over time to use a small LiOn battery and got a circuit to switch to it when incoming power is cut for whatever reason, and basically when in battery mode it's also siren time. I got through 10 minutes of siren battery testing before deciding it was good enough and I was tired of hearing it.

We've talked about doing something similar for the propane fridge and an activity sensor in my friend's cabin in remote central Oregon using a 3G breakout for communications but we've run into the issue that the 3G there is really spotty and we just couldn't reliably get a data connection out there. Also debugging electronics with no internet, running off generator and batteries, and in the dark because we were fishing all day doesn't lend itself to really getting the job done.

Since you have WiFi you may have what you need to do it more simply, although the 3G might be a safety net for the safety net once you get your solution done. My biggest problem at the cabin, besides the lack of cell coverage, is the lack of constant power. There's barely any solar power, and it's used to keep the batteries conditioned, and it's often weeks or months between people getting out there. I would think at your place you could pretty much just use my approach and add WiFi, or just use an ESP8266 instead of an Arduino and do everything else the same. The battery switchover stuff was the biggest pain in my butt, mostly just because I've not got a ton of LiOn experience.

EDIT: On the RTC and temp logging, it's really not necessary. I just did it to do it. You can use the oscillation ticks and a counter to get close enough. Hell, you can just bump the threshold up a little and raise the alarm as soon as you see it without logging anything and get a drastically simpler circuit.

Re:Why we won't be selling Genuino or Arduino any more by win_ini on Thursday August 11, 2016 @12:27PM (#12269583)
Oops. "Nerf" - not "nerd". Although I think we'd both agree - both terms apply.
Re:Why we won't be selling Genuino or Arduino any more by seanp2k2 on Thursday August 11, 2016 @04:08PM (#12271241)
Adalight is also cool and one of the very few projects where instead of being able to just do it on a basic stamp instead, it actually benefits from moving up to a Teensy for faster refresh rates. Adalight is TL;DR picture-sensitive ambient monitor / TV / projector backlighting. The colors around the monitor change based on what's on the screen. It's a neat effect that was standard on some Phillips TVs: https://learn.adafruit.com/adalight-diy-ambient-tv-lighting/...

http://davenewson.com/posts/2013/ambilight-with-teensy-2.htm...

Also works with e.g. XBMC. I'm hoping to get mine working with my FireTV.