Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 09:31 27 Nov 2024 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : MQTT over Hotspot

Author Message
Dinosaur

Guru

Joined: 12/08/2011
Location: Australia
Posts: 311
Posted: 08:51pm 13 Nov 2023
Copy link to clipboard 
Print this post

Hi All

Whilst waiting for all my bits to arrive, I am investigating MQTT.

There are 3 devices that need to receive/ post messages.
1.Rpi Zero W2 which should be the broker (running Debian Bookworm)
   It does the Battery Charging management via cable from the Ute canopy.
   There is a 7" lcd that shows all the detail. (But in the canopy)

2.Rpi Pico W as a client (running MMBasic)
   It will do the Coulomb counting to calculate Battery State of Charge.
   It is also the only one with a RTC , so should be able to publish Date/Time at bootup.
   It works via cables and is directly placed on top of the battery.(lower in the boot)

3.Fitlet Industrial PC (Running Debian Bookworm)
   It has Memory Maps for All as a GPS device.
   It is in the Cab and currently receives OSD messages via hotspot every 2 min
   from the canopy which is 3mm Alumimium.This is done via ncat.
   I will have to stop that and write a small background program
   to act as a MQTT client if the two won't play ball.

Finally the question:
   If I install MQTT Mosquitto on the Pi Zero, will it work over the hotspot with
   fixed IP address in mmbasic on the Pico?
   OR after reading my layout, is there another suggestion ?

   There is no intention of connecting to the internet.
   Currently I only fill in IP & Netmask and leave all other fields blank or disabled.
   Also no need for confirmation from clients, as the message are not control, only info.
Regards
Hervey Bay Qld.
 
Print this page


To reply to this topic, you need to log in.

© JAQ Software 2024