Show Posts
Pages: [1]
1  Using Arduino / LEDs and Multiplexing / Need help: charlieplexed 5-digit button counter on: November 22, 2011, 07:44:44 pm
Hi guys,

I'm constructing a 5-digit button counter that can count up to 99,999. I'll be using 5 charlieplexed 7-segment displays, without drivers or transistors. Attached is a sample of the connection of the 7-segment displays. Is it possible to connect five 7-segment displays without using transistors? I also need help in the code to control all 5 digits. I've seen a lot of sample codes for charlieplexed displays, but it doesn't work with my circuit. How do I control each of the displays? I've only managed to code one 7-segment display. Please help. Thanks. smiley
2  Using Arduino / Installation & Troubleshooting / Error while burning bootloader on: May 24, 2011, 09:20:41 pm
Hey, everyone. I'm trying to burn a bootloader to my ATmega168, using an arduino as ISP, but this error always occurs:

avrdude: verification error, first mismatch at byte 0x0000
         0x3f != 0x00
avrdude: verification error; content mismatch

How do I fix this?
3  Using Arduino / Installation & Troubleshooting / My arduino board could not be recognized anymore on: April 09, 2011, 12:10:57 am
Hi, everyone. My arduino board was working fine before, but now when I connect it to my pc, it is no longer recognized. Windows is saying that the USB device has malfunctioned. Is there a way to fix this? Does this concern the firmware of the board?
4  Using Arduino / LEDs and Multiplexing / Re: Digital Multiplexer and storing and comparing digital inputs on: February 25, 2011, 03:29:42 am
Thanks, Rob. It helped a lot.
5  Using Arduino / LEDs and Multiplexing / Re: Digital Multiplexer and storing and comparing digital inputs on: February 24, 2011, 06:17:07 am
Thanks, Rob.

Next thing I need to know is how to compare each position in the array. Suppose I have an array of:

[0,1,0,1,0,1,1,1]

with the leftmost position being the first or lowest entry, and the rightmost position is the last or highest entry.

I need to select and compare the positions that has 0 binary value, so that I can transmit serially the highest position that has 0 binary value.

Using the array above as example, I need to select the positions that yielded 0 binary value, which are 000, 010 and 100. Then I need to compare them so that I can get the highest position, which is 100, and transmit it serially.

Thanks.
6  Using Arduino / LEDs and Multiplexing / Digital Multiplexer and storing and comparing digital inputs on: February 21, 2011, 06:58:48 am
Hey everyone,

I connected a 74HC151 multiplexer to my arduino board to access a switch matrix, and I'm using a single pin for the digital input from the multiplexer output. How can i store and compare the digital readings of the input? Should I store the readings into an array? Please help. Thanks.
Pages: [1]