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.

Recent content by amirtafrishi

  1. A

    ADC Of LPC1768 cortex-m3 interface with CNY70

    Thanks,Dear Alexan & other friends.... :) problem solved........! :D
  2. A

    ADC Of LPC1768 cortex-m3 interface with CNY70

    Thanks for ur attention. I've changed my functions but again there is no sign of improvment.Could u please give me sources for If Function ? I think my If function doesn't works . OR maybe I should have any kind of delay? This is my latest program : #include "lpc17xx.h" #include "type.h"...
  3. A

    ADC Of LPC1768 cortex-m3 interface with CNY70

    Dear Alexan Yep, It's Got vref Bottom. I plug it on. I thought maybe i miss any connection.you think why my code doesn't recognize the difference between voltages?am i making mistake in If function?
  4. A

    ADC Of LPC1768 cortex-m3 interface with CNY70

    And my code is now like this : L = ADCRead(0); L = (L >> 4) & 0x00000FFF; if ( volt < 1100 ) break; } i put high in ADC(0) but It again jump to blinking loop after resting ....
  5. A

    ADC Of LPC1768 cortex-m3 interface with CNY70

    Thanks for your great attention.exactly you are right, i will do that.Also, Do u see other problems in my code?please inform me.:) - - - Updated - - - I did the what you said but again chip dosnt responde to my if function,I think maybe i have problem in VRefp & verfN.I dont have those sign on...
  6. A

    ADC Of LPC1768 cortex-m3 interface with CNY70

    Thanks for your help dear farhada. I've tried to Learn the process of ADC programming & right now i've faced with confusing problem.I've written below program: i want in this program system firstly show a simple blink is beginning then go & check first ADC(0) of chip if it's high keep in loop...
  7. A

    ADC Of LPC1768 cortex-m3 interface with CNY70

    initially,I am so thankful about your great attention.Yep,You are right, I've connect it exactly like that. actually my biggest problem relates to determining the structure of codes in Keil for example in below code i don't know which function defines ADC & which check them, Could you please...
  8. A

    ADC Of LPC1768 cortex-m3 interface with CNY70

    Thanks for yours greats attention. I used the quick example but again same errors apeared Am i missing any headerfile ?
  9. A

    ADC Of LPC1768 cortex-m3 interface with CNY70

    To be honest, it gives errors on many parts for example it says that most of defines for example LPC_ADC->ADDR0 is undefined.Could u please give me a sample ? For example i looked to keil example which is really complicated & i didn't reach any conclusion then i search net and wrote down this...
  10. A

    ADC Of LPC1768 cortex-m3 interface with CNY70

    Guys i'm new in here and i need help urgently please have look this link i've explain every thing in this topic : https://www.edaboard.com/threads/263290/#post1126867
  11. A

    ADC Of LPC1768 cortex-m3 interface with CNY70

    Guys could u please answer it as quickly as possible i need it urgently :)
  12. A

    ADC Of LPC1768 cortex-m3 interface with CNY70

    To be honest, i need it for line follower robot... for example voltage between 0 to 1.6 it activate port0.0 as high for upper than that make it low. I just want to have this sample for expanding my algorithm as line follower robot. Can u help me with that? Also i've written a program which has...
  13. A

    LPC1768 sample program for ADC

    Hey guys I am using lpc1768 as ADC input for cheking input voltage by keil program but i've faced with problem.actually i'm new in cortex-m3 too.This is my code below.could u please tell my problems in program ?am i need header file becuase of using GPIO? #include "lpc17xx.h" #include "type.h"...
  14. A

    ADC Of LPC1768 cortex-m3 interface with CNY70

    Dear friends I've got one LPC1768 & CNY70 sensor. Could anyone give me a sample example for controlling ADC for CNY70 please? Also I’ve checked keili examples sample but they were so complicated, I didn’t get which Defines are needed for this simple program. I would be thankful if you could help...
  15. A

    Variable Resistor in Line follower IR sensors

    Thanks for your noteworthy advice. One more thing, i want to put .1uf capacitor between v+, GND for each IR sensor for preventing noise do u think it is worth it? - - - Updated - - - Aw... i forgot to ask. I’ve used 220ohm for IR LED but I don't know how choose between 10-22k resistor for...

Part and Inventory Search

Back
Top