3 ms·
Will do re GSM. I guess my requirements is a microcontroller that just works. Let me elaborate. I have a Galaxy S8. It has a: * Accelerometer * Barometer * G
by raizinho 6y ago
Will do re GSM.
I guess my requirements is a microcontroller that just works. Let me elaborate.
I have a Galaxy S8. It has a:
* Accelerometer
* Barometer
* Gyroscope
* Hall sensor
* Proximity sensor
* Fingerprint scanner, Iris scanner, Magnetometer
Ignore the last bullet. It also has WiFi, Bluetooth, and GSM. I don't have access to any of this data without putting in some work, eg. I can't get pressure readings from the barometer, or my location from the GSM. I'm expected to just use them as is.
Now take the ESP-32 which comes from the other end of the spectrum. I can cobble together a setup with all the sensors and communication protocols (recognizing that the ESP-32 comes with a few built in), but I have to write/copy a mountain of code to get them all working and integrated. The same goes for something like a RPi.
What I would like is a board that has these capabilities built-in with an API on top of it. So I could say something like:
```
import easy_api as ea
my_location = ea.get_location()
if my_location == (1,2):
wifi_con = ea.connect_to_wifi("SSID", "PASSWORD")
message = ea.get_new_sms()
if sender(message) == "000-000-0000" and content(message) == 1:
ea.buzz_piezo(duration = 5)
```
It's ease of use for prototyping that I'm looking for.
- throwaway9d0291 6y agoI mentioned it in my other comment but I think what you're after is TinkerForge [0]. It's expensive but you can for example toggle mains electricity on and off with some super basic electronics skills and about 5 lines of Python [1] (or many other languages). You can add GSM functionality with a regular USB modem, though the API isn't quite as nice [2]. WiFi is much nicer [3]. [0]: https://www.tinkerforge.com/en/ https://www.tinkerforge.com/en/ [1]: https://www.tinkerforge.com/en/doc/Kits/HardwareHacking/RemoteSwitch_Python.html#starter-kit-hardware-hacking-remote-switch-python https://www.tinkerforge.com/en/doc/Kits/HardwareHacking/Remo... [2]: https://github.com/Tinkerforge/red-brick/blob/master/programs/sms_location/sms_location.py https://github.com/Tinkerforge/red-brick/blob/master/program... [3]: https://www.tinkerforge.com/en/doc/Hardware/Master_Extensions/WIFI_V2_Extension.html https://www.tinkerforge.com/en/doc/Hardware/Master_Extension...
- raizinho 6y agoCool. Thanks for the info.
- nexuist 6y agoHave you had a look at Particle? https://www.particle.io/ https://www.particle.io/ I used them for a previous job and had no problems. They support WiFi and GSM out the gate, and you don't even need to write any code for prototyping if you use their Tinker mode.
- raizinho 6y agoPlayed around with it a while back when my attempt at doing hardware died pretty quickly. Will check them out again.