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.

Search results

  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?
  16. N

    interface thermal printer with AVR

    i just wanted to know about standerd communication protocol. is this serial (RS232)? and can i print the characters by entering the rows and columns position. like we do in character dot matrix LCD?
  17. N

    rtc DS1307 problem on mikroC pic compiler

    i did it actually i missed pull-up resistors on SDA and SCL in protues so it was happening.
  18. N

    rtc DS1307 problem on mikroC pic compiler

    hi i am using RTC DS1307 with pic16f887. using very common code for mikro c, avilable on net. problem is when i run the code on debugger, "read_time" routine sticks on "I2C1_start();" can anybody help? code is: // LCD module connections sbit LCD_RS at RB3_bit; sbit LCD_EN at RB2_bit; sbit...
  19. N

    trigonometric functions in mikro C pic compiler problem

    it shows in RAM is 8.5090 ok? when it is multiplied to 2*pi/360 (0.01744), answer is 0.1483 where as its answer must be 0.707 - - - Updated - - - can anyone tell the simplest way to get sin value in degrees? what does mean by the following? i got it from help sin Prototype double sin(double...
  20. N

    trigonometric functions in mikro C pic compiler problem

    hi i want to perform some trigonometric functions in mikroC like get the value of sin90, cos30 etc. i wrote this code but when i run it and watch RAM, values are not correct. even when i do it with float, incorrect values occur. please help long val3; void calculate (void) { val3=sin(90); }...

Part and Inventory Search

Top