r/microcontrollers • u/Boban1234dk • Nov 10 '22
Microcontroller to fulfill these needs other than Arudino?
Hello,
I need to source a microcontroller that can receive analog voltage signals through an ADC pin and then eventually be able to transmit this data via a cellular network to a central server. The microcontroller also needs to have GPS functionality.
Thanks!
2
u/ceojp Nov 10 '22
A microcontroller can handle the analog input, but you'll need separate chips for the gps and cellular.
2
u/Overkill_Projects Nov 11 '22
1
u/drseus Nov 30 '22
Yep this MCU was built for these type of applications and would be the right choice.
1
u/lbthomsen Nov 11 '22
So you need a MCU with 2 UART's - one for the cellular module and one for the GPS as well as a reasonable analog input pin. Pretty much any STM32 MCU will be able to do that - including the quite common STM32F103 (aka. Blue Pill - but be aware of fakes (see https://stm32world.com/wiki/Blue_Pill).
1
u/madsci Nov 11 '22
"GPS functionality" is not something that's built into a microcontroller. What you need is a microcontroller with an ADC and serial interfaces to talk to a cellular module and GPS receiver.
Honestly that doesn't narrow it down. I was able to do that on an 8-bit MCU with 192 bytes of RAM almost 20 years ago.
I think maybe we need a pinned post about what a microcontroller is. Many of the folks who end up here rather than r/embedded seem to have development boards confused with MCUs. A microcontroller is a single IC, not a board, and it's not tied to any particular software framework. MCUs that have RF functions of some kind are maybe not rare, but they're kind of specialty devices and at the hobbyist level you ought not to be messing with those - it takes a whole lot more knowledge of PCB design, for one, and there are legal issues with intentional radiators. When you buy something like a cellular module, it's a canned unit and carries its own certification.
1
u/rc3105 Nov 11 '22 edited Nov 11 '22
Just out of morbid curiosity: Why are you opposed to Arduino?
It's sort of a blanket term that can be applied to thousands of different chips/boards, and the (admittedly brain dead IDE) supports dozens/hundreds of mcu variations right out of the proverbial box.
As for the project itself, a little googling will probably turn up a dozen example projects capable of exactly what you described.
For the hardware, Adafruit and Sparkfun probably offer a board with integrated GPS and wireless modules. Tweak the example code and have a working project 20 mins after the board arrives.
5
u/htownclyde Nov 10 '22
ESP32 + GPS and cellular modules of your choice