ahmad_abdulghany
Advanced Member level 4

- Joined
- Apr 12, 2005
- Messages
- 1,206
- Helped
- 102
- Reputation
- 206
- Reaction score
- 22
- Trophy points
- 1,318
- Location
- San Jose, California, USA
- Activity points
- 11,769
square wave generator using pic
Hello all
I am not a prfect PIC user, I used it one year ago in a project, but it took long time..
Now I want to do approximately simpler thing, but have no time indeed to waste in it.. I want to make a random number generator of variable bit rate
I can discribe it in brief as follows:
- It generates any random set of bits at one pin of any port.
- I can change (or select) between different bit rates via external thing (e.g. push button, I think it will be good and easy, each push should switch to the next range),
- bits on output are normal NRZ pulses of variable widthes depending on selected rate.
- Ranges: 3kb/s through 13kb/s with step kb/s (10 ranges i.e. to scan over the full range, you should press the push button 10 times)
- I prefer if i can display anything that tell me at which range i am working even on leds (for example: using 4 LEDs to display number of selected range in binary)
- I need it to be using PIC 16F84A, as I don't have another PIC insteed of it.
- I need it very urgent! and very fast! It's not a project itself, but i need it to run an RF digital data-link, and I got tired from 555, XOR, D-FF, and Registers Random number generators!! very tiring and difficult to build and adjust, so I thought that PIC will be easier!
Note that, I don't have any C or BASIC compilers, I wrote my last project in assembly,
Please, if you can't undertand anything, then do ask me about it and i will clarify, but don't leave the post w/o replying! any reply may help me so much!!
If anyone can help me in that problem even in making it for me i will be very thankful!
Thanks alot in advance,
Ahmad,
Hello all
I am not a prfect PIC user, I used it one year ago in a project, but it took long time..
Now I want to do approximately simpler thing, but have no time indeed to waste in it.. I want to make a random number generator of variable bit rate
I can discribe it in brief as follows:
- It generates any random set of bits at one pin of any port.
- I can change (or select) between different bit rates via external thing (e.g. push button, I think it will be good and easy, each push should switch to the next range),
- bits on output are normal NRZ pulses of variable widthes depending on selected rate.
- Ranges: 3kb/s through 13kb/s with step kb/s (10 ranges i.e. to scan over the full range, you should press the push button 10 times)
- I prefer if i can display anything that tell me at which range i am working even on leds (for example: using 4 LEDs to display number of selected range in binary)
- I need it to be using PIC 16F84A, as I don't have another PIC insteed of it.
- I need it very urgent! and very fast! It's not a project itself, but i need it to run an RF digital data-link, and I got tired from 555, XOR, D-FF, and Registers Random number generators!! very tiring and difficult to build and adjust, so I thought that PIC will be easier!
Note that, I don't have any C or BASIC compilers, I wrote my last project in assembly,
Please, if you can't undertand anything, then do ask me about it and i will clarify, but don't leave the post w/o replying! any reply may help me so much!!
If anyone can help me in that problem even in making it for me i will be very thankful!
Thanks alot in advance,
Ahmad,