EEVblog Electronics Community Forum

Electronics => Projects, Designs, and Technical Stuff => Topic started by: daisizhou on December 04, 2023, 03:41:06 am

Title: Oil reminder device (DIY project)
Post by: daisizhou on December 04, 2023, 03:41:06 am
Hallo every one.

I plan to make this oil reminder device in my free time.
Currently, I have completed the preliminary parts purchase and hardware wiring connection,Some attachments are still in transit.
I haven't written the code yet,Because I haven't confirmed if my hardware connection is correct yet.
If you are good at coding and interested in this project, please leave me a message. Thank you

Introduction

This is an oil reminder device,I plan to install it inside the motorcycle dashboard,Obtaining pulse signals through mechanical code table turntable,140 pulses per 1000 meters.

The motherboard is Arduino nano,The connection method is shown in the picture,GC9A01 is the display,
KEY1 is the time setting button,Press and hold for a long time to start the setting program,Short press the set time,Automatic storage of set values without operation for a long time
KEY2 is the one-way mileage and oil setting button,Short press KEY2 to reset the one-way mileage display,Long press KEY2 to reset the engine oil to zero

The display interface is shown in the following figure, with the outermost circle indicating the oil lifespan,The pointer rotates from green to red,The red area is 15000-25000 kilometers,When the pointer points to the red area, the entire indicator strip will turn into a red prompt and flash.
In the middle is a digital clock display,It is a 12 hour clock,Press KEY1 for a long time, it will flash and enter the setting mode
The bottom line is the one-way mileage display window



Title: Re: Oil reminder device (DIY project)
Post by: NiHaoMike on December 04, 2023, 12:37:18 pm
The display interface is shown in the following figure, with the outermost circle indicating the oil lifespan,The pointer rotates from green to red,The red area is 1500-2500 kilometers,When the pointer points to the red area, the entire indicator strip will turn into a red prompt and flash.
Did you miss a zero? 1500km translates to 932 miles, insanely short even with conventional oil. 15000km would be more like it, about the recommended change interval for synthetic oil.
Title: Re: Oil reminder device (DIY project)
Post by: daisizhou on December 04, 2023, 12:46:21 pm
I'm really sorry, I forgot that the first digit on the far right is a single digit, it should be 15000-20000.
That's right, the engine oil is indeed fully synthetic.
Title: Re: Oil reminder device (DIY project)
Post by: daisizhou on December 08, 2023, 11:13:50 am
Does anyone know how to use SquareLine studio software?
I just want to use it to create a system UI as shown in the picture below

I am a beginner and I am not good at software programming, but I have a passion for electronic production
Title: Re: Oil reminder device (DIY project)
Post by: daisizhou on December 08, 2023, 01:00:17 pm
I searched for similar programs and references in various parts.

I need to integrate these scattered programs into my project internally.
If you could help me catch up, I would be extremely grateful. Thank you


DS3231part-->https://howtomechatronics.com/tutorials/arduino/arduino-ds3231-real-time-clock-tutorial/
Oil and odometer part-->see attachment(speedometer-source.zip)