Go to advanced search

by rpdom
Fri Feb 23, 2018 6:37 am
Forum: Beginners
Topic: SSH, and running a command from desktop
Replies: 3
Views: 93

Re: SSH, and running a command from desktop

to make a desktop icon, that when clicked, prints the results of speedtest-cli. I can run speedtest-cli from the command line, but I can't get the desktop icon to do anything. you talk about a program you downloaded from somewhere but not give a link... speedtest-cli is available in Raspbian as a s...
by rpdom
Thu Feb 22, 2018 6:15 am
Forum: C/C++
Topic: GPIO and C Begginners
Replies: 2
Views: 93

Re: GPIO and C Begginners

The usual method is to memmap /dev/gpiomem which will give you an area of memory to use that will include the GPIO address range.
by rpdom
Wed Feb 21, 2018 11:13 pm
Forum: Automation, sensing and robotics
Topic: system with parallel port to raspberry pi
Replies: 2
Views: 82

Re: system with parallel port to raspberry pi

One option to consider is something like this: https://hackaday.com/2017/05/05/converting-parallel-port-cncs-to-usb/ I think that is doing the opposite of what is required. It connects a parallel device to USB. What is needed here is to emulate a parallel device, which might be possible with level ...
by rpdom
Wed Feb 21, 2018 9:48 pm
Forum: General discussion
Topic: My Pi Is ANGRY!
Replies: 23
Views: 816

Re: My Pi Is ANGRY!

The first Acorn Archimedes was launched in 1987. It was a typical huge desktop box design. Around about then the Psion Organiser was the portable computer. Do you have links to these other portable, tablet like computers at the time? Yes. This was one of them https://en.wikipedia.org/wiki/Cambridge...
by rpdom
Wed Feb 21, 2018 9:18 pm
Forum: General discussion
Topic: My Pi Is ANGRY!
Replies: 23
Views: 816

Re: My Pi Is ANGRY!

When the ARM was created there was no such notion as mobile phones, tablets, and so on. There were a few "portable" computers and even one of two tablet type devices (with keyboards - no touch screen back then). I saw one in use at the launch of the Acorn Archimedes, the first full ARM powered comp...
by rpdom
Wed Feb 21, 2018 6:51 am
Forum: Beginners
Topic: 10K Trimpot with Raspberry Pi
Replies: 4
Views: 146

Re: 10K Trimpot with Raspberry Pi

The Pi does support PWM - it has two hardware PWM channels (which are usually used for the analogue audio output, but can be repurposed if you aren't using that). You can also use a software PWM driver - not as accurate, but good enough to control the brightness of an LED. What it doesn't have is an...
by rpdom
Mon Feb 19, 2018 10:10 pm
Forum: General discussion
Topic: Replacing the Pi3 ethernet port?
Replies: 21
Views: 1441

Re: Replacing the Pi3 ethernet port?

[Thank you for this but i am not after a USB to Eth converter. I am just after answers to the 2 basic paractical questions i have asked in my post above. Basicaly exact detail pin by pin where do i wire what E2E from the Pi PCB to a possible external trasformer circuit and from thare to a router's ...
by rpdom
Mon Feb 19, 2018 8:24 pm
Forum: Troubleshooting
Topic: Raspberry pi turns on without power cord.
Replies: 3
Views: 121

Re: Raspberry pi turns on without power cord.

The Raspberry Pi 1 didn't have any protection against back powering from USB (except the very early models with the 140mA fuses on each USB port)
by rpdom
Sun Feb 18, 2018 10:43 pm
Forum: Advanced users
Topic: Booting from usb advice needed
Replies: 34
Views: 1006

Re: Booting from usb advice needed

Haemogoblin wrote:
Sun Feb 18, 2018 9:16 pm
Does a kernal update happen during a sudo apt-get upgrade? or only through a raspi-update?
Both. But you should use apt-get upgrade unless specifically told to use rpi-update.
by rpdom
Sun Feb 18, 2018 6:47 pm
Forum: Troubleshooting
Topic: Larger SD card?
Replies: 4
Views: 94

Re: Larger SD card?

If you put the new card in a USB card reader and plug it into your Pi (running Raspbian), you can use the SD card copier application to copy your old card to the new one and it will handle all the formatting and resizing for you. That will work with cards much bigger than 64GB
by rpdom
Sun Feb 18, 2018 10:38 am
Forum: Advanced users
Topic: Converting docx to pdf, with python script
Replies: 7
Views: 234

Re: Converting docx to pdf, with python script

rpdom wrote:
Sun Feb 18, 2018 6:11 am
Libreoffice can do this in batch mode

Code: Select all

libreoffice --convert-to pdf myfile.docx
will create myfile.pdf
Edit: I should have spelt libreoffice correctly. Fixed now.
by rpdom
Sun Feb 18, 2018 6:11 am
Forum: Advanced users
Topic: Converting docx to pdf, with python script
Replies: 7
Views: 234

Re: Converting docx to pdf, with python script

Libreoffice can do this in batch mode

Code: Select all

libroffice --convert-to pdf myfile.docx
will create myfile.pdf
by rpdom
Sat Feb 17, 2018 7:39 am
Forum: For sale
Topic: 12x Raspberry Pi Model B+ - NEW - in original packaging
Replies: 5
Views: 302

Re: 12x Raspberry Pi Model B+ - NEW - in original packaging

Nightwalker83 wrote:
Sat Feb 17, 2018 7:31 am
Which version of the Raspberry Pi are they 1, 2 or 3? Model B+ doesn't tell us much.
There was only one B+ model.
by rpdom
Fri Feb 16, 2018 10:18 pm
Forum: Troubleshooting
Topic: Two Pi zero's, both on network with same IP address!
Replies: 8
Views: 100

Re: Two Pi's, both on network with same IP address!

FreakHavoc wrote:
Fri Feb 16, 2018 9:45 pm
I have the exact same problem
Perhaps like the post you are replying to you are using instructions that are six years old?

ifup and ifdown are no longer used. Have you made any changes to /etc/network/interfaces as well?
by rpdom
Thu Feb 15, 2018 8:25 am
Forum: General discussion
Topic: Apt-Get: Glenn McGurrin mirror down? Force Server Choice?
Replies: 1
Views: 70

Re: Apt-Get: Glenn McGurrin mirror down? Force Server Choice?

Yes, edit the sources.list file that has mirrordirector.raspbian.org in and replace it with one of the other mirrors http://raspbian.org/RaspbianMirrors Don't forget to change it back again later.
by rpdom
Thu Feb 15, 2018 8:11 am
Forum: General discussion
Topic: Advice requested for use as small file server
Replies: 16
Views: 600

Re: Advice requested for use as small file server

I use a Pi 2B (original version) as a file server, with a 2TB USB3.0 disk (Yes, I know it only runs at 2.0 speeds). That has been running continuously for over a year now with no problems. The Pi also runs a few small websites, the DHCP, NTP and DNS for my house and several MySQL databases. It's not...
by rpdom
Thu Feb 15, 2018 7:51 am
Forum: Other projects
Topic: How to wake the Pi itself via Wake-on-Lan?
Replies: 3
Views: 171

Re: How to wake the Pi itself via Wake-on-Lan?

fruitoftheloom wrote:
Wed Feb 14, 2018 11:56 pm
Maybe Power over Ethernet which requires additional hardware around £25.00 UK.......
and is about the cost of running a Pi 24/7 for 4-5 years.

Just leave it running.
by rpdom
Thu Feb 15, 2018 7:43 am
Forum: Troubleshooting
Topic: dhcpcd static IP error...
Replies: 8
Views: 191

Re: dhcpcd static IP error...

The current version of /etc/network/interfaces contains the following lines only: # interfaces(5) file used by ifup(8) and ifdown(8) # Please note that this file is written to be used with dhcpcd # For static IP, consult /etc/dhcpcd.conf and 'man dhcpcd.conf' # Include files from /etc/network/interf...
by rpdom
Thu Feb 15, 2018 7:37 am
Forum: Troubleshooting
Topic: pi b micro sd card reader fix
Replies: 1
Views: 66

Re: pi b micro sd card reader fix

That works. :-) My solution was to take a fine pair of tweezers and pull out the little spring that pushes the card out. It can be grabbed through the hole in the case where you put that solder blob. Then the card is a simple push-pull fit. The Pi 3B and Zero don't have that problem, as they use the...
by rpdom
Thu Feb 15, 2018 7:19 am
Forum: General discussion
Topic: Need advice for store
Replies: 3
Views: 166

Re: Need advice for store

Pimoroni seem to have them in stock at the moment. Limited to one per order though (also probably one order per day maximum). https://shop.pimoroni.com/collections/raspberry-pi/products/raspberry-pi-zero The Pi Hut are out of stock. Another alternative could be the Pi A+ which is a bit bigger than t...
by rpdom
Wed Feb 14, 2018 8:48 pm
Forum: Off topic discussion
Topic: Secure reformat of memory cards
Replies: 6
Views: 314

Re: Secure reformat of memory cards

My question is, do USB sticks and SD cards also have a memory of previous contents? Am I wasting time doing more than one write of the volume? No. They are made up of cells that can only store a 1 or a 0. The magnetic disk thing is because it is magnetising a small area and the whole area doesn't a...
by rpdom
Wed Feb 14, 2018 8:43 pm
Forum: Off topic discussion
Topic: Secure reformat of memory cards
Replies: 6
Views: 314

Re: Secure reformat of memory cards

My question is, do USB sticks and SD cards also have a memory of previous contents? Am I wasting time doing more than one write of the volume? No. They are made up of cells that can only store a 1 or a 0. The magnetic disk thing is because it is magnetising a small area and the whole area doesn't a...
by rpdom
Wed Feb 14, 2018 5:03 pm
Forum: Automation, sensing and robotics
Topic: How to power and read multiple DS18B20 temperature sensors
Replies: 13
Views: 553

Re: How to power and read multiple DS18B20 temperature sensors

Okay, I took a fresh look at the datasheet and I've got one more question. Are you recommending running Vdd (supply voltage) from the Pi's 5V, and running DQ (data bus) from the Pi's 3v3 (via a pullup resistor)? Or are you recommending running both Vdd and DQ from the Pi's 5V (with the resistor con...
by rpdom
Wed Feb 14, 2018 6:12 am
Forum: Troubleshooting
Topic: firmware-brcm80211 fails checksum
Replies: 1
Views: 100

Re: firmware-brcm80211 fails checksum

It looks like the file failed to download fully. The size of the received file is smaller than the expected size. Have you got sufficient free space?
by rpdom
Wed Feb 14, 2018 6:01 am
Forum: Beginners
Topic: How can i connect a 8 circuit Molex receptacle to a raspberry pi?
Replies: 4
Views: 170

Re: How can i connect a 8 circuit Molex receptacle to a raspberry pi?

The RPi does not have a SPI bus so are you going to add a microprocessor with SPI or are you going to attempt to 'bit bang' the SPI protocol? Do you have the manufactures documentation which describes the commands set or how to control the machine via SPI? I think you mean SCI bus. The Pi does have...

Go to advanced search