Go to advanced search

by PeterO
Fri Aug 10, 2012 11:01 am
Forum: Automation, sensing and robotics
Topic: Problem with Arduino Mega 2560
Replies: 0
Views: 1157

Problem with Arduino Mega 2560

I can't get my Arduino Mega 2560 to work on my RPI.

The problem is the USB interface (no surprise there!) The Mega shows up as /dev/ttyACM0, and I've tried all the "workarounds" that I can find but it still doesn't work.

Has anyone actually got a Mega 2560 (R3) to work with a RPI ?

PeterO
by PeterO
Fri Aug 10, 2012 6:31 am
Forum: General programming discussion
Topic: Read serial port
Replies: 8
Views: 35656

Re: Read serial port

That is a really bad example in that answer. It's not even a valid piece of C code, just a few lines of code that need to be wrapped up in a function, and the port needs to be opened and configured as well.

1st question to you sharix: How much C programming experience do you have ?

PeterO
by PeterO
Thu Aug 09, 2012 7:56 am
Forum: General discussion
Topic: Another Desktop to consider ?
Replies: 2
Views: 872

Another Desktop to consider ?

From The Register this morning... http://www.theregister.co.uk/2012/08/09/cde_goes_opensource/ "Why would anyone care these days [About a 20 year old desktop environment] ? Well, as Linux moves into new low-end territory on devices with limited storage and memory, such as the Raspberry Pi, CDE's 199...
by PeterO
Thu Aug 09, 2012 6:44 am
Forum: Other projects
Topic: GTK+ gui
Replies: 0
Views: 580

GTK+ gui

Here's a picture of my Pi running a GTK+ application that talks to a PIC via the GPIO's serial interface. http://www.peteronion.org.uk/TNMOC-803/RPiPLTS.png The PIC is connected to one of the 1960's computers at The National Museum of Computing. The gui allows paper tape image files to be loaded int...
by PeterO
Thu Aug 09, 2012 6:33 am
Forum: User groups and events
Topic: Raspberry Jam for Milton Keynes
Replies: 92
Views: 22190

Re: Raspberry Jam for Milton Keynes

I only just saw your post, Peter. I've added myself to the waiting list over at Event Brite. I missed out on the Cambridge one, so I'm hoping I'll get on this one! *fingers crossed*! -- Mike Mike, I'm sorry you didn't get a ticket this time. It's encouraging that we've "sold" all 30 tickets so quic...
by PeterO
Sat Aug 04, 2012 7:55 pm
Forum: Staffroom, classroom and projects
Topic: Educational resources for Raspberry Pi and Educational dist.
Replies: 20
Views: 5363

Re: Educational resources for Raspberry Pi and Educational d

In which case you could be a bit clearer about it in your "PR blurb", especially as you say Rasbpian didn't have the stuff you wanted in it so you used wheezy instead !
PeterO
by PeterO
Sat Aug 04, 2012 7:31 pm
Forum: Staffroom, classroom and projects
Topic: Educational resources for Raspberry Pi and Educational dist.
Replies: 20
Views: 5363

Re: Educational resources for Raspberry Pi and Educational d

Wouldn't Raspbian have been a better starting point for your "tweaks" ?

PeterO
by PeterO
Sat Aug 04, 2012 8:18 am
Forum: User groups and events
Topic: Raspberry Jam for Milton Keynes
Replies: 92
Views: 22190

Re: Raspberry Jam for Milton Keynes

19 of the 30 places have been taken already, so if you are thinking about coming along you better act soon !
PeterO
by PeterO
Fri Aug 03, 2012 5:47 pm
Forum: C/C++
Topic: My Pi does not find libusb.h
Replies: 12
Views: 43895

Re: My Pi does not find libusb.h

It looks like you have not installed the development version of libusb. sudo apt-get install libusb-1.0-0.dev (but you say you have......) :? In your code #include <libusb.h> should work if you use this command to compile gcc -o driver driver.c -I/usr/include/libusb-1.0/ -lusb The -I tells the compi...
by PeterO
Thu Aug 02, 2012 3:53 pm
Forum: User groups and events
Topic: User Group in Braintree Essex
Replies: 24
Views: 4801

Re: User Group in Braintree Essex

There are a few in Colchester, Maybe we should just nominate a pub one evening and see who turns up.
Any nice pubs in Wivenhoe ? (I used to live there when I was a student).
PeterO
by PeterO
Thu Aug 02, 2012 12:59 pm
Forum: General discussion
Topic: 1 day waiting time with Farnell
Replies: 13
Views: 3237

Re: 1 day waiting time with Farnell

A friend of mine has just emailed be with a similar story, so it sounds like the backlog of orders has cleared (at Farnell at least).
PeterO
by PeterO
Thu Aug 02, 2012 6:39 am
Forum: User groups and events
Topic: Raspberry Jam at Bletchley Park?
Replies: 10
Views: 3284

Re: Raspberry Jam at Bletchley Park?

W. H. Heydt wrote:(If I had Large Sums of Money.....
Just how far away are you ????
PeterO
by PeterO
Wed Aug 01, 2012 11:12 am
Forum: User groups and events
Topic: Raspberry Jam for Milton Keynes
Replies: 92
Views: 22190

Re: Raspberry Jam for Milton Keynes

alexeames wrote:I'd love to come along but I'll be away on that date. Will there be another one at some point?
We're intending this to become a regular event, so you should have many more chances to be away and miss it :lol:
PeterO
by PeterO
Wed Aug 01, 2012 11:01 am
Forum: User groups and events
Topic: Raspberry Jam for Milton Keynes
Replies: 92
Views: 22190

Re: Raspberry Jam for Milton Keynes

MattPoat wrote:I'll be there with my Pi. Hopefully I will have finished modifying an Atari 2600 cartridge to house my unit by then...
Matthew
Nice link with the past there Matt !
I should have my Elliott 803 emulator working on my Pi by then. [I look after the real 803 in the museum :-) ]
PeterO
by PeterO
Wed Aug 01, 2012 10:16 am
Forum: User groups and events
Topic: Raspberry Jam for Milton Keynes
Replies: 92
Views: 22190

Re: Raspberry Jam for Milton Keynes

Thanks Alan for setting up the page... We'll have some RPi there for people to "experience" and some monitors for people to use if they bring their own RPis along. (Please bring your own Keyboards,Mice and PSUs). Museum WiFi will be available and maybe a wired network as well. Any queries, please as...
by PeterO
Mon Jul 30, 2012 11:29 am
Forum: Networking and servers
Topic: Static IP
Replies: 21
Views: 15099

Re: Static IP

raspfly wrote:
PeterO wrote:Please post the contents of /etc/network/interfaces

Are you sure your "airport" can't supply a config for your RPI via DHCP ?

PeterO
What is this airport ?
I hadn't noticed you had hijacked the OP's thread...

PeterO
by PeterO
Mon Jul 30, 2012 9:15 am
Forum: Networking and servers
Topic: Static IP
Replies: 21
Views: 15099

Re: Static IP

Please post the contents of /etc/network/interfaces

Are you sure your "airport" can't supply a config for your RPI via DHCP ?

PeterO
by PeterO
Mon Jul 30, 2012 6:50 am
Forum: Networking and servers
Topic: Static IP
Replies: 21
Views: 15099

Re: Static IP

Does it ? What is "it" ? Ip address,netmask or network ?

PeterO
by PeterO
Sun Jul 29, 2012 9:22 pm
Forum: Beginners
Topic: Sudo doesn't require password authentication?
Replies: 4
Views: 3861

Re: Sudo doesn't require password authentication?

look in /etc/sudoers

PeterO
by PeterO
Sun Jul 29, 2012 5:53 pm
Forum: Networking and servers
Topic: Static IP
Replies: 21
Views: 15099

Re: Static IP

In the general case your network address will be similar to your ip address.
So if
ip = a.b.c.d
and
netmask = 255.255.255.0
then
network = a.b.c.0

So if
ip = 10.0.1.XX
and
netmask = 255.255.255.0
then
network = 10.0.1.0

HTH
PeterO
by PeterO
Sun Jul 29, 2012 12:44 pm
Forum: Beginners
Topic: How do I install a downloaded program
Replies: 3
Views: 1564

Re: How do I install a downloaded program

If all you want to do is set a static address, then just edit /etc/network/interfaces. The file on my RPI looks like this..... auto lo iface lo inet loopback iface eth0 inet static address 192.168.1.35 netmask 255.255.255.0 network 192.168.1.0 broadcast 192.168.1.255 gateway 192.168.1.1 You'll have ...
by PeterO
Sat Jul 28, 2012 8:07 pm
Forum: User groups and events
Topic: Raspberry Jam for Milton Keynes
Replies: 92
Views: 22190

Raspberry Jam for Milton Keynes

The National Museum of Computing (TNMOC) located in Bletchley Park will be running its first "Jam" on the morning of Sunday 19th August. More details to follow, but the first event is aimed at gaining a feel for the level of interest in the local area.

PeterO
Volunteer at TNMOC.
by PeterO
Fri Jul 27, 2012 7:44 pm
Forum: Troubleshooting
Topic: New Pi Invalid MIT-COOKIE-1
Replies: 5
Views: 2663

Re: New Pi Invalid MIT-COOKIE-1

MIT-COOKIEs are stored in a file called .Xauthority in your home directory.

Try deleting it with rm ~/.Xauthority then try startx again.

PeterO
by PeterO
Fri Jul 27, 2012 7:43 am
Forum: Raspberry Pi OS
Topic: How do I run the GUI Kernal? (Raspbian)
Replies: 6
Views: 64008

Re: How do I run the GUI Kernal? (Raspbian)

There are instructions at
http://www.raspberrypi.org/downloads
and
http://elinux.org/RPi_ Easy_SD_Card_Setup
which will load all the software you need to run an X desktop,

PeterO
by PeterO
Tue Jul 24, 2012 9:04 am
Forum: User groups and events
Topic: User Group in Braintree Essex
Replies: 24
Views: 4801

Re: User Group in Braintree Essex

The address you've given for contacts doesn't work !

"Sorry, we were unable to deliver your message to the following address.

<rp-essex@gmail.com>:
Remote host said: 550 5.1.1 http://support.google.com/mail/bin/answ ... nswer=6596 js8si27362062pbc.305 [RCPT_TO]"

PeterO

Go to advanced search