Go to advanced search

by wallasey
Tue Jul 02, 2019 10:55 am
Forum: General discussion
Topic: OKdo - Anyone else not received delivery yet?
Replies: 52
Views: 3321

Re: OKdo - Anyone else not received delivery yet?

In UK. Shipping notification received early Friday. Paid for premium delivery. It's Tuesday. No Pi so far.

Update Edit - delivered by Hermes at 13:30. I suppose that's 2 business days.
by wallasey
Mon Apr 18, 2016 8:00 pm
Forum: Advanced users
Topic: Pi 3 - SPI trouble
Replies: 10
Views: 3464

Re: Pi 3 - SPI trouble

Hi, I currently develop the HiPi modules on a Pi 3 using Raspbian Jessie release from 2016-03-18. I use the SPI device interface quite a lot so I don't think there is anything within the HiPi modules that does not work on a Pi 3. Setting up the Pi 3, all I had to do was use raspi-config to enable SP...
by wallasey
Tue Mar 15, 2016 6:29 pm
Forum: General discussion
Topic: Pi Zero and HiPi module
Replies: 6
Views: 1109

Re: Pi Zero and HiPi module

I have released an updated version of the HiPi modules that support Pi 3, Pi 2, Pi Zero, Pi B+, Pi A+ Pi B and Pi A.

http://raspberry.znix.com/2016/03/hipi- ... eased.html
by wallasey
Tue May 21, 2013 3:18 am
Forum: Automation, sensing and robotics
Topic: Help with MMA8452Q over I²C
Replies: 47
Views: 9370

Re: Help with MMA8452Q over I²C

Hi guys (apologies for the thread revival but the query is directly related), I've installed the HiPi packages and been able to run a couple of the commands outlined in this link http://raspberrypi.znix.com/hipidocs/command_line_utils_i2c.htm I've tried the sample am_test perl and get an error "Und...
by wallasey
Mon Apr 08, 2013 11:35 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Enable both I2C Busses
Replies: 58
Views: 30529

Re: Enable both I2C Busses

Here is my attempt to enable both I2C interfaces. It appears to work on my Raspberry Pi, but I do not have any I2C peripherals to test. Hi, Just wanted to thank you for posting this. Got me up and running with the second i2c bus on P5. All that's required is, as you coded, to switch off the ALT0 fu...
by wallasey
Sat Apr 06, 2013 12:28 pm
Forum: Automation, sensing and robotics
Topic: Help with MMA8452Q over I²C
Replies: 47
Views: 9370

Re: Help with MMA8452Q over I²C

I This function will set the 10bit addressing flag on an i2c_msg structure: def 10bit(m): m.flags |= I2C_M_TEN With this you can mark reads and writes as using 10-bit addressing like this: i2c.transaction( 10bit(writing_bytes(1,2,3,4)), 10bit(reading(2)) Going by what I could find with a bit of goo...
by wallasey
Fri Apr 05, 2013 11:51 pm
Forum: Automation, sensing and robotics
Topic: Help with MMA8452Q over I²C
Replies: 47
Views: 9370

Re: Help with MMA8452Q over I²C

jnivard wrote:The GPIO python lib of Q2W has a sollution for this problem
Interesting. I can't see any evidence of a fix in the sourcecode on GitHub. It would be interesting to get confirmation that it does actually work.
by wallasey
Tue Mar 26, 2013 4:53 am
Forum: Other programming languages
Topic: Perl and Perl wrappers
Replies: 5
Views: 3694

Re: Perl and Perl wrappers

Just thought I'd update the thread to point new readers at http://raspberry.znix.com The HiPi Perl modules are now supported there and install into the system Perl on Raspbian Wheezy rather than using a dedicated Perl install. After playing with the Pi for a while and thinking about how and by who i...
by wallasey
Sun Mar 24, 2013 10:16 pm
Forum: Beginners
Topic: Nullmailer
Replies: 4
Views: 3792

Re: Nullmailer

Hi, I posted information on how to set up nullmailer here: http://raspberry.znix.com/2013/03/nullmailer-on-raspberry-pi.html As this is the only forum thread on nullmailer it seemed the correct place to post. For your particular issue with queue resend attempts and log files see the notes on the con...
by wallasey
Tue Mar 19, 2013 2:41 pm
Forum: Automation, sensing and robotics
Topic: Help with MMA8452Q over I²C
Replies: 47
Views: 9370

Re: Help with MMA8452Q over I²C

[quote="frisbone"]Not a fan of having to use perl modules for this/quote] I took this to heart - and used it as an opportunity to try out some executable creation techniques. The upshot is I've now included a command line utility with the distribution - so once installed you don't have to get involv...
by wallasey
Mon Mar 18, 2013 9:25 pm
Forum: Automation, sensing and robotics
Topic: Help with MMA8452Q over I²C
Replies: 47
Views: 9370

Re: Help with MMA8452Q over I²C

Don't like using Perl! Shame on you :-) Anyhow, it requires C to implement the solution. I contributed it to the bcm2835 library - which I then wrapped in Perl. You can view the C source at http://cpansearch.perl.org/src/MDOOTSON/HiPi-0.23/BCM2835/src/src/bcm2835.c , You are interested in the bcm283...
by wallasey
Mon Mar 18, 2013 1:02 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: i2c repeated start transactions
Replies: 55
Views: 42782

Re: i2c repeated start transactions

Hi, Browsing the Broadcom manual, I saw that the BSC peripheral supports 10 bit addressing by use of a repeated start. The method described just polls for 'transfer active' after initiating a write transfer, then sends a read. It seems to work for me with the Freescale MPL3115A2. A solution is part ...
by wallasey
Sun Mar 17, 2013 11:48 am
Forum: Automation, sensing and robotics
Topic: Help with MMA8452Q over I²C
Replies: 47
Views: 9370

Re: Help with MMA8452Q over I²C

Hi,

I've been able to add i2c repeating starts to my Perl modules. Posting here as I too Googled myself into depression over this before stumbling across a solution.

Details at

http://raspberry.znix.com/2013/03/raspb ... t-i2c.html

Cheers

Mark
by wallasey
Tue Mar 12, 2013 9:38 am
Forum: General discussion
Topic: News articles and blog posts about Raspberry Pi
Replies: 1021
Views: 195503

Re: News articles and blog posts about Raspberry Pi

Started to blog about Raspberry Pi and Perl.

http://raspberry.znix.com/

Regards

Mark
by wallasey
Tue Mar 12, 2013 8:17 am
Forum: Other programming languages
Topic: More Perl modules and a GUI
Replies: 0
Views: 542

More Perl modules and a GUI

I improved ( fixed ) my Perl module distribution and added a GUI to control the GPIO pins and some kernel devices. I think the modules are quite useful and the GUI was certainly fun.

Details here http://raspberry.znix.com/
gpiopad.png
gpiopad.png (29.66 KiB) Viewed 542 times
Cheers

Mark
by wallasey
Sun Feb 24, 2013 2:33 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Change I2C speed
Replies: 20
Views: 63007

Re: Change I2C speed

Hi, Spaces where there should be none in my original post. No space between dash and r for unloading. Code is: sudo modprobe -r i2c_bcm2708 sudo modprobe i2c_bcm2708 baudrate=32000 To make permanent, you can put a conf file in /etc/modprobe.d/ containing the line: options i2c_bcm2708 baudrate=32000 ...
by wallasey
Sat Feb 23, 2013 2:44 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Change I2C speed
Replies: 20
Views: 63007

Re: Change I2C speed

Hi, If using SMBus you can control the bus speed directly with the device driver: sudo modprobe - r i2c_bcm2708 sudo modprobe i2c_bcm2708 baudrate=32000 seems to be the setting that has everything working for me. You can check the existing/default "baudrate" with sudo cat /sys/module/i2c_bcm2708/par...
by wallasey
Sat Feb 02, 2013 6:41 pm
Forum: Other programming languages
Topic: Perl and Perl wrappers
Replies: 5
Views: 3694

Re: Perl and Perl wrappers

I can understand the need for Windows (and maybe Mac if it's not supplied as standard), So what's different? -Gordon If you wish to use Perl as the core development language for your project or wish to learn Perl then you almost certainly want to utilise the current versions of CPAN modules and wou...
by wallasey
Sat Feb 02, 2013 6:06 pm
Forum: Other programming languages
Topic: Perl and Perl wrappers
Replies: 5
Views: 3694

Re: Perl and Perl wrappers

[email protected] wrote: I can understand the need for Windows (and maybe Mac if it's not supplied as standard), So what's different?

-Gordon
by wallasey
Sat Feb 02, 2013 8:18 am
Forum: Other programming languages
Topic: Perl and Perl wrappers
Replies: 5
Views: 3694

Perl and Perl wrappers

I've been providing a binary distribution of Perl for Windows, Linux and Mac OS X for some time. I've now added a version for Raspberry Pi. I have also published the first release of a module package for Raspberry providing wrappers for some popular GPIO C libraries ( WiringPi, bcm2835 ) and compone...
by wallasey
Wed Nov 21, 2012 12:40 am
Forum: Graphics programming
Topic: cpan installing
Replies: 5
Views: 3138

Re: cpan installing

Great it works! A bit confusing when to use "cpanm" or when to use "apt-get". But yes it's ok now!!!! /Kurt For the default system Perl, always use apt-get. Installing modules using a CPAN client to a Perl managed by a package system is likely to cause you grief sooner or later. (You'll break packa...
by wallasey
Sat Nov 17, 2012 5:02 pm
Forum: General discussion
Topic: New IT (UK) Supplier
Replies: 178
Views: 28704

Re: New IT (UK) Supplier

That is correct, everything has been sent out. If you have a gmail account might be worth a look in your spam folder, some order emails seem to be sent there. Too many posts on this from me - but needs final one to confirm that Raspberry Pi arrived this morning from NewIT with everything as request...
by wallasey
Fri Nov 16, 2012 6:17 pm
Forum: General discussion
Topic: New IT (UK) Supplier
Replies: 178
Views: 28704

Re: New IT (UK) Supplier

That is correct, everything has been sent out. If you have a gmail account might be worth a look in your spam folder, some order emails seem to be sent there. To be fair to NewIT I have just received a reply to my 10:56 email and there seems to have been a mailer issue somewhere. They did get my or...
by wallasey
Fri Nov 16, 2012 5:45 pm
Forum: General discussion
Topic: New IT (UK) Supplier
Replies: 178
Views: 28704

Re: New IT (UK) Supplier

Nope. No email. I control the MX host and definitely no spam filtering at work. Good job I saved the confirmation web page with order details I guess. Just to confirm there is no problem with my email address and your mailer, your autoresponder mailed me back without problems when I raised the quer...
by wallasey
Fri Nov 16, 2012 5:27 pm
Forum: General discussion
Topic: New IT (UK) Supplier
Replies: 178
Views: 28704

Re: New IT (UK) Supplier

That is correct, everything has been sent out. If you have a gmail account might be worth a look in your spam folder, some order emails seem to be sent there. Nope. No email. I control the MX host and definitely no spam filtering at work. Good job I saved the confirmation web page with order detail...

Go to advanced search