Search found 36 matches
- Wed Dec 03, 2014 5:12 am
- Forum: Python
- Topic: Understanding Serial Port
- Replies: 3
- Views: 1669
Re: Understanding Serial Port
Try this, read example. #!/usr/bin/env python import serial from time import sleep ser = serial.Serial( port='/dev/ttyAMA0', baudrate = 9600, timeout = 2 ) # Connect to serial port sleep( 2 ) # Give a little time for serial port to be opened. Not really needed but helps for debugging val = '<1234567...
- Tue Dec 02, 2014 10:38 am
- Forum: Python
- Topic: global array in Python
- Replies: 7
- Views: 2150
Re: global array in Python
why not use pickle?global arrow and run few independend programm on pythin and each programm can read or write date on this array
- Tue Dec 02, 2014 10:31 am
- Forum: Python
- Topic: Understanding Serial Port
- Replies: 3
- Views: 1669
Re: Understanding Serial Port
It might help if you show us your code?
- Fri Jan 04, 2013 5:47 pm
- Forum: Other projects
- Topic: Shipping 10" LCD Capacitive touch Chalckboard
- Replies: 10
- Views: 5982
- Wed Dec 05, 2012 11:23 am
- Forum: Other projects
- Topic: 10" Touch Screen for Raspi on route shortly!
- Replies: 44
- Views: 61466
Re: 10" Touch Screen for Raspi on route shortly!
Hi JF002. Yeah I found those settings while trying to figure out how the calibration tool works and what it supposed to do. I set my deactivate_slack to 6, default was 4 and it seems to have made the screen a little more smoother. Other settings didn't seem to do anything, even when sending stupid v...
- Sun Nov 25, 2012 10:25 am
- Forum: Other projects
- Topic: 10" Touch Screen for Raspi on route shortly!
- Replies: 44
- Views: 61466
Re: 10" Touch Screen for Raspi on route shortly!
Ordered the 10" kit as well, planning to embed it in a brewing control panel. Beer? I just finished running off 180 liters of wort through my 2 inch boka :) I have an arduino connected to it to monitor the temps and have a raspi taking to it via rs485 and updating several computers on my home ...
- Sat Nov 24, 2012 4:31 pm
- Forum: Other projects
- Topic: 10" Touch Screen for Raspi on route shortly!
- Replies: 44
- Views: 61466
Re: 10" Touch Screen for Raspi on route shortly!
Do you know if the driver is based on a proprietary firmware or if we all all the necessary source to fix it? Having read through most of the stuff on the ubuntu forums, I came to the conclusion it has been reverse engineered from windows firmware. I could be wrong though. Thanks for the link to th...
- Sat Nov 24, 2012 6:17 am
- Forum: Other projects
- Topic: Touch Screen driver problem
- Replies: 1
- Views: 762
Re: Touch Screen driver problem
I think the driver for this is already in the linux kernel. What does lsusb typed into a terminal give you when you plug the touchscreen in?
- Sat Nov 24, 2012 1:09 am
- Forum: Python
- Topic: Script to play video using omxplayer
- Replies: 11
- Views: 13361
Re: Script to play video using omxplayer
This should work and get you started.
Code: Select all
#!/usr/bin/env python
# -*- coding: utf-8 -*-
movie_path = '/path/to/your/file.mpg'
from subprocess import Popen
omxp = Popen(['omxplayer',movie_path])
- Sat Nov 24, 2012 12:49 am
- Forum: Other projects
- Topic: 10" Touch Screen for Raspi on route shortly!
- Replies: 44
- Views: 61466
Re: 10" Touch Screen for Raspi on route shortly!
But as long as we're having usb failures we will have to wait for a stable platform. At the moment all sorts of bad things can happen when the pointer goes awol and kicks off 10+ touch events per second. I've had files deleted and all sorts of weird issues due to this. I have a feeling this has to ...
- Fri Nov 23, 2012 5:57 pm
- Forum: Python
- Topic: raspberry + python + usb to rs485
- Replies: 1
- Views: 1819
Re: raspberry + python + usb to rs485
which adapter is it?
I have a ftdi usb to serial talking to an 75176b rs485 transceiver which talks to an arduino via python. It's been running for 4 days straight now. Seems pretty stable.
I have a ftdi usb to serial talking to an 75176b rs485 transceiver which talks to an arduino via python. It's been running for 4 days straight now. Seems pretty stable.
- Thu Nov 22, 2012 4:56 pm
- Forum: Other projects
- Topic: 10" Touch Screen for Raspi on route shortly!
- Replies: 44
- Views: 61466
Re: 10" Touch Screen for Raspi on route shortly!
Beware though, if you plug a mouse or keyboard in with the touchscreen it can and often does screw things up unfortunately. The usb on the raspi still needs a lot of tender loving care, although I've noticed it's getting better somehow. One day perhaps?
- Thu Nov 22, 2012 11:58 am
- Forum: General programming discussion
- Topic: creating a custom boot screen
- Replies: 1
- Views: 763
- Thu Nov 22, 2012 11:11 am
- Forum: Other projects
- Topic: 10" Touch Screen for Raspi on route shortly!
- Replies: 44
- Views: 61466
Re: 10" Touch Screen for Raspi on route shortly!
Hi wizard. I don't know if your still following this post or working with your lg 10inch touchscreen. But I thought I'd share some developments with you. I managed to get mine to work really smooth on my raspi by setting some settings in /usr/share/X11/xorg.conf.d. In this directory you'll find a fi...
- Wed Nov 14, 2012 2:25 pm
- Forum: Beginners
- Topic: login / startx automatically
- Replies: 47
- Views: 74550
Re: login / startx automatically
Ah ok. Sounds like another corrupt raspi sd card issue. I hope it doesn't reflect badly on linux, it's a lot better than that 
Anyway http://forums.debian.net/ are full of good linux and debian tips and the users aren't too bad either

Anyway http://forums.debian.net/ are full of good linux and debian tips and the users aren't too bad either

- Tue Nov 13, 2012 7:40 am
- Forum: Beginners
- Topic: rc.local does not run python file on startup ?
- Replies: 4
- Views: 9762
Re: rc.local does not run python file on startup ?
Change your script to include the python interpreter command at the top like so #!/usr/bin/env python # Python program to monitor status of R-Pi GPIO #18 (R-Pi GPIO connector pin #12) from __future__ import print_function import RPi.GPIO as GPIO import time, sys # print('day,start,end') print('# PIR...
- Tue Nov 13, 2012 7:27 am
- Forum: Beginners
- Topic: screen goes blank
- Replies: 4
- Views: 2211
Re: screen goes blank
You shouldn't edit system wide files, this is not windows! Unless you know what you're doing and you want all user accounts to behave the same way. Stick to your own profile settings and you won't stuff up your system. You should put this at the bottom of your .bashrc file or better yet in your .xin...
- Tue Nov 13, 2012 7:08 am
- Forum: Beginners
- Topic: login / startx automatically
- Replies: 47
- Views: 74550
Re: login / startx automatically
The file is different because you're logged in as the root user and not your normal user account. Each user on a linux system has their own .profile file. You'll find the one you're looking for in /home/YOURUSERNAME/ that you normally log in with. You're probably looking at roots .profile not your o...
- Sun Nov 11, 2012 12:57 pm
- Forum: Troubleshooting
- Topic: ssh -X stopped working
- Replies: 20
- Views: 7284
Re: ssh -X stopped working
Well it works fine for me with all the latest updates. perhaps your sd card is suffering from corruption? A common occurrence on the raspi. Do you have another sd card you can load a fresh copy of raspbian on?
- Sun Nov 11, 2012 12:19 pm
- Forum: Troubleshooting
- Topic: ssh -X stopped working
- Replies: 20
- Views: 7284
Re: ssh -X stopped working
clear your ssh keys which are generated whenever you first ssh into another machine. In linux they're found in your home director/.ssh in windose I have no idea.
- Sat Nov 03, 2012 4:06 pm
- Forum: Other projects
- Topic: Portable Pi with Touchscreen
- Replies: 20
- Views: 19272
Re: Portable Pi with Touchscreen
watch the youtube vid and see how CPU hungry their drivers are. That really put me off their product. This is complete FUD! No I don't work for them or have any association with them, but I do have two of their touchscreens for the raspi that are working quite well for me. The makers explained why ...
- Sat Nov 03, 2012 2:51 pm
- Forum: Troubleshooting
- Topic: cant remove CHROME
- Replies: 3
- Views: 896
Re: cant remove CHROME
How did you install it? What commands did you use?
- Fri Nov 02, 2012 5:34 pm
- Forum: Beginners
- Topic: Alternative window manager
- Replies: 6
- Views: 5615
Re: Alternative window manager
I'm not familiar with lxde. does it have a configuration file in /etc which you can edit to prevent it from auto logging in.
Or type man lxde-settings-daemon in a terminal screen and see if that gives you any tips.
Or type man lxde-settings-daemon in a terminal screen and see if that gives you any tips.
- Fri Nov 02, 2012 4:01 pm
- Forum: Beginners
- Topic: Alternative window manager
- Replies: 6
- Views: 5615
Re: Alternative window manager
How do you mean? Do you not want to auto login?Just out of curiosity, I set things up to automatically boot to desktop -- so it is skipping the login manager. Any way to change this behavior?
If so how did you set it up to skip the login manager and which one?
Can't you just reverse what you did?
- Fri Nov 02, 2012 12:52 pm
- Forum: Beginners
- Topic: Alternative window manager
- Replies: 6
- Views: 5615
Re: Alternative window manager
create you own .xinitrc file and add your window manager startup to it. mine looks like this #!/bin/sh # # ~/.xinitrc # # Executed by startx (run your window manager from here) xrdb -merge ~/.Xresources # update x resources db xbindkeys & # Launch xbindkeys hotkey mapper jwm & wmpid=$! # And...