Go to advanced search

by SteveSpencer
Tue Jun 11, 2013 10:31 am
Forum: General discussion
Topic: USB Serial Adaptor Issue
Replies: 9
Views: 1893

Re: USB Serial Adaptor Issue

I have a box full (well, it's a small box of 20) of PL2303 USB/TTL(5v) adaptors which I originally bought to connect ATmega168/328/1284 chips to PCs. I've tried three or four on the previous latest Raspbian and not seen any problems with them. Of course, I was using them in a powered hub (2.5A) rath...
by SteveSpencer
Mon Jun 10, 2013 3:54 pm
Forum: Networking and servers
Topic: Raspberry Pi to a Serial Port
Replies: 17
Views: 68169

Re: Raspberry Pi to a Serial Port

Minicom should be fine for a terminal emulation program. On the Pi, your serial port (from the USB/Serial) is /dev/ttyUSB0. The output you just quoted has, I guess, come from a different machine, which is equipped with what appear to be two genuine UART chips (16550A chips, to be exact), and they re...
by SteveSpencer
Mon Jun 10, 2013 1:53 pm
Forum: Networking and servers
Topic: Raspberry Pi to a Serial Port
Replies: 17
Views: 68169

Re: Raspberry Pi to a Serial Port

Bus 001 Device 006: ID 067b:2303 Prolific Technology, Inc. PL2303 Serial Port [31328.703340] usb 1-1.2: pl2303 converter now attached to ttyUSB0 Looks fine :) Your new "serial port" on the Pi is /dev/ttyUSB0, from the look of that. Now, whether or not you have your cabling correct between the USB s...
by SteveSpencer
Mon Jun 10, 2013 12:40 pm
Forum: General discussion
Topic: RS and Allied Update #6
Replies: 324
Views: 61052

Re: RS and Allied Update #6

Are we talking RS / Allied in the US, or in the UK? I'm in the UK. For balance, maybe I've been lucky. I ordered a model B when they first came out (from RS) and it arrived pretty much when they said it would. I got a confirmation email for the order, and then one when it shipped. Ordered a second o...
by SteveSpencer
Fri Jun 07, 2013 11:52 am
Forum: General discussion
Topic: Industrial Embedded
Replies: 25
Views: 6391

Re: Industrial Embedded

I bet Eben would agree with many of those points. The problem isn't that the Pi isn't suitable for Industrial Embedded. It wasn't intended to be. The problem is that a few (albeit vocal) people pick up on the Pi (or whatever preceded it, or indeed, will follow it), and hail it as the greatest thing ...
by SteveSpencer
Fri Jun 07, 2013 11:19 am
Forum: General discussion
Topic: reboot and boot up a pc
Replies: 12
Views: 5338

Re: reboot and boot up a pc

but i mean putting a relay on the powerswitch on the motherboard... Not sure I'd do that, either, but I know what my soldering skills are like :) I guess that you effectively want to be able to "electronically" press the power button (or indeed, the reset button) of the PC. I think the ATX power su...
by SteveSpencer
Fri Jun 07, 2013 11:12 am
Forum: For sale
Topic: Preloaded SD Cards : The Pi OS Shop
Replies: 5
Views: 2572

Re: Preloaded SD Cards : The Pi OS Shop

James I believe (although it's hard to be sure) that cookiejunkie is confusing the availability of updates via apt-get and the check-pointed releases of the base images that the Foundation (every time I see that, I think of Isaac Asimov) makes available for download. For "new starters", having a pre...
by SteveSpencer
Fri Jun 07, 2013 11:05 am
Forum: Networking and servers
Topic: Raspberry Pi to a Serial Port
Replies: 17
Views: 68169

Re: Raspberry Pi to a Serial Port

[Thanks, Steve. Most likely, I would have to use USB to Serial "true" connector. So, I would have to connect the USB end to RPi and the Serial end to the device, say, a PC. Is it possible ? If yes, do I need any drivers for the same ? Once the connection is successful, I need to use lsusb or dmesg....
by SteveSpencer
Thu Jun 06, 2013 4:48 pm
Forum: Networking and servers
Topic: Raspberry Pi to a Serial Port
Replies: 17
Views: 68169

Re: Raspberry Pi to a Serial Port

You would typically use a USB/Serial converter. There are two basic types. The first one is commonly used by people talking to microcontrollers and similar devices, it has a USB at one end, and a wiring connector (usually 4 or 6 pins or sockets) at the other, and is designed to use TTL level voltage...
by SteveSpencer
Thu Jun 06, 2013 4:39 pm
Forum: General discussion
Topic: Some feedback for a revision 3 board
Replies: 20
Views: 4374

Re: Some feedback for a revision 3 board

Female GPIO header Disagree. No point changing it now given the number of addons that use the current arrangement. Shorting risk is small and a female header doesn't allow you to plug in that you can't plug in with a male header. 26 pins is 26 pins. You can always replace it for specific projects i...
by SteveSpencer
Thu Jun 06, 2013 4:31 pm
Forum: General discussion
Topic: reboot and boot up a pc
Replies: 12
Views: 5338

Re: reboot and boot up a pc

Personally, I'd avoid relays. At least, ones that involve a connection to the mains. Instead, what I did was to buy a bunch of remote-control mains sockets from Maplin (OK, this is fine if you live in the UK) and a 433MHz transmitter module. Much safer, and you don't need to be certified to work on ...
by SteveSpencer
Wed Jun 05, 2013 9:47 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: SPI 9 bit mode - how to?
Replies: 3
Views: 3814

Re: SPI 9 bit mode - how to?

Thank you, both. I will have a little play later and see how I get on. It's a shame the second SPI isn't brought out, but it's impossible to bring out everything without having a huge board (and an associated price tag). As for it not being easy, if I wanted easy, I would probably use a 16x2 LCD wit...
by SteveSpencer
Tue Jun 04, 2013 3:07 pm
Forum: C/C++
Topic: Simple question on stat/fstat
Replies: 5
Views: 1891

Re: Simple question on stat/fstat

Yes, the missing define fixed it. Well, it sort of did. I was using a 3rd party .so as well, which had been compiled without the define, and led to all kinds of fun. However, the nice man at un4seen.com (it is the bass module for Linux ARM) posted up a recompiled version and I was soon a happy bunny...
by SteveSpencer
Tue Jun 04, 2013 1:58 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: SPI 9 bit mode - how to?
Replies: 3
Views: 3814

SPI 9 bit mode - how to?

I have a couple of LCD displays that I've been using with some of my Arduino projects. However, I now want to connect one to the Pi as a dedicated display for a headless box, so I'm not looking to go down the frame-buffer route, only one app will talk to it. It's one of these http://www.adafruit.com...
by SteveSpencer
Thu Mar 28, 2013 9:31 am
Forum: C/C++
Topic: Simple question on stat/fstat
Replies: 5
Views: 1891

Simple question on stat/fstat

Hi. I'm running wheezy Raspbian (09/02/13) (updated online). It's been a long time since I did any non-Windows programming, so take pity on me.. I want to determine a file size. Easy, says I, use stat(2) or fstat(2) if the file is already open. These are network files, and some of them are large, si...

Go to advanced search