• About Me Card

Max Hemingway

~ Musings as I work through life, career and everything.

Max Hemingway

Category Archives: Open Source

Challenged to build a Raspberry PI Laptop – Part 1

08 Wednesday Nov 2017

Posted by Max Hemingway in Digital, Open Source, Programming, Raspberry Pi

≈ 5 Comments

Tags

Open Source, RaspberryPI

Raspberry PIToday I got a challenge from Lewis Richards (@Stroker on Twitter) – A selfie with a Raspberry PI Laptop that I have built. Okay – Challenge accepted.

Turning a Raspberry PI into a laptop is not a new thing but does look like an interesting project to undertake. If you don’t want to build your own you could buy a Raspberry PI-Top and use this pre-built case to save a build.

Awesome DIY Raspberry Pi Laptop http://flip.it/QqZz8N @Max_Hemingway I want to see a selfie of you with one of these you’ve built!

Tweet: https://twitter.com/stroker/status/928259932373299200

However my challenge is to build one so I am currently working through the best way to do this and what functions and features I want to build in.
Current thinking around parts and screen are:
Things needed
  • Power supply – battery/mains and ability to charge the batteries
  • Raspberry PI 3 (inbuilt networking)
  • Cooling
  • Screen – 7 inch – Touchscreen
  • Keyboard – thin USB
  • Case
  • Mouse
  • Operating System
  • Applications
Requirements
  • I like the addition of other boards such as the arduino for connectivity as well as the Raspberry PI
  • Access to the ports on the Raspberry PI
  • I’m more into an external mouse but happy to include a form of track pad.
  • Suitable cooling for the laptop
  • Future expansion for the device or ability to swap items out
  • Portability of the device and solidity of the case
  • Do something unique/original for the build
Thinking about what else I can get into the device to add functionality and would welcome any suggestions to add to the device.
I will blog more parts to this build as I go through the design,build and get the relevant parts together.

Share this:

  • Twitter
  • Facebook
  • LinkedIn
  • Email
  • Pinterest

Like this:

Like Loading...

A to Z of Digital

19 Monday Jun 2017

Posted by Max Hemingway in Automation, Cobotics, Digital, Innovation, IoT, Machine Learning, Open Source, Programming, Robotics, Security, Social Media, Tools, Wearable Tech

≈ 26 Comments

Tags

Automation, Blockchain, Cobot, Digital, IoT, Machine Learning

ABCBeing Digital, Journey to Digital, Digital, 21st Century Humans, are phrases that are common place in many conversations around business and technology. But what does it mean to be “Digital”.  This is a wide subject to cover in a single blog post, so here is an A-Z of Digital to help.

I will break these down in further blog posts going into each subject in more detail.

A – Automation

The manual tasks of today should be the automated tasks of tomorrow, achieved using tools that interface with systems using API’s and commands that join them together to carry out tasks. From turning your heating on using an application to automatically carrying out a set of repetitive tasks to allow other more complex tasks to be undertaken.

B- Blockchain

A blockchain is a distributed database that is used to maintain a continuously growing list of records, called blocks. Each block contains a timestamp and a link to a previous block. A blockchain is typically managed by a peer-to-peer network collectively adhering to a protocol for validating new blocks. By design, blockchains are inherently resistant to modification of the data. (Wikipedia).

C – Cobots

Cobots are Robots that are adapted and programmed to work and interact with humans in various tasks and levels of activity. Imagine you’re working buddy is a cobot that can perform tasks hand in hand with you, take over if you need to do something else, increase its speed of completing the tasks, then sense your return and slow to the speed your working at.

D – Digital

“Digital” is an umbrella word that covers many different topics. There are many definitions available, but for me this is about how we unlock the capabilities available today and use them to better our lives and society. From a business view this is about growth and transforming through processes and technology. Being Digital is not necessarily about having the latest gadgets, but more around how you are using them and what you do.

E – Evolution

Evolution covers the advancements and new technologies that are being discovered and created every day.  There are lots of new ideas and products coming out of sites such as crowdfunding and crowdsourcing sites, some work however some do fail. These sites are worth tracking to see what developments are coming around the corner.

F – Fitness Trackers

Fitness trackers are probably one of the most common wearable that is available today and have been around for a number of years.  Trackers have developed to include a wide range of functionality including heart rate, blood pressure, location, altitude making the data useful to the health and medical industries to understand how we lead our lives.

G – Geolocation

Geolocation ties into a lot of the items in this list and provides a basis for providing location and tracking capabilities for devices and applications. It is also used to locate and pinpoint where users are. Some services cannot be consumed these days without agreeing to having this information shared with a site. The most common type of application in wide use is a Sat Nav.

H – Hybrid

Hybrid is used as a term to describe a mix of public and private services, such as a Hybrid Cloud where services can be mixed between traditional on premise/data centre services and cloud services, providing some control or orchestration layer across both to allow users to consume based on policy or requirements.

I – IoT

IoT (Internet of Things) is where physical things are connected by the internet using embedded sensors, software, networks and electronics. This allows the items to be managed, controlled and reported on. There are many reports estimating the number of IoT devices likely to be connected in the future, these are between 20 and 50 Billion devices by the year 2020.

J – Jacking

Jacking is a term used when you plug into something. Body Jacking is a growing area where the body is being used from generating power through movement to implanting chips to interact with the environment such as open a door or unlock a computer. This also covers Bioables which collect data on your body such as glucose levels using sensors that penetrate into the under the skin.

K – Knowledge

Understanding what is going on in your streams, market places and industries is a big task. Lots of information coming in on a daily basis – drinking from the fire hose, not able to consume it all. Creating your Personal Knowledge Management System will help navigate the sea of information and pick out what is key to your situation and what can be dropped.

L – Legal

With the increasing about of things interacting with our daily lives, the area of Legal and Security play a big part. There are a number of important questions to ask – Where is your data being stored and who actually owns it. Is your data secure and have you implemented all the right controls? What does Legistlation such as GDPR mean to you?

M – Machine Learning

Machine Learning (ML) allows a computer to learn and act without being explicitly programmed with that knowledge. An example of Machine Learning Algorithm is a web search engine that brings up a number of results based on your search criteria and shows which could be most relevant to what you are looking for.

N –  Networks

Networks and connectivity form the backbone of the systems in use today. Using a number of different types of network from Cellular (3G, 4G) to traditional networking and futures of 5G and Neural Networks speeding up how we create, consume and process data.

O – Organisation

Infrastructure as Code looks at making hardware being able to controlled at a code level, allowing Microservices and the ability to consume capability quickly. The next stage is the Organisation as Code. A great example of an Organsation as Code is Uber, building services and the supporting organisation in the cloud that allows it to be consumed anywhere and the drivers to login and become part of that organistation for the period that they are employed.

P – Programming

Everyone should learn to code. Learning to code (Programme) in a language like Scratch, Python, Java, C, etc. The ability to code will allow someone to understand how they can automate a task using tools and API’s.

Q – Quantum Computing

A computer which makes use of the quantum states of subatomic particles to store information (Dictionary). Quantum Computers are being developed with the ability to compute data at an exponential rate allowing for quick computing of complex data.

R – Robots

The vision of Robots has been around in early Science Fiction and are very much a reality today. From an automated manufacturing plant to a robot to help you shop and carry out tasks. The field of robotics is advancing bring in Artificial Intelligence and Machine Learning to boost their capabilities and means to learn, self-think and complete tasks.

S – Social

Being social is not just around how you use the tools and what you tweet, but also what you don’t say and being Social Media savvy on your communications. There is a large number of social tools available with some well-known such as Twitter, Facebook and Linked in to those not so. It is also about how you organise your life with these tools and use them for productivity and security.

T – Twenty First Century Digital

The term 21st Century Digital applies to the current century and how you are using Digital to better your organisation and yourself. The LEF (Leading Edge Forum) has information that covers these two topics as the 21st Century Organisation and 21st Century Human.

U – Usability

The usability and user experience of devices is key.  Understandoing and being able to interact with devices is important. If a someone can’t use the application or device they may start looking for an alternative that they can use.

V – Visionables

Visionables moves the wearables market to technologies that help enhance our experiences through what we see. This covers things like Smart Glasses, Virtual Reality, Augmented Reality and Mixed Reality.

W – Wearables

The field of wearables is expanding with more ways to attach sensors and record data about our daily lives. This typically covers anything that you can wear or attach to your body and in the main interfaces with a mobile to be the central data point, although many devices operate separately and can transmit data themselves.

X – Xperience

Xperience covers how we use these technologies and advancements to shape our lives and the effects that they have on them. How we have moved from the days of the first computer to today’s wearable and interactive society.

Y – Yottabyte

Yottabyte is a term used to define an amount of storage.  The prefix yotta indicates multiplication by the eighth power of 1000 or 1024 (Wikipedia). The amount of storage used today is seeing huge daily growth with systems currently using petabytes of data. The trends will increase the amount of storage needed to hold data.

Z – Zabeta

Zabeta is a noun meaning Tarrif or Tax. As we move to a more automated society there is a view point that automation and robots should be Taxed.

This is my current A to Z and some of the entries may be different in your version. Do you agree with the list? Whats in your “A to Z of Digital”?

 

Share this:

  • Twitter
  • Facebook
  • LinkedIn
  • Email
  • Pinterest

Like this:

Like Loading...

Attending GitHub Satellite 2017

23 Tuesday May 2017

Posted by Max Hemingway in Development, Open Source, Programming, Raspberry Pi, STEM, Tools

≈ Leave a comment

Tags

Coding, Development, Open Source, Programming, RaspberryPI, STEM, Tools

Yesterday I attended GitHub Satellite 2017 in LondonGithub

https://github.com/blog/2313-join-us-for-github-satellite-2017-may-22-23-in-london-uk

The event was well attended and there was a good buzz around the conference. GitHub Marketplace was launched at the conference and some of the initial vendors in the Marketplace demonstrated how their applications can be used in the lifecycle of coding. You could watch demos and chat to the companies at their vendor stalls to gain further information.

Below are my notes from the conference and Key Note opening speeches

Opening

The opening lead by Chris Wanstrath (Co-Founder & CEO, GitHub) and Kyle Daigle (Senior Engineering Manager, GitHub)

  • GitHub has 21 Million Developers
  • 59 Million Projects using the platform.
  • Expanding into gaming with Githib for Unity
  • Extentions for Visual Studio

ATOM

  • Help guide the approach with ATOM
  • 2.1 million active users of ATOM

Electron

  • GitHub desktop GUI new version based on electron. Open Source to allow it to be developed by community.
  • Electron platform for building desktop apps. Runs cross platforms.
  • Companies using electron to build internal apps.
  • Seeing big fortune 500 companies using electron for web, mobile and desktop apps.

GitHub as a platorm

  • Now 9 years old.
  • Today more API traffic than UI traffic
  • 5+ million users use integration
  • OAuth growing doubling each year
  • API ‘s have not been developed and remained static….. 9 years old.

World moving to a new world of API’s. Moving on from SOAP to REST to what’s next.What is the future of API’s:

GraphQL

  • Build queries on data you need.
    • Powering new features of GitHub
    • Suggested reviewers
    • Projects
    • Topics
  • 125 million GraphSQL internal queries a day.
  • GraphQL is open source.

GitHub Apps

  • Fine grain permissions
  • Choose how you want to give access to repositories
  • Using bots in Integrations

GitHub Marketplace (Launching today)

  • Find tools that meet your workflows best.
  • Pricing plans in marketplace
  • Marketplace has option to join and apply to be part of Marketplace.

Build and Grow Sessions

There were a number of sessions held in either the Build or Grow track which attendees could join.

I went to sessions in both tracks including the session on Building Interconnected Workflows which featured companies in the newly launched Market Place. Heard from these companies on how their products could be used in conjunction for a full code project lifecycle, which was interesting and good to hear.

Vitor Monteiro, GitHub
Andrew Homeyer, Waffle.io
Danielle Tomlinson, CircleCI
Jaime Jorge, Codacy
Cory Virok, Rollbar

There was a good session on Women in IT from Amy Dickens from the University of Nottingham which also covered topics of diversity and how workplaces and attitudes can change to make a difference.

Closing Session

The closing session was run by Marc Scott from the Raspberry PI Foundation who gave an overview of the Foundation, what it does and how the community can help review projects and sumbit projects for others to practice, learn from and enjoy. Also helping by joining local coding groups to pass on knowledge.

Sessions were streamed and Im hoping that replays are availble to catch up with the sessions I couldnt get to.

Unfortunately I could not get to todays workshop sessions but again hoping for streams of these following the event.

Share this:

  • Twitter
  • Facebook
  • LinkedIn
  • Email
  • Pinterest

Like this:

Like Loading...

Accepting automation – Do we need safeguards?

09 Tuesday May 2017

Posted by Max Hemingway in Automation, Open Source, Productivity, Programming, Security, Tools

≈ Leave a comment

Tags

Automation, Productivity, Programming, Security, Tools

CogsThere are many and apps available to help us automate basic tasks on our mobiles and computing devices. When choosing these tools, we often read reviews and then download the app, run and set up, then let it run its tasks accepting that it will carry out our requirements. But what happens when there is an issue.

I have a simple IFTTT (If This Then That) recipe running on my mobile phone that sends a test message when I leave an area set up in google maps using Geolocation and GPS to look at my location. A standard recipe for IFTTT.

Today whilst sitting at my desk the recipe triggered saying I had left the area, however I am sat in the middle of my geolocation fence which extends for about 1 mile around to allow some local area travel. The net result is the person who got the message thought I was on my way home, when in fact I was still at work.

Solution to my problem:

The issue with this recipe was caused by the Android operating system and the phone type causing some wonkiness with the location. I fixed this by ensuring all the packages are up to date, rebooting and using another app called GPS Status to assist with ensuring my GPS is working correctly and has the right the location. Also ensuring that the GPS is set to high dependency. The downside may be the drain on the battery with the extra services – I will monitor this going forward.

The main thing this points out is how we accept and then use an app/tool and expect it to work, but not consider the what ifs, such as what if the app triggers incorrectly. Should I have set any safeguards in the recipe or built a counter app.

No harm done in this case as it triggered a text message, but what if this had done something different such as put the heating on, turned on a kettle, opened the garage door, turned something else off? This could be reversed using another recipe to turn things off if I’m within the geolocation fence.

So, what can you do to ensure that your apps/tools and related apps/tools are reliable:

Research – review and research your app. Have there been any issues with running something similar.

Secure – Think about the security of the app and what you can do to protect yourself.

Update, Update, Update – keep the OS, Apps and related apps up to date. In this instance, Android, IFTTT, Google Maps.

Plan – for the what ifs. Allow a reverse control if needed such as turn off the kettle, close the garage, turn on the alarm.

Experiment – Dont be afraid to experiment to get the automation you require.

Safeguards – Think about any Safeguards you may need to build in such as a counter app.

Share this:

  • Twitter
  • Facebook
  • LinkedIn
  • Email
  • Pinterest

Like this:

Like Loading...

Building a Quadruped

07 Friday Apr 2017

Posted by Max Hemingway in Arduino, Open Source, Programming, Robotics, STEM

≈ 4 Comments

Tags

Arduino, learning, Open Source, Programming, Robot, Robotics, STEM

Robot3I decided to have a go at building a robot for a STEM session last weekend, to show the power of code and how it can be used to control something.  A moving robot is a great visualisation to demonstrate this.

After some searching I settled on a quadruped shown on thingverse (a 3d printing site). This is a build based on a robot called Chopstick Junior by Lumi.

Parts being printed, I set about thinking about the controls and motors. The parts are compatible with an SG90 servo. I needed 8 of these, for the knee and hip joints of the quadruped.

The assembly of the parts was a bit of a challenge as in the instructions it said you needed 3mm x 6mm screw/nuts to connect the shoulders together. You really need 3mm x 8mm screw/nuts as I have to countersink the holes a bit more to get the nuts to attach to the 6mm screw length.

Inserting the servos into the holes in the hips and legs required the unscrewing of the 4 small screws in each servo and temporarily removing the gear top. Once inserted this can be replaced and screwed down.

Once the servos were in place I centered the servos the best I could to allow backwards and forwards movement in each joint. I knew that later adjustment may be needed! This can easily be achieved removing the servo arm and hip/leg, then re-positioning and attaching the arm again.

The power is provided by 4 x AA batteries in a square battery holder. This was glued down onto the frame and fitted well into the build.

The power bus is provided by a small piece of circuit board. I used two lines for -v and +v. Each servo was then wired into the lines and the control wire to an Arduino Nano which is used as the brains of the robot.

The following pins were used on the Digital I/O on the Arduino Nano:

  • D2 – Hip 1
  • D3 – Knee1
  • D4 – Hip 2
  • D5 – Knee 2
  • D6 – Hip 3
  • D7 – Knee 3
  • D8 – Hip 4
  • D9 – Knee 4

I also wired in a sensor on the front of the robot to D10 and D11.

Wiring is grouped together to allow movement, but cut to a length that reduces excess that could get in the way of the legs.

A toggle switch provides an on/off for the power fixed to the rear of the robot. Remember to break the lines on the circuit board so it does not join any of the lines.

Once assembled I then got round to coding. I decided to use the opensource code for the Chopstick Junior as a base and make alterations. The quadruped responded well to the code and several physical servo adjustments were needed. Its now in a reasonable state, however balance is an issue in terms of walking steadily, so need to work more on this.  I have not yet coded movement to respond to the sensors yet, this will be done later.

The code is available via my Github:  https://github.com/Cloudmage/Robots

The robot went down well at the STEM session. Now to tweek that code……

Top view

Robot2

Side View

Robot3

Front View

Robot1

Share this:

  • Twitter
  • Facebook
  • LinkedIn
  • Email
  • Pinterest

Like this:

Like Loading...

Raspberry PI on the PC & Mac

27 Tuesday Dec 2016

Posted by Max Hemingway in Open Source, Raspberry Pi

≈ Leave a comment

Tags

Open Source, RaspberryPI

PIRaspberry Pi have released a desktop/Laptop version of their PIXEL running on Debian Linux – bootable via DVD or USB Stick, once you have downloaded and built the media.

Its good to see a lot of people enthused with installing Linux onto their old hardware sitting around.

I decided to try this myself on an old laptop (Celeron 1.2Ghz, 256Mb with a 20GB Hard Disk). Yes its a bit old, but does currently run Debian 8 (a bit slowly).

I downloaded the software ISO and burnt this to a DVD to run from. The machine booted okay, however the screen did have some issues with displaying the windows, however the backdrop did load okay.

This could be down to a few things, such as hardware (Memory) and not using a USB memory stick to boot from (DVD was doing a lot of reads). Perhaps an install onto the Hard Disk may have been a better option. One to try next.

pixel.jpg

I’m now moving on from this device to a bit more up to date hardware where this does run and in a virtual desktop.

What is good though is having a universal desktop on your PC/Laptop and Raspberry PI.

Reading through the comments on the Raspberry PI Blog, there are a few machines having issue, but it does work on the majority of devices.

The posts include instructions for installing on to a Hard Disk and also into VirtualBox mounting the ISO image.

Hard Disk

How to: Install to HDD (as the only OS)

Assumptions:
– The USB Stick you boot from is /dev/sdb
– The internal HDD is /dev/sda
Commands are given in double quotation marks.

1. Boot it from USB/DVD
2. Transfer the entire stick to your drive:
2.1. “sudo bash”
2.2. “dd if=/dev/sdb of=/dev/sda bs=1M”
3. Reboot without the stick, should boot from internal HDD_
3.1 “reboot”
4. Resize the Partition:
4.1. “sudo bash”
4.2. “fdisk /dev/sda”
4.3. print partitions with “p”
4.4. write down the beginning of partition 2
4.5. delete partition 2 with “d”, then “2”
4.6. create a new parition with “n”, primary partition, starting at the location from 4.4
4.7. write with “w”
5. Reboot:
5.1. “reboot”
6. Resize the filesystem on /dev/sda2 to fill the disk:
6.1. “sudo bash”
6.2. “resize2fs /dev/sda2”

Source:  Egon Rath

VirtualBox

In VirtualBox I have mounted the iso as an image.
To install to disk change the following:

Replace “dd if=/dev/sdb of=/dev/sda bs=1M”
with “dd if=/dev/sr0 of=/dev/sda bs=1M”

Source: Menno Harzing

Source for comments: https://www.raspberrypi.org/blog/pixel-pc-mac/#comments

 

Share this:

  • Twitter
  • Facebook
  • LinkedIn
  • Email
  • Pinterest

Like this:

Like Loading...

Tiny computing – VoCore2

06 Sunday Nov 2016

Posted by Max Hemingway in Development, IoT, Open Source, Programming

≈ Leave a comment

Tags

Development, IoT, Open Source, Programming

split1.pngSearching round on the crowdfunding sites for things that are coming, I found the VoCore2 on iniegogo.

https://www.indiegogo.com/projects/vocore2-4-coin-sized-linux-computer-with-wifi#/

VoCore has already had an v1 early release and is now heading for a v2 release in January 2017. The cost of this board is $4, although as you start to add the additional boards the cost can go up to around $50.

VoCore2 is a open source linux computer and a full functional wireless router but its size is smaller than a coin. It can perform as a VPN gateway to secure your network, an airplay station to play loseless music, a private cloud to store your photo, video and code. Benefit for its small size and low power consume, it can be easily mounted in wall, help you boost wireless signal in every room or setup house based mesh network.

What I do like about this design is that its small and compact and can be used for a lot of different purposes:

  • VPN Router
  • IoT/Appliance Control
  • Music Player/Streaming
  • Wifi

Its ability to be added to an existing ethernet socket and add heaps of functionality to the socket and its open source makes this device interesting for me, as well as its ability to then act as a wifi extender from that socket.

I would like to look at what could be done with it to provide additional IoT Security to a device plugged in/connected to a network utilising this board. So looks like another board on the wish list to have a go on.

Pin Outs for the board:

vocore

Source/Pics: https://www.indiegogo.com/projects/vocore2-4-coin-sized-linux-computer-with-wifi#/

 

Share this:

  • Twitter
  • Facebook
  • LinkedIn
  • Email
  • Pinterest

Like this:

Like Loading...

Configuring the Raspberry PI with Ansible and AWSCLI

17 Friday Jun 2016

Posted by Max Hemingway in Cloud, Open Source, Raspberry Pi

≈ 2 Comments

Tags

Cloud, Programming, RaspberryPI

PII wanted to set up my Raspberry Pi with Ansible and the AWSCLI package to allow the creation of AWS servers from the Pi.

As I was recycling a card I no longer needed reformatting the card and installing Raspbian on it seemed sensible start.

I use the SD Formatter programme to ensure that the SD Card is formatted correctly.

https://www.sdcard.org/downloads/formatter_4/

Then downloaded the latest image of Raspbian and used Win32DiskImager to install the OS onto the card.

http://www.raspberry-projects.com/pi/pi-operating-systems/win32diskimager

I have been caught out before with errors of “No space left on device” or similar so the first command I run is

 sudo raspi-config

Then select the Expand Filesystem menu option. This ensures that all the SD card is used.

A reboot is required for the changes to take effect.

The Pi is now ready to begin downloading packages.

The next task is to update and upgrade the software on the Pi using

sudo apt-get update
sudo apt-get upgrade –y

or

sudo apt-get dist-upgrade

The below will help with explaining what is the difference between upgrade and dist-upgrade

upgrade
    upgrade is used to install the newest versions of all packages
    currently installed on the system from the sources enumerated in
    /etc/apt/sources.list. Packages currently installed with new
    versions available are retrieved and upgraded; under no
    circumstances are currently installed packages removed, or packages
    not already installed retrieved and installed. New versions of
    currently installed packages that cannot be upgraded without
    changing the install status of another package will be left at
    their current version. An update must be performed first so that
    apt-get knows that new versions of packages are available.

dist-upgrade
    dist-upgrade in addition to performing the function of upgrade,
    also intelligently handles changing dependencies with new versions
    of packages; apt-get has a "smart" conflict resolution system, and
    it will attempt to upgrade the most important packages at the
    expense of less important ones if necessary. So, dist-upgrade
    command may remove some packages. The /etc/apt/sources.list file
    contains a list of locations from which to retrieve desired package
    files. See also apt_preferences(5) for a mechanism for overriding
    the general settings for individual packages.

If you want to clean up the build and remove any package files the following command can be used. This can also help save space if you have a small card.

sudo apt-get clean

After some Googling I found a good set of instructions on installing Ansible onto the Pi. As this Article says it needs some extra bits to make it work.

https://www.whiskykilo.com/install-ansible-on-rpi.html

There are a couple of steps missing below this site which I have added in below in bold.

sudo apt-get install python-dev -y

sudo apt-get install libffi-dev libssl-dev -y

cd ~

wget https://bootstrap.pypa.io/ez_setup.py -O - | sudo python

wget https://pypi.python.org/packages/f7/83/377e3dd2e95f9020dbd0dfd3c47aaa7deebe3c68d3857a4e51917146ae8b/pyasn1-0.1.9.tar.gz#md5=f00a02a631d4016818659d1cc38d229a

tar –xvzf pyasn1-0.1.9.tar.gz

cd pyasn1-0.1.9

python setup.py install

cd ~

wget http://releases.ansible.com/ansible/ansible-2.0.2.0.tar.gz

tar zxvf ansible-2.1.0.0.tar.gz

cd ansible-2.1.0.0

make

sudo make install

cd ~

It is always worth checking to see if there is a later version of the packages available and making the necessary changes to the lines above.

Next install the boto package

pip install --user boto

Next install the awscli package

sudo pip install awscli

more information on installing awscli can be found at http://docs.aws.amazon.com/cli/latest/userguide/installing.html

once installed you can then use the

aws help

command to check the installation has worked.

To configure the awscli follow the instructions at http://docs.aws.amazon.com/cli/latest/userguide/cli-chap-getting-started.html

assuming that you have an AWS account already.

Using the

aws configure 

command you can enter your keys. The keys below are examples only

$ aws configure
AWS Access Key ID [None]: AKIAIOSFODNN7EXAMPLE
AWS Secret Access Key [None]: wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY
Default region name [None]: us-west-2
Default output format [None]: ENTER

You should now be able to use Ansible and the AWSCLI on your Raspberry PI.

Share this:

  • Twitter
  • Facebook
  • LinkedIn
  • Email
  • Pinterest

Like this:

Like Loading...

Pi Zero gets a Camera

16 Monday May 2016

Posted by Max Hemingway in Development, IoT, Open Source, Programming, Raspberry Pi

≈ Leave a comment

Tags

Development, IoT, Programming, RaspberryPI

PIRaspberry Pi have just released another 30,000 Pi Zero Units to the marketplace. Finally I have managed to order one after having the Pi Zero on my wish list for sometime now.

The demand for the Pi Zero has meant that they do not stay on the shelves long. This has created a high cost market for them on popular auction sites and suppliers have been limiting people to 1 unit only when they order (if in stock).

The folks at RasperryPi are using a different manufacturing process to that of the Pi 1,2 & 3 to keep costs down, however it looks like they are hopefully going to be keeping up with the demand.

“There are roughly 30,000 new Zeros out there today, and we’ll be making thousands more each day until demand is met.”

Thank you RasperryPi

So whats new with this Pi Zero?

The Pi Zero has had a bit of a revamp between manufacturing batches and now contains a camera connector. source: Raspberry Pi Blog

The camera connector is about £4.00 which is the same cost as the Pi (£4.00). Then there is the cost of the Camera (approx £23.00), however it does make a low cost camera unit and opens up the possibilities of the Pi Zero.

Picture below from Raspberry Pi Blog: source: Raspberry Pi Blog

OLYMPUS DIGITAL CAMERA

Just awaiting the postman now then time to do some more development stuff.

 

 

Share this:

  • Twitter
  • Facebook
  • LinkedIn
  • Email
  • Pinterest

Like this:

Like Loading...

PI Zero Stock & Project Competition

06 Saturday Feb 2016

Posted by Max Hemingway in Development, IoT, Open Source, Programming, Raspberry Pi, Uncategorized

≈ Leave a comment

Tags

Coding, Development, IoT, Programming, RaspberryPI

PISince its launch the Raspberry PI Zero seems to be in high demand with its low price of under £5.00 for the base module. The official suppliers are still out of stock with no view as to when they may receive their next shipment. They fly out as soon as they come in

This makes the PI Zero Stock literally Zero!

The unofficial supply chain of place such as Ebay are now up as high as £42.00 with sellers caching in on what is supposed to be a cheap computing platform.

Hopefully the stock levels will come back to a level to stem/curb the high prices coming in.

But why so popular – this is mainly due to the cheap price of the computing module and has captured the imagination of hackers, developers and hobbyists.

There are a wide range of interesting projects appearing on the net such as:

  • Pi Zero Synth
  • Pi Zero Projects

Hackaday and Adafruit have joined up to create a new competition looking for the best Raspberry PI Zero project.

The platform is ideal for IoT development of small modules, sensors and other projects. The other forms of the Raspberry PI is already being used for IoT projects such as a Home Heating Control Device.

It will be interesting to see what comes out of the competition and the next innovation. One competition I shall be watching with interest.

 

 

Like this:

Like Loading...
← Older posts

Technology Couch Podcast

Technology Couch Podcast

Topical discussions with different guests on Technology

Chat and views on latest Technology trends, news and what is currently hot in the industry

Max Hemingway

  • Listen on Apple Podcasts
  • Podcast RSS Feed

RSS Feed

RSS Feed RSS - Posts

Currently Reading

@HemingwayReads

Other Publications I contribute to

https://sparrowhawkbushcraft.com/

Recent Posts

  • My Virtual Selfie – Avatars and Identity Security
  • Air Launching Satellites into Space – UK First
  • Our Acceptance of Modern Technologies
  • Pen based Productivity Tools – The Chronodex 2023
  • Top 10 Tech Podcasts for 2023

Categories

  • 21st Century Human
  • 3D Printing
  • Applications
  • Architecture
  • Arduino
  • Automation
  • BCS
  • Big Data
  • Certification
  • Cloud
  • Cobotics
  • Connected Home
  • Data
  • Data Fellowship
  • Data Science
  • Development
  • DevOps/OpsDev
  • Digital
  • DigitalFit
  • Drone
  • Enterprise Architecture
  • F-TAG
  • Governance
  • Health
  • Innovation
  • IoT
  • Machine Learning
  • Micro:Bit
  • Mindset
  • Mobiles
  • Networks
  • Open Source
  • Podcasts
  • Productivity
  • Programming
  • Quantum
  • Raspberry Pi
  • Robotics
  • Scouting
  • Scouts
  • Security
  • Smart Home
  • Social Media
  • Space
  • STEM
  • Tools
  • Uncategorized
  • Wearable Tech
  • Windows
  • xR

Archives

Reading Shelf

Archives

Recent Posts

  • My Virtual Selfie – Avatars and Identity Security
  • Air Launching Satellites into Space – UK First
  • Our Acceptance of Modern Technologies
  • Pen based Productivity Tools – The Chronodex 2023
  • Top 10 Tech Podcasts for 2023

Top Posts & Pages

  • Data Fellowship - BCS Level 4 Certificate in Data Analysis Tools
  • A formula for Innovation
  • Have you tried R yet?
  • Personal Knowledge Management System
  • The Nature and Cycle of CPD
  • Data Fellowship - BCS Level 4 Diploma in Data Analysis Concepts
  • My Virtual Selfie - Avatars and Identity Security

Category Cloud

21st Century Human Architecture Automation Big Data Cloud Cobotics Data Data Science Development DevOps/OpsDev Digital DigitalFit Enterprise Architecture Governance Innovation IoT Machine Learning Mindset Open Source Podcasts Productivity Programming Raspberry Pi Robotics Security Social Media STEM Tools Uncategorized Wearable Tech

Tags

# 3D Printing 21st Century Human Applications Architecture Automation BCS Big Data Blockchain Certification Cloud Cobot Cobotics Coding Communication Connected Home Continuous Delivery CPD Data Data Fellowship Data Science Delivery Development DevOps Digital DigitalFit Digital Human Docker Drone Email Encryption Enterprise Architecture Framework GTD Hashtag Infographic Information Theory Innovation IoT Journal Knowledge learning Machine Learning Micro:Bit MicroLearning Mindset Mixed Reality Networks Open Source OpsDev PKMS Podcasts Productivity Programming Proving It R RaspberryPI Robot Robotics Scouts Security Smart Home Social Media Standards Statistical Inference STEM Technology Couch Podcast Thinking Tools Training Visualisation Voice Wearable Tech Windows xR

License

Creative Commons Licence
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.

Meta

  • Register
  • Log in
  • Entries feed
  • Comments feed
  • WordPress.com

Blog at WordPress.com.

  • Follow Following
    • Max Hemingway
    • Join 71 other followers
    • Already have a WordPress.com account? Log in now.
    • Max Hemingway
    • Customize
    • Follow Following
    • Sign up
    • Log in
    • Report this content
    • View site in Reader
    • Manage subscriptions
    • Collapse this bar
 

Loading Comments...
 

    %d bloggers like this: