Author Topic: RaspberryPi overkill / ESP32 not quite enough  (Read 2000 times)

0 Members and 1 Guest are viewing this topic.

Offline CaesiumhydroxidTopic starter

  • Newbie
  • Posts: 2
  • Country: at
RaspberryPi overkill / ESP32 not quite enough
« on: March 08, 2019, 07:39:15 pm »
Hello everybody!

As my title states: I am planning on doing a project which requires Wifi and Bluetooth (LE) but a raspi seems like it is an overkill and an esp32 is not quite powerful enough for the task. Since I am not too familiar with the options there are, I hope that maybe some of you may know a fitting device.

My Project involves:
  • driving about 70 RGB-LED's
  • driving an e-ink display
  • getting data like Weather / Notifications / Calendar
  • connecting to Wifi / communicating with Smartphone with Bluetooth (LE)

The main problem is that the ESP32 "only" has ~300kB RAM which will not be enough for my intetions. A typical calendar file has 100-400kB and also needs to get parsed which also needs some more memory. For managing all things and to be on the save side with filesizes I estimate that I need about 4MB of RAM (more is probably better). CPU wise there is not that much demand - so anything as powerful as an esp would do the job.

Do you know some Boards which lie "between" the Raspi and an ESP32 regarding CPU power and RAM size?

I am happy to get any advice! Since I am new to this Forum - sorry if I posted in the wrong spot or overlooked some information which would already solve my problem.

Thanks in advance

Caesiumhydroxid

 

Offline sokoloff

  • Super Contributor
  • ***
  • Posts: 1799
  • Country: us
Re: RaspberryPi overkill / ESP32 not quite enough
« Reply #1 on: March 08, 2019, 07:55:19 pm »
One approach is to do some of the heavy lifting/processing off box (on a VPS, server, or serverless function [AWS Lambda or equivalent]) and only use the ESP32 for the local part.

On the other hand, if you're making exactly one or two of these, just use an RPi and make it easy on yourself. :D
 

Offline Frederir

  • Newbie
  • Posts: 1
  • Country: fr
Re: RaspberryPi overkill / ESP32 not quite enough
« Reply #2 on: March 08, 2019, 08:25:39 pm »
A small board based on AR9331 should do it.
There is many different modules based on this processors. https://www.8devices.com/ is one manufacturer, and they have other more powerfull modules too.
 

Offline Scrts

  • Frequent Contributor
  • **
  • Posts: 797
  • Country: lt
Re: RaspberryPi overkill / ESP32 not quite enough
« Reply #3 on: March 08, 2019, 08:41:23 pm »
Well, you can always add SPI SRAM, e.g. 23LC1024. From there, either ESP32 works or you can look into CC3200/CC3220.
 

Offline cv007

  • Frequent Contributor
  • **
  • Posts: 826
Re: RaspberryPi overkill / ESP32 not quite enough
« Reply #4 on: March 08, 2019, 08:58:09 pm »
Onion Omega2 - https://onion.io/omega2/

No bluetooth, though (but you have a usb host port at your disposal).

These are nice modules when you want the advantages of an os, but do not need/want the size/cost of a Pi type device.
 

Offline NiHaoMike

  • Super Contributor
  • ***
  • Posts: 9018
  • Country: us
  • "Don't turn it on - Take it apart!"
    • Facebook Page
Re: RaspberryPi overkill / ESP32 not quite enough
« Reply #5 on: March 09, 2019, 04:28:20 am »
There are ESP32 boards that have external RAM. But if you're just building a one off, a Pi Zero W would likely be your cheapest option after considering development cost.
Cryptocurrency has taught me to love math and at the same time be baffled by it.

Cryptocurrency lesson 0: Altcoins and Bitcoin are not the same thing.
 

Offline SiliconWizard

  • Super Contributor
  • ***
  • Posts: 14476
  • Country: fr
Re: RaspberryPi overkill / ESP32 not quite enough
« Reply #6 on: March 09, 2019, 04:11:58 pm »
If you're familiar with the ESP32, you could consider one of those boards: https://www.analoglamb.com/product/esp32-wrover/
 

Offline CaesiumhydroxidTopic starter

  • Newbie
  • Posts: 2
  • Country: at
Re: RaspberryPi overkill / ESP32 not quite enough
« Reply #7 on: March 09, 2019, 09:04:10 pm »
Thank you very much! I will definitely have a look at the ESP boards with more RAM. Did not know that these exist!

 

Offline Dundarave

  • Regular Contributor
  • *
  • Posts: 152
  • Country: ca
Re: RaspberryPi overkill / ESP32 not quite enough
« Reply #8 on: March 10, 2019, 03:30:16 am »

My Project involves:
  • driving about 70 RGB-LED's
  • driving an e-ink display
  • getting data like Weather / Notifications / Calendar
  • connecting to Wifi / communicating with Smartphone with Bluetooth (LE)

Given your list, especially the "Weather / Notifications / Calendar" functionality, I'd be going the RPi route simply for ease of inter-system communications (i.e. getting the weather & notifications via TCP/IP), data handling (MySQL, possibly, for the calendar), and remote IP connectivity for the inevitable troubleshooting & debugging when interconnecting with other systems.  Separate code for each area of functionality, use of cron, etc. for handling periodic functions, and as much memory as you like, would make it my first choice.

However, absent that "getting data" set of functionality, I agree that the ESP32 or similar would probably be a better choice.
 

Offline thinkfat

  • Supporter
  • ****
  • Posts: 2152
  • Country: de
  • This is just a hobby I spend too much time on.
    • Matthias' Hackerstübchen
Re: RaspberryPi overkill / ESP32 not quite enough
« Reply #9 on: March 18, 2019, 10:25:56 am »
BeagleBone Black Wireless. I'm using one for a garden irrigation system and it's just the right size for it. It's much more power conservative than a Raspi and at the same time powerful enough to run a full Linux system. Lots of interfaces available, wireless connectivity on board.
Everybody likes gadgets. Until they try to make them.
 

Offline sajattack

  • Contributor
  • Posts: 21
  • Country: ca
Re: RaspberryPi overkill / ESP32 not quite enough
« Reply #10 on: March 20, 2019, 07:19:46 am »
I would do the calendar processing in the cloud, and only push events to the ESP32 as needed. No need to store the entire calendar in RAM.
 

Offline exe

  • Supporter
  • ****
  • Posts: 2562
  • Country: nl
  • self-educated hobbyist
Re: RaspberryPi overkill / ESP32 not quite enough
« Reply #11 on: March 21, 2019, 12:11:03 pm »
Onion Omega2 - https://onion.io/omega2/

I'm afraid it's not well supported. I have one, about a year ago I tried to put it into use, and had problems (missing packages, script errors, etc). When I googled I found other people had same experience. The reason packages are important is it is based on openwrt/ddwrt/whatever and out-of-the box it's an empty os. Probably it's possible to hack it/compile yourself/etc, but it's going to be time-consuming. May these problems are fixed by somebody, but I'd confirm this before buying it.

I'd be glad to know about alternatives that work out of the box and have up-to-date software.
 

Offline exe

  • Supporter
  • ****
  • Posts: 2562
  • Country: nl
  • self-educated hobbyist
Re: RaspberryPi overkill / ESP32 not quite enough
« Reply #12 on: March 21, 2019, 12:52:01 pm »
Although, may be situation around onion has changed. At least there is some support and new firmware: https://community.onion.io/topic/3470/official-resolution-oupgrade-not-working-on-omega2-pro-factory-firmware
 

Offline jayeye

  • Contributor
  • Posts: 24
  • Country: us
  • EE-turned-CS, security/networking/embedded-systems
Re: RaspberryPi overkill / ESP32 not quite enough
« Reply #13 on: March 23, 2019, 02:41:49 am »
An Rpi ZeroW costs $10, which for all practical purposes is the same as the $5 for an esp8266, and both are negligible. So unless you are making more than a few of these and planning to sell them, I don't see a problem with it being an "overkill".
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf