Back to Smartcitizen.me

Meshtastic support for SmartCitizen

Hi,

I have seen that you are working on a Meshtastic firmware for Smartcitizen. But I was wondering, what hardware will you use? As far as I can see V2.3 is based on SAMD21 microcontroller which is not supported by Meshtastic.

Thank you!

Hi @ivan.arakistain

Thanks for the message! Yes, we are working on the meshtastic firmware, but we are going to move away from current hardware options. Ideally, we will use the ESP32-S3 for WiFi devices, together with the SZ1262 for LoRa. There may be some cases where WiFi is not needed and that we make (or co-make) a board with a NRF chip, with bluetooth only to save power.

In case you are interested, this is where we are working on: GitHub - fablabbcn/smartcitizen-meshtastic: This repository contains (a fork of) the official firmware for Meshtastic, an open-source, off-grid mesh communication system.

1 Like

Hi,
What’s the status of β€œSmartCitizen meets Meshtastic!”? Is there anything usable already? Or an option to use SCK 2.X <-> I2C <-> Meshtastic HW?

Greetings
Marek

1 Like

Hi!

Firmware dev work continues in GitHub - fablabbcn/smartcitizen-meshtastic: This repository contains (a fork of) the official firmware for Meshtastic, an open-source, off-grid mesh communication system. .

Up until now, the work has been focused on adding more support to additional sensors. Data ingestion is still pending in the SC platform, although @tim developed a working prototype after the hackathon in FAB25. We are now defining hardware features - feel free to give us inputs here! We will soon publish our first spec list draft!

1 Like

Hi,

thanks for information. I’m using Meshtastic nodes from RAK Wireless and thus I can (and did) easily connect sensors like: temperature, humidity, pressure and PM (not sure about the light intensity). So the biggest difference to SCK is Noise Level, which I find important. Of course NOx would be also very interesting, but I’m not sure, how Sensirion sensor is reliable/accurate, the VOC on SCK 2.1 wasn’t…

I’m not using ESP32 in my nodes because of the power consumption, this should be also considered, here in the mountains are the winters cold, long and dark…

Greetings
Marek

1 Like

Hi @marek.drapal

I assume you connected the PMS5003 sensor, right? Currently there is an Audio Module in meshtastic, but it encodes the sample and sends it, rather than analysing and getting the noise sound pressure level (as the SCK does).

The NOx/VOC index in the SEN55 is that, an index. For NOx or VOC, the only β€œgood sensors” are electrochemical ones at low cost level. These need an ADC (like the one we have in Analog Sensor Board - Smart Citizen Docs). We are also adding it to the mix: GitHub - fablabbcn/smartcitizen-meshtastic at enhancement/ads1x15-integration (altthough power consumption will go up with this).

As far as the power, which MCU were you using? NRFs?

1 Like

Hi @oscgonfer

yes, PMS5003 sensor, fresh data:


Actually I’m not sure that node with the PM sensor will live all the winter even with 20W PV.

As MCU the Nordic nRF52850 is used (in module RAK4631).

Interesting option I’m planning to try: https://wiki.dfrobot.com/SKU_EDU0157_EN_Lark_Weather_Station

Greetings
Marek

1 Like

Nice one! What are you using to ingest the data? Is it being stored online or on your own premises?

About audio: I have started some discussion about implementing monitoring and processing of audio. At the moment, the AudioModule is not meant for that and it needs some work. I’ll try to get something started!

1 Like

Hi @oscgonfer

My system is getting quite complex:


                               β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”   
                               β”‚ WhatsAppβ”‚ β”‚ Maubot β”‚      
                               β”‚ bridge  β”‚ β”‚ server β”‚ <-> HTTPS/SMTP/... 
                               β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β””β”€β”€β”€β”€β”€β”€β”€β”€β”˜
                                    ↕         ↕ 
 β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”                        β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”     β”Œβ”€β”€β”€β”€β”€β”€β”€β”     β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”
 β”‚ Heltec β”‚                        β”‚ Matrix.org β”‚     β”‚  M2M  β”‚(USB)β”‚ RAK4631β”‚
 β”‚//\ nodeβ”‚                        β”‚   server   β”‚ <-> β”‚ gate  β”‚ <-> β”‚//\ nodeβ”‚
 β””β”€β”€β”€β”€β”€β”€β”€β”€β”˜                        β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜     β””β”€β”€β”€β”€β”€β”€β”€β”˜     β””β”€β”€β”€β”€β”€β”€β”€β”€β”˜
     ↕ (WiFi)                             ↕ 
 β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”     β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”            β”Œβ”€β”€β”€β”€β”€β”€β”€β”   
 β”‚  MQTT  β”‚     β”‚  MQTT  β”‚            β”‚  WWW  β”‚
 β”‚ server β”‚ <-> β”‚ client β”‚ -> JSON -> β”‚ serverβ”‚ -> mqtt-data.php
 β””β”€β”€β”€β”€β”€β”€β”€β”€β”˜     β””β”€β”€β”€β”€β”€β”€β”€β”€β”˜      ↓     β””β”€β”€β”€β”€β”€β”€β”€β”˜
                           β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”     ↑
                           β”‚ collectd β”‚     |
                           β”‚ server   β”‚ -> CSV data + GNUplot graph
                           β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

Marek

2 Likes