README.md 1.15 KB
Newer Older
Lindenberg, Arthur-Vincent's avatar
Lindenberg, Arthur-Vincent committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
Repo for a RedPitaya-MQTT-API-wrapper
-----
This project code provides functionality (data acquisition and signal generation) to control a RedPitaya over MQTT with binary data transmission.
MQTT functions to be flashed on a RedPitaya daevice.  

### Hardware requirements:

RedPitaya Stemlab Board 125-14 (V1.1)  
5 Volt RedPitaya PSU  
Ethernet Cable / Wifi-Stick  

### Software requirements:
Windows PC with Putty.exe installed  

### How to use:

1. Open the "config.ini" and change the broker_ip to your current mqtt-broker.  
2. Open the "CompileAndRun.bat" and change the ip to current redpitaya ip adress.
Ip adress can be found on a browser at rp-xxxxxx.local (xxxxxx = last 6 digits of the redpitaya mac adress).
Then open the button: System -> Network Manager to see the ip.  
3. Run the "CompileAndRun.bat" file.

### Folder structure:

#### 1. [Redpitaya](./C/RedPitaya):

Contains all nessesary files to compile and flash the MQTT Wrapper on a RedPitaya.  
All files with need  a change are located here.  

#### 1.1 [include](./C/RedPitaya/include):

Folder containing header files.  

#### 1.2 [lib](./C/RedPitaya/lib):

Contains "libmosquitto.so.1" file.
John, Fabian's avatar
John, Fabian committed
37