Go to advanced search

by rpdom
Sat Sep 22, 2018 7:57 am
Forum: Troubleshooting
Topic: Raspberry Pi's wont boot
Replies: 2
Views: 30

Re: Raspberry Pi's wont boot

Ernst is correct. Also, you don't need this command. By dd'ing the image onto the card you will overwriting any existing formattin on the card. sudo mkfs.vfat -F32 -v /dev/mmcblk0p1 Also, more importantly, this line is wrong: sudo dd bs=4M if=2018-06-27-rpd-x86-stretch.iso of=/dev/mmcblk0p1 status=p...
by rpdom
Sat Sep 22, 2018 7:37 am
Forum: Troubleshooting
Topic: NFS Server stopped working
Replies: 10
Views: 163

Re: NFS Server stopped working

Is the rpc service running? I remember having problems with that one at some point. The rpc daemon was trying to start before the network was accessible and I had to do something to get it starting up correctly. I'm fairly certain that issue has been fixed now. Maybe it isn't installed? It seems unl...
by rpdom
Sat Sep 22, 2018 4:27 am
Forum: Troubleshooting
Topic: NFS Server stopped working
Replies: 10
Views: 163

Re: NFS Server stopped working

Sep 21 20:26:43 ArchivePi exportfs[7323]: exportfs: Failed to stat /mnt/nfs: No
That's your problem. Presumably you have /mnt/nfs in your list of exports, but /mnt/nfs doesn't exist (yet).
by rpdom
Fri Sep 21, 2018 8:46 pm
Forum: Troubleshooting
Topic: NFS Server stopped working
Replies: 10
Views: 163

Re: NFS Server stopped working

Rasilon wrote:
Fri Sep 21, 2018 8:32 pm
See "systemctl status nfs-server.service" and "journalctl -xe" for details.
Type those two commands into a terminal window on your Pi (you may need to put "sudo " in front of each command).
by rpdom
Fri Sep 21, 2018 4:41 am
Forum: Beginners
Topic: GPIO Pin Audio Speaker, how?
Replies: 10
Views: 638

Re: GPIO Pin Audio Speaker, how?

connect the '-' from the speaker to the ground pin. connect the '+' to one of GPIO pins. Use PWM library to generate a tone/frequency. That would work if the speaker were a high-impedence piezo, but this seems to be a small but traditional coil-speaker, 3W 4R, which would be too much of a load on a...
by rpdom
Thu Sep 20, 2018 8:09 pm
Forum: Advanced users
Topic: info about firmware (rootkit ?)
Replies: 1
Views: 78

Re: info about firmware (rootkit ?)

Yes, all the bootcode / firmware is on the SD card or USB device - apart from a small boot ROM in the GPU which is hard coded into the silicon and can't be changed.
by rpdom
Thu Sep 20, 2018 6:26 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: how to use the GPIOs
Replies: 15
Views: 372

Re: Hardware

What is unknown territory to me is how to bridge the low voltage DC world with the AC world and find out how to safely connect raspberry GPIO to standard mains for e.g. domotics, hence my question. This is the bit that can be very dangerous if you get it wrong. Hence people advising against doing i...
by rpdom
Tue Sep 18, 2018 6:06 pm
Forum: Other programming languages
Topic: A compilable basic that uses line numbers for Pi?
Replies: 10
Views: 270

Re: A compilable basic that uses line numbers for Pi?

Simple ways of accessing the gpios that should work from almost any language: a) If the BASIC has a way of running system commands, you could use WiringPi's gpio command. b) Pretty much any BASIC should be able to read and write files, so use the sysfs gpio interface for straightforward gpio functio...
by rpdom
Tue Sep 18, 2018 5:06 am
Forum: Other projects
Topic: Dot matrix paper feeder ideas
Replies: 11
Views: 187

Re: Dot matrix paper feeder ideas

Could you look around for the sheet feeder option for that printer. I think it will take up to 50 sheets at a time.
by rpdom
Mon Sep 17, 2018 8:06 pm
Forum: Compute Module
Topic: How to get a 2nd Camera Adapter Board?
Replies: 29
Views: 5701

Re: How to get a 2nd Camera Adapter Board?

I believe the Pi Zero uses the same camera connector as the CMIO board, so a cable for the zero should do the trick.
by rpdom
Sun Sep 16, 2018 6:18 pm
Forum: General discussion
Topic: POE Hat Quarantine (Orders Blocked due to Hardware Issue)
Replies: 10
Views: 307

Re: POE Hat Quarantine (Orders Blocked due to Hardware Issue)

- Blocks all GPIO pins and therefore hat stacking You can use a header with long pins to allow stacking a HAT on top of the PoE HAT (this is the only HAT that allows stacking at the moment). It does mean using longer spacers to mount the PoE HAT on the Pi. It would be nice if the header and spacers...
by rpdom
Sun Sep 16, 2018 1:26 pm
Forum: Beginners
Topic: Power for multiple PI's
Replies: 9
Views: 878

Re: Power for multiple PI's

I use an Anker 6 port 60w USB charger. Typically three or four pis running off it, with assorted HATS or doohickeys on a breadboard sucking power as well. Which Pi's do you run off this? Will it work fine with the Raspbery Pi 3+ Model B? Seeing as you are replying to a post that was made about two ...
by rpdom
Sun Sep 16, 2018 12:59 pm
Forum: Troubleshooting
Topic: Pi3 won't recover from reboot
Replies: 13
Views: 321

Re: Pi3 won't recover from reboot

try using the shutdown command? a 'shutdown -h' will stop the system and it will not restart until powered down and powered back up or reset is pulled to ground. a 'shutdown -r' will restart the system.. sudo shutdown -r now is the instant restart command i use, The "reboot" command is the equivale...
by rpdom
Sun Sep 16, 2018 6:40 am
Forum: Beginners
Topic: Need an easy NAS setup for a 3 B+
Replies: 9
Views: 265

Re: Need an easy NAS setup for a 3 B+

Also, I am interested in using NTFS, and maybe booting from the hard disk. If you are making a NAS with a Raspberry Pi and Raspbian, you'll want to stick to an ext4 filesystem - unless you plan to disconnect the disk and plug it directly into a Windows or Mac system sometimes. etx4 will deliver the...
by rpdom
Sun Sep 16, 2018 6:16 am
Forum: Python
Topic: int Object has no attribute GPIO
Replies: 19
Views: 268

Re: int Object has no attribute GPIO

kentang1102 wrote:
Sun Sep 16, 2018 6:09 am
hi,

That means I need to put

Code: Select all

 at the first line, than 
at the last?

Thanks,
That works :-)
by rpdom
Sun Sep 16, 2018 5:59 am
Forum: Python
Topic: int Object has no attribute GPIO
Replies: 19
Views: 268

Re: int Object has no attribute GPIO

kentang1102: Are you saying that I have to add "code:select all" on the top of the codes? No, instead of typing your code like this: import RPi.GPIO as GPIO from time import sleep import threading import sys import sys,tty,termios (etc.) type it like this: import RPi.GPIO as GPIO from time import sl...
by rpdom
Sun Sep 16, 2018 5:58 am
Forum: Python
Topic: int Object has no attribute GPIO
Replies: 19
Views: 268

Re: int Object has no attribute GPIO

kentang1102: Are you saying that I have to add "code:select all" on the top of the codes? No, instead of typing your code like this: import RPi.GPIO as GPIO from time import sleep import threading import sys import sys,tty,termios (etc.) type it like this: [code] import RPi.GPIO as GPIO from time im...
by rpdom
Sat Sep 15, 2018 2:37 am
Forum: Beginners
Topic: ping ip adress to see if up or down
Replies: 17
Views: 273

Re: ping ip adress to see if up or down

There is a fix, described here
by rpdom
Fri Sep 14, 2018 5:30 pm
Forum: Beginners
Topic: ping ip adress to see if up or down
Replies: 17
Views: 273

Re: ping ip adress to see if up or down

Which version of Raspbian are you using? If I remember correctly, there was a bug in one of the much earlier versions where ping wouldn't work properly without sudo. The next release fixed that.
by rpdom
Fri Sep 14, 2018 5:31 am
Forum: Beginners
Topic: ping ip adress to see if up or down
Replies: 17
Views: 273

Re: ping ip adress to see if up or down

You're missing a space after -w2, so you are running the command

Code: Select all

ping -c1 -w2192.168.0.2
which is invalid. It should be

Code: Select all

ping -c1 -w2 192.168.0.2
by rpdom
Tue Sep 11, 2018 7:19 pm
Forum: General discussion
Topic: Looks like Firefox is now officially unsupported in Raspbian
Replies: 13
Views: 508

Re: Looks like Firefox is now officially unsupported in Raspbian

Actually it shouldn't be too hard to install FF ESR from Debian on a Pi2 or Pi3. I was surprised at first to see that the newer version wasn't in Raspbian, then I noticed it was in the Stretch Security updates repo. I guess Raspbian doesn't track that fully.
by rpdom
Tue Sep 11, 2018 6:16 am
Forum: General discussion
Topic: Pi to Pi communication
Replies: 10
Views: 327

Re: Pi to Pi communication

Just for my information, are the GPIO pins of the rpi protected with a internal diode circuit as convention uControllers are?? No. There are some diodes in there, but they are not designed to handle over-voltage situations. Put much more than 3.3V or less than 0V into a GPIO and you can burn out th...
by rpdom
Mon Sep 10, 2018 4:54 am
Forum: General discussion
Topic: Ho to use pi Zero as USB Device & USB host at same time
Replies: 2
Views: 91

Re: Ho to use pi Zero as USB Device & USB host at same time

It is not possible. The USB on the Pi Zero can only be host or device. It can't be both. Hubs can only be connected in host mode. Perhaps you could use two Pi Zero W, one as host, one as device and link them together via wifi or bluetooth. Or just a pair of plain zeroes linked via UART.
by rpdom
Sun Sep 09, 2018 4:23 pm
Forum: Raspbian
Topic: Will people please think about low res displays?
Replies: 45
Views: 1136

Re: Will people please think about low res displays?

So would it be to much to ask that as time allows to update the versions of the included applications to run on at least displays having a vertical resolution of 480 pixels, without having to drag the windows around to get access to the bottom controls? As the applications are open source, it could...
by rpdom
Sun Sep 09, 2018 8:20 am
Forum: Other programming languages
Topic: Bash script for read .txt
Replies: 11
Views: 214

Re: Bash script for read .txt

Try this #!/bin/bash text="$(cat /home/pi/rpi-fruitbox-master/skins/Cabinet/led.txt.)" sudo /home/pi/rpi-rgb-led-matrix/examples-api-use/scrolling-text-example -f /home/pi/rpi-rgb-led-matrix/fonts/10x20.bdf -s 3 -C 0,0,255 -l 1 -y 5 --led-rows=32 --led-cols=64 --led-chain=3 "$text" Does your filenam...

Go to advanced search