Menu English Ukrainian russian Home

Free technical library for hobbyists and professionals Free technical library


ENCYCLOPEDIA OF RADIO ELECTRONICS AND ELECTRICAL ENGINEERING
Free library / Schemes of radio-electronic and electrical devices

On-board computer for a motorcycle with LCD from a mobile phone

Free technical library

Encyclopedia of radio electronics and electrical engineering / Automobile. Electronic devices

Comments on the article Comments on the article

On-board computer for a motorcycle with LCD from a mobile phone. LCD screen from Nokia 6280

In this motorcycle trip computer project, you will see how you can use the LCD display from the Nokia 6280 mobile phone, controlled by the PIC18F4455 microcontroller. This BC is installed on a motorcycle Yamaha TDM850 (99 release).

On-board computer for a motorcycle with LCD from a mobile phone. Yamaha TDM850

Product Features:

  • current gear display (1 to 5), plus neutral gear
  • battery voltage. Display analog and digital
  • time since launch
  • analog and digital speedometer display
  • daily counter
  • display of the position of the throttle stick (in percent)
  • analog and digital tachometer display
  • if the engine is not running, the message "Engine Stop" is displayed
  • display of air temperature, coolant, oil
  • at certain speeds, the inscription "GearUp" (shift gear up) is displayed. In the settings mode (Debug Mode), it is possible to adjust the rpm at which a warning message appears
  • in 5th gear, when the engine is spinning up more than 3500 rpm and when the TRP parameter is less than set in the settings (for example, 17%), the inscription "Economic Drive" (economical driving) is displayed


Settings mode (Debug Mode):

In this mode, the BC shows data from the speed sensor, TPS sensor (throttle stick), unique codes for temperature sensor devices DS18B20. Also, in the settings mode, you can change the parameters for the "GearUp", "Economic Drive" modes and adjust the LCD backlight.

On-board computer for a motorcycle with LCD from a mobile phone. Debug Mode

The device does not have any buttons for changing parameters, so the signals from the gear shift sensors and the throttle stick TPS sensor are used.

Entering the settings mode and changing parameters:

  • move the shift knob to the lower gear and turn on the power. Debug Mode will appear on the device screen.
  • move the gear selector knob down to scroll through the options.
  • use the throttle to change the setting
  • to save parameter changes, move the gear selector up. The parameter will change its color to blue.


All data is stored in non-volatile memory and is not erased after turning off the power of the on-board computer.
To exit the setting mode, turn the power off and then on again.

All electronic filling is located to the left of the protection and is connected to the LCD screen by a flat cable. On the second side of the BC electronic unit, connections to the ignition module, temperature sensors and the gear knob position sensor depart.

On-board computer for a motorcycle with LCD from a mobile phone. Location of the electronic unit BC

From the ignition module, the BC receives + 12V, rpm signals (RPM) and throttle.

Temperature sensors DS18B20 are connected via 1Wire protocol, in the "parasite power" mode (ie they do not require external power).

The gear selector sensors are located under the left crankcase guard. 2 optical sensors are used as sensors. In the photos you can see all 3 positions: normal position, downshift position and upshift position.

On-board computer for a motorcycle with LCD from a mobile phone. Gear shift sensors

This motorcycle does not have a factory speed sensor, so I made it myself. As a speed sensor, I used a TLE4945 Hall sensor. The sensor is installed under the engine crankcase cover.

On-board computer for a motorcycle with LCD from a mobile phone. Speed ​​sensor. Hall sensor and magnets

The Hall sensor requires magnets to work, in my case I used three magnets. The reason for this is higher accuracy: the speed is measured from 0 to 350 km/h with a resolution of 1 km/h, the data is updated every second. When mounting magnets, you must observe the orientation of their magnetic field. My magnet pole sequence is SNSNSN.

(click to enlarge)

The circuit diagram uses a simple solution to communicate PIC18F4550 and Nokia 6280 Lcd (320x240 pixels) via parallel port.

For DS18B20 temperature sensors, 1 1Wire I/O channel is used. 3 MK lines are used for the gear position sensor and neutral gear, one MK input is used for the speed sensor, 2 analog inputs for measuring the supply voltage and the throttle sensor, and one output is used for LCD backlight. The USB connector is used for programming and testing.

As mentioned above, all 3 DS18B20 sensors sit on the same 1Wire line and for the device to work properly, you need to know their unique 64-bit codes.

My sensors had the following codes:
"Air" = 9300000078625728
"Water" = D5000002061B2128
"Oil" = 4600000206125A28

On-board computer for a motorcycle with LCD from a mobile phone. Replacing DS18B20 sensor IDs in HEX code

For the correct operation of the BC, in the program code you must change these codes to the codes of your sensors (see the screenshot above).

Author: Koltykov A.V.; Publication: cxem.net

See other articles Section Automobile. Electronic devices

Read and write useful comments on this article.

<< Back

Latest news of science and technology, new electronics:

Artificial leather for touch emulation 15.04.2024

In a modern technology world where distance is becoming increasingly commonplace, maintaining connection and a sense of closeness is important. Recent developments in artificial skin by German scientists from Saarland University represent a new era in virtual interactions. German researchers from Saarland University have developed ultra-thin films that can transmit the sensation of touch over a distance. This cutting-edge technology provides new opportunities for virtual communication, especially for those who find themselves far from their loved ones. The ultra-thin films developed by the researchers, just 50 micrometers thick, can be integrated into textiles and worn like a second skin. These films act as sensors that recognize tactile signals from mom or dad, and as actuators that transmit these movements to the baby. Parents' touch to the fabric activates sensors that react to pressure and deform the ultra-thin film. This ... >>

Petgugu Global cat litter 15.04.2024

Taking care of pets can often be a challenge, especially when it comes to keeping your home clean. A new interesting solution from the Petgugu Global startup has been presented, which will make life easier for cat owners and help them keep their home perfectly clean and tidy. Startup Petgugu Global has unveiled a unique cat toilet that can automatically flush feces, keeping your home clean and fresh. This innovative device is equipped with various smart sensors that monitor your pet's toilet activity and activate to automatically clean after use. The device connects to the sewer system and ensures efficient waste removal without the need for intervention from the owner. Additionally, the toilet has a large flushable storage capacity, making it ideal for multi-cat households. The Petgugu cat litter bowl is designed for use with water-soluble litters and offers a range of additional ... >>

The attractiveness of caring men 14.04.2024

The stereotype that women prefer "bad boys" has long been widespread. However, recent research conducted by British scientists from Monash University offers a new perspective on this issue. They looked at how women responded to men's emotional responsibility and willingness to help others. The study's findings could change our understanding of what makes men attractive to women. A study conducted by scientists from Monash University leads to new findings about men's attractiveness to women. In the experiment, women were shown photographs of men with brief stories about their behavior in various situations, including their reaction to an encounter with a homeless person. Some of the men ignored the homeless man, while others helped him, such as buying him food. A study found that men who showed empathy and kindness were more attractive to women compared to men who showed empathy and kindness. ... >>

Random news from the Archive

Transmission of electricity from space to Earth 21.05.2020

The Atlas V launch vehicle launched the X-37B military automatic mini-shuttle into Earth's orbit. This is the sixth successful flight of the "space plane", as this reusable vehicle is also called. Most of the tasks of the X-37B mission are solved by military programs and are classified, but not all. This time, the mini-shuttle launched a prototype photovoltaic module into orbit to transfer solar energy to the earth in the form of microwave radiation.

The energy transfer experiment was reported by the US Naval Research Laboratory (NRL), in whose depths the PRAM (Photovoltaic Radio-frequency Antenna Module) experimental module was developed. An experimental photovoltaic module with a radio frequency antenna is a block with sides of 30 cm. The block is equipped with conventional photovoltaic converters (solar cells) that convert the sunlight falling on them into electrical energy.

The energy received by the module in orbit is converted into microwave radiation and will be transmitted to a receiver located on the ground. The receiver, which is also a generator, converts microwave radiation into electricity and gives it to consumers. In space, the energy obtained in this way can be transmitted by a laser beam, for example, using a powerful infrared laser, but only microwave radiation can pass through the earth's atmosphere without significant absorption.

The experiment planned by the NRL laboratory is designed to study the process of energy conversion, the thermal characteristics of the processes and the efficiency of the technology in real conditions on a prototype. Similar methods of transferring power from an orbit where the sun shines 24 hours a day and at the same optimal angle to the solar panel can help provide electricity to remote corners of the planet, such as military bases or disaster zones.

Based on the results of PRAM, the next step will be to create a fully functional prototype system with installation on the satellite. Also at the next stage, a channel will be created to send energy to Earth. There is no doubt that turning such technology into a large-scale commercial power source could take decades and be extremely expensive for a long time, but for a number of tasks, the rapid deployment of propulsion systems on Earth with unlimited energy can be commensurate with the costs.

News feed of science and technology, new electronics

We recommend downloading in our Free technical library:

▪ website section Television

▪ magazines Radiodesign (annual archives)

▪ book Formation of signs on television indicators. Guglin I.N., 1974

▪ article Rocking stereoscopy. Encyclopedia of visual illusions

▪ article Polyethylene terephthalate film. Encyclopedia of radio electronics and electrical engineering

▪ article Scheme, pinout (pinout) cable Nokia 3210 (MBUS). Encyclopedia of radio electronics and electrical engineering

▪ reference book Foreign microcircuits and transistors. Series O

Leave your comment on this article:

Name:


Email (optional):


A comment:





All languages ​​of this page

Home page | Library | Articles | Website map | Site Reviews

www.diagram.com.ua

www.diagram.com.ua
2000-2024