4 ms·
There are several advantages: - both 5V and 3.3V logic, meaning you can use pretty much any part without level shifters - analog inputs (which are really lack
by Fradow 12y ago
There are several advantages:
- both 5V and 3.3V logic, meaning you can use pretty much any part without level shifters
- analog inputs (which are really lacking on Raspberry Pi if you want to use sensors)
- 4 USB host ports (only the Pi 2 has as much)
- the simplicity of Arduino for electronics, coupled with a Linux for other tasks
On the other hand, I expect it to be more expensive, and probably less powerfull than a Raspberry Pi. It is definitely aimed to big electronics project that requires both a lot of GPIO and a full-fledged OS, for which you would formerly use a board running Linux + an Arduino
- aselzer 12y agoalso: 7 hardware PWM outputs (the Pi has one)
- iwwr 12y agoYou can sort-of do analog input-output via the audio ports on the pi, right?
- aselzer 12y agoCool, didn't know that. Seems like the hardware has to be modified and it only supports 0-1V though: http://raspberrypi.stackexchange.com/questions/8757/using-pis-built-in-audio-as-general-purpose-dac http://raspberrypi.stackexchange.com/questions/8757/using-pi...
- exDM69 12y agoPWM is useful because that can be used to drive servo motors and brushless DC motor controllers and other gadgets. It can't be easily replaced with analog output, e.g. from audio ports. OTOH, audio ports are a lot more useful if you need actual analog output.
- Sanddancer 12y agoPWM could be done with an op amp, a triangle wave generator, and a handful of discrete components. It's how the front-end of a Class D amp works. Would definitely be more of a pain in the butt than having pwm ports directly, though.
- reidrac 12y ago"both 5V and 3.3V logic, meaning you can use pretty much any part without level shifters" Are you sure about that? It can provide different voltages in different pins, but the ATmega32u4 will work with 5v logic (if it is like the Leonardo, at 16MHz will be 5v), so you're in the same situation really and you won't be able to use a lot of 3.3v logic ICs without a translator. I can be wrong though and this one operates in a different way, but doubt it. EDIT: ignore me, the page says it has 3.3v logic pins. EDIT 2: right! they're provided by the Sitara processor and not the AVR, so I wasn't 100% wrong after all ;) See: https://github.com/CICCIOSGAMINO/arduino_TRE https://github.com/CICCIOSGAMINO/arduino_TRE
- Narishma 12y agoPi 1 B+ has 4 USB ports as well.