Linux

Sponsored by ThisHostingRocks

Jan 4, 2015 - 4 minute read

i2c working and noisy sensors

i2c working! I had tried many things to get basic i2c working on my RasPi B+ and despite lots of help, failed miserably. I bought an A+ for another project and got i2c working straight away. There are lots of tutorials on i2c on the Pi and a really good script that I mentioned in my last post so I won’t be going into setting up i2c. The test that shows whether you’ve been successful is running sudo i2cdetect -y 1 and having i2c components you have connected to the RasPi appear: [![](https://blackpoolmakerspace.files.wordpress.com/2015/01/c84b2-noisy2bsensors-0001.jpg) ](https://blackpoolmakerspace.files.wordpress.com/2015/01/c84b2-noisy2bsensors-0001.jpg) i2cdetect discovering my compass and gyro/accelerometer devices.

Dec 29, 2014 - 4 minute read

Triggering PWM with a push button on an Arduino

I was asked how to control PWM with a push button on an Arduino. I thought I’d blog it and then I can link them to this post. Heres my setup: Under the skull printed paper circle is a brushed DC motor that used to operate the tray on a CD-ROM drive. Heres the fritzing drawing of it Note that usually you’d use something like the Arduino motor shield to control a load like a motor with an Arduino, here we are ok because we are just spinning the motor with no load on it.

Dec 28, 2014 - 4 minute read

Saleae Logic Analyser (£20 Chinese Clone)

[![](https://blackpoolmakerspace.files.wordpress.com/2014/12/014f7-saleae2bclone-0002.jpg) ](https://blackpoolmakerspace.files.wordpress.com/2014/12/014f7-saleae2bclone-0002.jpg) Chinese clone of a Saleae logic analyser. (Personally I think it's taking the michael actually labelling the thing with 'Saleae'!) I’ve been having trouble with I2C on the RasPi and asking around I was advised to try a logic analyser. I was a bit cynical about this as at first sight it seemed to be a rather expensive way to see digital activity on the I2C bus. I’ve looked at the I2C protocol and I’m not excited/interested in the nuts and bolts, protocols and timings of I2C, I just want it to work.

Dec 20, 2014 - 1 minute read

Blackpool LUG and Makerspace Christmas party 2014

Attending our final meeting of 2014: Michael, Tony, Les, Olly,Joe, Elizabeth, Kieran, Mike (2), Richard, Arran, Arthur, Jack, Surly Dev and James I would like to thank everyone for their help and support over the years. We now have 10 years ‘under our belt’ as a Linux user Group, and 3 years as a combined LUG and Makerspace. Happy new year to all. Elizabeth sums up the morning as follows:“Dear Mike and All Thank You so much for a lovely Christmas Party this morning.

Nov 29, 2014 - 2 minute read

tracked robot chassis team

LUG 29.11.14 Present: Mike Hull, Richard, Kieran, Kieran’s Nan, Tony, Les, Arthur and Jack. The tracked robot chassis team got to the point where they wanted to see if the motors would turnover. The chassis has two geared motors one for each track. Built in to each of the side plates are a H-Bridge controller and also an opto interrupter attached to the motor shaft to return the actual speed of the motor.

Nov 24, 2014 - 2 minute read

Tracked robot project begins

LUG 15.11.14 Present: Mike Hull, Richard, Kieran, Kieran’s Nan, Tony, Arthur and Jack. Tony showed Windows 10 running on his laptop, that’s right Microsoft Windows 10!! The book is now open as to how long he’ll continue with Windows and when he’ll revert back to Linux. There was a discussion around trying new things like operating systems and the perils of getting stuck in a rut with what you are most used to.