TOP Contributors

  1. MIKROE (2784 codes)
  2. Alcides Ramos (382 codes)
  3. Shawon Shahryiar (307 codes)
  4. jm_palomino (118 codes)
  5. Bugz Bensce (97 codes)
  6. S P (73 codes)
  7. dany (71 codes)
  8. MikroBUS.NET Team (35 codes)
  9. NART SCHINACKOW (34 codes)
  10. Armstrong Subero (27 codes)

Most Downloaded

  1. Timer Calculator (139703 times)
  2. FAT32 Library (72095 times)
  3. Network Ethernet Library (57318 times)
  4. USB Device Library (47663 times)
  5. Network WiFi Library (43283 times)
  6. FT800 Library (42618 times)
  7. GSM click (29958 times)
  8. mikroSDK (28370 times)
  9. PID Library (26975 times)
  10. microSD click (26359 times)
Libstock prefers package manager

Package Manager

We strongly encourage users to use Package manager for sharing their code on Libstock website, because it boosts your efficiency and leaves the end user with no room for error. [more info]

< Back
Library

RFM12 Lib for ME Pascal

Rating:

3

Author: Walter Trojan

Last Updated: 2016-02-18

Package Version: 3.0.0.0

Category: Communication

Downloaded: 1460 times

Followed by: 2 users

License: MIT license  

The modul RFM12 from HopeRF is a cheap transceiver, which operates in the 433 Mhz and 868 Mhz frequency band.
The RFM12 routines are collected in a lib, based on a simple message format with
variable length and instead of the checksum method equipped with a CRC16 algorithm.
Appropriate TX and RX projects are available in the package.

No Abuse Reported

Do you want to subscribe in order to receive notifications regarding "RFM12 Lib for ME Pascal" changes.

Do you want to unsubscribe in order to stop receiving notifications regarding "RFM12 Lib for ME Pascal" changes.

Do you want to report abuse regarding "RFM12 Lib for ME Pascal".

  • Information
  • Comments (0)

Library Blog

  Note of Feb. 2013: Because the developed protocol is not code transparent, there might be in some cases a problem with control bytes, which are included in the payload. In the PDF document Note_Feb_2013.pdf you will find a short description, how to solve this problem by using Hamming en/decoding. In the next release, the author plans to include these functions.

 

Release 3.0 of RFM12-Lib

This version is now interrupt controlled, that means it does not block the MCU
while a message is received or transmitted. The advantages of Release 2.0,
the support of SPI hardware and transparency by using Hamming code is still
included. Contents:


RFM30.mpas:   

This is a test program for the Lib. It is organized a multiple
               finite state machine, in order to demonstrate the non-blocking
               mode. It uses the external Interrupt on PortB.0. The ISR for this
               has to be included in your app as well.  

              Perform a message transmission:
                 Init the RFM12 by calling InitRFM12 (only once)
                 Fill the the buffer TXBU according to the protocol
                 Start transmission by RFMPutStart
                 Now you can do something else or
                 Ask the status of transmission by RFMPutReady
                 If this function replies with 3 then put is done and OK

               Perform a message receive:
                 Init the RFM12 by calling InitRFM12 (only once)
                 Start receive by RFMGetStart
                 Now you can do something else or
                 Ask the status of receive by RFMGetReady
                 If this function replies with 3 then get is done and OK
                 Take the message out of buffer RXBU

RFMLib30.mpas: This is the RFM12-Library Release 3.0
               In your application, you only have to use:
                 InitRFM12
                 RFMPutStart
                 RFMPutReady
                 RFMgetStart
                 RFMgetReady      

 

Release 3.0 of RFM12-Lib for ME Basic

Helmut Holm, user of ME Basic, has translated the Pascal release 3.0 with the Pascal-to-Basic converter of Dany.
Due to the good translation capabilities, the Basic version passed the functional tests as well.
The Basic project is attached.
The a.m. translator is available here on Libstock.

RELATED CODES

PS2 Keyboard Read and write

5

Returns the native PS2 scan codes, no translation (except for some special scan codes, see the source file for the details). Capable of writing to the keyboard (e.g. giving commands to the keyboard).

[Learn More]

RFM12 Radio Trasceiver Library

0

This library has functions for interfacing a cheap and reliable radio transceiver RFM12 (433MHZ) FSK module. module details could be found at : http://www.hoperf.com/rf_fsk/cob/RFM12.htm Microcontroller communicates with the module using software SPI implemented in the library.

[Learn More]

WiFi UDP Communication between WiFi-STA and WiFi-AP

0

This is a simple demo of serial wireless communication between two WiFi devices. Two ATMega16As communicate via a UDP-based WiFi link. One WiFi device is configured as a WiFi station while the other is configured as a WiFi access point. Refer to the Youtube video.

[Learn More]