Connect sensor to NodeMCU and send data to RaspberryPi /SignalK server.

Job ID: 31024057

Budget: €30 – €250 EUR

This project contains 2 Parts.

Part 1: Programming of NodeMCU
Part 2: Receive date on RaspberryPI / SignalK


Used Material:

AZDelivery NodeMCU Lua Lolin V3 WiFi Parent
https://www.amazon.de/gp/product/B074Q2WM1Y/ref=ppx_yo_dt_b_asin_title_o01_s00?ie=UTF8&psc=1

Following Sensor shall be connected to the NodeMCU:

https://www.amazon.de/gp/product/B07YZGBVLM/ref=ppx_yo_dt_b_asin_title_o05_s00?ie=UTF8&th=1

Specification:
Material: stainless steel
Output signal type: analog sensor
Accuracy: 1% FS.
Thread: G1/4 inch.
Cable: Red: Power, Black: Earth, Green: Signal
Approximate weight: 74 g.
Power supply: 5V
Signal: 0.54.5V/05V
Output: 0-300PSI

Raspberry PI 4 with following software installed:
https://openmarine.net/openplotter

Following software shall be used to collect the data from the pressure sensor:
https://signalk.org/



Task 1:
Write a Arduino IIDE programm which has following functionality:

- Prepare connection diagram between NodeMCU and Pressure Sensor
- Read the Voltage from the Pressure sensor
- Convert Voltage to pressure Bar (0.5V = 0bar / 4.5V = 20.6843bar)
- Connect NodeMCU to Wifi
- Node MCU to start webserver and Display on web:
=> Voltage
=> Bar converted
=> Wifi Status
=> IP Address
=> SSID
=> Signal stregth
=> Device Name (shall be a variable in the program to allow multiple Arduinos in the system)

Sending Pressure to SignalK (https://signalk.org/) on Raspberry Pi, and receiving it their.

I have a Raspberry PI freshly installed with the OpenPlotter (see https://openplotter.readthedocs.io/en/latest/getting_started/downloading.html).
It is connected to the Internet and Teamviewer installed.

Raspberry PI & NodeMCU will be in the same WIFI network.


Task 2:
- Setup SignalK to receive the pressure data from NodeMCU through Wifi.



IP for Raspberry Pi: 192.168.178.72

Wifi:
SSID: to follow
Key: to dollow

Password on Raspberry:
User: pi
Password: raspberry