Comments (12)
Hi @sohamakl, nice to see you working on this.
At first I want to mention #2 to let people see our recent discussion :)
It may be confusing for people that you call pin 29 in the shell script but use 21 in circuit diagram (at least it was for me). So let me attach this link to clarify the pinout used by wiringpi / the gpio utility.
How do you feel about having the gpio mode XX out
line not in the screen_switch.sh
script but as the cmdInit
of the screen config? However I feel like both solutions are not ideal, best would be an additional config parameter and a fallback pin number.
Shouldn't the wiringpi core be update when running sudo apt update && sudo apt upgrade
? I think this is done anyhow at some point of the installer script.
Last comment: The image of the optocoupler wiring is very blurry.
I could prepare a pull request once I find time for it.
from teleframe.
Sorry, I'm not getting along with github very well yet, so I don't want to make any pull requests or merges.
It would be great if you look at my suggestion and hopefully include it in the project.
I took up Trenar's good idea and implemented the power on/off function for the Sunfounder HDMI display via optocoupler.
In this context the following 'files' were created:
- New screen definition file
- Shell Skript from Trenar adapted to my individual configuration
- Circuit diagram
- Board layout
- Datasheet optocoupler
- Two Photos
I also noticed that the wiringpi extension used in the script needs to be updated on the Raspberry Pi 4 first.
This may need to be included in the installer script and works as follows:
cd /tmp wget https://project-downloads.drogon.net/wiringpi-latest.deb sudo dpkg -i wiringpi-latest.deb
Hi @Trenar,
moving the gpio definition to the config file is a very good idea.
I will take some new and better photos when I back home on Sunday.
I had to update wiringpi manually. I also read on the developer's website that he does not want to support future versions of Raspberry Pi.
from teleframe.
Hi,
I played around a little.. Moving the Pin param to the config is imho not feasible, since the config parameters are not accessible where the screen config file is loaded. Therefore, I added a variable in the screen config file which has to be set manually. For now I set it to your default pin 29.
See PR #94 and please test it, just to be on the save side :)
from teleframe.
I took three more photos with bit better quality than before.
from teleframe.
Looks good. However I think we don't need to upload these images to the git, but instead refer to this conversation at some point, maybe in the screens/README.md
of #97
from teleframe.
Good idea, could you be so kind and add it to screens/README.md
? I really need to learn how to use Github, sorry.
from teleframe.
@gegu will do so :)
from teleframe.
I think this would be a classic case for a page in the wiki. where we can link to.
Just someone would have to dare to create the first page 😏
from teleframe.
My English is not perfect and I don't know how to use a wiki on github yet.
But it seems to be a good start to write a little how-to on the topic "Hardware extension for time-controlled on/off switching of the Sunfounder 10.1 inch HDMI touch display".
If you agree, I would take it over.
Who can give me the necessary rights?
from teleframe.
you should be able to edit the wiki now.
from teleframe.
@sohamakl great wiki page 👍
Closed by #97.
from teleframe.
from teleframe.
Related Issues (20)
- Default touch gestures on Waveshare 10.1 display HOT 1
- Installation problems caused by non compatible versions of node/npm
- keys a,l,k,left,right not working in other apps when TeleFrame is running
- Telefram stratet nicht HOT 5
- Allow (encrypted!) messages from Signal
- Text messages possible? HOT 1
- Message that the teleframe is powered on and ready to receive new pictures
- Charging State / Battery State
- turnOffHour HOT 1
- ToggleMonitor, TurnOnHour and TurnOffHour in 7" touch monitor with Raspi 4 not working HOT 2
- How to modify required settings? HOT 2
- White screen between image changes HOT 3
- stuck at splash screen "TeleFrame" HOT 9
- Reboot fails HOT 23
- No Image delete in bot mode HOT 2
- TeleFrame funktioniert nach Neustart nicht mehr HOT 1
- Automatic install & run issues with Raspberry Pi Os Bullseye HOT 3
- Black screen with logo on Debian HOT 3
- Depreciation warnings on npm install
- Not working in newer Electron versions HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from teleframe.