Pi Zero W is a loss leader. That part can someday disappear. I agree spec wise its better but Onion is much better when handling network tasks IMO. Dual WiFi, 5 Ethernet Ports, etc. It's also PCB board solderable. If the Pi Zero W was PCB board solderable I would of went with that part.
FYI even when I do /overlay and make a 2GB swap file, the version of node does crash on some instances like installing "azure-iot-device-amqp" the nodejs run time has its own buffer that needs to be increased, though from the error they posted I dont think its this issue.
Another thing about npm installs is that in some cases you need python or some other dependency like git and npm builds the module on the onion, that takes a lot of resources. For my application I use 81% file storage and have 4.7mb left but I have these modules installed:
@peterh-peterh@peanut Here is the procedure on how to enable HTTPs for uhttpd and generate self-signed certificate.
From your command line issue the following commands:
opkg install px5g-standalone libustream-openssl
Restart the uhttpd service:
When you restart uhttpd service, it generates RSA private key and selfsigned certificate, here is the output that I've got after restarting uhttpd:
# /etc/init.d/uhttpd restart
4+0 records in
4+0 records out
Generating RSA private key, 2048 bit long modulus
Generating selfsigned certificate with subject 'C=ZZ,ST=Somewhere,L=Unknown,O=LEDEd1d8b179,CN=LEDE,' and validity 20180417162546-20200416162546
Now you can navigate to your browser and type: https://192.168.3.1 or https://omega-XXXX.local ( where XXXX are the last digits of your MAC address). Here is my screenshot:
The Omeage2 has no analog, limited PWM, non-deterministic timing.
Arduinos have a varied number of analog, digital and PWM pins, are deterministic as to how long things take to run, have 'bank' i/o support (which I've not seen implemented on any copy device), software serial, sleep mode, ...
It is not possible. In addition to the missing socket, there are other components missing, some are under the shield.
Care to elaborate? Not much should be required, so this is a bit surprising, unless it's an intentional disabling.
That said, USB-based storage could be another option - but it should be kept in mind that neither is robust in the face of unexpected shutdowns/reboots - one of the real strengths of these platforms over the computationally far more powerful and hardly more expensive raspberry pi, is that they don't depend on a fragile SD card. If you could boot a pi W from an SPI flash, it's questionable if there would be a market for MT7688 systems at all.