Live data from Hacker News

Arduino Goes Pro at CES 2020

blog.arduino.cc

71–80 of 201 posts

Re: Arduino Goes Pro at CES 2020

#71
post #4

Not trying to troll - just don't know. Why would anybody use an Arduino versus a five dollar Raspberry Pi Zero?

ADC, DAC, and 2.95uA timers. Can your Rasp. Pi Zero sleep at micro-amp currents, and self-wakeup 5 hours from now to perform some task, and go back to sleep? The specs here for this Arduino are downright ridiculous for low-power applications. We're talking about using 3x AA batteries for MONTHS. (3x NiMH AA will be 3.6V with 2000 mA-hrs. Using 3uA is 600,000 hours of battery, or 25,000 days of charge. You'll "only" l…

Great comment!

I wonder if the newer low-self-discharge batteries might get you even more lengthy usage times. Something like a gen 2 Eneloop lite can hold onto 60% of its capacity after five years[1], which is just plain insane.

[1]: https://en.wikipedia.org/wiki/Eneloop#AA_size

Re: Arduino Goes Pro at CES 2020

#72
post #51

Earlier quoted context omitted.

I’ve owned both. An S class accelerates faster, is quieter at 80mph, has more tactile feedback in the switches and controls, is more comfortable to drive for 2+ hour trips, has more space in the trunk, has a better audio system, has a more adjustable drivers seat, has better climate control, and is safer in a collision.

What I'm trying to do is prompt HeyLaughingBoy to provide useful context to their comment. Is this new Arduino really like the difference between an average car and a luxury car? Does it really make no difference which one you pick except for the money you're willing to spend? No one needs an S-Class, it's merely a nice-to-have. Is that the same statement that no one needs this new Arduino? That they should only buy…

Lots of people need S classes... professional drivers for luxury coach services. Get an Elantra and your revenue goes to $0. People need the new Arduino if the scenario being implemented requires it.

Re: Arduino Goes Pro at CES 2020

#74

Earlier quoted context omitted.

Can you not flash a pi with some non-OS firmware?

I've been extremely pleased with the Nerves project. It's Elixir (or any flavor of Erlang, really) top to bottom. The toolkit will build and flash the SD card, so you don't need to worry about anything except your app. Very nice to be able to ssh to my Pi and get dropped immediately into an IEX repl (no auth, no command prompt, it's just IEX over SSH)

That's incredible, thanks for sharing! Here's the links for the lazy:

https://nerves-project.org/

https://github.com/nerves-project/nerves

Re: Arduino Goes Pro at CES 2020

#75
post #7
post #4

Not trying to troll - just don't know. Why would anybody use an Arduino versus a five dollar Raspberry Pi Zero?

Not a bad question at all. The Arduino offers you the ability to code on a lower level, while the Raspberry Pi is giving you a full operating system. Some projects, especially IoT, don't need all the overhead of an OS with and without that comes improved reliability and better understanding of the state of the device.

Which is weird because you'd think the board that could run Linux would cost more than the one that you're not able to run an OS on.

Re: Arduino Goes Pro at CES 2020

#76
post #50

>The Portenta H7 is capable of running Arduino code, Python and JavaScript, making it accessible to an even broader audience of developers. "Here, now you can buy hardware that enables you to hire bootcamp-level devs to do your professional industrial work. That way you can pay non-professional wages for professional-level work!" Stop normalizing putting bloated, heavy languages on embedded platforms.

> Stop normalizing putting bloated, heavy languages on embedded platforms. Last time I checked, PICBasic was a thing, and spawned a generation of programmers. Comodore 64 Basic, and TI-83 Basic were also simplified programming environments. (TI-83 implemented jumps as a O(n) lookup throughout your code... jumping to later functions was more costly than jumping to earlier functions...). Its the simple programming envi…

If the choice of language is because it's beginner-friendly, and the use-case is industrial hardware, then the choice is only being made so the company doesn't have to pay professional-level salaries.

Re: Arduino Goes Pro at CES 2020

#77
post #72

Earlier quoted context omitted.

What I'm trying to do is prompt HeyLaughingBoy to provide useful context to their comment. Is this new Arduino really like the difference between an average car and a luxury car? Does it really make no difference which one you pick except for the money you're willing to spend? No one needs an S-Class, it's merely a nice-to-have. Is that the same statement that no one needs this new Arduino? That they should only buy…

Lots of people need S classes... professional drivers for luxury coach services. Get an Elantra and your revenue goes to $0. People need the new Arduino if the scenario being implemented requires it.

See, that's getting close to an actual answer.

Re: Arduino Goes Pro at CES 2020

#78
post #12

Earlier quoted context omitted.

javascript and python support seem like huge improvements

I'd never want to write microcontroller code in js or even really python. You spend most of your time moving strongly typed data around so yea, it's more accessible but you can't really do anything serious unless you're at least using a language with a reasonable type system.

Try it.

MicroPython/CircuitPython is the funnest thing ever. And you can do all the serious things you need. There is nothing you can't do in MicroPython. And if you need to do stuff fast, writing C libraries is quite easy.

It's totally fair to not like it and for sure it has strengths and weaknesses, problems where its a good fit and problems where it is a bad fit - but don't dismiss it. It's simply to good for that.

Re: Arduino Goes Pro at CES 2020

#79
post #65

Earlier quoted context omitted.

The ESP8266 doesn't have hardware PWM, and only a single ADC channel, both which can make it unfit for a lot of tasks. That said, it does come with a lot of SRAM and the wifi/bt connectivity is obviously great.

The only very slightly more expensive ESP32 boards have 18 ADC channels, 16 PWM channels, and 2 DAC channels.

Yeah the ESP32 is pretty darn awesome.

Re: Arduino Goes Pro at CES 2020

#80
post #48

Earlier quoted context omitted.

I agree with that, but writing code for industrial applications is fundamentally different from whipping up a backend for the hottest new Lyft for Parrots startup. If industrial equipment malfunctions, people can be killed or horribly maimed. Industrial equipment needs to do exactly what it was designed to do 24/7 for years or decades in horrible (EMI, temperature, etc) environments.

Pretty sure that class of equipment will not be using any kind of Arduino board (see also: certifications above).

I've been in a few 27/4 biotech labs that run all the environmental sensors, and some of the industrial controls, off arduinos. ALways fun to open a field box and find a DIN-mounted Uno.
Post reply on HN