Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronic 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.

Register Log in

Pulse count from LDR using AT commands in C language

Status
Not open for further replies.

wesal

Newbie level 2
Joined
Jan 31, 2010
Messages
2
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
Philippines
Activity points
1,300
I need help with our project, it's supposed to count pulses from an LDR and the microcontroller sends an SMS using a nokia6210.
This is how it should work, an LED (connected with a switch) is placed in front of an LDR and the LDR should count how many times the LED was switched on. The problem is the microcontroller sends data that increments even if the LED is switched off.
We need help with the program using AT commands in C. Generally, we need help in the pulse counting from the LDR.. Thank you!

Added after 5 hours 7 minutes:

please, i really need help in this one.. if you can't understand what exactly i need, just tell me and i will explain further.. thank you in advance..
 

bassa

Super Moderator
Staff member
Joined
Jul 15, 2007
Messages
1,811
Helped
191
Reputation
402
Reaction score
153
Trophy points
1,353
Location
Sri Lanka
Activity points
10,198
Hi,

try to connect your output signal of LDR module to interrupt pin of your microcontroller. When it triggers then send SMS

regards
bassa
 

Anuradha1

Member level 2
Joined
Nov 11, 2009
Messages
49
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Location
India
Activity points
1,570
Hello Mr. bassa,

can you pls provide me some sample codes on how to write AT commands using C (in my case it is MikroC )?

I need to send data i have captured using pic16f877a to PC via a Ezurio BSIM2 Bluev tooth module.


Any references are appreciated.

Thank you.
 

bassa

Super Moderator
Staff member
Joined
Jul 15, 2007
Messages
1,811
Helped
191
Reputation
402
Reaction score
153
Trophy points
1,353
Location
Sri Lanka
Activity points
10,198
You may follow the topic https://www.edaboard.com/ftopic379660.html to find how to write AT commands using MikroC using PIC16F877 and also you may search the forum to find more

And also remember that do not post or request the same in the different sections. You get a warning! for that

regards
bassa
 

Anuradha1

Member level 2
Joined
Nov 11, 2009
Messages
49
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Location
India
Activity points
1,570
Hello,

I need to write AT commands in mikroC, so that pic16f877a communicate and transmit data to a bluetooth module.

I have came across the post you have mentioned and thought somebody who have experience in the area (bluetooth+pic+ AT commands) will see my problem and answer it.


Further whats wrong in posting problem where i see potential edaboard members will touch in them?
 

bassa

Super Moderator
Staff member
Joined
Jul 15, 2007
Messages
1,811
Helped
191
Reputation
402
Reaction score
153
Trophy points
1,353
Location
Sri Lanka
Activity points
10,198
Anuradha1 said:
Further whats wrong in posting problem where i see potential edaboard members will touch in them?
Absolutely you can do it but only thing do not post or request the same in different sections. Please read rules, announcements before posting. Cross posts are strongly unwanted so you will get a warning for that and all duplicates will be deleted

regards
bassa
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top