yobbo II
National Hazard
Posts: 762
Registered: 28-3-2016
Member Is Offline
Mood: No Mood
|
|
Using screen as input/output interface
When connecting stuff to a computer it can be a bit of a pain getting interface circuitry to go from the USB (or whatever) to the physical electrics.
If using a phone (if one developed an android app (or whatever)) it would be more difficult I would imagine.
Could it be possible to simply place photo transistors/diodes + associated circuitry onto areas of the screen in order to pickup output. The output
would consist of turning the areas of the screen under the photo device black or white (on/off) to give an output. Turning an area of the screen to
black or white is easy, you just put a button or text box on that area and use the background colour to give black/white. There could be many many
squares fitted on the screen.
For input you could place/stick/attach a small square of metal foil on a screen area with wire attached for physical world input (on/off anyways). You
place a software button underneath the square of foil to pickup the input.
Analog to digital and digital to analog would take a few squared but still workable. All very getto and cheap and well within the reach of hobbyist
electronic person.
It this doably. Has it been done before, anyone know. It seems kind of obvious but perhaps not a convienent or easy as I make it sound.
'Out of date' touch screen phones/tablets can be had for almost nothing nowadays.
Yob
|
|
Fulmen
International Hazard
Posts: 1716
Registered: 24-9-2005
Member Is Offline
Mood: Bored
|
|
That's an interesting idea. Don't forget that the headphone jack, it should work for both A/D and D/A.
We're not banging rocks together here. We know how to put a man back together.
|
|
Texium
|
Thread Moved 25-8-2022 at 04:31 |
Organikum
resurrected
Posts: 2337
Registered: 12-10-2002
Location: Europe
Member Is Offline
Mood: frustrated
|
|
I don't understand what this is about, tbh.
Any touchscreen is a input/output device. There are several ways to turn a not-touch device into one. Why would somebody want to poke with aluminium
foil wrapped sticks? For what purpose? Isn't this what a "stylus" is for?
I have the feeling I miss something....
|
|
Fulmen
International Hazard
Posts: 1716
Registered: 24-9-2005
Member Is Offline
Mood: Bored
|
|
This is about reusing old phones, turning the screen into a simple I/O-interface for peripheral devices. Personally I would rather use an arduino, but
I don't see anything wrong with the OP's idea.
We're not banging rocks together here. We know how to put a man back together.
|
|
Twospoons
International Hazard
Posts: 1324
Registered: 26-7-2004
Location: Middle Earth
Member Is Offline
Mood: A trace of hope...
|
|
Quote: Originally posted by yobbo II | When connecting stuff to a computer it can be a bit of a pain getting interface circuitry to go from the USB (or whatever) to the physical electrics.
|
I've used Phidgets for interfacing PC to real world. Works a charm, and dead simple to drive from code (I've used C# for this).
Drivers for Windows, Linux, macOS, iOS and Android are all supported, along with half a dozen languages.
[Edited on 26-8-2022 by Twospoons]
Helicopter: "helico" -> spiral, "pter" -> with wings
|
|
Rainwater
National Hazard
Posts: 919
Registered: 22-12-2021
Member Is Offline
Mood: indisposition to activity
|
|
If you can provide a list of hardware you wanting to use i can get you pointed to the right tutorials. Once you have a basic understanding of
programming its very simple to use an off the shelf libary
"You can't do that" - challenge accepted
|
|
yobbo II
National Hazard
Posts: 762
Registered: 28-3-2016
Member Is Offline
Mood: No Mood
|
|
Purchased input/output devices are always easier, more tidy etc.
If you needed a hugh amout of input/output devices then this may be quite cheap.
An input with a switch workes OK as shown in the picture.
I obtained some stickey backed tin foil (stuff for pipe insulaton) and a normally off switch as seen in the photo.
A small square of the foil was attached over a software button on the phone. Another large piece was placed underneath the phone (at first) and then a
few inches away from the phone.
The switch was wired between the foil stuck to the phone screen and the ground place. I switched on/off the switch using a rod of plastic.
With the ground plane underneath the phone(as pictured), the software button darkens when the switch is switched on but does not actually operate
(software 'click'). It clicks when I then put the switch to off again (open).
I suppose you could call it negative edge triggered.
With the ground place some distance from the phone (few inches) the software button clicks (operates) as soon as I turn on the switch (go from off to
on, open to closed). (Positive edge triggered I suppose).
Have to get some photodiodes or somesuch for output. Any suggestions of cheap getto optical pickup type outputs?
|
|