I was thinking about how normal people grow up of student-like stench at their homes and start to live in sterile places. I started to feel slightly ashamed of my place and then I thought – no! This is how I like it, this is how I’m effective, this is what I want! This is me!
This weekend I decided to work on my soldering skills and finally assemble the PWM driver PCA9685 I bought from Adafruit couple weeks back. Not all solder points looks perfect, but I’ve manage not to burn the PCB which I consider a major success. I thank all the
guys how put soldering tutorials on the youtube!
Then I played with software.
* I2C: I used python to steer servo controller via I2C interface. For some reason the Raspbian image has I2C kernel module disabled, so I had to comment blacklist i2c-bcm2708 in /etc/modprobe.d/raspi-blacklist.conf and the add i2c-dev and i2c-bcm2708 to /etc/modprobe to enable them to start.
* GPIO: Raspbian has all libraries loaded by default for GPIO development in python. I had encountered hardware problem instead – there’re many sources on the web describing pin layout of GPIO port, but non of them says which pin is the physical pin 1! I have some gaps in basic knowledge, so I have missed a small rectangle marking P1 – it’s the one nearest to the side of the board in bottom row. See a picture with pins P3, P5, P9, P10 and P11 connected:
I’ve just found a gov.uk site describing how to design stuff. It’s ten simple points that gets often forgotten. Hearing this from government agency makes me happy I’m going to pay my taxes in UK soon. This is the way to think about your users, customers or citizens!