News for hackers. Stuff that matters.
Re:Ask HN: What are the most fun areas of programming? by northwest65 on Wednesday January 30, 2019 @07:21PM (#19041092)
I would encourage everyone to give an Arduino a go. You can pick them up for a few bucks each, and even kits full of sensors and hookup wires are quite cheap. The range of micros available now is huge, and many of them have useful stuff like built in WiFi (like an ESP8266). You need very little electronics knowledge to do a whole heap of fun things, and tutorials and libraries are absolutely everywhere.
Re:Ask HN: What are the most fun areas of programming? by kusha on Wednesday January 30, 2019 @07:34PM (#19041161)
In the world of $5 Raspberry PI Zero Ws with BT/Wifi/Full Distro why even consider Arduino anymore?
Re:Ask HN: What are the most fun areas of programming? by chrisparton1991 on Thursday January 31, 2019 @01:40AM (#19042902)
You can get an Arduino Nano clone for considerably less than $5 on eBay. The cheapest price I can find a local Pi Zero for on eBay is $24 AUD (without an SD card).

I use Arduinos and similar boards to drive addressable LED strips. A lot of these strips require extremely precise timing, which is difficult or impossible to get from a Pi for some strips.

From another perspective, the limitations of the Arduino boards (e.g. RAM measured in kilobytes) force you to think harder about how you want to solve a problem, which can be quite an enjoyable challenge.

Re:Ask HN: What are the most fun areas of programming? by northwest65 on Wednesday January 30, 2019 @08:02PM (#19041289)
To get started with an Arduino you install the IDE and plug it into a USB cable, load Blink and hoorah your first program is already running. By comparison a PI is far more mucking around https://projects.raspberrypi.org/en/projects/raspberry-pi-se...
Re:Ask HN: What are the most fun areas of programming? by codesushi42 on Wednesday January 30, 2019 @10:20PM (#19042019)
Because Rpis and Arduinos are completely different. Arduinos have a microcontroller onboard, not a microprocessor. Along with ADC and PWM to simulate DAC. You need a real-time system like Arduino in order to properly interface with sensors and actuators.