Go to advanced search

by iainmaoileoin
Sun Dec 02, 2012 10:06 pm
Forum: Automation, sensing and robotics
Topic: first experience with a Rs-Pi 23017-2
Replies: 2
Views: 1221

Re: first experience with a Rs-Pi 23017-2

The talk is about the pridopia expansion board that costs about £25. It has two 23017s connected to the pi I2C. So you have 4 x 8 bit ports that you can address/drive. It does the 3.3/5v buffer stuff too.

Sorry if your confused, was trying to feedback my experience with the add on board.
by iainmaoileoin
Sun Dec 02, 2012 8:11 pm
Forum: General discussion
Topic: XBMC, which one?!
Replies: 7
Views: 6199

Re: XBMC, which one?!

I have used the openELEC XBMC on a few personal projects. 12v battery driven - caravan TV and 5v USB from cigarette-adaptors. Has worked fine so far. In the office the guys have tied it up to their phones, got the online weather, used it (with addons) to do wee bits of video, etc etc. The main job w...
by iainmaoileoin
Sun Dec 02, 2012 5:50 pm
Forum: General discussion
Topic: Thouhgts on backing up your SD card
Replies: 3
Views: 1365

Re: Thouhgts on backing up your SD card

I dont understand "Arch". The pi I am on just now came from Element 14. The image is "just whatever I found on the net". The dump/restore commands have been in unix pretty close to forever - I must have used them in the 80s. They are pretty simple at one level using only inode dates and times - so t...
by iainmaoileoin
Sun Dec 02, 2012 3:02 pm
Forum: Automation, sensing and robotics
Topic: sending MMS to phone
Replies: 4
Views: 2969

Re: sending MMS to phone

How much hardware do you want to build; or do you want to buy off the shelf?
What sort of budget are you on?
Do you own any old phones that can be driven by a PC?
Is your RaPi wirelessable to something with an internet connection in your house?
Can you email yourself a picture from a PC?
etc
by iainmaoileoin
Sun Dec 02, 2012 2:58 pm
Forum: Automation, sensing and robotics
Topic: first experience with a Rs-Pi 23017-2
Replies: 2
Views: 1221

first experience with a Rs-Pi 23017-2

Off the cuff, as I see it. These are my personal comments and represent my opinion pridopia "Raspberry Pi Rs-Pi I2C 23017 x2 32 bit GPIO Board" I bought one of these boards off ebay. Quite pricy at £25ish . Probably cheaper to blow a pi than to buy 1 of these ;-) Anyway. It does what it says on the ...
by iainmaoileoin
Sun Dec 02, 2012 10:32 am
Forum: General discussion
Topic: Thouhgts on backing up your SD card
Replies: 3
Views: 1365

Thouhgts on backing up your SD card

Unix comes with a huge range of backup tools. I am 100% unix user. As a pi programmer I use the tools "dump" and "restore". Why? Well I can train the tool to do "incremental dumps". This means I can work on my pi for a while then automatically copy off everything that has changed to another system. ...
by iainmaoileoin
Sat Dec 01, 2012 4:21 pm
Forum: Automation, sensing and robotics
Topic: stepper motor driver
Replies: 3
Views: 2625

Re: stepper motor driver

24volt 2.something amp, it carries its armour plating about with it! It is a SPOTS machine for target shooting. It moves a multi-spot set of aiming marks so that each one moves to the same place. This allows club shooters on NSRA 10 spot bulls to shoot "international" type competition. Because it is...
by iainmaoileoin
Sat Dec 01, 2012 9:55 am
Forum: Automation, sensing and robotics
Topic: stepper motor driver
Replies: 3
Views: 2625

stepper motor driver

A wee "not yet complete" but "works enuf to say it works" project. I have to drive a couple of stepper motors to accurate X an Y movements. The hardware for the X Y was a "Parker" Linear Actuator 803-1436A - Check Google - (Second hand). I used two ebay "3A Single Axis Stepper Motor Driver Controlle...
by iainmaoileoin
Thu Nov 29, 2012 3:06 pm
Forum: Beginners
Topic: Changing the auto-mount permissions
Replies: 4
Views: 866

Re: Changing the auto-mount permissions

That looks like when you imported the disk from the other machine that you dont have permissions on the directory.

What are you mounting from where and I might be able to comment?
by iainmaoileoin
Tue Nov 27, 2012 10:59 am
Forum: Beginners
Topic: How to set the clock/time?
Replies: 24
Views: 28311

Re: How to set the clock/time?

I agree with you about the date command on different versions of unix being "quircky". On my pi root@raspberrypi:~/gpio# uname -a Linux raspberrypi 3.2.27+ #102 PREEMPT Sat Sep 1 01:00:50 BST 2012 armv6l GNU/Linux root@raspberrypi:~/gpio# date 112710552012.30 Tue Nov 27 10:55:30 UTC 2012 did what it...
by iainmaoileoin
Sun Nov 25, 2012 7:52 pm
Forum: Beginners
Topic: Changing the auto-mount permissions
Replies: 4
Views: 866

Re: Changing the auto-mount permissions

I am a wee bit unsure what you are asking.

chmod 775 /x/y
puts permissions on /x/y

7 -> rwx
5 -> r-x
0 -> ---

Are you trying to get the automount to set the permissions? or to do it manually yourself?
by iainmaoileoin
Fri Nov 23, 2012 8:18 am
Forum: Beginners
Topic: Public/External IP
Replies: 23
Views: 73645

Re: Public/External IP

ifconfig will tell you lots about your LOCAL system network, but unless you are the final hop to the internet it may not tell you enough. whatismyip.com works fine - but in complex networks the http traffic can be squidded/cached and whatismyip will give you address of the cache-server which may be ...
by iainmaoileoin
Thu Nov 22, 2012 11:12 am
Forum: Beginners
Topic: non blocking input from keyboard
Replies: 3
Views: 2953

Re: non blocking input from keyboard

I dont know how to edit posts, so this is related to the one above. When the termio is applied the controlling console (/dev/tty) goes into raw mode. A consequence of this is that "\n" in printfs(etc) only does what it is told and prints a linefeed. So you get staircase output. You have to do a "\r\...
by iainmaoileoin
Thu Nov 22, 2012 10:05 am
Forum: Beginners
Topic: non blocking input from keyboard
Replies: 3
Views: 2953

Re: non blocking input from keyboard

Joan THANKS
I did have to add
#include <termios.h>
which I was not including;

Apart from that it worked first time.
I has been over 3 decades since I last did termio stuff :oops:

I also had to go dust down my rs232 breakout box to drive some other stepper motors.
It all comes round again
by iainmaoileoin
Thu Nov 22, 2012 9:44 am
Forum: Beginners
Topic: non blocking input from keyboard
Replies: 3
Views: 2953

non blocking input from keyboard

I ssh in to my pi and want to control stepper motors from the keyboard while dev/testing. I dev in C (lots of grey hair here) not snake oil python. Using int fd, n; char c; fd = open("/dev/tty", O_RDWR | O_NONBLOCK); I can get a n=read(fd,&c,1); to return -1 when no data is waiting but a positive nu...
by iainmaoileoin
Tue Jul 31, 2012 11:00 pm
Forum: Beginners
Topic: Forcing resolution with OpenELEC
Replies: 4
Views: 2919

Re: Forcing resolution with OpenELEC

It is to do with XBMC going into full screen mode.

If you force windowed and then set the resolution in advancedsettings.xml it will not reset your display mode.
Newbie here can you be more specific please?
how do you force windowed? an example of advancedsettings would be much appreciated

Go to advanced search