<h1>I passed the Discrete Maths unit !!!</h1>
Excuse the enthusiasm, but I just got my results back and it's the hardest thing I've ever done in my life!.
<h1>I passed the Discrete Maths unit !!!</h1>
Excuse the enthusiasm, but I just got my results back and it's the hardest thing I've ever done in my life!.
Great Trent, congrats on passing. We knew you could do it!
Ohm it's not just a good idea... it's the LAW !
Thanks
Getting back to the clock for a moment - I've had it running for 24hrs so far and its gained 3 secs. Anyone have any thoughts on how to improve its accuracy?
Converting the display project to a clock was a really nice idea.
I think i will be making it sometime.
About the clock gaining 3 sconds in 24hrs, using Darrels's instant Interrupts system will keep it within 0.5 sec a day.
I've tried making clocks with the PBP interupt system but i faced the same accuracy problem.
Dear Trent, can't you at least post a big rezolution picture of the circuit's pcb, of the logical part, not of the led's? 10q
I HAVE posted a big picture of the PCB with more than adequate resolution. See post #15 http://www.picbasic.co.uk/forum/atta...4&d=1177471027
Check this out: http://www.symmttm.com/pdf/NYTimes_T...p_09-30-04.pdf
Atomic clock has accuracy of +/- 1 sec over 30 million years.
I've got some much better accuracy now. Not exactly sure how much - only time will "literally" tell!
Here's what I've done to improve things:
<ul>
<li>TMR0 pre-scaler remains @256</li>
<li>TRM0 always starts with 12 dec (256 x 244) = 62.464 mS</li>
<li>Now, it takes 16 overflows of the timer for 0.999424 S to elapse</li>
<li>This is short of 1 sec by 576 uS</li>
<li>Adding 36 nops to each overflow (36 x 16 = 576 uS) compensates this</li>
<li>The crystal now completely defines accuracy</li>
</ul>
Last edited by T.Jackson; - 4th June 2007 at 06:08.
Why don't you put it off for a while - I'm actually planning on doing a KIT for a similar project to this. (Much, much better circuit that does more than just scroll a message) Plus, everything will mount on one large double sided through hole plated board w/silk screen printing on both sides. It will use 8 LED modules rather than the individual LEDs. Today I found a good source for low-cost PCBs. Basically, at the moment, Im in the "planing phase" of things with it, it'll be at least a year away, I need to save up some funds.
i made the pcb in orcad layout, but it doesen`t WORK !!! . Tell me the problems... plsssss. And the led should lit when the serials cable+ 5v cable is connected to the board or not? or when the 5v cable is connected?
On the link you can see the board... The caps than are not shown i have reposition them... the picture has made without them...
http://www.zamfirelu.org/led/fata.jpg
Last edited by magu; - 7th June 2007 at 13:47.
Magu I am also beginner....but I think you are asking something but you ask somtehing that too general and may be too hard for you to chew one shot.
Why not you create a simple flashing LEDs 1st.
Be familiar with with the PIC 1st. The Circuit and PIC Basic Pro Language 1st.
Then once successful you can start troubleshooting this project why not you try to always on all the row 1st and cascade the counter.
Just high all the Rows 1st.
TRISA = %00000000
TRISB = %10000000
'Variables...
ColPosition VAR BYTE
ClockColsCounter VAR PORTB.6
ROW1 VAR PORTA.2
ROW2 VAR PORTA.3
ROW3 VAR PORTB.4
ROW4 VAR PORTB.3
ROW5 VAR PORTB.0
ROW6 VAR PORTB.2
ROW7 VAR PORTB.1
ResetColsCounter VAR PORTB.5
'Reset 4017 counters
ResetColsCounter = 1
Pause 100
ResetColsCounter = 0
ROW1 = 0
ROW2 = 0
ROW3 = 0
ROW4 = 0
ROW5 = 0
ROW6 = 0
ROW7 = 0
Matchmode:
ColPosition=0
ROW1 = 1
ROW2 = 1
ROW3 = 1
ROW4 = 1
ROW5 = 1
ROW6 = 1
ROW7 = 1
CascadeCounter:
For ColPosition = 0 to 37
PULSOUT ClockColsCounter,100 'to create a PWM for 4017 counter clock
Next ColPosition
Goto Matchmode:
END
Do not think to fetch the data from the EEprom 1st.
By doing this you know that your circuit is ok. (power supply, micro and driver is ok)
Then you can start deal with the EEPROM.
Just Try a basic thing 1st once you verified the basic thing works then you go to the harder thing.
Nobody can help you if you just keep ask general thing why it doesn't work.
Last edited by fazan83; - 12th June 2007 at 09:32.
Hi Mr. Magu,
Welcome to the MELabs PICBASIC Forums.
We are a diverse group of people.
There are people of all levels of capability, and reasons to be members of this forum.
The common thread, in general, is PIC chips, PICBASIC (PBC) and PICBASIC Pro (PBP) code, and electronics related to the same.
Nobody is paid to moderate, read or reply to members posts.
There is no one assigned to solve problems.
Some of the members help greatly by posting projects and project ideas. Some, help by answering other member’s PBC or PBP questions. Mostly the knowledgeable members spend hours of their time answering thousands of questions. They do this without pay, without gain. Just to help each other out. I learn every day.
Skimask and Trent and the others have replied to your post repeatedly. The common reply to you is: Start smaller. Gain experience. Work your way up circuit complexity. Work your way up programming complexity. Gain an understanding of the process, and the method.
You don’t want to invest the time and effort. We understand you have invested a great amount of time, effort, energy, money, frustration. Because, you have “hardwired” the completed circuit, you are reluctant to test a piece of the circuit at a time. You would have to pull the completed project apart, or buy new duplicate parts. This is a real problem for you.
Fakhzan (fazan83), was nice enough to write special code for you, to help you, find the problem. He took the time to write the code, and explain the process, to start you on the “trouble shooting” process. This is a brilliant “way around” your dilemma. Test the finished project, with a custom testing program. Great idea Fakhzan!
If you would consider what these knowledgeable, engineering professionals would receive in compensation (pay) for the same number of hours consulting or engineering. These people have invested more into answering your questions, for your project. They don’t have a problem. You have a problem. Demanding that others answer your problems, while refusing to even try any of the suggestions, shows that you, obviously have no idea how this great forum works.
So my suggestion to you:
Start smaller.
Gain experience.
Work your way up circuit complexity.
Work your way up programming complexity.
Gain an understanding of the process, and the method.
Added:
Gain an understanding of the forum, and how it works.
Read previous posts, for hours.
The main problem seems to be, you are one project oriented, and focused. The forum is focused on always learning a little more then we already know. Step by step, never giant jumps in knowledge. Build projects a little more complex each time.
If you wanted a scrolling LED sign that works “right out of the gate”, you should have just bought the commercial, finished product, that Trent linked to. That is not what the forum is all about.
If the project worked for Trent and others, it is impossible for anyone, to just tell you why your project is having trouble. You are the doctor with the patient. If you built it. If you programmed it. You must “trouble shoot” it. Refusing to consider helpful suggestions, demanding help, is not the correct path.
We are sorry that your project is causing you pain. I think most of us have been there, “a project too far”. A project that was too big for our experience. When it didn’t perform, we had no idea what to do. A costly mistake in time and money, but a lesson learned. Then, we can come to the forum, with advice for others, to not do the same.
-Adam-
Ohm it's not just a good idea... it's the LAW !
i have a relativy simple question about the montage of the board. The ELECTRO CAPS where do i have to place them?
and for those who had build the proj and it work. I think the HEX is incorrectly. do you program the PIc plug it on the board, next plug the eeprom and start.? there are ben no problems?
Hi Magu,
I got your private message.
We will test the board based on these schematics and pictures:
Display Schematic.pdf (Post #1 of this thread).
Controller Schematic.pdf (Post #1 of this thread).
Your picture lm.jpg
In this post we will test the 245 LEDs and all the transistors.
Before we test the LEDs:
Code:Remove all the ICs from their sockets with the exception of the 5V regulator 7805 which must remain soldered on the PCB. (Put the ICs into antistatic bags). Replace the seven 18 ohm resistors with seven 180 ohm resistors. (See Display Schematic.pdf). This step is mandatory!!!!!!!!! Solder two insulated wires (about 50 cm each) to +5V and at the other end of the wire solder a 1k (1000 ohm) resistor. +5v-----------------------------/\/\/\-- (P1) (50 cm insulated wire) 1k resistor. +5v-----------------------------/\/\/\-- (P2) (50 cm insulated wire) 1k resistor. The end of the first resistor will be called "P1" in the instructions I will post in this thread. So put a label on that resistor and write on it "P1". Do the same for the second wire and write "P2" on the label.Code:TEST 1 T1/Step 1: Apply 12V DC to the input of the voltage regulator and measure the voltage on its output which should be between 4.9 and 5.1V.Code:TEST 2 T2/Step 1: All the ICs must be removed from the sockets, with the exception of the 5V voltage regulator. The seven 18 ohm resistors must be replaced with 180 ohm resistors. In TEST 2 will will test all the LEDs driven by ROW1. Connect P1 to the socket IC1/PIN1 (ROW1). T2/Step 2: Connect P2 to the socket IC7/PIN7 (COL35),verify the LED. T2/Step 3: Connect P2 to the socket IC7/PIN4 (COL34),verify the LED. T2/Step 4: Connect P2 to the socket IC7/PIN2 (COL33),verify the LED. T2/Step 5: Connect P2 to the socket IC6/PIN9 (COL32),verify the LED. T2/Step 6: Connect P2 to the socket IC6/PIN6 (COL31),verify the LED. T2/Step 7: Connect P2 to the socket IC6/PIN5 (COL30),verify the LED. T2/Step 8: Connect P2 to the socket IC6/PIN1 (COL29),verify the LED. T2/Step 9: Connect P2 to the socket IC6/PIN10 (COL28),verify the LED. T2/Step 10: Connect P2 to the socket IC6/PIN7 (COL27),verify the LED. T2/Step 11: Connect P2 to the socket IC6/PIN4 (COL26),verify the LED. T2/Step 12: Connect P2 to the socket IC6/PIN2 (COL25),verify the LED. T2/Step 13: Connect P2 to the socket IC5/PIN9 (COL24),verify the LED. T2/Step 14: Connect P2 to the socket IC5/PIN6 (COL23),verify the LED. T2/Step 15: Connect P2 to the socket IC5/PIN5 (COL22),verify the LED. T2/Step 16: Connect P2 to the socket IC5/PIN1 (COL21),verify the LED. T2/Step 17: Connect P2 to the socket IC5/PIN10 (COL20),verify the LED. T2/Step 18: Connect P2 to the socket IC5/PIN7 (COL19),verify the LED. T2/Step 19: Connect P2 to the socket IC5/PIN4 (COL18),verify the LED. T2/Step 20: Connect P2 to the socket IC5/PIN2 (COL17),verify the LED. T2/Step 21: Connect P2 to the socket IC4/PIN9 (COL16),verify the LED. T2/Step 22: Connect P2 to the socket IC4/PIN6 (COL15),verify the LED. T2/Step 23: Connect P2 to the socket IC4/PIN5 (COL14),verify the LED. T2/Step 24: Connect P2 to the socket IC4/PIN1 (COL13),verify the LED. T2/Step 25: Connect P2 to the socket IC4/PIN10 (COL12),verify the LED. T2/Step 26: Connect P2 to the socket IC4/PIN7 (COL11),verify the LED. T2/Step 27: Connect P2 to the socket IC4/PIN4 (COL10),verify the LED. T2/Step 28: Connect P2 to the socket IC4/PIN2 (COL9),verify the LED. T2/Step 29: Connect P2 to the socket IC3/PIN9 (COL8),verify the LED. T2/Step 30: Connect P2 to the socket IC3/PIN6 (COL7),verify the LED. T2/Step 31: Connect P2 to the socket IC3/PIN5 (COL6),verify the LED. T2/Step 32: Connect P2 to the socket IC3/PIN1 (COL5),verify the LED. T2/Step 33: Connect P2 to the socket IC3/PIN10 (COL4),verify the LED. T2/Step 34: Connect P2 to the socket IC3/PIN7 (COL3),verify the LED. T2/Step 35: Connect P2 to the socket IC3/PIN4 (COL2),verify the LED. T2/Step 36: Connect P2 to the socket IC3/PIN2 (COL1),verify the LED.The text was too large for one post. See next two posts for the rest ofCode:TEST 3 T3/Step 1: All the ICs must be removed from the sockets, with the exception of the 5V voltage regulator. The seven 18 ohm resistors must be replaced with 180 ohm resistors. In TEST 3 will will test all the LEDs driven by ROW2. Connect P1 to the socket IC1/PIN2 (ROW2). T3/Step 2: Connect P2 to the socket IC7/PIN7 (COL35),verify the LED. T3/Step 3: Connect P2 to the socket IC7/PIN4 (COL34),verify the LED. T3/Step 4: Connect P2 to the socket IC7/PIN2 (COL33),verify the LED. T3/Step 5: Connect P2 to the socket IC6/PIN9 (COL32),verify the LED. T3/Step 6: Connect P2 to the socket IC6/PIN6 (COL31),verify the LED. T3/Step 7: Connect P2 to the socket IC6/PIN5 (COL30),verify the LED. T3/Step 8: Connect P2 to the socket IC6/PIN1 (COL29),verify the LED. T3/Step 9: Connect P2 to the socket IC6/PIN10 (COL28),verify the LED. T3/Step 10: Connect P2 to the socket IC6/PIN7 (COL27),verify the LED. T3/Step 11: Connect P2 to the socket IC6/PIN4 (COL26),verify the LED. T3/Step 12: Connect P2 to the socket IC6/PIN2 (COL25),verify the LED. T3/Step 13: Connect P2 to the socket IC5/PIN9 (COL24),verify the LED. T3/Step 14: Connect P2 to the socket IC5/PIN6 (COL23),verify the LED. T3/Step 15: Connect P2 to the socket IC5/PIN5 (COL22),verify the LED. T3/Step 16: Connect P2 to the socket IC5/PIN1 (COL21),verify the LED. T3/Step 17: Connect P2 to the socket IC5/PIN10 (COL20),verify the LED. T3/Step 18: Connect P2 to the socket IC5/PIN7 (COL19),verify the LED. T3/Step 19: Connect P2 to the socket IC5/PIN4 (COL18),verify the LED. T3/Step 20: Connect P2 to the socket IC5/PIN2 (COL17),verify the LED. T3/Step 21: Connect P2 to the socket IC4/PIN9 (COL16),verify the LED. T3/Step 22: Connect P2 to the socket IC4/PIN6 (COL15),verify the LED. T3/Step 23: Connect P2 to the socket IC4/PIN5 (COL14),verify the LED. T3/Step 24: Connect P2 to the socket IC4/PIN1 (COL13),verify the LED. T3/Step 25: Connect P2 to the socket IC4/PIN10 (COL12),verify the LED. T3/Step 26: Connect P2 to the socket IC4/PIN7 (COL11),verify the LED. T3/Step 27: Connect P2 to the socket IC4/PIN4 (COL10),verify the LED. T3/Step 28: Connect P2 to the socket IC4/PIN2 (COL9),verify the LED. T3/Step 29: Connect P2 to the socket IC3/PIN9 (COL8),verify the LED. T3/Step 30: Connect P2 to the socket IC3/PIN6 (COL7),verify the LED. T3/Step 31: Connect P2 to the socket IC3/PIN5 (COL6),verify the LED. T3/Step 32: Connect P2 to the socket IC3/PIN1 (COL5),verify the LED. T3/Step 33: Connect P2 to the socket IC3/PIN10 (COL4),verify the LED. T3/Step 34: Connect P2 to the socket IC3/PIN7 (COL3),verify the LED. T3/Step 35: Connect P2 to the socket IC3/PIN4 (COL2),verify the LED. T3/Step 36: Connect P2 to the socket IC3/PIN2 (COL1),verify the LED.
the LEDs test.
Last edited by Luciano; - 16th June 2007 at 13:44.
This is the rest of the LEDs test.
Code:TEST 4 T4/Step 1: All the ICs must be removed from the sockets, with the exception of the 5V voltage regulator. The seven 18 ohm resistors must be replaced with 180 ohm resistors. In TEST 4 will will test all the LEDs driven by ROW3. Connect P1 to the socket IC1/PIN10 (ROW3). T4/Step 2: Connect P2 to the socket IC7/PIN7 (COL35),verify the LED. T4/Step 3: Connect P2 to the socket IC7/PIN4 (COL34),verify the LED. T4/Step 4: Connect P2 to the socket IC7/PIN2 (COL33),verify the LED. T4/Step 5: Connect P2 to the socket IC6/PIN9 (COL32),verify the LED. T4/Step 6: Connect P2 to the socket IC6/PIN6 (COL31),verify the LED. T4/Step 7: Connect P2 to the socket IC6/PIN5 (COL30),verify the LED. T4/Step 8: Connect P2 to the socket IC6/PIN1 (COL29),verify the LED. T4/Step 9: Connect P2 to the socket IC6/PIN10 (COL28),verify the LED. T4/Step 10: Connect P2 to the socket IC6/PIN7 (COL27),verify the LED. T4/Step 11: Connect P2 to the socket IC6/PIN4 (COL26),verify the LED. T4/Step 12: Connect P2 to the socket IC6/PIN2 (COL25),verify the LED. T4/Step 13: Connect P2 to the socket IC5/PIN9 (COL24),verify the LED. T4/Step 14: Connect P2 to the socket IC5/PIN6 (COL23),verify the LED. T4/Step 15: Connect P2 to the socket IC5/PIN5 (COL22),verify the LED. T4/Step 16: Connect P2 to the socket IC5/PIN1 (COL21),verify the LED. T4/Step 17: Connect P2 to the socket IC5/PIN10 (COL20),verify the LED. T4/Step 18: Connect P2 to the socket IC5/PIN7 (COL19),verify the LED. T4/Step 19: Connect P2 to the socket IC5/PIN4 (COL18),verify the LED. T4/Step 20: Connect P2 to the socket IC5/PIN2 (COL17),verify the LED. T4/Step 21: Connect P2 to the socket IC4/PIN9 (COL16),verify the LED. T4/Step 22: Connect P2 to the socket IC4/PIN6 (COL15),verify the LED. T4/Step 23: Connect P2 to the socket IC4/PIN5 (COL14),verify the LED. T4/Step 24: Connect P2 to the socket IC4/PIN1 (COL13),verify the LED. T4/Step 25: Connect P2 to the socket IC4/PIN10 (COL12),verify the LED. T4/Step 26: Connect P2 to the socket IC4/PIN7 (COL11),verify the LED. T4/Step 27: Connect P2 to the socket IC4/PIN4 (COL10),verify the LED. T4/Step 28: Connect P2 to the socket IC4/PIN2 (COL9),verify the LED. T4/Step 29: Connect P2 to the socket IC3/PIN9 (COL8),verify the LED. T4/Step 30: Connect P2 to the socket IC3/PIN6 (COL7),verify the LED. T4/Step 31: Connect P2 to the socket IC3/PIN5 (COL6),verify the LED. T4/Step 32: Connect P2 to the socket IC3/PIN1 (COL5),verify the LED. T4/Step 33: Connect P2 to the socket IC3/PIN10 (COL4),verify the LED. T4/Step 34: Connect P2 to the socket IC3/PIN7 (COL3),verify the LED. T4/Step 35: Connect P2 to the socket IC3/PIN4 (COL2),verify the LED. T4/Step 36: Connect P2 to the socket IC3/PIN2 (COL1),verify the LED.Code:TEST 5 T5/Step 1: All the ICs must be removed from the sockets, with the exception of the 5V voltage regulator. The seven 18 ohm resistors must be replaced with 180 ohm resistors. In TEST 5 will will test all the LEDs driven by ROW4. Connect P1 to the socket IC1/PIN9 (ROW4). T5/Step 2: Connect P2 to the socket IC7/PIN7 (COL35),verify the LED. T5/Step 3: Connect P2 to the socket IC7/PIN4 (COL34),verify the LED. T5/Step 4: Connect P2 to the socket IC7/PIN2 (COL33),verify the LED. T5/Step 5: Connect P2 to the socket IC6/PIN9 (COL32),verify the LED. T5/Step 6: Connect P2 to the socket IC6/PIN6 (COL31),verify the LED. T5/Step 7: Connect P2 to the socket IC6/PIN5 (COL30),verify the LED. T5/Step 8: Connect P2 to the socket IC6/PIN1 (COL29),verify the LED. T5/Step 9: Connect P2 to the socket IC6/PIN10 (COL28),verify the LED. T5/Step 10: Connect P2 to the socket IC6/PIN7 (COL27),verify the LED. T5/Step 11: Connect P2 to the socket IC6/PIN4 (COL26),verify the LED. T5/Step 12: Connect P2 to the socket IC6/PIN2 (COL25),verify the LED. T5/Step 13: Connect P2 to the socket IC5/PIN9 (COL24),verify the LED. T5/Step 14: Connect P2 to the socket IC5/PIN6 (COL23),verify the LED. T5/Step 15: Connect P2 to the socket IC5/PIN5 (COL22),verify the LED. T5/Step 16: Connect P2 to the socket IC5/PIN1 (COL21),verify the LED. T5/Step 17: Connect P2 to the socket IC5/PIN10 (COL20),verify the LED. T5/Step 18: Connect P2 to the socket IC5/PIN7 (COL19),verify the LED. T5/Step 19: Connect P2 to the socket IC5/PIN4 (COL18),verify the LED. T5/Step 20: Connect P2 to the socket IC5/PIN2 (COL17),verify the LED. T5/Step 21: Connect P2 to the socket IC4/PIN9 (COL16),verify the LED. T5/Step 22: Connect P2 to the socket IC4/PIN6 (COL15),verify the LED. T5/Step 23: Connect P2 to the socket IC4/PIN5 (COL14),verify the LED. T5/Step 24: Connect P2 to the socket IC4/PIN1 (COL13),verify the LED. T5/Step 25: Connect P2 to the socket IC4/PIN10 (COL12),verify the LED. T5/Step 26: Connect P2 to the socket IC4/PIN7 (COL11),verify the LED. T5/Step 27: Connect P2 to the socket IC4/PIN4 (COL10),verify the LED. T5/Step 28: Connect P2 to the socket IC4/PIN2 (COL9),verify the LED. T5/Step 29: Connect P2 to the socket IC3/PIN9 (COL8),verify the LED. T5/Step 30: Connect P2 to the socket IC3/PIN6 (COL7),verify the LED. T5/Step 31: Connect P2 to the socket IC3/PIN5 (COL6),verify the LED. T5/Step 32: Connect P2 to the socket IC3/PIN1 (COL5),verify the LED. T5/Step 33: Connect P2 to the socket IC3/PIN10 (COL4),verify the LED. T5/Step 34: Connect P2 to the socket IC3/PIN7 (COL3),verify the LED. T5/Step 35: Connect P2 to the socket IC3/PIN4 (COL2),verify the LED. T5/Step 36: Connect P2 to the socket IC3/PIN2 (COL1),verify the LED.Code:TEST 6 T6/Step 1: All the ICs must be removed from the sockets, with the exception of the 5V voltage regulator. The seven 18 ohm resistors must be replaced with 180 ohm resistors. In TEST 6 will will test all the LEDs driven by ROW5. Connect P1 to the socket IC1/PIN6 (ROW5). T6/Step 2: Connect P2 to the socket IC7/PIN7 (COL35),verify the LED. T6/Step 3: Connect P2 to the socket IC7/PIN4 (COL34),verify the LED. T6/Step 4: Connect P2 to the socket IC7/PIN2 (COL33),verify the LED. T6/Step 5: Connect P2 to the socket IC6/PIN9 (COL32),verify the LED. T6/Step 6: Connect P2 to the socket IC6/PIN6 (COL31),verify the LED. T6/Step 7: Connect P2 to the socket IC6/PIN5 (COL30),verify the LED. T6/Step 8: Connect P2 to the socket IC6/PIN1 (COL29),verify the LED. T6/Step 9: Connect P2 to the socket IC6/PIN10 (COL28),verify the LED. T6/Step 10: Connect P2 to the socket IC6/PIN7 (COL27),verify the LED. T6/Step 11: Connect P2 to the socket IC6/PIN4 (COL26),verify the LED. T6/Step 12: Connect P2 to the socket IC6/PIN2 (COL25),verify the LED. T6/Step 13: Connect P2 to the socket IC5/PIN9 (COL24),verify the LED. T6/Step 14: Connect P2 to the socket IC5/PIN6 (COL23),verify the LED. T6/Step 15: Connect P2 to the socket IC5/PIN5 (COL22),verify the LED. T6/Step 16: Connect P2 to the socket IC5/PIN1 (COL21),verify the LED. T6/Step 17: Connect P2 to the socket IC5/PIN10 (COL20),verify the LED. T6/Step 18: Connect P2 to the socket IC5/PIN7 (COL19),verify the LED. T6/Step 19: Connect P2 to the socket IC5/PIN4 (COL18),verify the LED. T6/Step 20: Connect P2 to the socket IC5/PIN2 (COL17),verify the LED. T6/Step 21: Connect P2 to the socket IC4/PIN9 (COL16),verify the LED. T6/Step 22: Connect P2 to the socket IC4/PIN6 (COL15),verify the LED. T6/Step 23: Connect P2 to the socket IC4/PIN5 (COL14),verify the LED. T6/Step 24: Connect P2 to the socket IC4/PIN1 (COL13),verify the LED. T6/Step 25: Connect P2 to the socket IC4/PIN10 (COL12),verify the LED. T6/Step 26: Connect P2 to the socket IC4/PIN7 (COL11),verify the LED. T6/Step 27: Connect P2 to the socket IC4/PIN4 (COL10),verify the LED. T6/Step 28: Connect P2 to the socket IC4/PIN2 (COL9),verify the LED. T6/Step 29: Connect P2 to the socket IC3/PIN9 (COL8),verify the LED. T6/Step 30: Connect P2 to the socket IC3/PIN6 (COL7),verify the LED. T6/Step 31: Connect P2 to the socket IC3/PIN5 (COL6),verify the LED. T6/Step 32: Connect P2 to the socket IC3/PIN1 (COL5),verify the LED. T6/Step 33: Connect P2 to the socket IC3/PIN10 (COL4),verify the LED. T6/Step 34: Connect P2 to the socket IC3/PIN7 (COL3),verify the LED. T6/Step 35: Connect P2 to the socket IC3/PIN4 (COL2),verify the LED. T6/Step 36: Connect P2 to the socket IC3/PIN2 (COL1),verify the LED.
This is the last post about the LEds test.
Code:TEST 7 T7/Step 1: All the ICs must be removed from the sockets, with the exception of the 5V voltage regulator. The seven 18 ohm resistors must be replaced with 180 ohm resistors. In TEST 7 will will test all the LEDs driven by ROW6. Connect P1 to the socket IC1/PIN8 (ROW6). T7/Step2: Connect P2 to the socket IC7/PIN7 (COL35),verify the LED. T7/Step3: Connect P2 to the socket IC7/PIN4 (COL34),verify the LED. T7/Step4: Connect P2 to the socket IC7/PIN2 (COL33),verify the LED. T7/Step 5: Connect P2 to the socket IC6/PIN9 (COL32),verify the LED. T7/Step 6: Connect P2 to the socket IC6/PIN6 (COL31),verify the LED. T7/Step 7: Connect P2 to the socket IC6/PIN5 (COL30),verify the LED. T7/Step 8: Connect P2 to the socket IC6/PIN1 (COL29),verify the LED. T7/Step 9: Connect P2 to the socket IC6/PIN10 (COL28),verify the LED. T7/Step 10: Connect P2 to the socket IC6/PIN7 (COL27),verify the LED. T7/Step 11: Connect P2 to the socket IC6/PIN4 (COL26),verify the LED. T7/Step 12: Connect P2 to the socket IC6/PIN2 (COL25),verify the LED. T7/Step 13: Connect P2 to the socket IC5/PIN9 (COL24),verify the LED. T7/Step 14: Connect P2 to the socket IC5/PIN6 (COL23),verify the LED. T7/Step 15: Connect P2 to the socket IC5/PIN5 (COL22),verify the LED. T7/Step 16: Connect P2 to the socket IC5/PIN1 (COL21),verify the LED. T7/Step 17: Connect P2 to the socket IC5/PIN10 (COL20),verify the LED. T7/Step 18: Connect P2 to the socket IC5/PIN7 (COL19),verify the LED. T7/Step 19: Connect P2 to the socket IC5/PIN4 (COL18),verify the LED. T7/Step 20: Connect P2 to the socket IC5/PIN2 (COL17),verify the LED. T7/Step 21: Connect P2 to the socket IC4/PIN9 (COL16),verify the LED. T7/Step 22: Connect P2 to the socket IC4/PIN6 (COL15),verify the LED. T7/Step 23: Connect P2 to the socket IC4/PIN5 (COL14),verify the LED. T7/Step 24: Connect P2 to the socket IC4/PIN1 (COL13),verify the LED. T7/Step 25: Connect P2 to the socket IC4/PIN10 (COL12),verify the LED. T7/Step 26: Connect P2 to the socket IC4/PIN7 (COL11),verify the LED. T7/Step 27: Connect P2 to the socket IC4/PIN4 (COL10),verify the LED. T7/Step 28: Connect P2 to the socket IC4/PIN2 (COL9),verify the LED. T7/Step 29: Connect P2 to the socket IC3/PIN9 (COL8),verify the LED. T7/Step 30: Connect P2 to the socket IC3/PIN6 (COL7),verify the LED. T7/Step 31: Connect P2 to the socket IC3/PIN5 (COL6),verify the LED. T7/Step 32: Connect P2 to the socket IC3/PIN1 (COL5),verify the LED. T7/Step 33: Connect P2 to the socket IC3/PIN10 (COL4),verify the LED. T7/Step 34: Connect P2 to the socket IC3/PIN7 (COL3),verify the LED. T7/Step 35: Connect P2 to the socket IC3/PIN4 (COL2),verify the LED. T7/Step 36: Connect P2 to the socket IC3/PIN2 (COL1),verify the LED.Once you have tested the 245 LEDs, post the results.Code:TEST 8 T8/Step 1: All the ICs must be removed from the sockets, with the exception of the 5V voltage regulator. The seven 18 ohm resistors must be replaced with 180 ohm resistors. In TEST 8 will will test all the LEDs driven by ROW7. Connect P1 to the socket IC1/PIN7 (ROW7). T8/Step2: Connect P2 to the socket IC7/PIN7 (COL35),verify the LED. T8/Step3: Connect P2 to the socket IC7/PIN4 (COL34),verify the LED. T8/Step4: Connect P2 to the socket IC7/PIN2 (COL33),verify the LED. T8/Step 5: Connect P2 to the socket IC6/PIN9 (COL32),verify the LED. T8/Step 6: Connect P2 to the socket IC6/PIN6 (COL31),verify the LED. T8/Step 7: Connect P2 to the socket IC6/PIN5 (COL30),verify the LED. T8/Step 8: Connect P2 to the socket IC6/PIN1 (COL29),verify the LED. T8/Step 9: Connect P2 to the socket IC6/PIN10 (COL28),verify the LED. T8/Step 10: Connect P2 to the socket IC6/PIN7 (COL27),verify the LED. T8/Step 11: Connect P2 to the socket IC6/PIN4 (COL26),verify the LED. T8/Step 12: Connect P2 to the socket IC6/PIN2 (COL25),verify the LED. T8/Step 13: Connect P2 to the socket IC5/PIN9 (COL24),verify the LED. T8/Step 14: Connect P2 to the socket IC5/PIN6 (COL23),verify the LED. T8/Step 15: Connect P2 to the socket IC5/PIN5 (COL22),verify the LED. T8/Step 16: Connect P2 to the socket IC5/PIN1 (COL21),verify the LED. T8/Step 17: Connect P2 to the socket IC5/PIN10 (COL20),verify the LED. T8/Step 18: Connect P2 to the socket IC5/PIN7 (COL19),verify the LED. T8/Step 19: Connect P2 to the socket IC5/PIN4 (COL18),verify the LED. T8/Step 20: Connect P2 to the socket IC5/PIN2 (COL17),verify the LED. T8/Step 21: Connect P2 to the socket IC4/PIN9 (COL16),verify the LED. T8/Step 22: Connect P2 to the socket IC4/PIN6 (COL15),verify the LED. T8/Step 23: Connect P2 to the socket IC4/PIN5 (COL14),verify the LED. T8/Step 24: Connect P2 to the socket IC4/PIN1 (COL13),verify the LED. T8/Step 25: Connect P2 to the socket IC4/PIN10 (COL12),verify the LED. T8/Step 26: Connect P2 to the socket IC4/PIN7 (COL11),verify the LED. T8/Step 27: Connect P2 to the socket IC4/PIN4 (COL10),verify the LED. T8/Step 28: Connect P2 to the socket IC4/PIN2 (COL9),verify the LED. T8/Step 29: Connect P2 to the socket IC3/PIN9 (COL8),verify the LED. T8/Step 30: Connect P2 to the socket IC3/PIN6 (COL7),verify the LED. T8/Step 31: Connect P2 to the socket IC3/PIN5 (COL6),verify the LED. T8/Step 32: Connect P2 to the socket IC3/PIN1 (COL5),verify the LED. T8/Step 33: Connect P2 to the socket IC3/PIN10 (COL4),verify the LED. T8/Step 34: Connect P2 to the socket IC3/PIN7 (COL3),verify the LED. T8/Step 35: Connect P2 to the socket IC3/PIN4 (COL2),verify the LED. T8/Step 36: Connect P2 to the socket IC3/PIN2 (COL1),verify the LED.
Best regards,
Luciano
Have you noticed that the “one project”, posters.
Whether or not they are students like eng444, AlaskanEE or Magu, or the multiple personalities building a DMX512.
Want specifically their project. Not general answers, not how to proceed, but precisely what is exactly wrong with this single project.
As Skimask has said (many times):
You would think:
Anyone who has sat in classes hour upon hour, day after day, year upon year. A student that has spent hours learning in labs. A student that has spent night after night studying for exams, passing those exams. Learning “state of the art” for years.
Paying many years of income, to professional instructors, that are not only specialists in the industry, but at a pinnacle of expertise to profess knowledge exactly on the subject.
A student, that will be stepping out of the door into a world of professionals. Ready in every way to become a highly paid professional.
You would think:
Those students, doing their final project, would know how to conceive, design, build and “trouble shoot” a simple project.
However:
There are a certain few, that have sat in class rooms for years. Spoon fed everything they need for the exams. Told what chapter, what material will be on the exam, so they could study from this paragraph to that paragraph. Led by the hand to lab. Told where to place the test leads, how much to turn the controls, what the instrument’s indications meant. Mostly their questions were, “is this going to be on the exam?” or “can I copy your home work?” or “what did you get for number 4”.
When they get to the forum, they expect specific instructions, precisely when they want / need it. They expect a “lesson plan”. When they sense a “dragging of the feet”, they get belligerent, rude, and demand that the “instructors” give them the information. The forum seems filled with the worst instructors they have ever paid for.
I don’t know how they could do all the school work, without a love of learning, a love of technology. They have my admiration for their tenacity. That is a huge pile of work that they “toughed out” and “plowed through”, so they can work in a field they don’t care about.
To use a project directly, “as is”, without significant improvement, modifications, is the height of dishonesty. Without proper credit given to the “seed idea” fully revealed, and disclosed is stealing. Intellectual property is property. Any student that would do such a thing, didn’t learn in the “professional ethics” class either.
These projects are so far over the ability of the this type student, they do not have the ability to know how any part of it works. This makes it impossible to figure out what is wrong. The same is true of their conduct in the forum, and in life. I feel sorry for the company that makes the mistake of hiring them.
Shame
-Adam-
Ohm it's not just a good idea... it's the LAW !
ok. i`ve check it. i have dificulties with 6 led, but i resolve the problem. It`s work excelent. Next step?
Hi Magu,
In my opinion in the schematic posted by Trent there is a mistake.
(Controller Schematic.pdf attached to the first post of this thread).
See my comments in the picture below.
(Click to enlarge the picture).
* * *
In this test we are going to use your new pulse generator.
Make sure you are still using the seven 180 ohm resistors for this test.
Plug into their sockets these chips:
IC3 (CD4017)
IC4 (CD4017)
IC5 (CD4017)
IC6 (CD4017)
IC9 (74HC08)
These chips are not present during this test:
IC1 (The PIC)
IC7 (The last CD4017)
IC8 (The EEPROM)
**********************
TEST
Step 1: Connect our wire "P1" to the socket IC1 PIN 1. (ROW1)
Step 2: Permanently connect to GND via a 1k series resistor PIN 3 of the socket IC7.
Step 3: Connect the 1.5 Hz clock from the 555 to to the socket IC1 PIN 12 via a 1k series resistor.
Step 4: Power-on the circuit.
Step 5: Briefly connect our wire "P2" to the socket IC1 PIN 11. This will reset the CD4017 chips.
Now you should see ONE LED moving across the display ONCE.
Step 6: Power down the circuit.
Do the same test for ROW2, ROW3, ROW4, ROW5, ROW6 and ROW7. (Move our wire "P1").
* * *
Now power down the circuit and plug into the socket the IC7. (CD4017).
Remove from socket IC7 PIN 3 the 1k resistor to GND. (The above step 2).
Repeat the test again. What do you see?
Best regards,
Luciano
Last edited by Luciano; - 16th June 2007 at 20:38.
nothing happens. i don`t see anything. when the ic7 is unpluged and the pin3 is connected to the ground LED moving across the display ONCE except the last 3 leds that are connected to the ic7. But when the ic7 in pluged nothing appears even when i thouch the p2 to ic1 pin11
Last edited by magu; - 16th June 2007 at 23:17.
i connect the IC3(pin15) to ic7(pin 10) and the LED is moving across the display NOT ONCE but CONTINUOS.
Some people have already built the circuit and it runs just fine for them; i don't think there is a mistake in the schematic and i can't wait for Trent to reply and see what he has to say about this. (i apologise for my bag english)
Luciano is correct. There is an error on the schematic that shows Q0 instead of Q4 of IC7 connecting to the MR (master reset line) of IC3.
...which might explain why it worked for me.
I only built a portion of this project using only the first 4017. I 'simulated' the rest of the 4017's using some glue logic, specifically, a PIC setup to pick off the clock pulses into the timer on the PIC and generate a reset pulse after it got to the last column.
So Trent, you say the circuit works just fine for you, but the schematic posted was wrong... did you mistake on purpose? Were we suposed to guess the error in it? I also build the circuit and it runs for me until the LED flashing part, now i can see it all so clearly why ...
Hi,
I don't think so. The PDF file with the schematic is probably just
a version made for the publication in a magazine so this is probably
not the original schematic use by Trent to make his prototype PCB.
* * *
@ skimask: Less arrogance, more humility!
Best regards,
Luciano
Bookmarks