@asyxcv, you should compile it manualy, next link will be usefull: How to compile C/C++ native applications
You are trying to use old manuals about LEDE.
Another way your project has also special manifest for the OpenWRT system (see snapcast/openWrt/Makefile.openwrt) it needs to make .ipk-files (packages) for the opkg util. But this file is old and needs to be fixed. And last: making your own packages for opkg is very difficult task for masters. More infirmations about it you can get from OpenWRT official documents, community and examples.
@Akash614 if you need a definitive answer you would need to give more specific details. @UFD is quite correct, the main issue would be that of capacity. The Pi has more RAM and a faster CPU, but if you don't require these then the Omega may well be suitable.
From your initial question:
Onion has UARTs available
Onion can run a database (I use SQLite3 on an sdcard)
You can run a web server, in fact I run 2 different web servers on my devices
So it comes down to capacity and performance.
@Victor-Lucio Please take a look at this: Official Onion Omega2 Documentation I2C Python Module.
'/usr/lib/python2.7/OmegaExpansion/onionI2C.so' is not empty - it's an ELF binary file.
The source code can be found in the Onion i2c-exp-driver GitHub Repo.
An example of how the onionI2C library is used can be found in the i2c-exp-driver repo.
The example code programs the Relay Expansion (an MCP23008 8-bit, general purpose, parallel I/O expansion IC for I2C) directly.
Thank you for responding, the real direction is 0x70 using 7 bits.
In other words is 111-0000.
If I include the bit of R/W, this will be 0 if i want to write a data in the slave(sensor).
.111000-R/W ----------> 11100000
11100000 Is E0 in hex. For this reason, I have several concerns about this module, but I hope to solve it later. Thans again for taking my doubt. I will try to send you 6 bits as data and include the CRC byte. It is likely that when I insert the writeBytes command, the R/W bit is inclued internally without me noticing.
@Cristian-Bourceanu said in Controlling external motors and LED strips with Omega2+:
Normally a MCU can withstand a maximum of 20mA on each GPIO and MT7688 chipset of Omega should have a similar specification.
According to the MT7688 datasheet a GPIO can drive 4 mA.
According to Onion's Omega2S datasheet:
DC current through any digital I/O pin: 8 mA max.