Sony Arouje

a programmer's log

Posts Tagged ‘raspberry pi

PI TRACKER – Raspberry Pi based WiFi controlled toy

with 2 comments

I was always fascinated about software and hardware interaction. But with my limited knowledge in electronics, I kept the hardware part aside and was working only in software. After having some hands on experience with my first Raspberry Pi, I decided to build a toy for my son. I purchased my second pi and some other components and this is what I built. Yes it looks ugly but worth playing with it :).

fotor_(283)

Last couple of days I was refreshing my basic electronic skills and virtually designing the software and  hardware for the device. You can find so many similar RaspPi based toys and I am adding one more to it.

Yesterday evening I got the last piece of the puzzle, the rechargeable battery.  After that I spent the next 5 hrs to code the application running in the vehicle and the Remote control app for my Android tab, remote control app is based on the Acclerometer of the device. To control the toy I decided to use WiFi and use my Android tab as a steering wheel. I will go more details into the software part in a different post.

Future addition

  • Obstacle detection and avoidance system
  • Video feed to the remote control device

Components

Rest of the post will go through the components used in the tracker and how to acquire it. If you are in Bangalore then you can get all these items from OM Electronics in SP road or you can buy online. I bought it from OM Electronics.

 

image Motor

Qty: 2

Features

  • 300RPM 12V DC motors with Gearbox
  • 6mm shaft diameter with internal hole
  • 125gm weight
  • Same size motor available in various rpm
  • 2kgcm torque
  • No-load current = 60 mA(Max), Load current = 300 mA(Max)
image Chasis

Qty: 1

Features

Powder coated Metal chasis for robots. Easy to mount the motors on place by using normal motor mount nut. It can either be used in skid steel configuration (4 motors) or differential configuration (2 rear wheels + 1 front castor wheel). The body contains perforated holes for easy mounting of various size circuit boards and other mechanical components.

Length : 190mm

Width : 105mm

Height : 40mm

image Track wheels

Qty: 4

Features

  • 6.1 mm hole.
  • Diameter 90 mm
  • Made from high quality virgin Nylon.
  • Hole on shank for screw
  • Comes with screw to lock on standard motor shaft of 6 mm.
image

Track and Ribbit

Qty: 60

Features

High quality Plastic Track  Belt and Ribbit

Specification :

  • 30mm X 20mm
  • 10mm Width
l293d-h-bridge-motor-driver-module L293D Motor Driver controller

Qty: 1

Features

H Bridge to control the motors individually

image Jumber Wires

male to male jumber wires – 10 or more  pcs

male to female jumber wires – 10 or more pcs

female to female jumber wires – 10 or more pcs

3cell_lion_battery 12V Lithium-Ion Rechargeable Battery

12v rechargable battery + charger

Url: http://www.robosoftsystems.co.in/roboshop/index.php/12v-lithium-ion-rechargeable-battery.html

Charger: http://www.robosoftsystems.co.in/roboshop/index.php/electronics-batteries/batteries-chargers/11-1v-1000mah-15-25c-lipo-battery.html

 

Next part I will go through the software part of the system. Stay tuned.

Advertisements

Written by Sony Arouje

June 10, 2014 at 12:28 pm

Posted in Raspberry Pi

Tagged with , ,

My home entertainment network with NAS and Raspberry Pi

with 5 comments

This post explains how different devices at my home connected via Wi-Fi and provide an easy way of streaming media contents. In this setup I created the playlists in one location (NAS) and all other devices can consume it.

Home network Topology

topology

 

 

Router

All my devices are connected to Netgear’s gigabit router. Earlier I had a 10/100 Netgear router and I replaced it with 10/100/1000 router. If you are planning for a streaming network at home its worth investing in a very good gigabit router.

Network Attached Storage (NAS)

The integral component of my streaming network is the 4TB WD My Cloud. It host twonky DLNA server and iTunes server, any DLNA complaint devices can connect to it and stream audio or video. Some devices at my home is not DLNA complaint, like docking station and Home theatre. That’s where Raspberry PI will be helpful.

Raspberry Pi

I knew about Raspberry Pi since it launched but never used it until recently. I decided to use Raspberry Pi to make my non DLNA devices to play media from my NAS. There are so many tutorials available in the internet to setup a Raspberry Pi, using noobs installer and using  Raspbian image, I use Raspbian image to setup.

Next is setting up my Pi to play media from a DLNA server, Stephen Phillips has a very good post explaining how to do it. Follow the steps and you will have a device that can connect to any non DLNA device to play media from a server. I then connect the Pi’s audio out to my Home theatre and could play audio from the NAS. Without raspberry pi I have to switch on my TV when ever I want to play audio, with this setup my TV can be switched off when I am listening to music, also it saves energy.

I can use my Android Tab as a remote to paly media using BubbleUPnP (paid and free) or from my Lumia 920 using AV Remote (paid and trial available) or a free app called myMediaHub. You can use any similar apps you want.

 

 

Written by Sony Arouje

June 2, 2014 at 1:15 pm

Posted in Misc

Tagged with , , ,

%d bloggers like this: