![]() |
![]() |
![]() |
|
|
|||||||
| Electronic Projects Design/Ideas/Reviews Are you building an electronic project or want to? Maybe you need some assistance? Come and submit your electronic questions here and let our experienced members find a solution. |
|
|
Thread Tools | Display Modes |
|
|
(permalink) |
|
Thanks Exo!
But i still have some questions. How am i going to detect the start pulse? And how am i going to ignore the stop bit? :? A timer circuit can be controlled to generate a desired number of pulses?! :shock: (eg. 8 pulses) All this while i though it can only used to generate a continuous pulse train. If can, can you provide me that timer circuit? Please... :cry: There is one thing i really want to be very sure. Its about the output of SIPO shift register. i know what are you talking about but i need to know how to extract the correct parallel bits. :?: Is it there is a 'special' circuit behind the SIPO shift register before we can take the final parallel bits? :idea: For example, if i had a serial bits of 10110000, where the leading 1 is MSB, going into the SIPO shift register. After 8 pulses, the output will be at the correct parallel bits, right? But before those 8 pulses, how am i going to managed all those 'incorrect' parallel bits? I think there should be a 'special' circuit behind the SIPO shift register that block all those incorrect bits, right? So that what we get at last is the correct parallel bits. Agree?
__________________
I already give my best, i have no regret at all. |
|
|
|
|
|
|
(permalink) | |||
|
Quote:
Quote:
Quote:
|
||||
|
|
|
|
|
(permalink) |
|
[Exo wrote]If your timer circuit starts clocking 8 times right after the startbit and then stops then your shift register will have read the 8 databits, no incorrect bits will be read...[/quote]
Erm..what i need to know is the output of the serial shift register. :? How am i going to take the correct parallel bits out of the serial data? :?: If 1011 0110 --> going into the shift register, At first clock pulse, the SIPO output will be 0xxx xxxx.(where x is an unknow state) At second clock pulse, parallel output is 10xx xxxx. At third clock pulse, parallel output is 110x xxxx. At fourth clock pulse, parallel output is 0110 xxxx. ..... ..... At eighth clock pulse, parallel output is 1011 0110. Agree with those?? :roll: So if i want to make 1011 0110 parallel output available at the dot matrix array, what should i do to prevent those previous 7 incorrect parallel bits from entering the dot matrix column? Is it there should be a 'special' circuit that only allow the correct parallel bits to go through?? Will a D latch do the job? I apologise if i have offended you. :cry:
__________________
I already give my best, i have no regret at all. |
|
|
|
|
|
|
(permalink) | |
|
Quote:
blue pins are output red are input you can get a dll to allow port acces for visual basic under most operating systems set your data on port D0-D7 pulse the strobe pin (C0) to tell your circuit that 8 bits are ready to be moved into the latchyou could then pull down S7 to tell the pc to send the next byte
__________________
There Are 10 Types Of People, Those That Understand binary And Those That Don\'t |
||
|
|
|
|
|
(permalink) | ||
|
Quote:
It's a common multiplexing technique, when done fast enough it seems like a steady image... I'm curious, how are you going to write the software for this? and indeed, like p3t3rv said, have you considered the parallel port? it's a lot easyer... |
|||
|
|
|
|
|
(permalink) |
|
Thanks p3t3rv! Thanks for your suggestion..
Arigato!! Thankx Exo...now i know what you mean! :lol: I apologise for what i did to you..~sorry~ You know why i am not switching to parallel ports? Because i find it fun to construct in serial communication. As a student, i hope to learn more. Another reason is my supervisor ask me to do it in serial communication. Hope you all dont mind..
__________________
I already give my best, i have no regret at all. |
|
|
|
|
|
|
(permalink) |
|
Hi..now i am at the stage of shifting bits column-by column in the dot matrix array. Now i need a driver to drive those task. Is there any suitable driver to recommend?
I am using a 8x8 dot matrix array.
__________________
I already give my best, i have no regret at all. |
|
|
|
|
|
|
(permalink) |
|
Hi..
I have something to ask about the MAX232 chip. What is the capacitors used for in the MAX232 chip? How to select the value of capacitors? *I am using the MAX232 output to drive some ICs.
__________________
I already give my best, i have no regret at all. |
|
|
|
|
|
|
(permalink) | ||
|
Quote:
Quote:
|
|||
|
|
|
|
|
(permalink) |
|
why would you need a max232? You only receive from the pc don't you? you dont send anything back...
A simple resistor and diode (to clamp it to 5V) would do... |
|
|
|
|
|
|
(permalink) |
|
Thx Exo...that sounds interesting. :roll:
However, i already bought the chip and is ready to be implemented..so..i'll stick to MAX232.
__________________
I already give my best, i have no regret at all. |
|
|
|
|
|
|
(permalink) |
|
|
|
|
|
|
|
|
(permalink) |
|
Hi out there... :lol:
I have something to ask about my programming stuff. Currently i am using visual basic 6.0 to do my programming. What i want is like that: Base on an ASCII character, my program will able to find the pattern that represent the character and display it on the dot matrix array. How am i going to store all the patterns for each of the ASCII character? :?: Eg. for the character 'A', the equivalent display pattern is [c1,b7,77,b7,c1]. *Note: all display pattern is in hex. How am i going to retreive the pattern for each ASCII character? :?: Eg. for the character 'A', the display pattern [c1,b7,77,b7,c1] will be send out to the dot matrix array. Thanks!! :wink:
__________________
I already give my best, i have no regret at all. |
|
|
|
|
|
|
(permalink) |
|
Create a 2 dimensional array and load it with your hex values
Code:
Dim HexData(X, Y) as integer 'where X is the amount of characters and Y is the number of hex bytes per character |
|
|
|
|
|
|
(permalink) |
|
Hi...
Is A (a string type) has the same value as A (a hex type)? Let say A has the character pattern of [c1,b7,77,b7,c1], how am i going to send those patterns out as hex values?
__________________
I already give my best, i have no regret at all. |
|
|
|
|