Pedestal controller for a weather radar.
Write about 1-2 paragraphs describing the purpose of your project.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
libraries used in the framework arduino-cli with stm32duino_core 1.9.0.
- decompress libraries.zip in the folder libraries
open readme here
- in windows:
-
Install broker mosquitto 1.6.x.
-
deactivate firewall or add new rule into firewall (port 1883).
-
activate the service mosquitto.
warning! if you install mosquitto 2.x.x you have modified mosquitto.conf
- add the next words into file mosquitto.conf
listener 1883 allow_anonymous true
- restart the services for surting effect the modified
windows+r => services.msc restart mosquitto
click here for more information.
- in ubuntu:
- Install broker mosquitto 1.6.x.
sudo apt-add-repository ppa:mosquitto-dev/mosquitto-ppa
sudo apt-get update
sudo apt-get install mosquitto
- Add new rule into firewall (port 1883).
sudo ufw allow 1883
sudo ufw enable
- Verify is not already running
pgrep mosquitto
Note if any number shows, that is the PID of an already running Mosquitto. You can just kill it. Also, you can try:
sudo service mosquitto stop
- Start Mosquitto with verbose option
mosquitto -v
warning! if you install mosquitto 2.x.x you have modified mosquitto.conf
- add the next words into file mosquitto.conf
sudo nano mosquitto.conf listener 1883 allow_anonymous true
- restart the services for surting effect the modified
pgrep mosquitto | xargs kill sudo service mosquitto startclick here for more information.
- install python 3.9
#!/bin/sh
# Update the packages list and install the prerequisites
sudo apt update
sudo apt install software-properties-common
# install PPA
sudo add-apt-repository ppa:deadsnakes/ppa
# update and install
sudo apt update
sudo apt install python3.9 python3.9-dev python3.9-venv
# setup alternatives
sudo update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.6 1
sudo update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.9 2
# show menu for selecting the version
sudo update-alternatives --config python3
- create virtual enviroment
#This command creates a directory called 'my_env_project' in the current directory, which contains pip, interpreter, scripts and libraries.
python3 -m venv my_env_project
#activate virtual enviroment
source my_env_project/bin/activate
#deactivate virtual enviroment
deactivate
#delete virtual enviroment
sudo rm -rf my_env_project
- install pip in python 3.9
#install pip for specific version
curl https://bootstrap.pypa.io/get-pip.py | sudo python3.9
optional
# you can separate pip with "update-alternatives" sudo update-alternatives --install /usr/bin/pip pip /usr/bin/pip3 1 # show menu for selecting the version sudo update-alternatives --config pip
- install the requirements
pip install -r libraries/software/requirements.txt
- install panoply or hdf5group
click here to install panoply
- verified java
java --version
- install java
sudo apt install default-jdk
- execute Panoply.jar
java -jar jars/Panoply.jar
click here to install docker in ubuntu 18.04
A step by step series of examples that tell you how to get a development env running.
Say what the step will be
Give the example
And repeat
until finished
End with an example of getting some data out of the system or using it for a little demo.
Explain how to run the automated tests for this system.
Explain what these tests test and why
Give an example
Explain what these tests test and why
Give an example
Add notes about how to use the system.
Add additional notes about how to deploy this on a live system.