Show Posts
Pages: 1 [2] 3 4 ... 8
16  Using Arduino / General Electronics / Re: 555 IC on: October 05, 2011, 11:25:36 am


In the bistable circuit above, can I trigger the threshold pin instead of the reset pin in order to put the output back to LOW?
17  Using Arduino / General Electronics / Re: 555 IC on: October 05, 2011, 11:06:20 am
oooo, TQ, now I understand the 555, TQ very much. One more thing, is the short you mentioned short circuit?
18  Using Arduino / General Electronics / Re: 555 IC on: October 05, 2011, 10:44:46 am
Can't a capacitor be charged like that ? attached
19  Using Arduino / General Electronics / Re: 555 IC on: October 05, 2011, 10:29:39 am
I've seen the internal of it. How can a capacitor be charged? (I'm still basics on electronics)

How does the internal of the flip-flop work? (Internal circuit attached.) When the reset is HIGH, Qnot is HIGH, when the set is HIGH, Q is high, right? What do I still need to know?
20  Using Arduino / General Electronics / Re: 555 IC on: October 05, 2011, 10:17:07 am
Does that mean that if the trigger pin is triggered, it will block pin 6 and 7 and finally the capacitor get to charge. Before, the capacitor can't be charged because pin 6 and 7 is open, the charged current and current from the Vcc is flowing through it. Is it right?
21  Using Arduino / General Electronics / Re: 555 IC on: October 05, 2011, 10:08:52 am


So when the 555 is connected like above (monostable mode), will the capacitor be charged when the circuit is powered on? how will the current flow? Is the voltage after the resistor smaller than 2/3 Vcc?
22  Using Arduino / General Electronics / 555 IC on: October 05, 2011, 08:33:13 am


According to the Monostable circuit of the 555 IC as provided in Wikipedia, shouldn't the capacitor be charged and pin 6+pin 7 in LOW ? Until the capacitor is fully charged, only pin 6 and 7 will be in HIGH, right/wrong? Having trouble understanding the 555 IC.
23  Using Arduino / General Electronics / Re: 74HC165 on: October 05, 2011, 01:47:34 am
How can a 74HC165 encode 8 inputs and transfer the data through a RF module and decoded by a 74HC595 and finally to the output ? Both IC's have latch/load and clock pins, it's quite complex to just transfer a byte. You need to put the 165's load pin to LOW, trigger the 165's clock pin, put the 595's latch pin to HIGH, trigger the 595's clock pin, then put the 595's latch pin back to LOW in order to read the 8-bit binary data.

Or any paired 74 series IC that can do the job?
24  Using Arduino / General Electronics / USB Joystick on: October 04, 2011, 11:19:35 am
What kind of signal/data does a joystick transfer to the computer? Can I decode it with an Arduino or any IC?
25  Using Arduino / General Electronics / Re: 74HC595 on: October 04, 2011, 10:50:45 am
What is the use of the clock pin? It is triggered after every shiftOut right?
26  Using Arduino / General Electronics / Re: 74HC165 on: October 04, 2011, 08:55:27 am
Thanks. One more thing, does that mean that the Arduino is collecting binary data every 1 microseconds?
Quote
Code:
int readShift() {
  //Pulse the latch pin
  //set it to 0 to collect parallel data
  digitalWrite(latchPin,0);
  //wait
  delayMicroseconds(1);
  //set it to 1 to transmit data serially  
  digitalWrite(latchPin,1);

  //while the shift register is in serial mode
  //collect each shift register into a byte
  //the register attached to the chip comes in first
  return = shiftIn(dataPin, clockPin);
}

If that what's it mean, can I make the sketch:

Code:
void loop(){
  digitalWrite(loadpin,HIGH);
  shiftIn(datapin,clockpin);
  digitalWrite(loadpin,LOW);
  delayMicroseconds(1);
}
it's the same, right?
27  Using Arduino / General Electronics / Re: 74HC165 on: October 04, 2011, 08:49:53 am
My last question is
Quote
Do I need to put it back to LOW in order to state that it has finished transmitting?
You said
Quote
No.

CE is wired low.

What I meant for my question is referring to the load (latch) pin. Is yours referring to it too?
28  Using Arduino / General Electronics / Re: 74HC165 on: October 04, 2011, 08:45:52 am
Quote
Do I need to put it back to LOW in order to state that it has finished transmitting?
No.

CE is wired low.
Quote

I mean the load(latch) pin. So?
29  Using Arduino / General Electronics / Re: 74HC165 on: October 04, 2011, 08:29:26 am
Do I need to put it back to LOW in order to state that it has finished transmitting? One more thing, Is the Q7 output data or the Q7 with - on top? Is CE connected to LOW or HIGH?

Datasheet: http://www.cytron.com.my/datasheet/IC/74/74HC165.pdf
30  Using Arduino / General Electronics / Re: 74HC165 on: October 04, 2011, 08:17:37 am
What I mean is like when I program a 74HC595 to work, I'd do it like this:
Code:
int data=11;
int clock=12;
int latch=8;
int no=0;
int time;
int alp;

int a=B01111110;
int b=B00010010;
int c=B10111100;
int d=B10110110;
int e=B11010010;
int f=B11100110;
int g=B11101110;
int h=B00110010;
int i=B11111110;
int j=B11110110;

void setup(){
  pinMode(data,OUTPUT);
  pinMode(clock,OUTPUT);
  pinMode(latch,OUTPUT);
}

void loop(){
  time=millis()/1000;
  if(time++){
    no++;
  }
  if(no==10){
    no=0;
  }
  if(no==0){
    alp=a;
  }
  if(no==1){
    alp=b;
  }
  if(no==2){
    alp=c;
  }
  if(no==3){
    alp=d;
  }
  if(no==4){
    alp=e;
  }
  if(no==5){
    alp=f;
  }
  if(no==6){
    alp=g;
  }
  if(no==7){
    alp=h;
  }
  if(no==8){
    alp=i;
  }
  if(no==9){
    alp=j;
  }
  digitalWrite(latch,LOW);
  shiftOut(data,clock,LSBFIRST,alp);
  digitalWrite(latch,HIGH);
  delay(900);
}

Quote
digitalWrite(latch,LOW);
  shiftOut(data,clock,LSBFIRST,alp);
  digitalWrite(latch,HIGH);
  delay(900);
In the quoted code above, I've put it to LOW before every shift and HIGH after every shift. Do I do it the same to the load (latch) pin when programming the 74HC165?
Pages: 1 [2] 3 4 ... 8