WIRELESS SENSOR NETWORK USING HC12

I want to create a cost effective wireless sensor network using HC12 module with arduino UNO which will be used to gather sensor data like temperature,humdity,gas level,etc. in a forest.

I am using HC12 because it offers more range than xbee in less cost and I know how to make a wireless sensor network using xbee but i have no knowledge regarding HC12.

So I wanted someone's help who knows anything about making wireless sensor networks with HC12.
Please help me guys if you have any knowledge about this topic.

Thanks.

What did you say? I couldn't understand a word you said because you were SCREAMING.

Please edit your post to use lower case letters.

You seemed to have assumed the HC12 will give you the distance you require in this 'forest'.

Since you have not done any testing of the HC12 in this situation, can you provide more details of this 'forest' the terrain, distances for sensors, type of forest etc ?

The HC-12 simply acts as a serial link between two Arduinos, so all the "networking" software will have to be in the Arduinos.

That software can be developed and tested using wire links instead of radios, or you might start with something you find on the web, like this mesh network. Replace all the String operations with C-strings though.

@jremington Does the capability of a transceiver module to be used for a mesh network solely depends on the code not on its own compatibility?
@srnet I want to deploy the network in any type of forest for detection of fire with a required distance of 500 m between the sensor nodes as i will be using a camera to monitor the forest along with other sensors.

KartikeyaT:
@srnet I want to deploy the network in any type of forest for detection of fire with a required distance of 500 m between the sensor nodes as i will be using a camera to monitor the forest along with other sensors.

I have not actually tested the HC12 myself in a dense and wet forest, but I doubt the HC12 would have the range in that situation.

Does the capability of a transceiver module to be used for a mesh network solely depends on the code not on its own compatibility?

Sorry, I don't understand the question.

You can buy radio modules with built in network capabilities, but you don't have to use those capabilities. With a simple serial link, of course you will have to get or write network software.

Please help me guys if you have any knowledge about this topic.

You proceed to help yourself; afterwards, help will come from other sources. Please, start the job --

1. Collect 2 UNOs.
2. Collect 2 HC12 Modules.
3. Connect the modules with their respective UNOs as per instructions of this link.

4. Test the basic functionalities of these modules using the instructions of the above-mentioned link.

5. Now, you have in your hand 2 working HC12s.

6. Now, plan your project -- decide which module (HC12-A) will be collecting data from sensors, and these data will be transmitted to other UNO via HC12-B. Are you looking for Transmission/Reception routines? They will be come in into this Forum/Thread from various sources once you start the project and show your efforts.

The collective efforts of the Forum Members will make your project successful!!

(You may also visit this link for some idea on developing data communication routines between two HC12s.)

GolamMostafa:
You proceed to help yourself; afterwards, help will come from other sources. Please, start the job --

1. Collect 2 UNOs.
2. Collect 2 HC12 Modules.
3. Connect the modules with their respective UNOs as per instructions of this link.

4. Test the basic functionalities of these modules using the instructions of the above-mentioned link.

5. Now, you have in your hand 2 working HC12s.

6. Now, plan your project -- decide which module (HC12-A) will be collecting data from sensors, and these data will be transmitted to other UNO via HC12-B. Are you looking for Transmission/Reception routines? They will be come in into this Forum/Thread from various sources once you start the project and show your efforts.

Good plan.

Although after step 5 and before you can move onto step 6 you need to confirm the HC12s will give you the range you want, its pointless planning the project until you know the chosen equipment will work (in a forest).

Although after step 5 and before you can move onto step 6 you need to confirm the HC12s will give you the range you want, its pointless planning the project until you know the chosen equipment will work (in a forest).

According to data sheet, the range of HC12 is about 1.7 km. Now, comes the question of obstacles; there are always obstacles in the path of radio signals, and those obstacles are to be defeated this way or that way to achieve the target. The Op has to go at the real site with equipment that work; therefore, it is a good opportunity for him to make his whole network operational in the personal Lab.

Thank you for the remarks.

With distances, the context is all important.

If the HC12 quoted range is line of sight, then 1.7km is actually quite poor, and you would then expect the range in a forest to reduce to less than 100m.

The OP needs a range of about 500m; your calculation is about 100m; so, the OP does not have much option to do?

I doubt very much that the HC12 is suitable, its unlikely to have the range.

At the data rates the HC12 operates at the LoRa would go between 8 and 10 times further.

But reading sensors does not need a lot of data, and LoRa has the further advantage that it can use the low data rates needed for reading sensors very effectively indeed, the range then could be around 30 times what a HC12 could manage.

GolamMostafa:
You proceed to help yourself; afterwards, help will come from other sources. Please, start the job --

1. Collect 2 UNOs.
2. Collect 2 HC12 Modules.
3. Connect the modules with their respective UNOs as per instructions of this link.

4. Test the basic functionalities of these modules using the instructions of the above-mentioned link.

5. Now, you have in your hand 2 working HC12s.

6. Now, plan your project -- decide which module (HC12-A) will be collecting data from sensors, and these data will be transmitted to other UNO via HC12-B. Are you looking for Transmission/Reception routines? They will be come in into this Forum/Thread from various sources once you start the project and show your efforts.

The collective efforts of the Forum Members will make your project successful!!

(You may also visit this link for some idea on developing data communication routines between two HC12s.)

Thanks bro

srnet:
I doubt very much that the HC12 is suitable, its unlikely to have the range.

At the data rates the HC12 operates at the LoRa would go between 8 and 10 times further.

But reading sensors does not need a lot of data, and LoRa has the further advantage that it can use the low data rates needed for reading sensors very effectively indeed, the range then could be around 30 times what a HC12 could manage.

Thanks bro.
I will definitely learn about LoRa and use it if it fulfills my requirements.