Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 11:21 10 Nov 2025 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : 433MHz ASK/OOK modules

Author Message
Phil23
Guru

Joined: 27/03/2016
Location: Australia
Posts: 1667
Posted: 11:35am 21 Aug 2017
Copy link to clipboard 
Print this post

Just wondering if anyone has any working experience with these modules mentioned in another thread.

I know they are supposed to be capable of receiving data from many common wireless devices, typically weather monitors.

In my case I want to monitor data from a Clipsal Centameter power monitor.
Basically it comes from information in these links.

Freetronics power monitoring, and CentaReveiver on GitHub.

Have the actual Freetronics module on a Uno ATT, but it's not receiving anything.
Looking at the Arduino code (that's a bit deep for me), there are plenty of comments indicating that it's very much in the test state & not really finished & with quite a few issues.

My plan, had it worked was to simply change the format of the output string & connect that either directly to a Micromite, or pipe it there with another HC-12.

Was going to replace the UNO with a Nano for a small final device.

Seeing as it won't work straight off the cuff, I'd rather pursue an MM basic solution than try & understand & debug the Arduino Code.

Thanks

Phil.



  manuka said  

 
frackers

Newbie

Joined: 06/11/2009
Location: New Zealand
Posts: 23
Posted: 12:29am 22 Aug 2017
Copy link to clipboard 
Print this post

I've used them to replace the dead bits of a LaCrosse weather station. I started with the TX end, as it was the outside unit that got too close to a lightning strike and then knocked up the receiver to match it.

I have example code for Atmel AVR (Arduino style hardware), written in 'C' (not the bastardised C++ the Arduino IDE uses) and you can find it here

I recently re-hashed the code to use a DHT22 or a BME280 rather than the 1-wire sensors I started with, I have that stashed somewhere if anyone is interested. I made it all solar powered as well!!

The BeRTOS code should run OK on a cheap STM32F103 as well as an AVR (I've used Nano clones for my experiments as a plugin module).

Robin down under - or are you up over
 
Phil23
Guru

Joined: 27/03/2016
Location: Australia
Posts: 1667
Posted: 11:08am 22 Aug 2017
Copy link to clipboard 
Print this post

Thanks,

I just want to monitor the data already being transmitted,
but from what I can see in the code, it's not actually reading a data stream at XXXX Baud.

Looks more like it's sampling a digital input & deriving the bit from that.
The code loses me pretty quickly, & not sure at what point to try and start to debug it.

Phil.
 
HankR
Senior Member

Joined: 02/01/2015
Location: United States
Posts: 209
Posted: 10:38pm 22 Aug 2017
Copy link to clipboard 
Print this post

  Quote   Just wondering if anyone has any working experience with these modules mentioned in another thread.

Have the actual Freetronics module on a Uno ATT, but it's not receiving anything.

Phil,

Yes, working with an Arduino I both intercepted the code from a very inexpensive temp. monitor and created my own transmitter encoder to send the same type of protocol which was successfully decoded by the commercial monitor. (Accurite brand)

Transmitting any of these codes is easier than receiving them.

I think it would be wise for you check that your RX module is actually sending out a stream of received encoded data. It outputs a chaotic stream of digital data due to noise alone (no RF signal) so mere activity on the RX pin means nothing. Do you have an oscilloscope?


  Quote  
I just want to monitor the data already being transmitted,
but from what I can see in the code, it's not actually reading a data stream at XXXX Baud.

Looks more like it's sampling a digital input & deriving the bit from that.


If you look into it a little you'll see that indeed is what happens. The modulation is often a pulse length system where the two symbols are a long pulse and a short pulse, but for a 0 or 1 there's always pulse activity. Another way is to use Manchester encoding. Practical Arduino tells what kind of modulation protocol the your unit uses. I read it quite a while ago and can't recall. Maybe Frackers can.

Hank
 
GoodToGo!

Senior Member

Joined: 23/04/2017
Location: Australia
Posts: 188
Posted: 12:22am 23 Aug 2017
Copy link to clipboard 
Print this post

I tried these 433MHZ ASK/OOK modules once, then turfed them when I found the gloriousness that is the HC12's.

Now if only I can get these damn NRF24L01+'s to talk to each other.......

GTG!
...... Don't worry mate, it'll be GoodToGo!
 
Alastair
Senior Member

Joined: 03/04/2017
Location: Australia
Posts: 161
Posted: 11:20am 23 Aug 2017
Copy link to clipboard 
Print this post

@GTG - why are you moving up to 2.4GHz? I assume it is a short range application otherwise surely the distance will drop.

I have only just started using the HC-12 and have been impressed at how easy they are to implement. As you saw in another thread I have some concerns re the emissions and general 'pollution' but am planning to do some playing to really see what is happening. With encouragement from Manuka I am going down the SDR spectrum analyser pathway. Another little project to do.

cheers

Cheers, Alastair
 
frackers

Newbie

Joined: 06/11/2009
Location: New Zealand
Posts: 23
Posted: 01:40pm 23 Aug 2017
Copy link to clipboard 
Print this post

  GoodToGo! said   Now if only I can get these damn NRF24L01+'s to talk to each other.......

Ah - now there is a useful device!!

I knocked up an update to my "open windows on tunnel house with windscreen wiper motors" project to send the temperature and status info back to the house as a trial of these. The tunnel house end used an Arduino Nano clone and the house end used either an Arduino Nano or a stm32f103 dev board clone (same code runs on both !!).

Both ends have an LCD and 3 buttons and the GUI can be driven either locally or remotely.

Using the PA/LNB version with the supplied stubby aerials its quite happy going 100m through 4 walls in the house and into my office with all the wifi and monitor noise going on.

This particular project isn't on github yet but the libraries are part of my BeRTOS 'all' branch.

Any interest and I'll upload it.


Robin down under - or are you up over
 
HankR
Senior Member

Joined: 02/01/2015
Location: United States
Posts: 209
Posted: 03:42pm 23 Aug 2017
Copy link to clipboard 
Print this post

Robin,

When is there not interest by somebody, somewhere?

I'm intrigued by the fact that the same code works with both devices although you might be using a few conditional comp. switches to do that.

I have an STM board but so far have not jumped through the startup boot hoops and some other necessities.

We'll see this when you upload but also curious if you used the Arduino IDE or true C. You've already implied you don't care for the Arduino subset of, and modified, C++.

HankEdited by HankR 2017-09-14
 
frackers

Newbie

Joined: 06/11/2009
Location: New Zealand
Posts: 23
Posted: 12:36pm 23 Sep 2017
Copy link to clipboard 
Print this post

Well I got round to it eventually!!

My tunnel house vent controller project that uses the NRF24L01 is on github now, with the instructions (that is what took the time!!). It runs on an AVR (I'm using a Arduino Nano clone) or on a minimal stm32f103 dev board.

Grab from the tunhouse repository.

It uses my fork of BeRTOS to provide all the libraries (1-wire, terminal emulator, nrf24l01 etc).

If anyone manages to wade their way through it I'd be interested in your comments!!


Robin down under - or are you up over
 
Print this page


To reply to this topic, you need to log in.

The Back Shed's forum code is written, and hosted, in Australia.
© JAQ Software 2025