Home
Prox / RFID
Verichips
Ladder Logic
[interfacing] †
Tube Joints
Key Code From Photo
SolveSpace (3d CAD)
SketchFlat (2d CAD)
Photographs
Miscellany
Resume / Consulting
Contact Me

LDmicro Forum - ATmega328 UNO R3 problem

(you are viewing a thread; or go back to list of threads)

ATmega328 UNO R3 problem (by Fabian)
All physical incoming contacts if NO in the program (and simulated correctly) are NC after downloading to Arduino.

why?

thanks
Sat Jan 29 2022, 22:36:03
(no subject) (by calubert)
Change the contacts on LDMicro from NC to NO, as you may have pulldaun resistors on the Arduino board.
This happens because one board works with positive inputs and others work with negative inputs (for example, in European vehicles, they have a negative to the chassis and in Japanese vehicles they have a positive to the chassis = PNP/NPN.

In a nutshell, your LDMicro program works fine, but the logic you end up with is the opposite of what you want.

Cambia los contactos en LDMicro en NC a NA, ya que puede tener en la placa Arduino loas resistencias en pulldaun.
esto sucede porque una placa trabaja con las entradas a positivó y otras trabajan a negativo su entrada (un ejemplo en vehículos los vehículos europeos tienen el negativo a chasis y en vehículos japoneses tienen positivo a chasis = PNP/NPN.

En pocas palabras tu programa de LDMicro actúa bien pero la lógica que tienes al final es la contraria que tu quieres.
Sun Jan 30 2022, 07:29:04
Post a reply to this comment:
Your Name:
Your Email:
Subject:
(no HTML tags; use plain text, and hit Enter for a line break)
Attached file (if you want, 5 MB max):