Go to advanced search

by rpdom
Thu Jun 12, 2014 5:59 pm
Forum: HATs and other add-ons
Topic: Adding Two LAN9512 using USB
Replies: 11
Views: 3459

Re: Adding Two LAN9512 using USB

I'm not talking about the USB subsystem, I'm talking about the device driver software did the 9512 chip's USB-LAN converter. Is it developed enough to enumerate multiple 9512s? It's a standard driver for a standard chipset. There is no reason I know of why it shouldn't be able to cope with multiple...
by rpdom
Thu Jun 12, 2014 5:54 pm
Forum: Networking and servers
Topic: Sending UDP data to RPI
Replies: 23
Views: 4815

Re: Sending UDP data to RPI

Login as user "project"? If you haven't got a user called project, create one and use that.

Otherwise using "ftp:192.168.82.247/../home/project" may work.

(It wouldn't be /home/root, it would be just /root as that is root's home directory)
by rpdom
Thu Jun 12, 2014 8:33 am
Forum: Networking and servers
Topic: Sending UDP data to RPI
Replies: 23
Views: 4815

Re: Sending UDP data to RPI

Edmhydraulics wrote:Using the command:

wget --user=XYZ --password='PASSWORDXYZ' http://192.168.82.247/project/home/AAA.csv

Doesn't work
Presumably your PLC doesn't support HTTP on port 80.

Tell wget to use ftp

Code: Select all

wget --user=XYZ --password='PASSWORDXYZ' ftp://192.168.82.247/project/home/AAA.csv
by rpdom
Wed Jun 11, 2014 8:22 am
Forum: General discussion
Topic: rotary encoder.
Replies: 14
Views: 3916

Re: rotary encoder.

lilzz wrote:1)If I turn the knob, then the wave form would be output on Pin A and B? but where does the power come from?
Pin C.
2)12 steps mean 12 sectors in one full revolution?
Yes.
3)old A ,old B, A, B 4 bit word would give 16 values right?
Yes.
by rpdom
Wed Jun 11, 2014 6:01 am
Forum: General discussion
Topic: Pi slower on localhost than remote
Replies: 3
Views: 801

Re: Pi slower on localhost than remote

The web browser will be the slow part. The server doesn't have to render images and format the pages, it just has to send data and possibly process some code depending on the application.
by rpdom
Wed Jun 11, 2014 4:46 am
Forum: Beginners
Topic: Confused about GPIO Pins
Replies: 5
Views: 987

Re: Confused about GPIO Pins

borgen44 wrote:But this site say: http://elinux.org/RPi_Low-level_peripherals
Pin3=GPIO2
Pin5=GPIO3
Pin13=GPIO27
This is the correct information.

On the Rev1 boards it was
Pin3=GPIO0
Pin5=GPIO1
Pin13=GPIO21

But 0x000f is Rev2.
(There is no difference between the gpios on Model A and Model B).
by rpdom
Tue Jun 10, 2014 5:43 pm
Forum: Beginners
Topic: Different Applications with Different SD Cards
Replies: 8
Views: 985

Re: Different Applications with Different SD Cards

Cancelor wrote:Is that tiny boot loader accessible to us mere mortals? :)
I think some people have managed to read the bit of memory it is in and partially decode it.

It is hard-coded and not alterable.
by rpdom
Tue Jun 10, 2014 5:47 am
Forum: General discussion
Topic: arch linux, ubuntu has babeld, debian wheezy doesn't
Replies: 9
Views: 2155

Re: arch linux, ubuntu has babeld, debian wheezy doesn't

lilzz wrote:I did aptitude install babeld_1.3.1-1_armel.deb

it complains "couldn't find any package name or description matched babeld_1.3.1-1_armel.deb"
Because you don't give it the entire filename to install it.

Code: Select all

aptitude install babeld
(Add sudo if required)
by rpdom
Tue Jun 10, 2014 5:43 am
Forum: General discussion
Topic: powering pi with a 5v regulated power supply
Replies: 10
Views: 2304

Re: powering pi with a 5v regulated power supply

I agree with klricks.

The second circuit would be better.
by rpdom
Tue Jun 10, 2014 3:03 am
Forum: Other programming languages
Topic: compare times alarm system
Replies: 2
Views: 1343

Re: compare times alarm system

Maybe something like #!/bin/bash -x #echo kill $$ | at 22:31 #option at 22:30 -f /bin/aus #switch off ligths at # Delay waiting time before switching on # per week in seconds # delay= is sunset a my location per calender week delay=( 0 240 480 960 1560 2160 2820 3480 4140 4800 5460 6060 6660 7260 11...
by rpdom
Tue Jun 10, 2014 2:36 am
Forum: Compute Module
Topic: Can it operate for 24 hours?
Replies: 3
Views: 2315

Re: Can it operate for 24 hours?

It should run for as long as it has power. There is no reason for it not to.

After all, some Raspberry Pis have been running continuously for well over a year now and that uses the same SoC and RAM.
by rpdom
Tue Jun 10, 2014 2:27 am
Forum: General discussion
Topic: powering pi with a 5v regulated power supply
Replies: 10
Views: 2304

Re: powering pi with a 5v regulated power supply

Generally the power converter looks ok, but I'm a bit concerned about the output voltage specs "output voltage is 5.0V+/-0.8V". The "+/-0.8V" is outside the recommended range for the Pi (+/- 0.25V) and could lead to instability. Certainly the minimum voltage in that range - 4.2V is well outside the ...
by rpdom
Mon Jun 09, 2014 6:26 pm
Forum: Automation, sensing and robotics
Topic: Power model railway turnouts from a Pi
Replies: 40
Views: 11340

Re: Power model railway turnouts from a Pi

Richard-TX wrote:
rpdom wrote:
Richard-TX wrote:cheap, fast, good.

pick any two.
Why two? I'm only interested in one.
If you only want cheap. then you take away good and fast. :D
Not necessarily.

However I'm working on a much more important project at the moment (with a budget of zero) so that will have to wait.
by rpdom
Mon Jun 09, 2014 6:15 pm
Forum: Networking and servers
Topic: Filesharing with low CPU load ?
Replies: 10
Views: 2209

Re: Filesharing with low CPU load ?

Look in /etc/default/nfs-kernel-server
by rpdom
Mon Jun 09, 2014 6:09 pm
Forum: General discussion
Topic: Pi newbie and my smart energy project idea
Replies: 33
Views: 4712

Re: Pi newbie and my smart energy project idea

That one certainly looks like it will do the job, but I'm sure others here can suggest better value alternatives.
by rpdom
Mon Jun 09, 2014 4:25 pm
Forum: Other programming languages
Topic: Recommendations for PHP IDE on Pi
Replies: 6
Views: 11475

Re: Recommendations for PHP IDE on Pi

I use vi(m) and geany for my PHP code, depending on what machine I'm doing it on. Geany has syntax highlighting and stuff which is sometimes very annoying and other times quite useful. I don't use it for anything more than basic editing though.
by rpdom
Mon Jun 09, 2014 4:22 pm
Forum: Automation, sensing and robotics
Topic: Power model railway turnouts from a Pi
Replies: 40
Views: 11340

Re: Power model railway turnouts from a Pi

Richard-TX wrote:cheap, fast, good.

pick any two.
Why two? I'm only interested in one.
by rpdom
Mon Jun 09, 2014 1:06 pm
Forum: Automation, sensing and robotics
Topic: Power model railway turnouts from a Pi
Replies: 40
Views: 11340

Re: Power model railway turnouts from a Pi

Now for a challenge, work out which trains are on which loop by detecting them. I've been looking at ways to do this and haven't come up with a cheap solution yet (working in N scale). RFID reader built under the track with a small RFID tag attached to the bottom of each train? optical sensor in tr...
by rpdom
Mon Jun 09, 2014 1:02 pm
Forum: Beginners
Topic: Powerconnector which one?
Replies: 3
Views: 754

Re: Powerconnector which one?

From the FAQ: http://www.raspberrypi.org/help/faqs/
The device is powered by 5v micro USB
So you need a Micro USB plug, which is a standard, not any of the Mini USB connectors.
by rpdom
Mon Jun 09, 2014 12:59 pm
Forum: Beginners
Topic: Heatsinks?
Replies: 6
Views: 1411

Re: Heatsinks?

The only reason to use a heatsink is in a contrived situation where you wish to override the safeguards on the Pi and run a particularly resource intensive benchmarking program or game which would other wise run too slow. My advice to those people is to get a faster machine. A pony isn't a racehorse...
by rpdom
Mon Jun 09, 2014 8:29 am
Forum: Beginners
Topic: RTC RASPI
Replies: 2
Views: 1281

Re: RTC RASPI

Try putting a "/" on the front of "sys/class/i2c-adapter/i2c-1/new_device". The you shouldn't get the "-bash: sys/class/i2c-adapter/i2c-1/new_device: No such file or directory" error.

Code: Select all

pi@raspberry:~$ echo ds 1307 0x68 > /sys/class/i2c-adapter/i2c-1/new_device
by rpdom
Mon Jun 09, 2014 4:28 am
Forum: Automation, sensing and robotics
Topic: Power model railway turnouts from a Pi
Replies: 40
Views: 11340

Re: Power model railway turnouts from a Pi

Relay or MOSFET transistor circuit. Either can handle that sort of voltage and current. You can use a gpio expander chip to give more controls lines, or just use all the available gpios on the Pi, including the ones on the unpopulated header P5. That can give you a total of 21 gpios. However, I gues...
by rpdom
Mon Jun 09, 2014 4:20 am
Forum: Beginners
Topic: Change OS?
Replies: 2
Views: 747

Re: Change OS?

I don't understand what you mean.

If you have a command line then you are using the SD card and can do things with Python.

Do you really mean that you want to boot to a desktop and run the Idle[3] IDE?

If so, you can use "sudo raspi-config" and select the option to boot to desktop without scratch.
by rpdom
Mon Jun 09, 2014 4:04 am
Forum: Troubleshooting
Topic: Random boot problem
Replies: 4
Views: 2108

Re: Random boot problem

It does sound like a problem with the SD card or the card slot. Check the card carefully to make sure there are no cracks, the casing hasn't started to split apart and look at it end on to see if has "bowed" slightly in the middle. All of these can cause boot failures or later problems. Also check t...
by rpdom
Sun Jun 08, 2014 4:36 pm
Forum: Troubleshooting
Topic: Unable to install python-dev
Replies: 9
Views: 16037

Re: Unable to install python-dev

Can you list the contents of the file /etc/apt/sources.list and also all files in /etc/sources.list.d/?

It sounds like you may have something missing from one of these.

Go to advanced search