EngineersGarage

  • Engineers Garage Main Site
  • Visit our active EE Forums
    • EDABoard.com
    • Electro-Tech-Online
  • Projects & Tutorials
    • Circuits
    • Electronic Projects
    • Tutorials
    • Components
  • Digi-Key Store
    • Cables, Wires
    • Connectors, Interconnect
    • Discrete
    • Electromechanical
    • Embedded Computers
    • Enclosures, Hardware, Office
    • Integrated Circuits (ICs)
    • Isolators
    • LED/Optoelectronics
    • Passive
    • Power, Circuit Protection
    • Programmers
    • RF, Wireless
    • Semiconductors
    • Sensors, Transducers
    • Test Products
    • Tools
  • Advertise
You are here: Home / Topics / ARM, LPC2148 MICROCONTROLLER

ARM, LPC2148 MICROCONTROLLER

|

Projects › Projects › ARM, LPC2148 MICROCONTROLLER

  • This topic has 8 replies, 2 voices, and was last updated 11 years, 5 months ago by Ashutosh Bhatt.
Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • June 18, 2014 at 10:09 am #3123
    varuni
    Participant

    i am not able to build the target for code for overheating alert using arm7 processor given by engineers garage. it gives an error that lcd.h directory or file doesnot exist.pls give me some solution.

    June 18, 2014 at 5:05 pm #11837
    Ashutosh Bhatt
    Participant

    what is ur project? what is ur code? 

    June 23, 2014 at 3:04 pm #11847
    varuni
    Participant

                     The project is “overheating alert in remote areas”, using arm7, which uses  gsm modem  &  temperature sensor  ..If the  temperature  goes beyond the preset value, this gsm,controlled by arm7, is supposed to send the message to the previously stored number

     

                     I got the code from this engineersgarage The code contains  file inclusions for adc,lcd .It contains “lcd.h” “lcd.c”..similarly “adc.h”,”adc.c”..so while building the target  in keilmicrovision4 ,for the main code,i am getting confused ..whether to create the target  for  “lcd.h and adc.h”?or for “adc.c and lcd.c” and then  convert them to hex file and then include those files??! 

     

    shall i paste the whole code in  this reply column?Am  i allowed to paste here?  if not ,should i mail it to you? if so pls mention your mail id..

     

    thanks

    June 25, 2014 at 9:20 am #11850
    Ashutosh Bhatt
    Participant

    these are files required to handle ADC and LCD. there will be one main program file in which the functions of these files are used.

    you have to make one main program file in KEIL.

    then in the same folder you have to copy-pest adc.c, adc.h, lcd.c and lcd.h all files.

    in the main file include lcd.h and adc.h as

    #include “adc.h”

    #include “lcd.h”

     

    see if this solves your problem

    June 25, 2014 at 12:15 pm #11852
    varuni
    Participant

    Ok..got to know…thanks

    June 26, 2014 at 4:22 pm #11858
    varuni
    Participant

                      In that same code, i am not getting understood ,what is the preset temperature value,over which if it goes ,the gsm needs to send the message.

                      lm35 is used whose range is -55deg to 150deg  and is linear with temp in degree celsius..its sensitivity is .01v/deg

     

     

    int main (void) 
    {
    .
    .
    .
    while(1)
    {
    x=process_adc();//Read ADC value and display it on first line of LCD
    wait(30);
    if(x>300)
    {
    string=”AT+CMGS=”;
    while(*string != ‘’)
    {
    while(!(U1LSR & 0x20));
    U1THR=*string;
    string++; 
    wait(3);
    }
    .
    .
    .
     and so..
     
    so does this “if(x>300)” indicates the threshold value as  300deg?  as  the “process_adc()” gives us the adc value  ??but lm35 can measure upto 150deg. so can i just  change it to the temp within its range? 
     
     
     
    June 27, 2014 at 5:27 pm #11861
    Ashutosh Bhatt
    Participant

    Actually ADC gives digital value. That has to b converted into equivalent analog. Also the sensor op rsnge has to be calibrated.

    June 30, 2014 at 6:52 am #11865
    varuni
    Participant

    i am interfacing lm35 to lpc2148 using mcb2140 development board. in this project whwn the temp goes beyond a certain value i want the speaker to sound as well as message must be sent to mobile using gsm.how to get sound from the speaker?

    what are the connections to be made on the board.please specify the jumper connections. please help us out

    July 1, 2014 at 10:12 am #11868
    Ashutosh Bhatt
    Participant

    i dont know about this development board.

  • Author
    Posts
Viewing 9 posts - 1 through 9 (of 9 total)
  • You must be logged in to reply to this topic.
Log In

RSS Recent Posts

  • mechanism to shutdown feeding when sensor temperature rises December 9, 2025
  • Want Thermal Camera with Fixed Thermal Span option December 8, 2025
  • Bad design , bad maintenance or just how it was. December 8, 2025
  • Looking for single photovoltaic cells for light gate December 8, 2025
  • Sanity Check – Peltier "Cooler" for Heating and Cooling December 8, 2025

Stay Up To Date

Newsletter Signup
EngineersGarage

Copyright © 2025 WTWH Media LLC. All Rights Reserved. The material on this site may not be reproduced, distributed, transmitted, cached or otherwise used, except with the prior written permission of WTWH Media
Privacy Policy | Advertising | About Us

Search Engineers Garage

  • Engineers Garage Main Site
  • Visit our active EE Forums
    • EDABoard.com
    • Electro-Tech-Online
  • Projects & Tutorials
    • Circuits
    • Electronic Projects
    • Tutorials
    • Components
  • Digi-Key Store
    • Cables, Wires
    • Connectors, Interconnect
    • Discrete
    • Electromechanical
    • Embedded Computers
    • Enclosures, Hardware, Office
    • Integrated Circuits (ICs)
    • Isolators
    • LED/Optoelectronics
    • Passive
    • Power, Circuit Protection
    • Programmers
    • RF, Wireless
    • Semiconductors
    • Sensors, Transducers
    • Test Products
    • Tools
  • Advertise