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 FenTrac

  1. F

    [SOLVED] i need help making a 24 h adjustable digital clock with 74192 and 7447 and 7 segment on Proteus

    The 74LS172 is a synchronous counter, not an asychronous counter. All 4 of the Q outputs should change at the same time. I put together the 4 counters and AND gates from circuit shown, less the resistors, capacitors, 74LS47 decoders and 7 segment displays, on a breadboard and it works fine using...
  2. F

    Blue Pill vs Arduino

    If The STM cube IDE looks horrifying, you could look into using the Arduino IDE to program it. https://www.instructables.com/Getting-Started-With-Stm32-Using-Arduino-IDE/
  3. F

    Why calling it 'impedance' ?

    Impedence is where you get to use the pythagorean theorem from math class. Impedence is eqial to the hypotenuse of a right triangle with one leg equal to resistance and the other leg the reactance, either capacitive reactance or inductive reactance to alternating current. If the reactance is 0...
  4. F

    Complementary PWM

    In the Arduino IDE, under "sketch-include library-manage libraries" try a search for esp32motorcontrol. https://www.arduino.cc/reference/en/libraries/esp32motorcontrol/
  5. F

    [SOLVED] atemga328p timer0 TCCR0A, TCCR0B bits configuration

    Yes, it is more simple. The trade off is that using the shift method with the name of the bit shows the name of the bits you are setting. One could include the explanation in comments instead to indicate this.
  6. F

    [SOLVED] atemga328p timer0 TCCR0A, TCCR0B bits configuration

    WGM01, CS01, CS00, and OCIE0A are names of individual bits in the corresponding 8 bit registers. Each of these bits is defined as a number from 0 to 7 that corresponds to the bit in the register it represents. This is defined in an #include file for the appropriate microcontroller. So shifting...
  7. F

    Development tool and IDE for ATmega328 in Assembly coding

    There is another quick and easy way to program an Arduino in assembly language, that does not require any additional software. That is to use in-line assembly language in the Arduino IDE, in a normal sketch. Here is a quick blink example sketch that has the C functions commented out followed by...
  8. F

    ESD protection

    Look at a CG0603MLC-05E varistor. This is used on USB D+ and D- on Arduino Uno R3 in series with a BLM21 inductor to USB ground.
  9. F

    8051 - UART receive using Assembly language and simulation on Proteus problem

    The .hex file has the same code. It looks like there is a preamble that is probably there for the simulator at address 0800, that then jumps to code listed as being at 0000 for the simulator to run. :03 0000 00 02 08 00 -crc-F3 :0C 0800 00 78 7F E4 F6 D8 FD 75 81 07 02 00 00 -crc-47...
  10. F

    8051 - UART receive using Assembly language and simulation on Proteus problem

    I ran your code on an AT89C51ED2 board, and it works on it also. It may be a problem with the simulator. You might try using the actual address of P3.5 which is 0x0085, instead of the EQU statement to define TEST. cpl 0x85 You could post the .hex file from the assembler to check that the...
  11. F

    8051 - UART receive using Assembly language and simulation on Proteus problem

    I ran the code on an 80C31 board with an LED connected to P3.5 and it worked when I ran it with the 80C31 connected through a USB to TTL adapter using a terminal program. The LED turned on when a key was pressed. The program will just do this one time, because there is no loop to run. Not...
  12. F

    8051 - UART receive using Assembly language and simulation on Proteus problem

    ORG 00H; LJMP MAIN; TEST EQU P3.5; ; TEST equals PORT3 bit 5. WILL this code ever be run??? the program jumps over it MAIN: MOV TMOD,#20H; ; TMOD: timer 1, mode 2, 8-bit reload MOV TH1,#-3; ; TIMER 1 baud rate reload value MOV SCON, #50H; ; MODE 1, 8...
  13. F

    [PIC] Assembly Code inside MicroC program

    A microchip document talking about inline assembly code with XC8. https://onlinedocs.microchip.com/pr/%20GUID-BB433107-FD4E-4D28-BB58-9D4A58955B1A-en-US-1/index.html?GUID-DBDD9691-4F5C-4DBB-82D1-81F949CE8CAA
  14. F

    3"5 320x480 LCD TFT with ILI9486 mainly used with ARDUINO

    You should be able to find Arduino (AVR microcontroller) libraries for the display that are written in C. The library will not be written for the PIC microcontroller, so it would need to be modified to work with your target Microcontroller. How hard is it to do this? The library will have the C...
  15. F

    [SOLVED] asm to hex file Source file not found: (no file)!

    Until we know which AVR is being used, the include file m328Pdef.inc is just a guess. It does include the definition for "EICRA" however. As the error indicates the problem with the line of code using the OUT instruction is that the address of the operand needs to be in the range of 0x0 to...

Part and Inventory Search

Back
Top