Close

Could do with a few sets of eyes, my wiring schematic

A project log for Digital Speedometer

A new digital dash to replace the slow inaccurate one on my cheap Chinese bike

mangus-tiranusMangus Tiranus 09/03/2016 at 10:210 Comments

So I've reached the stage in my project that my skills are at their weakest... Electronics! Funny that, this being a electronics hacking/making site >.> ...

I've put together this schematic based from various sources of how toos and i really need some proof reading before I order in all the parts and build this on the breadboard.

I'm pretty certain I've made mistakes, got some values wrong or implemented the wrong type of circuit for the task...

One issue I have with my bike is its mains voltage is anywhere between 12 and 15 volts. So I need the various 12v lines in off the bikes wiring loom to be able to handle that variable.

I have a 12-5v module for powering the project that can handle that (purple thing), just bellow that is the jumper for the 12v mains in, and 2 voltage test circuits. One for testing the mains voltage and one for testing the fuel level. Looping the 12v back down the FUEL_Y wire (yellow wire) and reading the voltage off the FUEL_B (blue wire) that comes back. In the tank there is a float on an arm thats attached to some kind of variable resistor. At this stage I have no reason to assume the voltage going into the variable resistor in the tank is anything other than the 12v mains off the bike. (other than 12v being a nice high tank exploding voltage if the resistor failed :D ) Though I will look that up more and confirm that its possible I guess that the gauge on the bikes original dash dropped the voltage level before sending it back, I will test this...

On the Adrafruit powering neo pixel guide, it says to use 1000uf caps to stop any voltage spikes coming up the line. I ordered some and theyre pretty big... I may have also ordered the wrong type, being electrolytic. These are about 1cm in diameter and 1.5 cm long... Are there any smaller package options I could use?

Im using opto isolators for many of the inputs from the bike. This to protect the IC from any spikes...

But I'm a little unsure if I've got the circuit right for them.

The RPM in, I'm using a resistor to drop the voltage as I dont want to interfere with the signal. At the moment I believe the signal is 12v (bike mains voltage level) pulsing. Im going to confirm this once I get an oscilloscope. Would a voltage regulator interfere with the signal? Smooth it out?

And If using a resistor is the right thing to do what value should I give it? Given the wide variable the bikes voltage is...

On the left of the maple mini are some other inputs.

I have the Running Headlights and High Beam going through a regulator, as they will be turned on for long lengths of time.

The indicators are on 630 ohm resistors are they just flash, I dont think heat should be an issue there?

Will the voltage regulators have a heat issue? Do I need to think up some sort of heat dissipation into my design?

And finally, pay little attention to the gear number inputs... Im not entirely sure how Im going to handle them at this point, my bike only detects neutral, Ill have to change the switch for that to work, and If i do, would I run it through the loom or just send a signal down from the dash unit... Again at the moment these are using 7805 regulators...

I also have a space issue with the 7805 regulators... having this many takes up a lot of pcb space. Even to the point of me thinking about making a second PCB board. I much rather keep this all on one.

Anyway, anyone please take a look over the schematic and tell me if you see any real issues with it, and if you think my resistor values are wrong :)

Thanks in advance :D

Discussions