Yet Another Pi Zero Portable!!
-
@moosepr Top man, believe me, I've done well to get this far, I like to say I'm an enthusiastic novice!
-
Would I be able to ssh and terminal? Would I use the command 'sudo nano raspiconfig.txt'? Or could I just put my sd card into my linux laptop and edit the config file that way?
-
Oh and one last question (I think!), I have a switch like the ones you used for the controller, where would I put that in the circuit so it powers both the pi and the screen on? I don't mind if it doesn't power it off as I can just select the shutdown option in emulation station
-
@gazredtyke you need to type
sudo raspi-config
On the pi, this will let you change the "system settings" on the pi
The switches I used on the controller part are momentary switches, they only stay "on" for as long as it is pressed. You will need something more like a latching switch or a side switch
-
@moosepr Thanks, and where in the circuit would that go?
-
@gazredtyke you would need it between the power and the pi. The screen gets its power from the pi, so once that is off, the screen is off too
-
@moosepr I haven't got a switch at the moment so for the time being I'll just twist the wire together, I've done the raspi-configuration step but couldn't find where to enable device tree, any ideas?
-
@gazredtyke I think there was one item i couldnt find myself, If you try the next step anyway, see how you get on
-
@moosepr I tried the next step but got an error message
-
@gazredtyke whats the error? it could be that i have done a typo :P
-
@moosepr can't remember, I'll have to try again when I get in from work
-
@gazredtyke try this command instead
sudo modprobe fbtft_device name=adafruit22
-
@moosepr would it be adafruit28 as my tft is 2.8"?
-
@gazredtyke I think it will be the 22. i cant see a 2.8 device listed on the driver wiki, in theory the 2.2, 2.4, and 2.8 inch screens are all identically internally, they just have different sized pixels
-
@moosepr The error message is "could not insert 'fbtft_device' : Invalid argument'
-
@gazredtyke I will have to get mine hooked up to a keyboard and see what I typed to get it going, it's been a while...
-
@gazredtyke try
sudo modprobe fbtft_device name=fb_ili9340
-
@moosepr still getting the same error mate, as I say though I couldn't find how to enable device tree
-
@gazredtyke I have just looked on mine and i dont think i could find the device tree bit, i sure cant now!! have you enabled the SPI?
-
@moosepr can you show a diagram of which gpio pin layout you followed? Maybe that's the issue?
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.