Go to advanced search

by pstorey
Wed Apr 19, 2017 3:48 pm
Forum: Python
Topic: Python GUI without running startx?
Replies: 14
Views: 18330

Re: Python GUI without running startx?

While this might be an old thread I'm now using Kivy which enables me to use the touch screen and a UX without a full desktop and is similar to a kiosk experience. I'm currently developing a full media player and carputer with virtual dials for a camper van conversion project. The link to the projec...
by pstorey
Mon Mar 25, 2013 8:38 pm
Forum: Other projects
Topic: Carputer ECU - Help needed with serial telemetry query
Replies: 4
Views: 1573

Re: Carputer ECU - Help needed with serial telemetry query

Paul,

Thanks again for your reply.

*Now googling RS232 to 3V UART and MAX3232 ..

I have asked the question and will let you know.

Cheers
by pstorey
Mon Mar 25, 2013 5:19 pm
Forum: Other projects
Topic: Carputer ECU - Help needed with serial telemetry query
Replies: 4
Views: 1573

Re: Carputer ECU - Help needed with serial telemetry query

Paul, Many thanks for taking the time to look into my query. Re: How would you be thinking of using it? There is no ethernet interface on the ECU that I can see.. I am aware you can get RJ-45 - serial cables.. And was unsure if this was possible under the hardware available in the Pi which you have ...
by pstorey
Mon Mar 25, 2013 4:10 pm
Forum: Other projects
Topic: Carputer ECU - Help needed with serial telemetry query
Replies: 4
Views: 1573

Carputer ECU - Help needed with serial telemetry query

I am part way through developing a 7" touch screen carputer for our 1976 t2 campervan. We are installing an Audi 1.8T water cooled engine with an OMEX wiring loom and OMEX600 ECU. I will be able to receive serial telemetry which i am looking to display on virtual dials using the wx.python speedmeter...
by pstorey
Wed Mar 20, 2013 5:23 pm
Forum: HATs and other add-ons
Topic: STICKY: You HAVE installed the jumper on J7 haven't you?
Replies: 16
Views: 23244

Re: You HAVE installed the jumper on J7 haven't you?

Just thought i'd wave the forgot to add the J7 jumper flag.

Great advice with simply stating it always needs to be installed..
by pstorey
Wed Mar 20, 2013 2:24 pm
Forum: HATs and other add-ons
Topic: Reading serial from ECU
Replies: 0
Views: 1098

Reading serial from ECU

What would be the best approach to reading serial telemetry from the gertboard? Essentially i am writing a virtual dial dashboard which will display ECU telemetry using python The serial telemetry is as follows: Byte Name Units Scalar Offset Min Max Signed? Bitmask 1 Air Temp øC 1 0 -128 127 y - 2 A...
by pstorey
Tue Mar 19, 2013 1:23 pm
Forum: HATs and other add-ons
Topic: Basic photocell reading using the Gertboard (works)
Replies: 10
Views: 8880

Re: Basic photocell reading using the Gertboard (works)

Now perhaps you could try using the analogue input on the gertboard for better results. Very much in the plan.. I've already had a good play with the Open Collector Driver and am looking to do some simulations with the ADC and OCD and later see how hard it would be to write the logic into the ATMeg...
by pstorey
Mon Mar 18, 2013 9:29 pm
Forum: HATs and other add-ons
Topic: Basic photocell reading using the Gertboard (works)
Replies: 10
Views: 8880

Re: Basic photocell reading using the Gertboard (works)

Alex,

It was such a hands in face moment..

Odd how a circuit works so much better with a supply!!

*Note to self to read instructions more carefully instead of speed reading to the part you are looking to test..!!
by pstorey
Mon Mar 18, 2013 7:57 pm
Forum: HATs and other add-ons
Topic: Basic photocell reading using the Gertboard (works)
Replies: 10
Views: 8880

Re: Basic photocell reading using the Gertboard

Issue resolved Just needed to read a little more carefully from the gertboard instructions. Added the jumper (shown in the red square) providing the 3.3v supply and used GPIO pin18 http://i1159.photobucket.com/albums/p623/vwmellow/gert_light_sensor_zps5e4f15fb.jpg Python code used was: #!/usr/local/...
by pstorey
Mon Mar 18, 2013 7:22 pm
Forum: HATs and other add-ons
Topic: Basic photocell reading using the Gertboard (works)
Replies: 10
Views: 8880

Re: Basic photocell reading using the Gertboard

Just to confirm the 1k resistor worked fine. Direct GPIO to breadboard works (as below) which leads me to think using the grnd from J16 might have been the issue. http://i1159.photobucket.com/albums/p623/vwmellow/light_sensor_zpsb75f8765.jpg Next step is check with using GPIO pin 18 which i expect w...
by pstorey
Mon Mar 18, 2013 5:11 pm
Forum: HATs and other add-ons
Topic: Basic photocell reading using the Gertboard (works)
Replies: 10
Views: 8880

Re: Basic photocell reading using the Gertboard

Would a 1k resistor work in the example?
by pstorey
Mon Mar 18, 2013 1:44 pm
Forum: HATs and other add-ons
Topic: Basic photocell reading using the Gertboard (works)
Replies: 10
Views: 8880

Basic photocell reading using the Gertboard (works)

Guys, I am trying to reproduce the 'Basic Photocell Reading' tutorial from adafruit.com http://learn.adafruit.com/basic-resistor-sensor-reading-on-raspberry-pi/basic-photocell-reading Instead of using the Adafruit Pi Cobbler i am looking to do this with the Gertboard. The only difference that i can ...
by pstorey
Fri Mar 01, 2013 5:32 pm
Forum: Other projects
Topic: Working 7" HDMI Touch Screen with instructions
Replies: 18
Views: 37879

Re: Working 7" HDMI Touch Screen with instructions

KazW,

It's taken an age to get around to try your suggestion but i'm so pleased i did...! :D

Disabling overscan in /boot/config.txt worked a treat..

Thanks for taking the time to post this simple fix..

Cheers
by pstorey
Fri Feb 22, 2013 9:22 am
Forum: Python
Topic: wxpython wrapper for jbaiter's pyomxplayer
Replies: 15
Views: 5867

Re: wxpython wrapper for jbaiter's pyomxplayer

I thought i'd post a quick photo of the media player scaled up to fit the 7" touch screen. It's still very wireframe looking at the mo but i am focusing on functionality right now. http://i1159.photobucket.com/albums/p623/vwmellow/IMG_1349_zpsdfed8407.jpg The media library is being created from meta...
by pstorey
Wed Feb 20, 2013 9:48 pm
Forum: Python
Topic: wxListCtrl touch screen scroll
Replies: 1
Views: 1268

Re: wxListCtrl touch screen scroll

I now have a rudimentary touch screen scroll working Below is the wx.ListCtrl self.list_ctrl = wx.ListCtrl(panel2_2, size=(490,200), style=wx.LC_REPORT |wx.BORDER_SUNKEN ) I have three binds which do the selection of the library item, start dragging and mouse up events self.list_ctrl.Bind(wx.EVT_LIS...
by pstorey
Thu Feb 14, 2013 1:11 pm
Forum: Python
Topic: wxListCtrl touch screen scroll
Replies: 1
Views: 1268

wxListCtrl touch screen scroll

Guys, This is partly a C++ and partly a python question.. I have a wxListCtrl which i need to enable scrolling using a touch screen . After some initial investigation i have found a post which discusses the use of EVT_LIST_BEGIN_DRAG and a C++ solution for the end drag. The C++ snippet is shown belo...
by pstorey
Sat Feb 09, 2013 9:22 pm
Forum: Python
Topic: wxpython wrapper for jbaiter's pyomxplayer
Replies: 15
Views: 5867

Re: wxpython wrapper for jbaiter's pyomxplayer

Media file metadata extraction going well. Looks like i am going to end up using two python library's.. kaa.metadata http://doc.freevo.org/api/kaa/metadata/index.html and ID3 http://id3-py.sourceforge.net/ Next step is to add the extracted media file information to a list and compare against the SQL...
by pstorey
Fri Feb 08, 2013 8:45 am
Forum: Python
Topic: wxpython wrapper for jbaiter's pyomxplayer
Replies: 15
Views: 5867

Re: wxpython wrapper for jbaiter's pyomxplayer

It's been a long time since my last update but this project only gets progress when there is less of a development overhead with my primary role. Quite a bit has now been implemented and the list of #TODO's is shorter than the list of done's which is always a good sign. We now have play, pause, play...
by pstorey
Thu Nov 29, 2012 7:41 pm
Forum: Other projects
Topic: Working 7" HDMI Touch Screen with instructions
Replies: 18
Views: 37879

Re: Working 7" HDMI Touch Screen with instructions

JoshL, Yes it does.. See specs below: HDMI-input Touch-Screen Monitors for Fit PC2 Specifications and Options Diagonal size 7" 8" 10.4" 12.1'' Aspect ratio 16:9 4:3/16:9 4:3 16:9 Native Resolution 800x480 800x600/800x480 800x600 1280x800 LCD brightness 300cd/㎡ 250cd/㎡ 230cd/㎡ 200cd/㎡ Contrast Ratio ...
by pstorey
Wed Nov 28, 2012 8:09 am
Forum: Other projects
Topic: Working 7" HDMI Touch Screen with instructions
Replies: 18
Views: 37879

Re: Working 7" HDMI Touch Screen with instructions

KazW,

Thanks for the suggestion.

Will test and let you know.

Cheers
by pstorey
Sat Nov 24, 2012 7:56 pm
Forum: Python
Topic: Script to play video using omxplayer
Replies: 11
Views: 10142

Re: Script to play video using omxplayer

Have a look at KenT's tboplayer

https://github.com/KenT2/tboplayer

The player uses pyomxplayer which interfaces with omxplayer with the gui being Tinker.

I am working on a wxPython gui wrapper but it's not finished yet and won't be to KenT's coding standard.

Hope this helps..

Cheers
by pstorey
Fri Nov 16, 2012 4:48 pm
Forum: Python
Topic: Slow MySQL server transaction speed
Replies: 5
Views: 1346

Re: Slow MySQL server transaction speed

Do you actually need all the functionality of MySQL..

I am using SQLite and it's very quick.. Accepted it is not as powerful as MySQL but very effective in the case of process overhead!

Just a thought..

Cheers
by pstorey
Fri Nov 16, 2012 9:07 am
Forum: Linux Kernel
Topic: Touch screen driver kernel
Replies: 2
Views: 1293

Re: Touch screen driver kernel

Ghans, Thanks for the reply. I have created etc/X11/xorg.conf.d/99-calibration.conf for the touch screen calibration which works well. As yet i have not got a xorg.conf file configured. Will have a google and see if it is possible to increase the visible area within the xorg.conf parameters. Do you ...
by pstorey
Wed Nov 14, 2012 5:04 pm
Forum: Linux Kernel
Topic: Touch screen driver kernel
Replies: 2
Views: 1293

Touch screen driver kernel

After plugging in my 7" touch screen the default driver supplied with the latest PI Debian Wheeze image is displaying aprox 95% of the visible area.

The screen comes with Linux drivers but the Kernel is for 2.6.

Is it possible to update the driver to the latest kernel?
by pstorey
Wed Nov 14, 2012 4:27 pm
Forum: Other projects
Topic: Working 7" HDMI Touch Screen with instructions
Replies: 18
Views: 37879

Re: Working 7" HDMI Touch Screen with instructions

Apologies .. Forgot to add a watch to the post. Yes. However i am looking to put a post up regarding the driver, the default driver is not allowing the screen to be fully populated (desktop covers around 90% of the screen) The Linux drivers are for an earlier Kernel so need to understand how to upda...

Go to advanced search