I’m a web developer and don’t know a lot about embedded/iot. Just found out about Particle and trying to wrap my head around the offering.
For my project, I just need:
- One device over cellular
- Receive a number 0 - 255 and pwm an output pin accordinly
- Rate: Ideally 25 times per second, maybe 10/sec minimum
- 16 hours a day
Running the math…
This page says a short particle.publish is 128 bytes. So 128 bytes x 25/sec x 60 sec x 60 min x 16 hours = 184 megabytes. Just per day.
At that rate, it’s looking like it would be cheaper for me to get a sim and data plan through Verizon, even if I were to use a heavier websocket connection, rather than Particle’s platform.
Am I correct that I could buy an Electron and swap out the sim, though? I kind of like that it would be lower power consumption and maybe easier to dev than a raspberry pi for this application. But would websockets still make the most sense if I go this route, or is there a more primitive protocol that would be easier to send just a single number in this way?