Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

humidity sensor(dht 11) code to interface with arm microcontroller

Status
Not open for further replies.

sspavithra

Newbie level 4
Newbie level 4
Joined
Jan 6, 2014
Messages
6
Helped
1
Reputation
2
Reaction score
1
Trophy points
3
Visit site
Activity points
33
i need a program for humidity sensor(dht 11) code to interface with arm
microcontroller
 

i dint decide so first help me to write c source code for humidity sensor(dht 11)
 

Hi Pavithra,

Pls check the below link. It has the sample code for PIC microcontroller.

You can use that has reference and change accordingly to your choice of microcontroller.

https://embedded-lab.com/blog/?p=4333

Thanks...

- - - Updated - - -

Also pls check SHT1x(Sensirion) senor which is more accurate than dht11...
 
no i dont need for pic i saw it already tell me a c source code for humidity sensor without using any microcontroller
 
Keeping that as reference you can modify the code for your controller.

Everything cant be spoon fed...Pls apply yourself...
 
help me to write c source code for sim908(gps&gsm) to interface with LPC2138 arm microcontroller
 

Is the hardware ready? i.e have you connected the SIMCOM gsm module with the LPC 2138 controller via RS232?

Also you should take care of powering on of simcom module either by connecting one of the IO pin of the MCU to the gsm module(controlling from MCU) or you can hardwire the power on pin of the module as recommended by the simcom datasheet...

If everything is done to till above, now what you want to do???

C code for what application??
 
hardware is ready but i dint connect it
i need c source for gps and gsm to interface with arm controller (LPC 2138)
 

Can you share the schematic for the reference?

Its a simple RS 232 communications only...

There is no specific C code for that...

Once the MCU is connected with the GSM module then power it ON...

In your MCU, in the RS232 port which you have connected, wait till "CALL READY" comes.

Once this is received, send whatever AT commands followed by ENTER (0x0A), to the GSM module via RS232 and you capture the response from the GSM module...Simple..
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top