What is the best signal interface for PC ? | Page 8 | on ElectriciansForums

Discuss What is the best signal interface for PC ? in the UK Electrical Forum area at ElectriciansForums.net

_q12x_

DIY
Joined
Jan 22, 2021
Messages
587
Reaction score
268
Location
New York
I mean.... the best and the easiest to use.
I remember back in the 2000's I used a serial interface, I think it was the printer serial port, 25 pins or similar. I believe I even used a mouse port as well, that versatile those systems were back then.
What I could do with it was ... program in C++ and pascal back then, using some imported dll's specific for communication with this serial port, I think it was port 40 or 25? It had a number is all I remember. And I could link to it any transistor base, back then I was working exclusively with BJT's, to light LED's, drive motors, beep some 8ohm I think they were speakers, drive a VU-meter LED bar I think directly from the port pins, without transistors, and also drive IC's , that was the time I learned about multiplexers and expanding the number of output pins. Also input sensors like LDR and buttons. I Loved that kind of easy and straight forward communication.
Today I dont know c++ or pascal anymore, but I am very good in c# and still use VS2010 because its very cool interface and very user friendly overall.
So I want you, to help me first of all, to find the hardware, the port I suppose or something more than a printer port, something more advanced and having more in/out's. The more the better. I want the best you can find for the moment. Best ideas or best adaptations, why not. As long as it's easy and stable to install and use.
And then, the software drivers and possible problems will appear along the way. I can debug a large majority of problems, I grow up debugging computer problems, so I have a 5'th sense for them. Im more concerned about the hardware part and the integration with my win7 that I still run today and my VisualStudio2010 for my c#. I know I still run old software but they are extremely stable and they don't f me up.
Thank you and I'm really curious what you will find for me.
 
All that was last night.
But from now on, like I said and I am repeating for clarity, I have to concentrate on loading a *.bin or a *.hex file into the simulation chip. The content of these files is a mystery for me. So this is brand new and very important to figure out. So far I had no luck. If anyone who is reading these things know how to do it, please advise me. I will ask on other forums as well.
So this is the next step I will concentrate from now.
Pretty hard if you ask me.... hard to figure out how to make it work.
 
I explained this already:
I tried this circuit but for some reason Proteus simulator didnt like it and didnt run it. The capacitor didnt charged up. I will have to try with a 555 circuit, replacing this simpler one.
[ElectriciansForums.net] What is the best signal interface for PC ?
 
Try this simple circuit with R as 1kR and C as 50 microF

Or R as 5kR and C as 10micF.

In both cases time constant t = R x C = 50mS

If negative pulse required then use simple circuit below. If positive pulse required then invert using transistor or NOT logic gate.
 

Attachments

  • [ElectriciansForums.net] What is the best signal interface for PC ?
    9B4E2527-7DA0-42AC-8DF1-3959A1F5AF5E.jpeg
    314.7 KB · Views: 27
Last edited:
I explained this already:
I tried this circuit but for some reason Proteus simulator didnt like it and didnt run it. The capacitor didnt charged up. I will have to try with a 555 circuit, replacing this simpler one.
View attachment 100972
This circuit will not produce the required pulse shape and duration. I do not have time right now to explain why. It is to do with how the push button is wired in and RC time constant is only 10mS = 1KR x 10micF which is less than minimum 45mS.
 
Last edited:
nope , not good. I tested in other simulator that circuit with the transistor, which very much resembles your much simpler version and I applaud its simplicity, I like it very much actually, more than mine.
But the problem with both circuits here is that Pressed button !!! As long as I am keeping it pressed, it will "count" 0V ! Which is not good. So if im counting 10s with the button pressed down to 0V, the circuit will stay to 0V 10s. WHen I release the button, it will count another extra 50ms based on the cap and res values that I chose and reach 5V. So this behavior is NO BUENO !
What I really need is like this: Press ONCE the button and keep it pressed. But the circuit will not stay at 0V. It will jump from 5V to 0V in the moment the button made the contact, count internally those 50ms, and rise up to 5V by itself, while my button is still pressed. When I release the button from its contacts, the circuit still remains at 5V, unchanged. Only when I press the button again. and at the very first contact , the whole logic repeats again. Clear now?
I am trusting the good old 555 timer to do it. But... I didnt actually stay down to think about it. I only figure out how the logic should be, the one I just described so far.
Remember this is waaaay a SIDE mini-project or dare. Haha. Not at all the main quest Im in. Its a cute side quest. A curiosity.
 
Good day sir, Mister @marconi and others that are reading my thread, please read this page --HERE-- I put it in discussion last night but unfortunately the guys that are answering me are too undecided. Usually they are of great help but here, in this case, this specific subject is like a black cat for them. They keep some inexplicable distance.
Its not that long, is 1page and a half of reading, until that big blue screen screenshot of mine. And you can skip many unimportant points. See if it is ringing a bell for you and help me progress and push this "programming a RAM chip with an external file" to its final conclusion.
Thank you in advance!
 
Last edited:
Please answer my question. SHow me exactly how you modelled my circuit and actually connected it to CEbar. Did you pass the pulse from my circuit through those relay contacts ? Did you do as in the attachment?

S1 is is NO pushbutton for programming. S2 is the NO switch to tell the chip to operate as a RAM ie programming over. When in programming mode S2 must be open. You know already what to do with the OEbar pin for programming mode and RAM mode.
 

Attachments

  • [ElectriciansForums.net] What is the best signal interface for PC ?
    D5EC3D2D-5744-4D07-A856-2199C3EA8F32.jpeg
    289.8 KB · Views: 41
Last edited:
This is the last circuit I made following your instructions.
I am now pretty sure how to connect the RAM chip in the next stage. No worries.
I made some very interesting advancements from 2 days in a row until today, about how to manually program a RAM. I start to get it, and also how to program a RAM from a file, which is very important.
I did not used the RAM or any relay in this last circuit. That RAM is floating there.
[ElectriciansForums.net] What is the best signal interface for PC ?
 
I deserve better than ‘yes’.
Check my answer in #93 ...also your immediate answer next in #94
I was completely concentrated these last 2 days, full days actually, on the loading an external file into the RAM in Proteus simulator and tonight, some minutes ago we reach the salvation conclusion. Now I can load any external file as long it is not very complicated because the editor is very old and is not that nice to edit with it, but it is doing an excellent job, and that is all that matters. I will still have to research into more modern .bin editors, so there is more to push. We have progress.
 

Reply to What is the best signal interface for PC ? in the UK Electrical Forum area at ElectriciansForums.net

News and Offers from Sponsors

  • Article
Join us at electronica 2024 in Munich! Since 1964, electronica has been the premier event for technology enthusiasts and industry professionals...
    • Like
Replies
0
Views
369
  • Sticky
  • Article
Good to know thanks, one can never have enough places to source parts from!
Replies
4
Views
931
  • Article
OFFICIAL SPONSORS These Official Forum Sponsors May Provide Discounts to Regular Forum Members - If you would like to sponsor us then...
Replies
0
Views
1K

OFFICIAL SPONSORS

Electrical Goods - Electrical Tools - Brand Names Electrician Courses Green Electrical Goods PCB Way Electrical Goods - Electrical Tools - Brand Names Pushfit Wire Connectors Electric Underfloor Heating Electrician Courses
These Official Forum Sponsors May Provide Discounts to Regular Forum Members - If you would like to sponsor us then CLICK HERE and post a thread with who you are, and we'll send you some stats etc

YOUR Unread Posts

This website was designed, optimised and is hosted by untold.media Operating under the name Untold Media since 2001.
Back
Top