Search:

Type: Posts; User: babar_ali

Page 1 of 7 1 2 3 4

Search: Search took 0.02 seconds.

  1. [PIC]Closed: Re: convert Hours + Minutes BCD to minutes Hex word

    try out this



    char bcd2bin(char bcd_value) // Input range - 00 to 99.
    {
    return ((bcd_value & 0x0f) + (((bcd_value >> 4) & 0x07) * 10));
    }
  2. [PIC]Closed: Re: Variable status after Wake up from sleep - 10F200

    Hi,



    After reading the code you pasted I have a question where in your code "pin wakes up the controller"? there is no interrupt service routine, no watch dog timer configured? How the devices...
  3. [PIC]Closed: Re: Variable status after Wake up from sleep - 10F200

    Hello,

    The variables will be unchanged. In Sleep mode, the operation of a PIC microcontroller is suspended and the clock oscillator is switched off. The power consumption will be low how ever the...
  4. Replies
    5
    Views
    1,271

    [PIC]Closed: Re: Analog To Digital Conversion

    Hi,

    did you checked the output of temperature sensor via multimeter or oscilloscope? did it changed when you varied the temperature. if this is working post your code or may be configuration of...
  5. [PIC]Closed: Re: controlling timing accurately for fixed duty cycle variable period

    Hi,

    Get it started and simulate your code on MPSIM and Proteus. You can start projects using assembly language and with the most basic experiment of LED blinking. With PIC16F devices be careful...
  6. Replies
    8
    Views
    5,542

    [ARM]Closed: Re: STM32, FatFS and NandFlash ?

    You have to read the Chan's FATFs page.the FatFs library definitely works but It depends on how RAM is available on LPC2148.
    cheers
  7. Replies
    8
    Views
    5,542

    [ARM]Closed: Re: STM32, FatFS and NandFlash ?

    There are a lot of resources for FATFs. Have a look at the CHAN FATFs library. For nand Flash you have to read the datasheet for the specific microcontroller; have a look at Flexible static memory...
  8. Replies
    19
    Views
    34,822

    Closed: Re: I2C problem on STM32 (can't generate a start)

    Well here is my I2C code. Its works perfectly on stm32f407


    void I2C3_init(uint32_t I2C_baudrate)
    {
    I2C_InitTypeDef I2C_InitStructure;
    I2C_DeInit(I2C3); // Deinit I2C3
    // configure I2C3 ...
  9. Replies
    0
    Views
    1,854

    Closed: STM32F407 DCMI data to SDIO

    Hello Guys!

    I am Working with DCMI data to SDIO using STM32F4 microcontroller. In this project I have to capture image (1 Frame only) and store it to SD/MMC.
    Some parameters

    Pixel clock =...
  10. Replies
    2
    Views
    1,291

    Closed: Re: NRF24L01+ 2.4GHZ Module Transmission Types

    Hi,

    Go to this web
    http://blog.diyembedded.com/ and read tutorials. NRF24l01 has huge amount of registers to configure. Also this IC works with SPI protocol.

    Enjoy!!!
  11. Replies
    4
    Views
    856

    [SOLVED]Closed: Re: Working on STM32 these days.

    Hi, have patience if you are new to this device. This happens when the hardware architecture and documentation is not fully read/understood. Any how, Read the following web pages. I hope they will...
  12. Replies
    4
    Views
    856

    [SOLVED]Closed: Re: Working on STM32 these days.

    Hello, Yes working with stm32f103 and IAR embedded workbench from last three months. What do you want to ask?
  13. Replies
    1
    Views
    1,542

    Closed: Re: max485 recieve mode problem

    Hello!!! Read the document this will help you.

    http://www.ti.com/lit/an/slla272b/slla272b.pdf

    Enjoy!
  14. Closed: Re: Problem regarding DS1307 RTC using with I2C in 89c51 for generating clock (SCL)

    Hello,
    The above code looks fine. Where is the main file? How are you sending commands to the device? There is no issue with the clock rate. Even you can read the device at 10Kb/s rate.

    Enjoy!!!
  15. Replies
    14
    Views
    2,356

    [PIC]Closed: Re: Connecting temperature sensor on i2c c18 and ccs

    You must be aware of I2C protocol. I normally use 100Kb/s transfer rate. To do this you must read out the formula in microcontroller datasheet to set this rate. for pic18f25x i use the following...
  16. Replies
    14
    Views
    2,356

    [PIC]Closed: Re: Connecting temperature sensor on i2c c18 and ccs

    Hello

    Why are you putting delays at the end of each command for I2C comunication i.e.
    i2c_start(); delay_ms(50); . During the communication stop using printf. Once you are done with...
  17. Closed: Re: How to start learning embedded Linux development?

    Can you suggest some of these books. There is a lots of material available on internet which one to follow first.
  18. Closed: How to start learning embedded Linux development?

    Hello every one,

    I am a beginner to Embedded Linux. Have 3+ years of Hardware and microcontroller firmware development in Assembly and C. My question is for those who have some experience in...
  19. Closed: Re: How to count No.of event occur on port pin

    Well here are some popular solutions.
    1. Use Timer in counter mode. configure accordingly to edge detection required
    2. Poll the pin continuously
    3. Use external interrupt (set according to...
  20. Replies
    15
    Views
    1,519

    [SOLVED]Closed: Re: how to address an eeprom...

    Hello!

    Answer of all of the above questions are present in datasheet.:|

    Enjoy!!!
  21. Replies
    3
    Views
    617

    Closed: Re: Help me select photo darlington.

    You can Google for that specs, I haven't seen an opto darlington array with these specs. Any how I hope following links could help you finding the right one! If you found one paste the link or part...
  22. Replies
    3
    Views
    617

    Closed: Re: Help me select photo darlington.

    Hello,
    Same problem I faced couple of months ago. I solved this by using the following idea.
    99894

    Enjoy!!!
  23. [PIC]Closed: Re: Reverse programming in PIC micro controllers

    Hello!

    The max you can achieve from the MPLAB IDE is the registers op-code. You have to manually convert it back to C or any other language. For this you have to read the device architecture,...
  24. Replies
    6
    Views
    2,938

    Closed: Re: Is RTC DS1307 can wok as both SPI or I2C?

    at89c51 does not have an i2c interface. What you have to do is make a soft i2c by dedication two pins. Read start, stop, ack and NACK signals in i2c. then you would be able to interface DS1307.
    ...
  25. Replies
    6
    Views
    2,938

    Closed: Re: Is RTC DS1307 can wok as both SPI or I2C?

    DS1307 works only with i2c protocol. for DS1307 programming in C see the attached file. Change the extension of files accordingly. which microcontroller are you using? UART and other files will be...
Results 1 to 25 of 152
Page 1 of 7 1 2 3 4