Benutzer-Werkzeuge

Webseiten-Werkzeuge


raspagerc9000

Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen angezeigt.

Link zu dieser Vergleichsansicht

Beide Seiten der vorigen Revision Vorhergehende Überarbeitung
Nächste Überarbeitung
Vorhergehende Überarbeitung
raspagerc9000 [2018/07/24 21:10]
dh3wr [Temperature Monitoring]
raspagerc9000 [2019/07/16 23:24] (aktuell)
df2et
Zeile 30: Zeile 30:
  
 ===== Modification of C9000 ===== ===== Modification of C9000 =====
 +
 +==== 24V Power supply ====
 +
 +The Compact9000 uses 24V input. At 20W output the unit draws roughly 2.5A at 24V. The power connector is a Sub-D Type with 3 pins. Two of those are used. The center pin is GND (labelled as A2) and the outer pin facing to the bottom (labelled A3) is Vcc. The following parts from Germany electronics distributor Reichelt can be used if the original plug is missing / needs replace:
 +
 +  * 1x MIX-BUG 3W3
 +  * 1x KAPPE 1820
 +  * 2x MIX-BU3 CRIMP
 +
 +A shopping cart is here: https://​www.reichelt.de/​my/​1503982
 +
 +{{ :​c9000:​c9000powerplug.jpg?​direct&​600 |}}
 +
 +{{ :​c9000:​c9000powerdetail.jpg?​direct&​600 |}}
 +
  
 ==== Power Supply for Raspberry ==== ==== Power Supply for Raspberry ====
-FIXME+ 
 +There is an internal 5v0 rail but it is unsure if that can supply continous current for running the Raspberry Pi. One solution is to use a DC/DC converter powered by the 24V input. A Mean Well SD-15B-05 is a good choice. The case fits exactly into the small slot aside from the exciter unit. You just have arrange some wires to the backplane of the Base Station Controller board. There are some free pins that can also be used for the ethernet connection of the Raspberry Pi. It can be mounted with two 3mm screws to the side of the case. That should also allow for some heat dissipation. 
 + 
 +{{ :​c9000:​internal_powersupply.jpg?​direct&​600 |}} 
 ==== Using the backplane RJ45 jack for ethernet ==== ==== Using the backplane RJ45 jack for ethernet ====
 There is a RJ45 jack on the backplane of the C9000. It was formerly used to connect a landline telephone connection to the transmitter,​ so it could make a call if something bad had happend. There is a way to re-use this jack to bring an 100 MBit/s ethernet connection inside the C9000 without mechanical modification of the housing. There is a RJ45 jack on the backplane of the C9000. It was formerly used to connect a landline telephone connection to the transmitter,​ so it could make a call if something bad had happend. There is a way to re-use this jack to bring an 100 MBit/s ethernet connection inside the C9000 without mechanical modification of the housing.
Zeile 130: Zeile 149:
  
  
 +==== Front Panel LEDs =====
 +
 +You can wire two LEDs to the RasPagerC9000 board that can be integrated into the front panel. The wires need to be connected to pins 5,6,7 of RasPagerC9000. The pinout is as follows:
 +
 +  * Pin 5: GND
 +  * Pin 6: SWAct
 +  * Pin 7: MasterConn
 +
 +{{ :​c9000:​c9000leds.png?​nolink&​600 | Pinout for Fron Panel LEDs}}
 +
 +These LEDs indicate if UniPager is connected to the Master (MasterConn) and when its active (SWAct). The corresponding LEDs are not controlled by UniPager directly. You have to use the extra python script called unipagerled.py. It is sufficient to use the preset from the example in the config (/​etc/​unipagerledconfig.py):​
 +
 +   ​preset = "​c9000"​
 +
 +Two resistors (330R) are already present on the PCB (see R10 and R11). The two LEDs can be mounted on the fron panel of the Base Station Controller.
 +
 +{{ :​c9000:​c9000frontpanelleds.jpg?​nolink&​600 | Front Panel LEDs}}
 ==== Temperature Monitoring ==== ==== Temperature Monitoring ====
 The RasPagerC9000 PCB is already prepared for easy implementation of a temperature monitoring of the C9000. It is done by cheap DS18x20 OneWire temperature sensors. In order to activate the built-in support for OneWire temperature sensors in the Raspbian software, add the following line tho ''/​boot/​config.txt''​ The RasPagerC9000 PCB is already prepared for easy implementation of a temperature monitoring of the C9000. It is done by cheap DS18x20 OneWire temperature sensors. In order to activate the built-in support for OneWire temperature sensors in the Raspbian software, add the following line tho ''/​boot/​config.txt''​
Zeile 408: Zeile 444:
  
 === Monitoring with Nagios === === Monitoring with Nagios ===
-It's easy to monitor remote hardware with the nagios nrpe server. It's a local execution agent to run commands on the remote ​maschine ​and provide the gathered data back to a main nagios instance.+It's easy to monitor remote hardware with the nagios nrpe server. It's a local execution agent to run commands on the remote ​machine ​and provide the gathered data back to a main nagios instance.
  
 == Nagios NRPE Server setup == == Nagios NRPE Server setup ==
Zeile 573: Zeile 609:
 {{:​c9000:​nano-ch340modifiction3.jpg?​direct&​600|}} {{:​c9000:​nano-ch340modifiction3.jpg?​direct&​600|}}
  
 +
 +==== PCB with 7-segement display ====
 +
 +There is a PCB that can carry an Arduino nano along with a 7-segement LED to show the configured power level. The sixteen values are shown as a hexadcimal value (0-F). The PCB design is Open Source. ​
 +
 +{{ :​c9000:​c9000padummydisplay.jpg?​direct&​600 |}}
 +
 +You can find the layout files here: 
 +
 +https://​github.com/​phl0/​C9000PADummyDisplay
 +
 +The author has some PCBs to sell at cost. Please contact DF2ET if you are interested.
 +
 +The 7-segement display is supported by the C9000PADummy Arduino code. To activate it you have to compile the code with 
 +
 +  #define HAS_7SEG
 ==== Programming the flash of the ATMega ==== ==== Programming the flash of the ATMega ====
 To still be able to program the Arduino Nano, you need to connect the ISP Header on it to free GPIO lines on the Raspberry Pi and use ''​avrdude''​ to send the hex file into the flash of the ''​ATMega''​. In the GitHub-Repo there is an example of a configuration file and a bash script with the necessary parameters for ''​avrdude''​ to work [[https://​github.com/​rwth-afu/​C9000PADummy/​tree/​master/​software/​C9000PADummy|https://​github.com/​rwth-afu/​C9000PADummy/​tree/​master/​software/​C9000PADummy]]. To still be able to program the Arduino Nano, you need to connect the ISP Header on it to free GPIO lines on the Raspberry Pi and use ''​avrdude''​ to send the hex file into the flash of the ''​ATMega''​. In the GitHub-Repo there is an example of a configuration file and a bash script with the necessary parameters for ''​avrdude''​ to work [[https://​github.com/​rwth-afu/​C9000PADummy/​tree/​master/​software/​C9000PADummy|https://​github.com/​rwth-afu/​C9000PADummy/​tree/​master/​software/​C9000PADummy]].
  
 ==== Connecting to the C9000 I2C Bus ==== ==== Connecting to the C9000 I2C Bus ====
-FIXME+ 
 +The internal I²C bus can be found on the RCU external bus connector on the back. In addition to that there are some solder pads next to the connector on the inside that you can use to connect the PA dummy to the I²C bus.  
 + 
 +{{ :​c9000:​internal_i2c_bus.jpg?​direct&​600 |}} 
 + 
 +There are six solder pads. The pinout is as follows: 
 + 
 +<​code>​ 
 + 
 +             rear panel 
 +  ---------------------------------------------- 
 +   
 +  ----------------+ ​ SDA GND SDA 
 +  DB25 connector ​ |   ​O ​  ​O ​  O 
 +  ----------------+ ​  ​O ​  ​O ​  O 
 +                     5v0 SCL SCL 
 +</​code>​ 
 +   
 +So you can either connect a µC based PAdummy (powered from the 5v0 pin) or the Arduino based solution described above (powered by USB from the Raspberry Pi).
  
 ==== Setting the emulated output power ==== ==== Setting the emulated output power ====
-FIXME+ 
 +The emulated output power on the Arduino based PADummy can be set from the UniPager web interface. You simply select the desired power level from the drop-down menu. In this case there is an udev rule installed which maps the serial device to a symlink to /​dev/​C9000PADummy.  
 + 
 +{{ :​c9000:​unipager_padummy.png?​direct&​600 |}} 
 + 
 +After setting the power level you need to adjust the output power of the Ericsson Compact9000 transmitter. Use the menu 
 + 
 +  Operate -> Tx -> Outp pwr 
 +   
 +Adjust the parameter Pset to the power level you set in UniPager. Note that the Pset parameter shows the output power after the (dummy) PA. This corresponds to the power levels shown in brackets in UniPager. The real output power of the C9000 without PA is noted in front of this value.
raspagerc9000.1532459431.txt.gz · Zuletzt geändert: 2018/07/24 21:10 von dh3wr