Android interface  1971
  • Home

Welcome

Below is some of the Android apps I have designed hope you like, most are free and feedback would be great!.

I work as a electronics/software engineer and I am intersted in ways of connecting the android to different
sensors and devices, and using to collect data.

I have worked in many fields and currently work as a electronics reasearch engineer so it seems a good idea to make
use of my android phone!.

Please contact if any of my projects is of interest to you.  spencerneal1971@gmail.com



Twitter @spencerneal1971

Calorie Sensor Monitor

Picture
Use your smart phone acceleration sensor to monitor you daily Activity.

Will show Calories burned while you walking,jogging,cycling in Real time.

Also as calories are burned each food picture will get smaller, its a long Jog
to burn off a Big Mac!.

Need to put phone in your pocket for this to work.

This app works by monitoring your phones acceleration, and computing a average value.

Sample time can be adjusted, but 10s gives a good result.

This was found by experiment to give a good indication of your activity after converting to METS unit.

MET = Metabolic Equivalents.

1 MET at rest
2-3 Walking
3-5 Walking Fast, Cycling
6-13 Running

From this easy to calculate Kcal burned.


The app has default settings of 80Kg and 7.5 m^2 walking average acc.

You can adjust these by scrolling down and clicking the weight Tab.

Also to calibrate press the menu button then Calibrate Phone.

Put phone in pocket and walk normal speed for 20 seconds.

This average value is stored and all calculations based on this.

Have fun any problems please email me first, before bad feedback I will try to fix.

Have fun.

Thanks

VIRTUAL BUG HUNTER 

Picture
First game making use of the compass module.



Real Bugs in your room !!,
Uses Compass to map bugs to camera direction and overlay on camera view.

Lots of levels with some scary and fun bugs!!

Have fun, watch out for the big Ant.


Note phone needs compass to work.

Tested on Galaxy S3, HTC one X

Home Energy Calculator

Picture
Now save energy bills with your own home energy calculator.

See how much water your washing machine uses for the for the year. Or how much a shower costs?
Tv on all day what's the cost?

You will be surprised where your money goes!!

Works out total Gas/Electrical/Water costs for your location based on home or office design.

Settings button will allow some example
Settings to be loaded eg 2 bed house,
5 bed house, large  office  and more.

Instructions.

Top picture shows current cost gas and Current temperatures.


The outside temperature does not effect the yearly calculation as you location mean temperatures are used here.

->Heat lost watts is based on U-values 
   for your home construction.

 So a heat loss of 3000 Watts means you need 3KW of heat based on inside-outside temperature settings.

->Details for the house in meters Height,length,width this is used to  calculate total head lost.

Wall type-> Brick,cavity,wood(for fun) ....

Floor type->20mm board,plaster board
            concrete ....

Roof -> Polycarbonate,No insulation, 50mm ..

Window-> single,double,triple glaze ..

Air changes hour-> normally 1-3, depends on how drafty your home is.

Average Temperatures-> this is min-max for all months of the year for your location.
Default is London.

This data can be found from you local weather internet site, I use BBC Weather for default data.

This is used to calculate the mean yearly temperature for the yearly bills based on a method "Degree days"

Hot water-> Water used per day liters

Electric shower -> water liters per/day
     House inside temperature effects this

Washing machine-> washes /week

Tumble dryer-> drys/week

Dishwasher-> washes/week

Fridge-> Kw per year

Lights-> Total watts,hours day
     Normal bulb 100W energy bulb 8W

+ many more options

This is just a estimate but gives you a good idea where your money goes!!.

Just contact if you want other items added.

Have fun.

Tide Navigator

Picture
Display navigation and tide information at the same time,1. Navigation screen compass , GPS , time , speed knots
2. Weather screen shows nearest inland weather 
3. Add a way point screen
4. Tides nearest first,click for next 7 days.

Lots of tides mainly south England, but will add more
just contact me if you have a area.

New feature all tides in the direction of
the phone will high lite Blue.

Always have another source of data to check with,
as data can be damaged during download.

All tide data is downloaded from www.ukho.gov.uk
with there permission.

Android Amplifer USB interface ECG/EMG/EEG

Picture
Above shows the first Proto-type, the device plugs into the phone and the phone software displays a real time
scope plot of the data, the amplifer is 24bit so very good voltage range.
+-250mv-+-290nV 

This will be able to measure ECG/EMG/EEG this is the plan, now can get a sample rate of 400hz which looks ok for ECG ,
I need to reduce the noise more for EEG as it is a little high at the moment.

The idea is a small cheap device to plug into the phone and use the phones battery, so other batterys not needed.

live train map

Picture
Never miss your station with this app. 

Set a wake up alarm just in case before your station, press & hold station to set.

This app will show a live train map For.

1) Greater Anglia lines to Norwich

2) C2C Lines to Southend

3) Kings cross to Kings Lynn

4) London Liverpool street - Cambridge


Shows all stations and distance to next ect,works better for stations >2km  apart.

Updates approx every 10 seconds uses cell
towers so approx +-2km error,only works
if you can receive a good phone signal.

If GPS on then it will use this signal also.

Instructions.

The green Dot shows the current station.

Large green arrow means there is another 
line, click to change.

Press and hold to set a wakeup alarm, and
press again to cancle.

Note I have not tested this line but sure ive got the Lat/long correct, please let me know if error.

Solar power Pro

Picture
See how much power a solar pannel could produce, using your phone.
Also can be used for solar heating to see what temperature rise you could get.

Has been tested with a solar panel see graph in photos, quite good results using
a Galaxy S3 with a filter over the light sensor.

 Has many features see below.

 ->Displays  Watts meter square,Power,kWh,kJ/h,oC/hour.
->Real time graph of Wm^2

 ->Set solar size in m^2

 ->Set pannel Efficiency  15-20% for Electricity  60% for solar heatin Depends on solarcells or collector used.

 ->Water tank size Litres estimate oC rise per hour. 

>Cal light sensor mode Most phones will saturate under full sunlight max of 80,000LUX GS3 So idea use a filter over the sensor so that
  full sunlight can be measured.   Should give >100W/M^2 in good sunlight.
   1) Use a bright light source a lamp?
   2) Set reference light level
   3) Cover Phone light sensor with a filter, I use a small plastic sheet and tape.
   4) Select "add filter and cal" Now it will adjust the reading to the refernce light level.

 ->Save to LOG file, Count KWH and reset
 
This is not a replacement for a Solar radiation meter but I found gives a good estimate.

Sensor Logger

Picture
Turn your android into a sensor logging device, with triggers for events and can also playback saved data to display.

Lots of features see below, 

 ->Display sensor HW information
->Display all sensor screen
->Playback a recorded file
->Add trigger point to capture a event.
->Save to file with time stamp
->Sample time from  5hz-10mins
->Run mode, Stop,Run,Trigger
->Trigger Level +-25% --- 75%
->Change Graph color
->Select which sensor to Log graph
Accelermoter
Magnetic
Light Lux
Pressure
Orienatation
Gyroscope
Proximity
Acceleration

Bluetooth RN42/41 Programmer

Picture
This app can Program the Bluetooth device RN42/41 from rover networks and also
send ASCII data in normal mode.Has many features, ive used so I can use the module without using another 
micro to control.

 Read the datasheet first as some of the commands like power options, can make it harder to Pair with.
The buttons PI02-PI11 are the HW pins on the module,When set to outputs a press will set high.

Device-> this brings up a menu to select paired devices only
Connect-> This will open a Bluetooth port with the device.

 Features below.
1) Change Baud rate
2) Read IO pins on a timer 150ms
3) Control the HW  pins
4) Read all setting information
5) Change power options(Read data sheet!!)  Can get down to 400uA and still connect.
6) Send ASCII commands so can use in data modeto talk to another device(Normal mode)
7) Enter & Exit command mode.
8) Program Bluetooth name.

 You have to Pair first using the android normal bluetooth menu.

SMS health tracker

Picture
This software will send a SMS message to the receiver phone, which will respond with a SMS message containing the
location and also the sensor information.

This will be updated on the map with a marker, RED means the phone is flat,
and Green if the phone is upright.

The idea is if a person falls ect, then you could detect if the person is  flat on the floor,this needs to be installed on both phones to track.

Just click get location and then your contact name, it can take a while to respond as needs to get the location via Network or GPS.
If the GPS is on then this signal is used as better but will wait for a GPS fix, if GPS off then uses normal Network towers so around +-2Km error.
Always ask permission before installing on another phone as the user will  not know that it has been tracked.

Create a free website with Weebly