You are viewing an older revision! See the latest version

Wiki Syntax

Speaking Taxi Meter : A project to assist the blind

Project by Pranav Pralhad Sawant and Aditya Shrikant Kadam

Purpose and idea behind this project

In India, people most often use the public transport while going around places and Taxis are the most common medium. The fare of the Taxi is based on the duration of the journey which indirectly depends upon the distance covered. The Taxi union of India decides the distance fare ratio and thus the fare is calculated. However, the current meters used in India are mechanical and can be manipulated to read a different meter value than the real ones. Also, some taxi drivers even end up demanding more money from the visually impaired people, as they are not able to read the meter values and often end up paying more. This is also the case with the foreign tourists visiting India. Although, the tourists can read the meter value, they do not have access to the meter fare ratio and have to blindly pay what the taxi driver asks for. Also, when it comes to change in fare regulations, all the taxi meters need to be sometimes re-calibrated which is a very time consuming process, with the meters being mechanical. Our project aims to address these issues by making the meter mechanism completely automated by taking advantage of the vast expanding internet and embedded systems domain.

Modules used for accomplishing aims

  • DC motor : To replicate a rotating wheel of the taxi
  • IR sensor : To calculate the Number of revolutions of the wheel.
  • MBED chip : For integration of all the involved peripherals and logic implementation.
  • MicroSD card : For storing converted voice reading.
  • VS1053 : A mp3 encoder module necessary for encoding the mp3, in our case the text converted voice fare.
  • Audio Jack : A jack for facilitating connection to speakers.
  • Ethernet : To send a text (fare) to google translate service and get back a mp3 file(text to speech) containing the audio format of the fare.
  • LCD : To display the meter reading and the corresponding fare.
= Heading 1 =
== Heading 2 ==
=== Heading 3 ===

Heading 1

Heading 2

Heading 3

Styles

**bold text**, //italic//, __underline__, --stroke--, ^^superscript^^, ,,subscript,,, ##monospace##

bold, italic, underline, stroke, superscript, subscript, monospace

**//bold italic//**, **##bold monospaced##**

bold italic, bold monospaced

Alignment

Text floated to the right

<<float side=right>>
Text floated to the right
<</float>>

Lists

* List Item 1
* List Item 2
** List Item 2.1
* List Item 3
  • List Item 1
  • List Item 2
    • List Item 2.1
  • List Item 3
# Ordered Item 1
## Ordered Item 1.1
## Ordered Item 1.2 
### Ordered Item 1.2.1
# Ordered Item 2
  1. Ordered Item 1
    1. Ordered Item 1.1
    2. Ordered Item 1.2
      1. Ordered Item 1.2.1
  2. Ordered Item 2
 * [[Wiki Syntax]]
 * [[/handbook/SPI]]
 * [[http://mbed.org]]
 * [[/media/uploads/simon/helloworld_lpc1768.bin]] 
 * [[/handbook/SPI|SPI Handbook Page]]

Images

{{URL|description|width|height}}

{{/media/uploads/simon/mbed.gif}} 
{{/media/uploads/simon/mbed.gif|mbed Logo}}
{{/media/uploads/simon/mbed.gif|mbed Logo|200}}
{{/media/uploads/simon/mbed.gif|mbed Logo|200|100}} 

/media/uploads/simon/mbed.gif mbed Logo mbed Logo mbed Logo

[[http://mbed.org|{{/media/uploads/simon/mbed.gif}}]]
[[http://mbed.org|{{/media/uploads/simon/mbed.gif|mbed Website}}]]

/media/uploads/simon/mbed.gif mbed Website

Videos

{{http://www.youtube.com/watch?v=Y6kECR7T4LY}}

Tables

|=Column 1 |=Column 2 |=Column 3 |
|Some text | in a     | table    |
Column 1Column 2Column 3
Some textin atable

Code

<<code>>
int max(int x, int y) {
    return (x > y) ? x : y;
}
<</code>>

int max(int x, int y) {
    return (x > y) ? x : y;
}
<<code main.cpp>>
#include "mbed.h"

int main() {
    printf("Hello World!\n");
}
<</code>>

main.cpp

#include "mbed.h"

int main() {
    printf("Hello World!\n");
}

Quotes

<<quote>>
This is something very interesting...
<</quote>>

Quote:

This is something very interesting...

<<quote simon>>
This is something simon said...
<</quote>>

Simon Ford wrote:

This is something simon said...

Programs

You can embed a published program in a wikipage:

<<program http://mbed.org/users/shintamainjp/programs/SG12864A/60ah4/>>

Import librarySG12864A

SG12864A

You can also link to a specific item of documentation about a program:

<<program http://mbed.org/users/shintamainjp/programs/SG12864A/60ah4/docs/classSG12864A.html>>

Import library

Public Types

enum Target

Target of a chip.

More...

Public Member Functions

SG12864A (PinName di, PinName rw, PinName en, PinName db0, PinName db1, PinName db2, PinName db3, PinName db4, PinName db5, PinName db6, PinName db7, PinName cs1, PinName cs2, PinName res)
Create.
~SG12864A ()
Destroy.
void bufferPush (void)
Push images from a internal buffer.
void bufferPull (void)
Pull images to a internal buffer.
void bufferClear (bool reverse=false)
Clear a internal buffer images.
void bufferDrawLine (uint16_t x1, uint16_t y1, uint16_t x2, uint16_t y2, bool reverse=false)
Draw a line to a internal buffer.
void bufferDrawBox (uint16_t x1, uint16_t y1, uint16_t x2, uint16_t y2, bool reverse=false)
Draw a box to a internal buffer.
void bufferFillBox (uint16_t x1, uint16_t y1, uint16_t x2, uint16_t y2, bool reverse=false)
Fill a box to a internal buffer.
void bufferDrawString (uint8_t x, uint8_t y, char *str, bool reverse=false)
Draw a text string to a internal buffer.
void bufferDrawChar (uint8_t x, uint8_t y, char c, bool reverse=false)
Draw a character to a internal buffer.
void bufferDrawCheckbox (uint16_t x1, uint16_t y1, uint16_t x2, uint16_t y2, bool state, bool reverse=false)
Draw a checkbox to a internal buffer.
void bufferDrawProgressbar (uint16_t x1, uint16_t y1, uint16_t x2, uint16_t y2, int min, int max, int value, bool reverse=false)
Draw a progressbar to a internal buffer.
void reset (void)
Reset module.
void clear (void)
Clear display.
void setDisplayOnOff ( Target t, bool on)
Set display ON/OFF.
void setDisplayStartLine ( Target t, uint8_t displayStartLine)
Set display start line.
void setPageAddress ( Target t, uint8_t addr)
Set page address.
void setColumnAddress ( Target t, uint8_t addr)
Set column address.
void readStatus ( Target t, uint8_t *c)
Read status.
void writeData ( Target t, uint8_t c)
Write data.
void readData ( Target t, uint8_t *c)
Read data.

Flashboxes

Flashbox types: info, help, error, warning, success, note

<<info>>
This is something that might be useful...
<</info>>

Information

This is something that might be useful...

<<warning title="Troubleshooting!">>
Some help with troubleshooting
<</warning>>

Troubleshooting!

Some help with troubleshooting

Escaping Markup

{{{
plain text <<code>>

not **formatted** by the wiki engine
}}}
plain text <<code>>

not **formatted** by the wiki engine
~# hello

# hello

<<comment>>
something not rendered in the output
<</comment>>

(nothing!)


All wikipages