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.
hi
please make sure status of server port should be open, pls go through tcp/ip application note
- - - Updated - - -
hi
please make sure status of server port should be open, pls go through tcp/ip application note. your getting this problem because your not able to make connection with...
hi
you mean to say internal microcntroller adc vs externally connected ADC? internal ADC of MCU has limited resolution.if you have high resolution requirment go with external.bt need extra microcontroller pins for interfacing (since external adc need some communication media i.e i/o,spi...
hi
its just trial value I have put , check for your random values and there occurance , put breakpoints and check when no sensor is connected what are values your getting.
when no sensor is connected take values in array and print it so you will get it what exactly conditions you need to put
hi
what is your temperature range ? for example 0 to 40 degree like that?
- - - Updated - - -
you need to decide on adc count if adc counts not in the that perticular range consider it as no temperature probe is connected, or simply impleament one algorithm ,
I can see here your taking...
hi
if you have configure your pin as analog and no sensor is connected so definatly it will give you some random values. controller will not understand that nothing is connected , it will create digital values for whatever it gets as i/p on that analog pins generating continous random values
hi
No, All the I/O lines integrate a programmable pull-up resistor. Programming of this pull-up resistor is performed independently for each I/O line through the GPIO Controllers. After reset, I/O lines default as inputs with pull-up resistors disabled, except when indicated otherwise in the...
hi
yes you can disable , actually MCU has multiplex pin (on single I/O different peripherals can be configured ) to use I/O as GPIO only you need to configure accordingly
check with Peripheral Multiplexing on I/O lines table there you get more info
yes , like when you recieve data it will be in the form of frame for example
ID (some identifier | actual data | LRC or CRC | EOF
check for CRC/ LRC you need to create small algorithm for that CRC sent by transmitter mcu should be same at receiver side, impleament same algorithm both side...
Hi
1) first debugg whether in your controller is sending command , number and massage body correcly i.e check your uart tx reg in debug or at serial window.
2) check at receive pin what youe getting from GSM
3) if everything is fine increase some delay i.e delay_ms(3000); to...
hi
checked with link you provided for the code, in your code check this part. I think when 4 times its executed its setting one event . one counter is there its getting ++ when reaches 4 its setting one event , other task who is waiting for that event i.e. TASK(Led_event) is then getting...
hi
yes I am thinking the same if slave device is any mcu don't care the address on which we need to put data , just take care of collecting data in I2C ISr routine .address may be you can use for just data integrity
//slave side code just example
unsigned char var ; // slave side var to be...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.