Go to advanced search

by procount
Fri Feb 15, 2019 1:15 pm
Forum: Advanced users
Topic: [Tutorial] How to move away from NOOBS
Replies: 22
Views: 7238

Re: [Tutorial] How to move away from NOOBS

The /boot folder is a mount point for the boot partition (mounted through /etc/fstab). It is not a symlink. How do you know the contents are a duplicate of the boot partition and not the same files? Did you view it when the SD card was booted in a RPi,or did you view it when the SD card was mounted ...
by procount
Thu Feb 14, 2019 2:21 pm
Forum: Official Foundation Display
Topic: Rotate to 90 or 270 degrees
Replies: 13
Views: 5317

Re: Rotate to 90 or 270 degrees

I've never had any problems rotating my display 90 degrees.
Have you tried

Code: Select all

display_lcd_rotate=
by procount
Wed Feb 13, 2019 9:46 am
Forum: General discussion
Topic: Usage of Pi touch display and power button
Replies: 3
Views: 67

Re: Usage of Pi touch display and power button

It would be much better to change the GPIO pin for the shutdown button to one that isn't used. The touchscreen uses SCL as a clock to transfer data from the touchscreen to the Pi. So it is waggling up and down quite a lot. The shutdown button script is using that pin as an interrupt to detect any fa...
by procount
Wed Feb 13, 2019 9:33 am
Forum: Automation, sensing and robotics
Topic: Ultrasonic sensor and voltage division
Replies: 18
Views: 306

Re: Ultrasonic sensor and voltage division

@rpdom - good one! I was about to go for a ladder analogy, but I think yours was better (and shorter!)

@Cloudapplepi - I hope you get it. Have a good re-read of this thread over the weekend and let it all sink in. It's all there once you get the hang of it.
by procount
Tue Feb 12, 2019 4:04 pm
Forum: Official Foundation Display
Topic: Auto rotate like a tablet
Replies: 6
Views: 134

Re: Auto rotate like a tablet

Great idea.
Unfortunately, AFAIK, the screen is only configured by the GPU at boot up. There is no facility to reprogram it afterwards from the ARM, so you can only do it at bootup through config.txt :( I suspect it would require the RPF to update the firmware to do this, if it were at all possible.
by procount
Tue Feb 12, 2019 3:58 pm
Forum: General discussion
Topic: Relay Protection of Power Systems with Raspberry PI
Replies: 5
Views: 171

Re: Relay Protection of Power Systems with Raspberry PI

Well, IMHO it should be feasible, for a test device. Many protective relays are implemented with a lot less horsepower than a quad core A53 running at >1GHz with a VC4 GPU bolted on the side. Stick to 'C' and avoid python. Use an RTOS. PreemptRT will probably get you close enough within your timesca...
by procount
Tue Feb 12, 2019 3:43 pm
Forum: Automation, sensing and robotics
Topic: Ultrasonic sensor and voltage division
Replies: 18
Views: 306

Re: Ultrasonic sensor and voltage division

Well, I hope my ramblings clarified a few points for you. as one resistance alone doesn't change the 5V at all? Be careful how you interpret what I said in relation to your simple circuit. The one resistor R1 connected between Echo and PIn 18 wouldn't change the voltage ONLY BECAUSE there is no curr...
by procount
Tue Feb 12, 2019 1:00 pm
Forum: Automation, sensing and robotics
Topic: Ultrasonic sensor and voltage division
Replies: 18
Views: 306

Re: Ultrasonic sensor and voltage division

@cloudapplepi - I'll have a go at trying to explain, because I think Brandon mis-interpreted your "removal of R1" suggestion as to have no connection (open-circuit), whereas I think you were intending to replace it with a straight wire (short-circuit) ....? So I'll assume this was your thought proce...
by procount
Tue Feb 12, 2019 11:57 am
Forum: General discussion
Topic: Relay Protection of Power Systems with Raspberry PI
Replies: 5
Views: 171

Re: Relay Protection of Power Systems with Raspberry PI

You need to define your scope more precisely. create an environment where anyone with an algorithm for protection of power systems can test their idea on board and in real time " Any algorithm " can range from a simple under/over current relay to a HV distance or advanced Phasor Measurement Unit. Th...
by procount
Tue Feb 12, 2019 10:33 am
Forum: Networking and servers
Topic: Help a freaking noob
Replies: 1
Views: 95

Re: Help a freaking noob

Only having the trash can icon on the desktop is normal. Having no toolbars is not normal. But it could be they are just not visible because they are off the top of the screen if your video configuration is not set properly for your monitor. As you can get to a terminal, try: sudo nano /boot/config....
by procount
Mon Feb 11, 2019 10:21 pm
Forum: Beginners
Topic: Install OS without overwrite in PINN
Replies: 16
Views: 244

Re: Install OS without overwrite in PINN

When I say "installed first" I don't mean it is the one at the top of the list. I mean it should be installed at the same time as your first set of OSes/project spaces just after the sd card has been wiped and repartitioned by PINN. I mean that it is not possible to install it later by replacing ano...
by procount
Mon Feb 11, 2019 10:04 pm
Forum: Beginners
Topic: Install OS without overwrite in PINN
Replies: 16
Views: 244

Re: Install OS without overwrite in PINN

Yes you can do that.

But RiscOs is another odd one and needs to be installed at the start with WioIoT. It cannot be installed into a ProjectSpace.
by procount
Mon Feb 11, 2019 1:57 pm
Forum: Beginners
Topic: Install OS without overwrite in PINN
Replies: 16
Views: 244

Re: Install OS without overwrite in PINN

The projectSpaces supplied with PINN are for typical OSes that use 2 partitions: 1 FAT32 for boot, and 1 EXT43 for the rootfs. WinIoT does not match this partition layout so it cannot be installed into the supplied projectspaces. However, there is nothing to stop you from creating your own type of P...
by procount
Mon Feb 11, 2019 1:27 pm
Forum: Beginners
Topic: Install OS without overwrite in PINN
Replies: 16
Views: 244

Re: Install OS without overwrite in PINN

Yes you could just start again. Bear in mind that because Windows uses its own installer, the progress bar will not advance properly as it installs. You could always create your own projectSpace for WinIoT to defer installation to another time. Compare the ProjectSpace metafiles with those of Raspbi...
by procount
Mon Feb 11, 2019 12:20 pm
Forum: Beginners
Topic: Install OS without overwrite in PINN
Replies: 16
Views: 244

Re: Install OS without overwrite in PINN

How do I make it install at the beginning, instead of as the 4th OS to install (like it did for me?) At the beginning of the OS list? You can't determine the order of installation, I'm afraid. The order is determined by whatever order PINN discovers the OSes in. And is there a way to install more o...
by procount
Mon Feb 11, 2019 8:57 am
Forum: Beginners
Topic: Install OS without overwrite in PINN
Replies: 16
Views: 244

Re: Install OS without overwrite in PINN

PageDown is used to cycle the menus ( as is key M) so it's odd that noone else has reported it and I've never seen it. Please open an issue on my github with details of how to reproduce it.
by procount
Mon Feb 11, 2019 8:52 am
Forum: Beginners
Topic: Install OS without overwrite in PINN
Replies: 16
Views: 244

Re: Install OS without overwrite in PINN

As you have a 3B+ please see this post -> https://www.raspberrypi.org/forums/viewtopic.php?f=105&t=229519#p1407227 Because WinIoT has an odd partition layout and uses Microsoft's own installer, you can only install it at the beginning when PINN erases all partitions. (You cannot install it later int...
by procount
Thu Feb 07, 2019 12:29 pm
Forum: Raspbian
Topic: Suggestion: make "hostapd" preinstalled
Replies: 8
Views: 164

Re: Suggestion: make "hostapd" preinstalled

@hippy - I don't think the suggestion was to have it configured as a hotspot out of the box, but rather that all the components were already installed in the image such that it was easy to setup by "simply editing configuration files on the sd from another computer", in the same way that you can jus...
by procount
Wed Feb 06, 2019 7:23 pm
Forum: General discussion
Topic: Cannot download NOOBS
Replies: 5
Views: 193

Re: Cannot download NOOBS

Take the opportunity to download PINN instead ;)
Works the same but with more features and wider choice of OSes to install.
by procount
Wed Feb 06, 2019 12:24 pm
Forum: Device Tree
Topic: Using device-tree to configure GPIO - basic questions
Replies: 30
Views: 690

Re: Using device-tree to configure GPIO - basic questions

That sounds vague enough that it's ok if I want to use it for PINN, but to release it upstream a separate driver would be required. Currently, the LCD screen and touchscreen driver are separate userland programs. I don't know how to detect the LCD screen on it's own, but I can detect the touchscreen...
by procount
Wed Feb 06, 2019 12:06 pm
Forum: Device Tree
Topic: Using device-tree to configure GPIO - basic questions
Replies: 30
Views: 690

Re: Using device-tree to configure GPIO - basic questions

Just one more question if I may:
Is it acceptable to create a composite device driver that would initialise the LCD screen AND control the touchscreen, or is that considered bad form?
by procount
Wed Feb 06, 2019 12:04 pm
Forum: Device Tree
Topic: Using device-tree to configure GPIO - basic questions
Replies: 30
Views: 690

Re: Using device-tree to configure GPIO - basic questions

And with the correct touchscreen fitted, it works like a charm!
Many thanks @PhilE for being my extra pair of eyes!
by procount
Wed Feb 06, 2019 11:57 am
Forum: Device Tree
Topic: Using device-tree to configure GPIO - basic questions
Replies: 30
Views: 690

Re: Using device-tree to configure GPIO - basic questions

@PhilE - Many thanks . It was just the configuration ordering that was causing it.
Spoke too soon. I first have to test it with the correct touchscreen fitted. :(
by procount
Wed Feb 06, 2019 11:51 am
Forum: Device Tree
Topic: Using device-tree to configure GPIO - basic questions
Replies: 30
Views: 690

Re: Using device-tree to configure GPIO - basic questions

Thanks for catching my stupid error on function ordering. Doh! goodix_request_input_dev is clearly registering more input types than cypress_request_input_dev, I'm being really stupid now - Where? because I can't see it. (I must be going blind!) Yes, I agree it adds these 2 events; input_set_abs_par...
by procount
Wed Feb 06, 2019 11:12 am
Forum: Device Tree
Topic: Using device-tree to configure GPIO - basic questions
Replies: 30
Views: 690

Re: Using device-tree to configure GPIO - basic questions

(Maybe I should create a new thread in interfacing or HATS? but I'm going to continue here as it's the same project of creating a touchscreen driver) I completed my cypress.c driver, it reads the device tree, detects the hardware, reads the i2c touchscreen data and can process the touches correctly...

Go to advanced search