Hey people i just wanted to share my laest project. Its a 5x7 LED board with only 2 PINS Needed.I wired it up like the 2 wire LCD project thats been going around. The only difference is that instead of 1 SN74ALS174 i used 2 wired to each other so when it shifts it will shift 12 bits instead of 6 bits. Since it is a 5x7 = 5 Columns + 7 Rows to control = 12 bits in total so i guess it worked out 100%. I have posted my code and a picture of it below. I will make a schematic ASAP to post here. I hope this can inspire/help someone out there. At least as a example.
Nice work.But I would simply use a whole port from micro (8 or 7 pins to drive rows).& to drive serial register (column side) I use 2 or 3 pins (74HC164) from micro.This way it looks a good wiring & a nice looking code.
The main reason is so you can have more pins on the uC left over. Like if your using a 8-16 pin uC you still have some left. Wont eat a whole port. I dont have a 74HC164. This works well tho.
Hey i altered the code so you can easily pick a row and set the column. Also added a sample countdown.
Since it take 14 ms to display 1 digit and lets say you want to show it for 2 seconds. You would:
1000ms(1s) / 14 = 71.41 which would be the number of times to show it for 1 secone
71.42 * 2 = 142.84 (142-143) So you would show it about 142 times for a 2 second delay.
I know it was late and this was a quick job, and it is nice. If you have not used them look in to using buses (tool next to net). Also you do not need to show a continous net for every connection. As long as the names are the same they are connected. See A0 on the activity connector under the motor connector.
The attachment upload problems have been fixed. If you upload attachments here they will be around for as long as the forum. Not too sure about photobucket.
cool ill try to see if i can make a bus right now but will be difficult since its 1Q to 2D Can i (re)name the pins? Or just leave it as is without the bus?
cool ill try to see if i can make a bus right now but will be difficult since its 1Q to 2D Can i (re)name the pins? Or just leave it as is without the bus?
1A and 2D are pin names. You can name the net connecting them with either name or come up with a new one that makes sense. The net name will be the same wherever it pops out of the bus.
Here is the new schem. How would i calculate how much current i need to drive these buggers? Should i just calculate like for 1 row of leds since that all that is on at 1 time.
Here is the new schem. How would i calculate how much current i need to drive these buggers? Should i just calculate like for 1 row of leds since that all that is on at 1 time.
That makes sense to me. But then I am a software guy.
On the schematic. I would only use the bus for signals going from the 174's to the display. Use the "ABC" tool to show the name of each net where it enters and leaves the bus. With the nets that stay within the two 174's I would show the nets.
Not a problem. There are a few different ways to draw a schematic. Some are mostly a set of chips with the net names marked on each pin. Some make use of buses. Others show evey connection as in your first schematic.
I took a quick look but did not see any change in the new schematic. You are not showing what is going on around the 174's and there is no bus between the 174's and the display.
Have the signals enter the bus at the 174's and exit and connect to the display circuit parts.
If you want to post the original schematic I will make a few quick changes to show you what I am talking about. Or not.
This is a modified version.
You do not need to add the junctions. You only need to see the dot where wire meets wire not where wire meet component pin.