Go to advanced search

by Magimedia
Thu Sep 15, 2016 8:20 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Can I use an NRF24L01+ and a TouchScreen with Pi Zero?
Replies: 3
Views: 744

Re: Can I use an NRF24L01+ and a TouchScreen with Pi Zero?

Thanks.

So I connect the MOSI/MISO/SCLK in parallel, and since my touchscreen is using CE1 on the GPIO header, and can't be changed, I need to simply recompile a library for the NRF24L01+ that uses CE0?

(I say simply, it looks daunting, but I'm determined!)
by Magimedia
Thu Sep 15, 2016 7:48 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Can I use an NRF24L01+ and a TouchScreen with Pi Zero?
Replies: 3
Views: 744

Can I use an NRF24L01+ and a TouchScreen with Pi Zero?

I've never used the NRF24L01+ module before, and I want to use it to communicate with some PIC controlled lighting. I also want to use the Pi with a touchscreen. Both need the MOSI/MISO pins - does that essentially mean it's on or the other, but not both?
by Magimedia
Tue Jun 21, 2016 12:59 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: I2C and Logic Level shift, or different FETs?
Replies: 3
Views: 771

Re: I2C and Logic Level shift, or different FETs?

Thanks - I got a generic level shifter (looks like your D, but came from eBay) - seems to be working ok with I2C as I can use the clock module ok as a test.
by Magimedia
Mon Jun 20, 2016 6:15 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: I2C and Logic Level shift, or different FETs?
Replies: 3
Views: 771

I2C and Logic Level shift, or different FETs?

I've got one of the 16 channel PWM modules that I intend to control RGB strips with. I'm not sure on the current draw per strip, but I think it's around 600mA per channel. I have some IRL520N MOSFET that I have used before to control the strips... but that was on a 5V system, and the Pi I2C is 3.3V ...
by Magimedia
Fri Jun 17, 2016 8:05 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: 5inch HDMI Touchscreen - SDL calibration?
Replies: 5
Views: 1598

Re: 5inch HDMI Touchscreen - SDL calibration?

Threaded version... in case anyone else finds it useful. Time for food, coffee, and then maybe work out how to do calibration. import evdev import thread import sys TDev = False print "Looking for touch screen..." devices = [evdev.InputDevice(fn) for fn in evdev.list_devices()] for device in devices...
by Magimedia
Fri Jun 17, 2016 7:34 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: 5inch HDMI Touchscreen - SDL calibration?
Replies: 5
Views: 1598

Re: 5inch HDMI Touchscreen - SDL calibration?

Well I can find it and read it now... that's a start! import evdev TDev = False print "Looking for touch screen..." devices = [evdev.InputDevice(fn) for fn in evdev.list_devices()] for device in devices: if device.name=="ADS7846 Touchscreen": TDev = device if not TDev: print "No touchscreen found." ...
by Magimedia
Fri Jun 17, 2016 6:24 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: 5inch HDMI Touchscreen - SDL calibration?
Replies: 5
Views: 1598

Re: 5inch HDMI Touchscreen - SDL calibration?

I have the following environment variables set: TSLIB_CONFFILE=/etc/ts.conf TSLIB_CALIBFILE=/etc/pointercal TSLIB_FBDEVICE=/dev/fb0 TSLIB_TSDEVICE=/dev/input/event1 I can verify that event1 is the touchscreen. @saper_2 - The only thing I can think to do is install python_dev and evdev, then attempt ...
by Magimedia
Fri Jun 17, 2016 4:55 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: 5inch HDMI Touchscreen - SDL calibration?
Replies: 5
Views: 1598

5inch HDMI Touchscreen - SDL calibration?

I have a SpotPear 5inch HDMI Touchscreen Good news - It works - screen is lovely and crisp with good colour, and responding to touch events. Bad news - Coordinates are miles off! I'm using Python with Pygame from the console (no X server), and all the calibration tools I've found so far, including t...
by Magimedia
Thu Jun 09, 2016 4:39 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Kedei 3.5" TFT LCD TouchScreen - teardown?
Replies: 1
Views: 846

Kedei 3.5" TFT LCD TouchScreen - teardown?

I bought one of these cheap, perhaps stupidly, before reading all the stuff about how slow they are, and the concerns over malware/spyware in the manufacturer supplied Kernel. My screen arrived cracked, so the seller is sending me another... this may be an advantage? I'd like to get this working wit...
by Magimedia
Sun Feb 14, 2016 12:24 pm
Forum: OpenVG
Topic: New to graphics programming - what to learn?
Replies: 13
Views: 11321

Re: New to graphics programming - what to learn?

The script I used to run under Wheezy simply ran a python program, which looked to see if there was a working internet connection, and if there was, downloaded some files, then used python's print command to output the word "UPDATED" in large letters drawn out of asterisks so it could be seen clearl...
by Magimedia
Sun Feb 14, 2016 12:56 am
Forum: OpenVG
Topic: New to graphics programming - what to learn?
Replies: 13
Views: 11321

Re: New to graphics programming - what to learn?

Thanks

I made the mistake of creating a new install of Jessie. I can't get anything to run on startup, or if I put it in rc.local it doesn't output to the screen.

Is SystemD unable to simply run scripts on startup? Will I have to go back to Wheezy?
by Magimedia
Sat Feb 13, 2016 2:58 pm
Forum: OpenVG
Topic: New to graphics programming - what to learn?
Replies: 13
Views: 11321

Re: New to graphics programming - what to learn?

The text content can change hourly.
The JPEGs and text will eventually be able to be controlled via the GPIO interface.

I don't see how that could be accomplished in video? ...or are you suggesting compiling a video on boot?
by Magimedia
Sat Feb 13, 2016 2:49 pm
Forum: OpenVG
Topic: New to graphics programming - what to learn?
Replies: 13
Views: 11321

New to graphics programming - what to learn?

Hi, I have an application that revolves around a 1024 x 1280 display (ie the config sets the screen rotated 90 degrees). The application needs to display some JPEGs in sequence, and also a page of text that will scroll. Currently I'm using HTML and KWeb3 for this, which is passable, but the transiti...
by Magimedia
Mon May 04, 2015 10:05 pm
Forum: Beginners
Topic: Hardware acceleration
Replies: 11
Views: 3979

Re: Hardware acceleration

Have you tried OMX Player? It sounds like that video player doesn't utilise the Pi hardware acceleration, but OMX Player does as I've watched Full HD footage direct from my camcorder's SD card smoothly.
by Magimedia
Sat Mar 28, 2015 5:12 pm
Forum: Beginners
Topic: GPIO push button issues
Replies: 11
Views: 3571

Re: GPIO push button issues

I had a nightmare with my project using the GPIO. It turns out that it's REALLY sensitive to poor power supplies when you start using GPIO. The solution for me (and I don't know it this is good or bad - I just know it works well in my situation) was to strap a nice 1000uF 16V electrolytic capacitor ...
by Magimedia
Sat Mar 28, 2015 4:59 pm
Forum: Beginners
Topic: MIDI ?
Replies: 0
Views: 246

MIDI ?

Odd question I know, but are there any good MIDI implimentations for Pi?
Also, any reasonable audio input (USB?) ?

What I would love to accomplish is something that converts a single note heard from a microphone (ie by whistling) into a MIDI note sent to my synth. Possible?
by Magimedia
Sat Mar 21, 2015 5:39 pm
Forum: General discussion
Topic: Customising KWeb?
Replies: 8
Views: 1169

Re: Customising KWeb?

Node.js ?
by Magimedia
Sat Mar 21, 2015 4:59 pm
Forum: General discussion
Topic: Customising KWeb?
Replies: 8
Views: 1169

Re: Customising KWeb?

So I need to learn how to setup websockets using Tornado or similar? As far as I know, using AJAX for browser-instigated stuff is fine, but it doesn't support push, so I'd have to use up a lot of CPU time repeatedly polling with AJAX calls, which would expect to eat a lot of CPU. Any better methods ...
by Magimedia
Sat Mar 21, 2015 11:05 am
Forum: General discussion
Topic: Customising KWeb?
Replies: 8
Views: 1169

Re: Customising KWeb?

That's what I thought, hence wondering about a plugin. If I could write something in Python to do the main leg work, and then expose function calls to KWeb, it would make it infinitely expandable. It would seem a sensible feature for K Web too, since a kiosk could then be any customised display unit...
by Magimedia
Sat Mar 21, 2015 1:31 am
Forum: General discussion
Topic: Customising KWeb?
Replies: 8
Views: 1169

Re: Customising KWeb?

In terms of what would be most useful, would be the ability to read from, or write to, the GPIO pins from a Javascript library. Manipulating the stuff in Javascript is no problem once it's in, but interfacing with it is the issue. Is there anything in kweb that can do this, or plans to add it?
by Magimedia
Fri Mar 20, 2015 8:42 pm
Forum: General discussion
Topic: Customising KWeb?
Replies: 8
Views: 1169

Customising KWeb?

I want to interface a web page on the Pi with some hardware on the GPIO (mainly buttons and a couple of LEDs. I'm not sure of the best way to do this. I wondered if a plugin could be written for KWeb, or even customised and recompiled. What is the best way to approach this requirement?
by Magimedia
Tue Feb 24, 2015 6:08 pm
Forum: Raspbian
Topic: Will Qt5 ever be usable on Raspbian ?
Replies: 9
Views: 2406

Re: Will Qt5 ever be usable on Raspbian ?

I'm going to take a guess you're not a fan of flat-pack furniture either... :lol:
by Magimedia
Tue Feb 24, 2015 11:41 am
Forum: Raspbian
Topic: Will Qt5 ever be usable on Raspbian ?
Replies: 9
Views: 2406

Re: Will Qt5 ever be usable on Raspbian ?

Looks complicated... but you'll probably understand it!
http://qt-project.org/wiki/Native_Build ... spberry_Pi
by Magimedia
Tue Feb 24, 2015 11:37 am
Forum: Raspbian
Topic: Will Qt5 ever be usable on Raspbian ?
Replies: 9
Views: 2406

Re: Will Qt5 ever be usable on Raspbian ?

Well the QT people seem to think it works on Pi...
http://qt-project.org/wiki/Qt_5_on_Raspberry_Pi

I've not tried Fritzing myself. It looks brilliant! I'll; have to take a look. :D
by Magimedia
Tue Feb 24, 2015 10:23 am
Forum: Raspbian
Topic: Contract file system?
Replies: 3
Views: 877

Re: Contract file system?

I don't really mind whether I do it from Linux, Windows or the Pi itself. I'm only using Windows because that's what I used to make the SD in the first place. I want to have an image backup, rather than incremental backup, because the Pi is in a situation where the power is going to be pulled withou...

Go to advanced search