Pocsag encoder arduino

milaq/arduino_pocsag

Use Git or checkout with SVN using the web URL.

Work fast with our official CLI. Learn more.

Launching GitHub Desktop

If nothing happens, download GitHub Desktop and try again.

Launching GitHub Desktop

If nothing happens, download GitHub Desktop and try again.

Launching Xcode

If nothing happens, download Xcode and try again.

Launching Visual Studio Code

Your codespace will open once ready.

There was a problem preparing your codespace, please try again.

This branch is 16 commits ahead of on1arf:master.

Open a pull request to contribute your changes upstream.

Latest commit

Git stats

Files

Failed to load latest commit information.

README.md

Based on the stellar work by @on1arf

POCSAG library and demo application for Si4432-based ISM modules

A library called «Pocsag», the code to create an alpha-numeric pocsag-message

Two demo applications to send pocsag-messages using Si4432-based RF-modules. One designed for use on ISM-band frequencies (433/434, 466+, 863-870 Mhz) and a «ham» version using 430-440 Mhz.

RF Transceiver: Si4432

Board: Arduino (of your choice, 328P recommended)

Copy the library folder contents (Pocsag) to your Arduino library folder.

Building also requires a modified «RadioHead» arduino library: https://github.com/milaq/RadioHead

Use the middle part of the «ID-Nr.» as address. The frequency is also usually printed on the back. Data rate is 1200.

Keep in mind that many Si4432 modules have quite a bit of frequency shift. Two of mine deviate as high as 16MHz.

About

pocsag library for arduino + demo application for si4332 RF modules

Источник

A simple DIY project that will make oldschool POCSAG pagers/beepers work again

Overview

Arduino POCSAG Transcoder

  • Message types: Tone , Numeric , Alphanumeric
  • 4 encodings: Latin , 2xLatin/Cyrillic , Cyrillic
  • Data rates: 512 , 1200 , 2400bps
  • Data inversion
  • Frequency range: 80 – 650MHz , 862 – 940MHz (see ADF7021 datasheet)
  • Arduino Nano running at 3.3V (How to convert)
  • RF7021SE module with 12.288Mhz or 14.745MHz TCXO (How to install)
RF7021 Arduino
VCC VCC
CE D6
SLE D7
SDATA D8
SREAD D9
SCLK D10
TxRxCLK D11
TxRxData D12
GND GND

Serial console commands

Command Description Example
d or D XXX Set frequency deviation in Hz d 4500 — set deviation to 4.5KHz
f or F XXX Set frequency in Hz f 433920000 — set freq to 433.920MHz
i or I X Enable/disable data inversion ( 0 = OFF, 1 = ON) i 0
r or R XXXX Set data rate ( 512 , 1200 or 2400 ) r 512 — set rate to 512kbps
x or X Run transmitter test (transmit 0101. pattern) x
c or C XXXX Set CAP code c 1234567
s or S X Set message source code ( 0 to 3 ) s 3
e or E X Set encoding ( 0 to 3 ) e 0 — set Latin Motorola encoding
n or N XXXX Send numeric message n U *123*456*789
m or M XXXX Send alphanumeric message m Hello World
t or T Send tone message t
Problem Possible Solution
Nothing happens in Serial Console after Arduino connection or device getting stuck Check Arduino — RF7021SE wiring, try to reset
RF7021 doesn’t transmit or emits on wrong frequency Check TCXO connection and RF_TCXO value
Pager doesn’t receive messages Check RF7021 emission, pager frequency, CAP code, data rate and inversion mode
You might also like.
EspHoMaTriX — A simple DIY status display with an 8×32 RGB LED panel implemented with esphome.io

EspHoMaTriX (ehmtx) A simple DIY status display with an 8×32 RGB LED panel implemented with esphome.io Introduction There are some status displays out

Import of the DIY Dynamic Template v2, retrieved from the Internet Archive

Dynamic Templates This is a copy of the D*I*Y Planner Dynamic Template application that was posted to diyplanner.com/node/6210 back in 2009,

DIY LCD touchscreen for Home Automation

HA SwitchPlate HASPone The HASPone is a DIY touchscreen controller you can mount into a standard North American work box. It connects to your home aut

Arduino firmware for DIY haptic gloves. Officially compatible with LucidVR gloves.

lucidgloves-firmware This repo contains the arduino firmware as well as the STL files for Prototype 3 of the LucidVR glove prototype. This is a finger

Arduino/ESP32 firmware for DIY haptic gloves. Officially compatible with LucidVR gloves.

Arduino/ESP32 firmware for DIY haptic gloves. Officially compatible with LucidVR gloves.

DIY Zigbee CC2530 Motion sensor (AM312/ AM412/ BS312/ BS412), Temperature /Humidity /Pressure sensor (BME280), Ambient Light sensor (BH1750), 2.9inch e-Paper Module

How to join: If device in FN(factory new) state: Press and hold button (1) for 2-3 seconds, until device start flashing led Wait, in case of successfu

DIY Zigbee CC2530 Motion sensor (AM312/ AM412/ BS312/ BS412), Temperature /Humidity /Pressure sensor (BME280), Ambient Light sensor (BH1750), 2.9/2.13/1.54 inch e-Paper Module

How to join: If device in FN(factory new) state: Press and hold button (1) for 2-3 seconds, until device start flashing led Wait, in case of successfu

DIY Smart Blinds controller for ESP8266

Window blinds to home assistant DIY window blinds controller software for ESP8266 (Wemos D1) to control existing window blinds using servos. The full

Источник

SinuXVR/arduino-pocsag-transcoder

Use Git or checkout with SVN using the web URL.

Work fast with our official CLI. Learn more.

Launching GitHub Desktop

If nothing happens, download GitHub Desktop and try again.

Launching GitHub Desktop

If nothing happens, download GitHub Desktop and try again.

Launching Xcode

If nothing happens, download Xcode and try again.

Launching Visual Studio Code

Your codespace will open once ready.

There was a problem preparing your codespace, please try again.

Latest commit

Git stats

Files

Failed to load latest commit information.

README.md

Arduino POCSAG Transcoder

  • Message types: Tone , Numeric , Alphanumeric
  • 4 encodings: Latin , 2xLatin/Cyrillic , Cyrillic
  • Data rates: 512 , 1200 , 2400bps
  • Data inversion
  • Frequency range: 80 – 650MHz , 862 – 940MHz (see ADF7021 datasheet)
  • Arduino Nano running at 3.3V (How to convert)
  • RF7021SE module with 12.288Mhz or 14.745MHz TCXO (How to install)
RF7021 Arduino
VCC VCC
CE D6
SLE D7
SDATA D8
SREAD D9
SCLK D10
TxRxCLK D11
TxRxData D12
GND GND

Serial console commands

Command Description Example
d or D XXX Set frequency deviation in Hz d 4500 — set deviation to 4.5KHz
f or F XXX Set frequency in Hz f 433920000 — set freq to 433.920MHz
i or I X Enable/disable data inversion ( 0 = OFF, 1 = ON) i 0
r or R XXXX Set data rate ( 512 , 1200 or 2400 ) r 512 — set rate to 512kbps
x or X Run transmitter test (transmit 0101. pattern) x
c or C XXXX Set CAP code c 1234567
s or S X Set message source code ( 0 to 3 ) s 3
e or E X Set encoding ( 0 to 3 ) e 0 — set Latin Motorola encoding
n or N XXXX Send numeric message n U *123*456*789
m or M XXXX Send alphanumeric message m Hello World
t or T Send tone message t
Problem Possible Solution
Nothing happens in Serial Console after Arduino connection or device getting stuck Check Arduino — RF7021SE wiring, try to reset
RF7021 doesn’t transmit or emits on wrong frequency Check TCXO connection and RF_TCXO value
Pager doesn’t receive messages Check RF7021 emission, pager frequency, CAP code, data rate and inversion mode

About

A simple DIY project that will make oldschool POCSAG pagers/beepers work again

Источник

Pocsag encoder arduino

Arduino POCSAG encoder 1200bp

This maybe can help someone want to “recycle” old pocsag pager, original code from ON1ARF is available on gihub, Alex, has made a modification of the main code to ensure the running with 1200bp (original code is for 512bp), at this time i have made some successful test under Arduino 1.8.1

You can use a Arduino and a cheap Si4432 from ebay, don’t forget to insert a level shifter to ensure a 5v/3.3v conversion (if you run with Atmega under 5v), in my case i have used a RFM22 Shield from SparkFun

Put RadioHead and Pocsag folder into libraries Arduino folder

Edit Pocsag_1200.ino file, go to line 66 to set the frequency of your pager

Upload the sketch on your Arduino, then lunch the serial interface

The format to send a message is like this:
P “adress” “source” “repeat” “message”

Grab the last 6 digit’s of the pager, then format the message like this: P 0123456 0123456 1 TEST

Setting TX power to 6mW is almost enough to do some test, next way is to hack the receiver on UHF Ham band …

NOTE: 24/12/2019 Pager above is successfully hacked on 438.2160 with changing the first LO with a 49.152 Mhz quartz.

Источник

djecom1 / arduino-pocsag Goto Github PK

Arduino Mega2560 based pocsag decoder

License: GNU General Public License v2.0

arduino-pocsag’s Introduction

Arduino based POCSAG decoder using the frequency shift keying demodulator on Motorola pager RF boards.

Tested successfully with up to 1200 baud POCSAG.

Designed for Arduino Mega2560 and optional DS3231 RTC

Sample output:

Wiring:

pin used for
19 Input from RF Receiver Board
20 DS3231 SCA
21 DS3231 SCL
8 LED Preamble detected
9 LED SYNC word detected
10 LED for codeword errors
11 LED for field strength alarm

To receive decoded messages, connect it to a terminal with 115200 baud.

To show configuration help, type «h» in a serial terminal:

command used for
c0 Real Time Clock disabled / not installed
c1 Real Time Clock enabled
d0 Debug Output OFF
d1 Debug Output LOW (show statistic summary after decoding)
d2 Debug Output MAX (prints all received codewords)
e0 Error Correction disabled
e1 Error Correction 1 Bit Errors
e2 Error Correction 2 Bit Errors
e3 Error Correction >2 Bit Errors (experimental)
l0 LEDs disabled
l1 LEDs enabled
i0 Input normal
i1 Input inverted (used for LX4 receiver board!)
p0 Parity Check disabled
p1 Parity Check enabled
u0 Umlaut-Replace disabled
u1 Umlaut-Replace enabled
ft n Field Strength Alarm (n minutes; 0 = off)
me n max. number (n) of allowed codewords with incorrectable errors
rics x — y RIC-Filter. Message output only from RIC x to RIC y; set both to 0 to disable filter
time dd.mm.yyyy hh:mm:ss set time
time prints current rtc time

Debug output d2 (MAX) :
cw[0] = 2181040895; // (1) *

  • codeword 1 (zero based index!) has the value 10000010000000000000101011111111 (decimal converted 2181040895) with 1 bit error.
  • an asterisk shows, that an detected error was corrected. if there is no asterisk, the (not corrected) bit error was in the redundancy part of the codeword
  • //PE = Parity Error detected in codeword (if parity check p1 is enabled)

Debug output d1 (LOW) :
=== [00.00.0000 00:00:00] CW(16) 37ms ===

  • at time (in brackets), 16 codewords were decoded which took 37 milliseconds.

Источник

Adblock
detector