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 Noman Yousaf

  1. N

    CCS pic compiler uart programming

    hi all i am using CCS pic compiler. i want to use serial programming. can someone send me the code in which i will simply send 16 bit int and receive to another MCU (PIC16F886). thanks in advance. i am using this code to transmit . it transmits properly but receiving is creating proble...
  2. N

    bit testing problem in mikroC for AVR

    hi all i am using mikro C for AVR. how can i test or edit a bit in a variable int?like i have an 8 bit int "reg" and i want to make bit5 of "reg",hi. or i want to check the bit 5 is hi or low, for both cases, what i have to do? help please.
  3. N

    pic18f2550 based usb project

    thanks all to guide me. need more guideline. can i use arduino usb host shield for my purpose? if yes then can i use shield directly to AVR ATMEGA8 or should use arduino it self with?
  4. N

    pic18f2550 based usb project

    well i want to know if i use PIC18F2550 and attach with barcode scanner via USB and link its UART to computer via RS232 port, can i get the value from scanner to hyper terminal? If yes, then how can i do it? any hint to write code in C or even in assembly? - - - Updated - - - Can i use USB to...
  5. N

    pic18f2550 based usb project

    hi all i want to use pic18f182550 for USB communication. Actually i want to generate my own data stream. I have a joy pad which is USB. first i want to analyse the data, comes from joy pad by pressing several buttons on it then i want to generate same data stream by PIC18F2550. for analyzing, i...
  6. N

    CCS trigonometric calculation

    yes i am looking for int2bcd() sir. i tried the code you sent but i am not expert in C so can you please send complete code?
  7. N

    CCS trigonometric calculation

    ok now next problem is how to convert bcd to decimal? can anybody send code for conversion? (0xffff to 65535) - - - Updated - - - or hex to decimal
  8. N

    CCS trigonometric calculation

    in above code, i may get the right result but how can i get the result in decimal in degrees? means simply please tell any simple code to covert bcd to decimal. (0xff to 255)
  9. N

    CCS trigonometric calculation

    /////////////////////////////////////////////////// #include <16f887.h> #use delay(clock=4000000) #fuses BROWNOUT, HS, NOWDT #fuses NODEBUG, NOLVP, PROTECT float reg1; void cal (void) { reg1 = (3.14/180); } void main() { reg1 = 0x7543; while(1) { cal(); } }
  10. N

    CCS trigonometric calculation

    ok sir. but actually my concern is to calculate trigonometric values and want the result in decimal. like the value of cos45.
  11. N

    CCS trigonometric calculation

    hi when i put the value 0x7543 in an "int16", in RAM that is shown as it is. But when i put 0x7543 in float, it gives an other 32 bit value in RAM which is "866A8D" what does it mean? an i want to calculate trigonometry like cos45*sin90... etc. (in degrees) how can i do it ? urgent help is needed
  12. N

    AVR studio 5 problem for C

    AVR studio 7 is too large and heavy. My computer doesn't support.
  13. N

    AVR studio 5 problem for C

    hi I have used CCS and mikroC as PIC compiler. now i am going to use AVR studio as AVR C compiler. In beginning i am facing a problem about #define. How can i define port as label like i want to use portb.0 as LED output. when i write #define LED PORTB.0 it makes error. what is the right way...
  14. N

    4A low cost H bridge to drive Stepper motor

    i think you can use FET based h bridge instead of IC that can be upto 100s of amps. I have made that by using 75NF75 and IRF4905 FETs.
  15. N

    decimal to hex and hex to decimal conversion in ccs pic compiler.

    hi i simply need to convert decimal (8 bit) to hex in CCS. In mikroC, that is so easy to convert by using "bcd2dec" built in function. but in CCS i think there is no any function like that so how can i do?

Part and Inventory Search

Top