After more than one year working as a freelancer in the sector mainly dedicated to developing Raspberry PI-based solutions for small and medium-sized enterprises, the time to introduce new dev boards in the blog, to subsequently make it in my tool box.
One of them is the only exit to the market Odroid C2, by what it will take to share with you my first impressions This device about, their technical specifications most relevant, and some photographs, diagrams, and code examples in bash for the port GPIO.
I want to emphasize that I have not purchased it as a substitute to Raspberry PI 3, and although it is true that for projects that require more performance will be chosen, not yet available a community as large as of Raspberry so it will be harder to develop with her; for who does not dominate the English.
In the following table you can see the most significant differences of Odroid C2 front Raspberry PI 3, among which we can highlight its 2GB of RAM, the possibility of installing the system in a module of memory eMMC, and their connection Gigabit ethernet.
|Odroid C2||Raspberry PI 3|
||Amlogic S905 ARMv8 Cortex-A53 2GHz (QuadCore 64 bit)||BCM 2837 ARMv8 cortex-A53 1.2 GHz (Quad core 64 bit)|
||ARM Mali 450-MP Octa Core 750 MHz||Broadcom VideoCore IV Dual Core 400MHz|
||2GB DDR3 SDRAM||1GB RAM LPDDR2|
|Storage||microSD – eMMC 5.0||microSD|
||Ethernet 10/100/1000 – Infrared receiver (GO)||Ethernet 10/100 – WiFi 802.11 b/g/n|
|Power||microUSB/microJack 5V 2A||microUSB 5.1 v2.5|
||4 x USB 2.0||4 x USB 2.0|
||HDMI 2.0 H264/H265 4 k||HDMI 1.4 H264 1080 p|
|GPIO||40 + 7 GPIO||40 GPIO|
|Major operating systems
||Ubuntu, Android, Fedora, ArchLinux, Debian, Openelec||Raspbian, Ubuntu Mate/Snappy, Windows 10 IOT, OSMC, OpenElec, PiNET, Cliffs, ArchLinux|
| P.V.P recommended
||40$ + shipping + Customs||35$|
The price of sale to the public You must add shipping and handling costs, VAT, and customs tariffs, so desembolsaremos approximately an added amount of the 30% the total cost of the package and shipment, After receiving the letter of notice on the part of the private enterprise subcontracted by Post.
On other occasions in which I have had the need to import any material or product from of out of Europe, always the postman cashed me the customs charges at the time of delivery and the process has been more rapid; in this case the procedure has been extended a month, in which I had to facilitate from the purchase invoice, up to an affidavit about the use and destination of the product; and by what I have seen is generalized to the import from South Korea.
When installing a operating system in our Odroid C2 We can choose among the available ones in the previous table, either on the card microSD like most of their counterparts or in memory eMMC; This second option will increase a 60-70% the read/write rate, and thus improve the fluidity of the System.
If we opted for the most efficient option, We will need a eMMC converter microSD for dump the operating system in main memory, as well as to carry out the backups of the operating system periodically; in my case it was included along with the memory and without additional cost, What is welcome.
Other two major advantages of the hardware of Odroid C2 front Raspberry PI 3 son who has a separate bus to manage the USB ports, and connection Gigabit Ethernet; If the bus was shared by both, There would be a bottleneck when using the port Ethernet and the ports USB at the same time.
For projects oriented to the Internet of things or the Robotics We have two expansion ports GPIO, which consist of 40 the first pins, and 7 the second; of which 18 pins are general purpose, they work to 1.8V as input and a 3.3Output v; and although the pinout is almost identical to the of Raspberry PI3 We must adapt our projects to migrate to Odroid.
The others 29 pins are dedicated, and they correspond to the ports UART, ADC, PWM, e I2C as we can see in the previous table of the Connector of 40 pins; and to the I2S port as we can be seen in the next that makes reference to the port of 7 pins.
For set the GPIO pins We can export them directly through bash as in the following example, but it should be noted that the libraries have been migrated WiringPI v2 and RPi.GPIO to Odroid What gives us the possibility of developing projects in Python and C/C++ based on the devices of this brand.
#Iniciamos sesión como root odroid@odroid64:~$ sudo su [sudo] password for odroid: #Exportamos el pin 36 (218) root@odroid64:/home/odroid# echo 218 > /sys/class/gpio/export #Lo configuramos como salida root@odroid64:/home/odroid# echo out > /sys/class/gpio/gpio218/direction #Le asignamos un valor lógico alto root@odroid64:/home/odroid# echo 1 > /sys/class/gpio/gpio218/value
We can release the pin causing the reverse operation, is assigning a logical value low, and des-exportando it.
#Le asignamos un valor lógico bajo root@odroid64:/home/odroid# echo 1 > /sys/class/gpio/gpio218/value #Liberamos el pin 36 (218)
root@odroid64:/home/odroid# echo 218 > /sys/class/gpio/unexport
If you like you can follow me on Twitter, Facebook, Google +, LinkedIn, Feedly, or share it with the buttons under this publication, If you have any questions or suggestions please do not hesitate to comment.