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 Projetos_afg

  1. Projetos_afg

    ARM Cortex M0 Assembly

    Hi every one! I have bought the FRDM-KL25Z board wich cames with MKL25Z128VLK4 microcontroller, and since then I have tried to write an simple asm code to write something on GPIO port. I'm using the Keil uVision IDE, and the OPEN SDA debugger that comes on board. First of all I need to enable...
  2. Projetos_afg

    [SOLVED] Overlapped serial comunication

    I discovered the problem. It was that on setup when openning the serial port I was calling GetCommState() function before SetCommState(), so it was overwriting the DCB structure configuration, setting a wrong baud rate value. I fix it and now it's working wonderfully!
  3. Projetos_afg

    [SOLVED] Overlapped serial comunication

    Hi, I'm have been trying to write an code in C++ by using the Win32 API to communicate through the RS232 serial port with equipment. It's a simplex communication (only the equipment sends data in blocks of 289 bytes). I'm using an dedicated thread to read the serial port. Firstly I tried to use...
  4. Projetos_afg

    Sinewave Inverter When adding ADC read in program lowers the switching frequecy

    Try don't use float math with this microcontroller. It takes a lot of processing (the PIC18 architeture has only 8 bits integer multiplication, addition and subtraction).
  5. Projetos_afg

    pic sound recorder using microSD

    Works, but The software doesn't use any file system.
  6. Projetos_afg

    Sinewave Inverter When adding ADC read in program lowers the switching frequecy

    Read from ADC module takes a long time if you compare with the processor speed. Try to use the ADC interruption to avoid this problem.
  7. Projetos_afg

    How to quickly add and subtract in AVR

    Re: AVR addition problem I'm sorry, I forgot the addiction by 6: ;R16 and R17 are bcd digits add R16,R17 ;Binary adition betwen R16 and R17 brhc No_HalfCarry ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;BCD Adjust ldi R18,0x06 ; add R16,R18 ;Add 1 to high nibble ...
  8. Projetos_afg

    How to quickly add and subtract in AVR

    Re: AVR addition problem You can use the Half Carry to do this. Here an simple code: ;R16 and R17 are bcd digits add R16,R17 ;Binary adition betwen R16 and R17 brhc No_HalfCarry ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;BCD Adjust andi R16,0xF0 ;Clear the low nibble ldi R18,0x10 ; add R16,R18...
  9. Projetos_afg

    proteus MMC image file help ?

    Just rename the .bin file to .mmc - - - Updated - - - You will need an external RAM, because the AT89C51 has only 128 bytes of internal general purpose RAM, and you need 512 bytes to read/write one sector. Use a 64KB external RAM and you will be abble to write and read an entire cluster of...
  10. Projetos_afg

    4 Digit 7 Segment Clock

    Instead they say, isn't very diffcult to do this in assembly. It's only displayed seconds and minutes? If yes, all you need to do is use the timer1 to generate an interruption every 5 mili seconds. You will use this timer to scan the displays (to ensure that you will not see the displays...
  11. Projetos_afg

    Help me fix a 89S51/52 programmer

    Re: 89S51/52 prigrammer. What software are you using for this programmer? What error it shows?
  12. Projetos_afg

    Help me fix a 89S51/52 programmer

    Re: 89S51/52 prigrammer. Did you load the firmware of AT89C2051? You will need another programmer to do that (parallel programmer if you use AT89C2051, or ISP programmer if you use AT89S2051).
  13. Projetos_afg

    8051 based Mp3 Player circuit design and C programming source code

    You will need a mp3 decoder ic: https://www.pjrc.com/mp3/sta013.html
  14. Projetos_afg

    how this program work

    You can use a simple R-2R ladder DAC: https://en.m.wikipedia.org/wiki/File:R2r-ladder.png
  15. Projetos_afg

    [SOLVED] IR sensor & LCD problem

    What isn't working? The LCD? The motor? Please describe better your issue.

Part and Inventory Search

Back
Top