V20 used as a gourmet replacement for a programmable microcontroller. - LG V20 Guides, News, & Discussion

Why I'm proposing it: Arduino and Raspberry Pi have been popular learning tools and hobbyist project foundations for years. People use them to automate filling their fish tank, watering their plants, build gyrocopters out of them, create home automation solutions, and more often than not, make some LEDs blink as their first start in the long road toward Computer Science. They're cheap, they have their uses, and if you want them to do more, you can buy addons called "shields", making your board bulkier, more complicated, and more expensive. Let's face facts: we're in a world that is throwing V20's away, and an old V20 has an infinitely better collection of sensors, display features, touch digitizer, audio input AND output (I mean, Quad DAC vs ... what, a crappy piezo and PWM on an Arduino?), and the love many of us still hold for this great piece of old hardware.
What I'm proposing: We use thread to look into adapting it to have GPIO pins, and then throw together a way to use it as the foundation for such projects. There is no Arduino in the world, and few Raspberry Pis that have the video and audio capabilities, as well as sensors the V20 comes with, for free, since you already own it and it's sitting in a box, or perhaps you already recycled it, since so many of they are dying with the 5G switchover. I got this idea and couldn't find any resources on how to do it, so I went the Arduino route to build my washing machine electronics, and while learning that I stumbled on how Android can have GPIO via FTDI USB Adapters / Breakout Boards and a kernel patch, so I'm making this thread to get started on that.
Anyone interested in running with the ball, go right ahead and post what you've already done in this area, or scoff at me. If I succeed, the scoffing will fall away, and if I don't, at least I'll learn from failing.

Here's the start for how to get simple data out of V20, via USB2Serial hardware. https://github.com/mik3y/usb-serial-for-android

And here's straight GPIO from Android, but it still requires root to add a driver to the kernel: https://stackoverflow.com/questions/55130034/android-ftdi-ft232h-compatibility
It's not exactly reusing the volume buttons as GPIO, but it's neat.

Hmm i'm interested in this, i could definitely look into this

Keyosuke said:
And here's straight GPIO from Android, but it still requires root to add a driver to the kernel: https://stackoverflow.com/questions/55130034/android-ftdi-ft232h-compatibility
It's not exactly reusing the volume buttons as GPIO, but it's neat.
Click to expand...
Click to collapse
Tell me more!

Related

[Q] I'm looking for a large touchscreen android device..does it exist?

I'm working on a project for work, and I'm not sure if the product I'm looking exists, at least yet anyways. I'll tell you what I'm looking to do, and hopefully the community can let me know if this kind of device is out yet, or if it will be released soon.
I work at a hospital and I primarily provide training and support to Physicians for our Electronic Medical Record. One of our challenges has been getting physicians engaged and interested in learning about upgrades/changes/optimization and such pertaining to our medical record. We may fix a problem that they've been complaining about for a year...but then it's very difficult to let them all know that it's been fixed without tracking each of them down to tell them. We're not talking about a dozen physicians either, it's probably closer to 400 or so.
I spoke with a few other people and we came up with the idea of basically creating an electronic bulletin board that can be wall mounted in the doctors lounge, and they can use it to look at recent tip sheets, patch notes, lesson plans, etc, that we post about our EMR. I'd also like to add some links to the more reputable medical journals, so they can use it for something more than just reading our tip sheets.
I feel that Android would be the best platform for what we're trying to do, especially since it makes it easy to share and email items to accounts, that way if a Doc doesn't have time to review it in the lounge, they can at least email the document to themselves for later review.
I'm looking for an All-in-one device, a flat panel touchscreen display running android, and the display needs to be between 32 and 50 inches.
If I could get it done for 1500 or less, that would be great, although I pretty much have the approval to use up to 5000 in capital. I know there are several devices coming out that are integrated with Google TV, but few if any of the ones I've seen have a capacitive touch screen.
Does anyone know of a current or upcoming device that could meet my needs?
Bump
**********************************************************
Being a big fan of Android, I really do hate to say this, but I don't know you're going to find what you're looking for. From what I've seen lately, there have been fairly successful pilot deployments of iPads + AppleTV touchscreen bulletin boards in the medical sector, but without some serious serious hacking, I don't think you're going to see this in the Android arena. I don't think I've even seen any android device larger than 11" screens... On the plus side, that does sound like a new break-in type of market if any of the major product ODMs are paying attention
L4T
What about this!? asus.com/Eee/Eee_Pad/Eee_Pad_Transformer_TF101

maybe a dream

Maybe I am dreaming here a little bit but I want to use an android mini PC for home automation. Basically I want to have a total of 4 mini PCs in my home 3 on TVs for using xbmc Netflix etc and browsing on TVs, 1 as a brain sort of. I want to be able to control all through my LG Nexus 5 remotely and my hip street titan 2 tablet. The components in which I would like to control are a coffee maker some outlets and a few sets of lights for now. I realize the mini PC it self is probably incapable of this (unless your able to get a kind of on off switch controller for it) but I'm open to maybe using something like an arduino (with much more education of course lol) anyways looking for any input ideas and or education. I plan on using tasker app to handle command processing. I also have a desktop with event ghost that could play a key roll as well.
I know this is very open ended but I'm just trying to gather information ATM.
This sounds like a very cool little project.
Take a look at X10. It is a protocol for communicating between automation units. Also, I personally would consider using something like a Raspberry Pi as the main controller. In terms of power consumption, I would expect it to be less than an Android phone (especially the new Model A+). It would also be easier to program for and find home automation software for a linux distro than for Android. Raspberry Pi would also integrate with Arduino better or possibly even remove the need for that altogether.
Good luck. Post your progress on here, it would be good to see it.
I have little to no experience with arduino and rasbeery pie both. I really want to use ifttt software triggered by tasker for android as I have tons of experience with both, but at $50 for a duplex recepticle its going to get very expensive very fast... Also for say my coffee maker has simple on off switch. I would like to be able to put coffee and water in it and when about 10 mins from home trigger it on so my coffee is ready when I get home. When I get home I want to NFC my phone on door and have it unlock (or when I'm coming up hall but I don't think I will be able to get a precise enough GPS location fix to do so.) I want to have my lights follow me as I walk through house at night. Ie when I enter living room the light turns on when I leave it then turns off. And I want to be able to shut off outlets when I leave home in case I leave something on I shouldn't. My idea was going to be using an arduino on power wires to switches or outlets. Now I think that could get expensive as well. So even something homebrew could work just as long as it meets the "cheap" criteria I'm happy lol.
I love your idea to transpire. I wish you goodluck with that.
So far the cheapest way I have found is the smart things. They will trigger with IFTTT, but the hub alone is $200 and each accessory (is, light switch, recepticle etc) is $50. I've got 6 light switches I want to control ($300) and 4 outlets ($200) the hub ($200) and want a door lock ($300). We are talking nearly $1,000 not really in my budget.

[Q] Feasibility of using android camera without phone

Probably a stupid question, but I figure this is the place to ask it. I've been thinking about a project lately that would involve a lot of cameras. Since the actual camera from an S4 (or similar phones) costs about 10 bucks if you could us those separate from the phone (hooked up a raspberry pi running android or something if necessary) that would be awesome.
I realize just from looking at the connector on the camera it'd be no easy task, but my question is just is something like that feasible?
hobberwickey said:
Probably a stupid question, but I figure this is the place to ask it. I've been thinking about a project lately that would involve a lot of cameras. Since the actual camera from an S4 (or similar phones) costs about 10 bucks if you could us those separate from the phone (hooked up a raspberry pi running android or something if necessary) that would be awesome.
I realize just from looking at the connector on the camera it'd be no easy task, but my question is just is something like that feasible?
Click to expand...
Click to collapse
If you could program a driver for the camera and wire up the connectors via an adapter I suppose it would be possibe (But not easy)
The drivers (Or whatever you choose to call them by) must be able to be ported to other linux based OS since it is running a Linux based OS and the camera must be able to be adapted as it has the essentials.
It would take time but I suppose it is possible if you have the soldering skills and coding skills.

AOWinP - Android On Windows Phone - suggestion of a bounty project

Hello friends,
windows phone is dead. Now millions of good and partially excellent pieces of hardware will be trashed in a short period of time, because software support is degrading rapidly. Think about the poisenous waste and the valuable raw materials. I'm not, but my girl friend's phone is affected as well.
Can that be true? - During the last years, several times messages popped up stating "install android on a windows phone is possible". Soem may have been fake, some more serious.
https://www.windowslatest.com/2017/08/05/install-android-on-lumia/
https://www.wpinternals.net/index.php/downloads
Shouldn't it be possible to port something like lineageOS to (most of current) windows phones, as by now there is a serious necessity to do so? Of course, this is an awful lot of work, which may not be possible to be done for free. But what about a bounty on that purpose? I'd be willing to set up such a bounty and manage it, but I do need some advice before, so here are my first questions:
Is there a fair chance for that project in general? Or is it bare nonsense?
Is "bountysource.com" the most recommended platform for that project - or is there a better choice?
I guess, there are "classes" of windows phones (generations / processor families / whatever). Do some make more sense to be covered by the project - or can we expect to find a solution for really every winPhone?
Which final goal can be achieved? What makes sense? My idea:
- MUST HAVE: touch screen, telephone, wifi, mic, speakers, headphone, SD support, GPS
- NICE TO HAVE: bluetooth, position/acceleration sensor, ambient light sensor
- OPTIONAL: UKW radio, magnetic sensor
Does somebody have a more appealing name than "AOWinP"? (-;
Bthw: We could provide two win phones as a loan to devs who do not own one.
These are my 2cts, hope more knowledgeable people will join in and share their thoughts.
Greetings from Berlin,
Wolf

Starting a glass-only screen repair shop in 2022

We're planning to add glass-only cracked screen repair capability to our shop. We've got ~$20k to invest in this project, and we'd like to do it properly. What are some good resources to get started? How did you learn to do it? Most importantly, how long did it take to learn?
There're many youtube videos on the topic, but people's methods are inconsistent. Some repair screens in-frame, some take the whole phone apart. Some use freezers for curved screens, some swear by heat + wire.
At the moment, I'm trying to put together a list of machines/gear to get started
Welcome to XDA
I hope you appreciate the difference between science and art.
Example; while modern medicine is based on science, effectively practicing medicine is an art.
You use what works best for each particular case based on your acquired wisdom learned while practicing medicine.
Knowledge plus practice equals wisdom (hopefully).
Hands on is the only way to learn a trade and it's tricks. Learn the assembly technologies and techniques. Use cheap or trash phone to practice on. As you progress if you're persistent eventually you will go from novice to skilled to expert. A novice or skilled practitioner can't do what someone at the expert level can. It takes experience to learn the material properties, signs, variables, techniques and to develop skillset to effectively execute the proper actions.
You have to learn which tools, then brand of tools fit each operation best for yourself. In time you will become quit particular about this if you make to the top. I go for tools with the best ergonomics and usability. The right tools become an extension of yourself, but first you need to have the depth of understanding and skillset to choose and use the tools effectively.
An expert has a whole bag of tricks that they have learned over the years, decades to use for the situations they encounter.
There may be more money in fulfillment work or contact assembly. You're own business is as good as it gets but it's hard at first.
Thanks, for the warm welcome, and for the insightful reply.
Of course it's only possible to learn these things by doing, but, from my experience, you can accelerate the process by having good guidance and quality learning materials. That's what I'm looking for myself and for my technicians.
Do you know of any good courses/classes that one could take to learn about display refurbishment?
rebeltechlabs said:
Thanks, for the warm welcome, and for the insightful reply.
Of course it's only possible to learn these things by doing, but, from my experience, you can accelerate the process by having good guidance and quality learning materials. That's what I'm looking for myself and for my technicians.
Do you know of any good courses/classes that one could take to learn about display refurbishment?
Click to expand...
Click to collapse
You're welcome.
Nothing takes the place of experience for doing precision assembly. Looking at Grey's Anatomy isn't the same as doing surgery, it's a beginning.
Some techniques work better than others depending on the situation. You need experience to decide which is best. You learn the feel for it only by doing.
I saw guides and vids of the Note 10+ battery replacement. They intimidated me. Then I watched someone actually do it and quickly realized I could do it better myself
Of course that's not the end to my battery replacement learning curve, but it's a good start.
The biggest concern is breakage and then cosmetics. Doing it professionally means doing it right each time or at least most of the time.
Failures cost you more time and money. As for employees they will be one of or you're biggest headaches. Getting someone to do what you want, even the simplest of tasks can be challenging to say the leas
To access most displays requires a partial/full teardown. This is challenging to do on many phones. You need adapt ESD protocols and get ESD mats, wristbands, hydrometer* and such to avoid damage to the displays and especially the mobos. Out of circuit they become much more susceptible to ESD damage. Many don't do this; not doing so is unprofessional and can get very expensive.
If you find white papers and good documentation on this please share it if you can. This fascinates me.
*Humidity control is essential in dissipating static electricity ie a minimum of 40-60%. I like to see about 47-53% A temp controlled heat pot/fan works well to raise it.
rebeltechlabs said:
We're planning to add glass-only cracked screen repair capability to our shop. We've got ~$20k to invest in this project, and we'd like to do it properly. What are some good resources to get started? How did you learn to do it? Most importantly, how long did it take to learn?
There're many youtube videos on the topic, but people's methods are inconsistent. Some repair screens in-frame, some take the whole phone apart. Some use freezers for curved screens, some swear by heat + wire.
At the moment, I'm trying to put together a list of machines/gear to get started
Click to expand...
Click to collapse
I guess you live in America, it's very important for any new shop to understand what is the chance to survive in the first 1-2 year of operations so be ready to invest money even if you don't see that money coming back.
Dealing with mobile phones it's somewhat like dealing with computers, a customer's phone has a broken screen but the phone also doesn't start up so you need to know a bit more than just replacing screens.
Dealing with Apple phones will be more complicated due to the distributor's (in fact Apple don't make phones) tricks like the latest one secret codes stored in the CPU that must match with the replaced part's embed code.
You might want to make a partnership with a specific brand so that you can get better support and deals and even workshop manuals but there are always pro and con because they will want to be the only brand in your shop.
Regarding courses, it depends on where you're (on site courses) and there are online courses like those from Udemy which is a popular site: How to repair mobile cell phones

Categories

Resources