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.
Hi,
The sender send NEC date, but the receiver got UNKNOWN, why?
#include <Arduino.h>
sender (pin3) code:
/*
Define macros for input and output pin etc.
#elif defined(__AVR__) // Default as for ATmega328 like on Uno, Nano etc.
#define IR_RECEIVE_PIN 2 // To be compatible with...
Klaus thanks.
I used Matthew's code works well. that means the wiring and components OK.
I don't see many people works on MCP. I wonder if you can take a look of the code below, that works well, but as long as the line 128 "// mcpDrive();" added, no work at all. why?
#include <SPI.h>
//MCP...
Again,
the address:
byte addressPot0 = 0b00010001; //PIN 9 // To define potentiometer use last two BITS 01= POT 0
byte addressPot1 = 0b00010010; //PIN 6 // To define potentiometer use last two BITS 10= POT 1
and the link here...
Hi,
I am testing a MCP4261 by the code below, got the result measured by a multi-meter with different readings, why?
The pot0 output at: 0 - 2.24 loop;
The pot1 output at: 2.52 - 4.80 loop.
why?
Thanks for help.
adam
#include <SPI.h>
const byte csPin = 2; // MCP42100 chip...
Thanks.
Sorry about the posts.
I changed the 4 pin OLED as LCD, it shown now.
The problem is the LCD doesn't show correctly, the circuit below is a simple PWM generate by Arduino, the LCD didn't show the right value. the value read from pot just show 61 whatever the pot vary. why?
Can you help about this Sub_circuit's simulation please?
const int pwmPin = 12; // assigns pin 12 to variable pwm
const int potcyc = A0; // assigns analog pot input A0 to vary the cyc of pwm
const int potfre = A1; // assigns analog pot input A1 to vary the cfrequency of pwm
void setup() //...
Hi,
I am testing a circuit from:
https://www.instructables.com/Simple-Autorange-Capacitor-Tester-Capacitance-Mete/
and came out so many errors.
#define analogPin 0
#define chargePin 13
#define dischargePin 11
#define resistorValue 10000.0F
unsigned long startTime...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.