Minanu Technologies

Minanu Technologies Minanu technologies is a gateway to research and development in the area of Embedded, DSP, VLSI, Software development with wide variety of latest technologies.

Minanu has in depth expertise in developing Embedded and real time software for various domains, including Embedded Systems, Automotive, and Networking. We specialize in Systems Design, DSP, VLSI, Matlab/Simulation, and Embedded Systems.

31/05/2015

MIT Robotic Cheetah..

08/02/2015
01/01/2015
Hi,         Free Demo class on 2014-2015 IEEE Projects....
31/12/2014

Hi,

Free Demo class on 2014-2015 IEEE Projects....

Automatic Street Light Control System Using Light Dependent Resistor in PIC16F877A
06/12/2014

Automatic Street Light Control System Using Light Dependent Resistor in PIC16F877A

Automatic Night Alarm with Morning Alarm Using LDR in PIC16F877A..
03/10/2014

Automatic Night Alarm with Morning Alarm Using LDR in PIC16F877A..

Active RFIDRadio Frequency Identification is the wireless network which is used to transfer data.This project is automat...
22/07/2014

Active RFID
Radio Frequency Identification is the wireless network which is used to transfer data.This project is automatically identifying and tracking tags attached to objects.The tag ID is read by the Reader and the reader is connected to the microcontroller through the UART.

Build Your Own Phone Using a Raspberry Pi:PiPhone – A Raspberry Pi based SmartphoneA smartphone based on a Raspberry Pi....
27/06/2014

Build Your Own Phone Using a Raspberry Pi:

PiPhone – A Raspberry Pi based Smartphone

A smartphone based on a Raspberry Pi. It’s called – wait for it – the PiPhone. It makes use an Adafruit touchscreen interface and a Sim900 GSM/GPRS module to make phone calls. It’s more of a proof of concept to see what could be done with a relatively small form factor with off-the-shelf (cheap) components.

What makes this different from the Timelapse controller is the addition of a a SIM900 GSM module, which is connected via UART to the Raspberry Pi. Also, got a LiPo battery that would fit nicely between the TFT screen and the Raspberry Pi, so it could be used standalone, without any wires hanging off it whatsoever. Here’s the finished PiPhone.

The touchscreen interface developed for the purpose of this project. It’s a numeric keypad, with a display of the number to dial at the top, and a phone icon at the bottom to make or hang up the call.

Once we turn the unit over, we can see the main communications module, which is a Sim900 GSM/GPRS module. This allow us to send standard AT commands to it to make calls, hang up, send texts, data etc. Overall a very clever module. Towards the bottom of the white PCB, you can see the SIM Card, which allows the module to associate with my local GSM network, and it’s using a regular prepaid SIM card,the on.off switch and a DC-DC converter, which converts the 3.7volts from the LiPoly battery to 5volts needed by everything else. The DC-DC converter.

Which fits nicely between the TFT and the Pi. The only problem with this setup is heat. It gets a bit warm around the CPU if you leave the unit switched on for several minutes, as there’s very little air circulation. With a small fan circulating the air around it, was able to leave it on for extended periods during development, and it was cool to the touch.

Also, the 6 pin header on the GSM module sticks out a bit, so though about de-soldering the header and soldering the wires directly onto the PCB. That would prevent the connector sticking out so much, and would sit better when placed on a flat surface.

And the other side view, showing the foam-core board seperating the GSM module from the Raspberry Pi.Choose a nice thick piece to ensure no electrical connections between them.And a couple of well placed cable-ties was all that was needed to hold everything together.

Components and their Costs:

Raspberry Pi Model B – Rs.3290.00
PiTFT Touchscreen 320×240 – Rs.2071
2500mAh LiPo battery – Rs.888
SIM900 GSM/GPRS module – Rs.2841
DC-DC boost converter 3.3V – 5V 1A – Rs.592
Cables, connectors, switch, etc. - Rs.592
Total: Aprx Rs. 9500

Software

Code is available on GitHub. All the instructions are there, and links on what to do to install the PiTFT, etc.

13/06/2014
Low Voltage Battery Level Indicator:  Up to now, this battery level indicator design was limited to 12 & 24V application...
13/06/2014

Low Voltage Battery Level Indicator:

Up to now, this battery level indicator design was limited to 12 & 24V applications. In past circuits, the use of fixed resistors greatly simplifies setup. However, fixed resistors resulted in application inflexibility that precluded use at lower voltage and different types of batteries. In the updated circuit, all thresholds are set via potentiometers, and an LM317 provides a 1.25V voltage reference. Rather than lighting LEDs progressively, this circuit blanks low order LEDs thus reducing power consumption. While the comparator and op amp operate as low as 2V, the voltage reference requires 3V (as a 1.25V reference). This easily accommodates 4.5V battery applications, but is far too marginal for 3V applications. By following the application information indicated on the schematic, it may be extended to 28V.

The goal was to make it work for 3V battery applications the limiting factor is the LM317 voltage regulator. As a result, the 3V version must wait for another day when can evaluate the LP2951 LDO voltage regulator.

LEDs come in various colors and efficiencies and make for a colorful display –or for simplicity sake, all may be the same color, or may all be included within one bar graph LED device. Due to differences in forward voltage drop and efficiency, the current limiting resistors will probably need to be adjusted for best performance. The table on the schematic for R18 to R22 suggests a starting resistance –note that these resistors need not be equal. However, if all are the same color, one resistor value should work well.

LED Color Charge Level
Red: 0 to 25%
Orange: 25 – 50%
Yellow: 50 – 75%
Green: 75 – 100%
Blue: >100% voltage
Of course, you may select your own colors as desired.

LM317 voltage reference

Few know that the LM317 makes a very simple 1.25V reference, but the datasheet does not allude to this application. The LM317 requires a headspace of 1.75V. This means that the minimum input voltage must exceed the output voltage by this value. Minimum DC input voltage = 1.25V + 1.75V = 3V.

The LM317 has a minimum load specification of 5mA, but have never found one that did not function at 3.8mA. R5 (330Ω) provides the minimum load.

Percentage of charge determination

For convenience, estimated the charge level thresholds of a 4.5V battery. For your particular battery, careful testing and adjustment will be required in order to obtain any degree of accuracy. Without such testing, this indicator is little more than a ‘wiggler.’ A suggested means of accomplishing this is to discharge a fully charged battery via a fixed resistor while graphing the output voltage as a function of time. Then divide the plot up into 4 equal AH (ampere hour) segments during which the output voltage is serviceable. From such a graph, it should be easy to observe specific voltage thresholds –note that there is no requirement for evenly spaced voltage thresholds as I have indicated on the schematic.

After the above voltage steps have been determined, the voltages must then be divided by the division factor of the voltage divider –for a 4.5V (nominal) battery, it is a factor of 4.3. So for the four steps it is as follows:

Voltage threshold 4.3
4.8V 1.12V
4.5V 1.05V
4.2V 0.98V
3.9V 0.91V
With the circuit powered via a good battery, adjust the 4 potentiometers to the ¸ 4.3 voltage levels above. While some may think that they can ‘wing’ it, I believe otherwise and if ultimately successful, it will take much more time. Note that if the potentiometers are not set at progressive voltages, operation will be unpredictable.

Circuit Operation

U3 is the 1.25 LM317 voltage reference. R5 & R6 form a voltage divider that reduces the battery voltage to a level that is close to the reference voltage and within the common mode voltage range of U1 and U2. U2A is a source follower amplifier that buffers the voltage divider output so that regardless how many diodes are drawing current out of this node, the voltage remains stable. R8 through R11 provide high impedance sources at the comparator inputs so that the diodes can easily take control of the voltages at these nodes. U1 consists of (4) comparators that compare the voltage from the reference potentiometers with the divided battery voltage. U2B is an op amp that is wired as a comparator that controls the lowest order LED.

Diode NAND gates

The 10 diodes make up a total of (4) wired NAND gates that function by reducing the reference voltages to below 0.6V. The 1st has one input, the 2nd has 2 inputs and so on. This blanks the low order LEDs so that only one is on at a time thus reducing battery load. To further reduce power, a push-to-test pushbutton may be used, or it may be cycled via a 555 timer in order to reduce the duty cycle (circuit not provided).

Preventing flicker

At the voltage thresholds, the LEDs may tend to flicker between two LEDs. To prevent this, a small amount of positive feedback is added via the addition of R14 to R17. Note that this is optional.

Testing

I recommend testing with an adjustable lab type power supply –besides being adjustable, it offers current limit that protects against accidental short circuits or polarity reversal. It makes life much easier.

If testing directly with a battery, note that reverse polarity protection is not provided –the experimenter is on his own this time. Suggestion: Initially power the circuit through a 100Ω resistor to limit potential fault current –after determining that the polarity is OK, this resistor may be removed.

Protoboard was a challenge

Observe the ‘rats nest’ in the photo –this is perhaps the worst layout I have ever done –touching just about any resistor or diode shorts something out and causes bizarre behavior…

Stripped down version

For those who want something simpler, U2, all the diodes and most resistors may be eliminated. If experimenting with this circuit, I suggest starting with the strip down version and then progressively develop the full version.

22/05/2014

Arduino Based Robot

Address

Coimbatore
641012

Alerts

Be the first to know and let us send you an email when Minanu Technologies posts news and promotions. Your email address will not be used for any other purpose, and you can unsubscribe at any time.

Contact The Business

Send a message to Minanu Technologies:

Share