Show Posts
Pages: [1]
1  Using Arduino / LEDs and Multiplexing / Re: Control 8 x 7 Segment display. on: January 09, 2013, 03:02:56 pm

Thanks for your help Boffin1.

when i use this code
Code:
  digitalWrite(latch,LOW);
  shiftOut(data,clock,MSBFIRST,B10101010);
  shiftOut(data,clock,MSBFIRST,B11111001);
  digitalWrite(latch,HIGH);

every second Segment shows "1" this is correct but i want to control every single segment for example the first "1" the second "2" ....

I tried also this code

Code:
  digitalWrite(latch,LOW);
 
  shiftOut(data,clock,MSBFIRST,B10101010);
  shiftOut(data,clock,MSBFIRST,B11111001);
   shiftOut(data,clock,MSBFIRST,B01010101);
  shiftOut(data,clock,MSBFIRST,B10010000);
 
  digitalWrite(latch,HIGH);

Now i see the the other segments I think this is also correct, because i overwrite the first Bytes. I don't know how can i control every single Segment.



2  Using Arduino / LEDs and Multiplexing / Re: Control 8 x 7 Segment display. on: January 07, 2013, 02:29:24 pm
Hi JoeN,

thanks for the quick answer.

When i use your code only the last Segment is activ ("O" will be shown).

3  Using Arduino / LEDs and Multiplexing / Re: Control 8 x 7 Segment display. on: January 07, 2013, 11:38:02 am

Thanks a lot for your help.

Now i can write "Hallo"  smiley

But now i have the problem that only "o" will be displayed when i use the delay function.

My Code:
Code:
void loop()
{

 digitalWrite(latch,LOW);
  shiftOut(data,clock,MSBFIRST,1);
  shiftOut(data,clock,MSBFIRST,B10001001);
  digitalWrite(latch,HIGH);
  digitalWrite(latch,LOW);
  shiftOut(data,clock,MSBFIRST,2);
  shiftOut(data,clock,MSBFIRST,B10001000);
  digitalWrite(latch,HIGH);
  digitalWrite(latch,LOW);
  shiftOut(data,clock,MSBFIRST,4);
  shiftOut(data,clock,MSBFIRST,B11000111);
  digitalWrite(latch,HIGH);
  digitalWrite(latch,LOW);
  shiftOut(data,clock,MSBFIRST,8);
  shiftOut(data,clock,MSBFIRST,B11000111);
  digitalWrite(latch,HIGH);
  digitalWrite(latch,LOW);
  shiftOut(data,clock,MSBFIRST,16);
  shiftOut(data,clock,MSBFIRST,B11000000);
  digitalWrite(latch,HIGH);
 
  delay(1000);

}

It works fine without delay function.



4  Using Arduino / LEDs and Multiplexing / Control 8 x 7 Segment display. on: January 05, 2013, 04:06:27 am
Hi Guys,

i want to control my  8x 7 Segment display
The display has 5 input pins VCC, GND, DIO, SCK, RCK.
What is the meaning of Pin SCK, RCK?
My Problem is I don’t know how to control the 7 Segment Display.

For example:
I want to count the First Segment from 0-9.

I don’t know how I can access the first 7 Segment Display

Enclosed a pic from my Segments.


Thanks!
5  Using Arduino / Networking, Protocols, and Devices / Re: Arduino Uno + ITead 2.2 Bluetooth = Sad Newbie on: March 01, 2012, 02:41:18 pm
Hello,


i use the duemilanove Board and the Itead 2.2 Bluetooth Module.

when i use the "test" code i get i can read Test1,Test1 .....but never Test2 and i can't find the shield with my smartphone.

I tried ITEAD BT Debugging Assistant and the ArduinoComamader App.



Pages: [1]