Hi all, just touching base to see if anyone had suggestions regarding a platform choice.
I wish to develop a small IoT-like package which
- acquires data via SPI (24bit depth samples at minimum 1ksps plus protocol overhead)
- records these to an SD card
- transmits these as JSON objects in small batches over wifi (802.11b/g/±n, WPA2) using https and a SSL certificate
- can do so for several hours on a lithium coin cell battery
Several additional desires (far more negotiable);
- usb
- small (implemented) footprint
- evaluation / prototype board available
- similar architecture to Arduino environment (ie program in C, easy boatloader, support and example implementation available)
- maybe AVR over other MCU cores?
My first thought was of course Arduino, but unfortunately;
- SD support is largely at the cost of SPI
- ram is likely to limit the size of wifi batches (and no native 24bit handling, I believe)
- second module required to run wifi stack
So at best possibly doable, but not very feasible
Next I thought of the mass produced esp8266 modules, but again see limitations
- wifi stack yielding interrupting data acquisition
- ram may limit wifi packet size
- Unsure of SPI support
- no real https implementation
Which left me with mainstream SoCs and modules. One newish one seamed appropriate, the ATMEL SAMW25 and is available as an evaluation board. It would seem that the flash size is overkill, and it only has one free SPI, but it may fit - but the Eval boards don’t seem to be in stock anywhere.
Any thoughts or suggestions?