Go to advanced search

by Bright Sparks NZ
Sat Oct 18, 2014 7:24 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Raspberry as I2C Slave
Replies: 6
Views: 13864

Re: Raspberry as I2C Slave

How much data do you want to pass ? Would just whacking the sda and scl line in parallel and have one slave i2C device on the common buss and send stuff via a buffer slave work ? The two matser devices 'check in' for new of changed data on the slave device. As I understand it even the master should ...
by Bright Sparks NZ
Tue Jul 08, 2014 11:51 pm
Forum: Python
Topic: Flush Serial Buffer
Replies: 5
Views: 36746

Re: Flush Serial Buffer

Hi Still trying to crack this one. It is most likely the mode or class (whatever that means) or environment I am running things in ? This is just to set up simple classroom demo scripts running IDLE and minimal hardware and basic concepts. +++++++++++++++++++ import serial, time #this imports the li...
by Bright Sparks NZ
Wed Jul 02, 2014 6:03 am
Forum: Python
Topic: Flush Serial Buffer
Replies: 5
Views: 36746

Flush Serial Buffer

Hi 1/. Would be interested in how to clear the input serial buffer (and output ?) as the following program example starts. When (re)starting the program the Pi seems to have happily accumulated everything and anything seen on the UART Rx line. This can be time consuming / messy esp if processing and...
by Bright Sparks NZ
Tue Jun 10, 2014 8:25 pm
Forum: Automation, sensing and robotics
Topic: Adding Modprobe w1-gpio / Modprobe w1-therm to boot
Replies: 10
Views: 43979

Re: Adding Modprobe w1-gpio / Modprobe w1-therm to boot

Thanks for the aboves. I am trying to get os.system('modprobe w1-gpio') / os.system('modprobe w1-therm') to work. I am trying to set up a few little demo py scripts along with photos so students can gain confidence with interfacing simple Low cost devices like great little DS18B20 temperature sensor...
by Bright Sparks NZ
Mon Jun 17, 2013 3:57 am
Forum: General discussion
Topic: USB-Serial Convert hangs the Pi !!
Replies: 6
Views: 2304

Re: USB-Serial Convert hangs the Pi !!

Me Too ! Several olde 9 pin Prolific = success. I have fab simple one chip picaxe interfaces and data loggers hanging off the 9 pin adapter and responding really well. I wind I don't even need a battery as the logic pins power the chip. I too am waiting for a fix or tweak or upgrade that will make t...
by Bright Sparks NZ
Fri Jun 14, 2013 5:41 am
Forum: General discussion
Topic: USB Serial Adaptor Issue
Replies: 9
Views: 1792

Re: USB Serial Adaptor Issue

Looks like the Prolific was working TOO well... The hardware flow control was ON. Wonder how many 'faulty' USB Serial leads have been tossed aside on this basis...? This is set within the Hardware Flow Control parameters within Minicom See >>> http://stackoverflow.com/questions/3913246/cannot-send-c...
by Bright Sparks NZ
Fri Jun 14, 2013 2:18 am
Forum: General discussion
Topic: USB Serial Adaptor Issue
Replies: 9
Views: 1792

Re: USB Serial Adaptor Issue

Okay so after a few more tries and a bit more image blatting onto the SD card the Prolific works into a terminal program. (Correction it is Half working... It will Rx data into the 9 pin Prolific from anything but no data from Minicom TO the 9 pin serial adapter) Any ideas to test this or tweak Mini...
by Bright Sparks NZ
Fri Jun 14, 2013 12:57 am
Forum: General discussion
Topic: USB Serial Adaptor Issue
Replies: 9
Views: 1792

Re: USB Serial Adaptor Issue

Update on plug and pray USB serial... * lsusb checks out the usb devices on your system * Rev Ed AXE-027 FTDI-Phono RS232 reports in but does not appear under the dev directory * Red Ed 9 pin adapter reports in as prolific and does appear under dev directory as ttyUSB0. With this I can start minicom...
by Bright Sparks NZ
Tue Jun 11, 2013 9:35 am
Forum: General discussion
Topic: USB Serial Adaptor Issue
Replies: 9
Views: 1792

Re: USB Serial Adaptor Issue

A link please ? Any setup or install instructions ? I am hoping to use FTDI serial to try out a few interfacing ideas since serial does not look like going away any time soon. Have to say that after several days searching I have not found much in the way of setting up or using one for general use. S...
by Bright Sparks NZ
Mon Jun 10, 2013 2:31 am
Forum: Beginners
Topic: New Out Of Box Software login
Replies: 10
Views: 11296

Re: New Out Of Box Software login

Thanks for ideas checklist. No change. Yes I have been using budget cards and reasonable ones but the same error and message comes up. Win32diskimager-v0.8 and a fresh image of rasparian ( half the download size ) worked a treat on nearly all the same cards. This also needs nothing special to setup ...
by Bright Sparks NZ
Sat Jun 08, 2013 5:42 am
Forum: Beginners
Topic: New Out Of Box Software login
Replies: 10
Views: 11296

New Out Of Box Software login

I am following the New Out Of Box Software (Recommended) instructions to make a new SD card following the document 'quick-start-guide-v2.pdf' I am up to "6. Insert the SD card into your Pi and connect the power supply" I am prompted for a recovery login and password. The usual pi and raspberry does ...
by Bright Sparks NZ
Fri Mar 22, 2013 9:12 pm
Forum: Beginners
Topic: Best Cheap WiFi Dongle
Replies: 55
Views: 193278

Re: Best Cheap WiFi Dongle

Seems to me a wizard or some data on setting up wifi dongles would be in order. I can understand pulling too much current can cause issues but it looks like there is a lot of middle ground for versions of board and dongle type types issues and problems aside from things 'browning out'. Wifi being al...
by Bright Sparks NZ
Mon Mar 18, 2013 8:14 am
Forum: Advanced users
Topic: Command Line Serial Baud Rate Control
Replies: 6
Views: 36368

Re: Command Line Serial Baud Rate Control

Thanks everyone. I have received some help via e-mail from Vik Olliver ‘The command line program you use is "stty" and "man stty" on a linux box gives all the instructions. You can read them, but ... Find out *everything* on the port stty -a -F /dev/ttyUSB0 57600 baud please, 8 bits: stty -F /dev/tt...
by Bright Sparks NZ
Sat Mar 09, 2013 2:08 am
Forum: Advanced users
Topic: Command Line Serial Baud Rate Control
Replies: 6
Views: 36368

Re: Command Line Serial Baud Rate Control

Thanks people for the responses. I will update here how we get on when I next get a chance after this weeks trip around the country meeting teachers etc. I should know a heap more about Pi and at least a few more commands by next Saturday ! If people want to 'read between the lines' where I am going...
by Bright Sparks NZ
Thu Mar 07, 2013 10:17 am
Forum: Advanced users
Topic: Command Line Serial Baud Rate Control
Replies: 6
Views: 36368

Command Line Serial Baud Rate Control

I am (very) new to Pi and Linuxy things in general but have been doing quite a lot in just a few weeks with the Pi just using it as a www / serial interface with tools like Cosm and cURL to get and put data on line in the 'Internet of Things' sort of space and can see some real potential here... How...
by Bright Sparks NZ
Thu Mar 07, 2013 9:38 am
Forum: C/C++
Topic: UART Issues
Replies: 15
Views: 2908

Re: UART Issues

I made up a nifty little 'level shifter' inverter with just a pair of NPN transistors and 6x1k resistors. This comes in real handy for a variety of projects needing TTL / RS232 level shifting. A good idea to protect your Pi as well ! Proto board and scematic here... https://picasaweb.google.com/pica...
by Bright Sparks NZ
Mon Dec 24, 2012 5:48 am
Forum: Beginners
Topic: COM port
Replies: 34
Views: 21545

Re: COM port

I think serial data is great fun. Call it what you like, but banging bits in a row down a pipe, fiber, string or wire it is an important educational concept. Here is a link to my photo share of data coms sampler ideas. http://picasaweb.google.com/picaxe/Data It includes the diagram for a few simple ...
by Bright Sparks NZ
Fri Dec 21, 2012 9:29 pm
Forum: General discussion
Topic: Hacking Source
Replies: 4
Views: 1113

Re: Hacking Source

As above; perhaps make a new post GPIO Hacks etc. I have been running electronics PD courses in and workshops in NZ providing free resources in the NZ schools scene. I am adding Pi to our courses in 2013 with an emphasis on the Pi GPIO electronics interfacing. I hope to set up a post for interested ...
by Bright Sparks NZ
Fri Dec 21, 2012 8:26 pm
Forum: Raspbian
Topic: USB dial-up modem
Replies: 27
Views: 19468

Re: USB dial-up modem

How would a USB/Serial solution go ? I am interested in this approach as a method or serial interfacing for Dial Up and a few other ideas besides. There is a serial UART on the I/O lines as well I hope to investigate for picaxe interfacing. This will need inverting as I suspect it is TTL. Looking fo...

Go to advanced search