|
arduino IDEArduino
|
|
|
ELEGOO UNO R3 BoardELEGOO
|
|
|
USB Tiny AVR Programmerflashtree
|
X27 Stepper Gauge PWM ATtiny85
Board to control an x27 motor using an LS PCM signal
Input 12-30v and outputs 5v for the ATtiny85 that controls the motor
Input for the PWM needs to be around 12-16 volts, this will be lowered to 5v(or less) for the ATtiny to read.
X27 stepper motor is to be mounted on the back for better clearance, the circuit is on the front side.
Pretty easy setup, solder all the parts, and program using the headers(right side of the pcb) and an Arduino UNO as an ISP, and boom, it's ready to go.
I programmed the tiny85 using this guide HERE, the pin headers are organized in the same way. starting with Pin 1 and going to Vcc on the Tiny85.
on the left-hand side where the terminal connector is 1st pin is Car battery power, 2nd is car ground, 3rd is the VSS pwm signal from the PCM.
My current code is on GitHub and is almost set up for an ls swap Speedo. (Currently, it's an older version I created to set up for a 1966 C10
Speedo Gauge with rough estimates)
https://github.com/joeyjoey1234/Ardunio---x27-Stepper-Speedo-Gauge---LS-Swap
The code will need to be adjusted for its needle starting point and degrees moved per MPH.
Code can be reconstructed for RPM etc., just take my program as an example for steps, etc.
The area for pin headers on the bottom right for reprogramming the ATTiny85 to your liking or you can preprogram and not solder a header
For my next project, I plan on making all this SMD and focusing on my project car, I will upload the Gerber files for that one.
Issues: the 12v to 5v circuit is too powerful for a build like this, and the voltage regulator L78S05CV tops out at 2amps, after testing this build only takes up less than 0.1 amp even with constant PWM signal changes so it's a little too much.
Issue: i got lazy and just put up lots of random links to amazon items for the bom but you can easily get this stuff on other sites, like mouser or aliexp or amazon lol.
X27 Stepper Gauge PWM ATtiny85
*PCBWay community is a shared platform and we are not responsible for any design issues.
- Comments(0)
- Likes(0)
- 0 USER VOTES
- YOUR VOTE 0.00 0.00
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
More by Joey Pena
-
Open Source Very Large Stick - Freejoy & MMjoy2 breakout board
353 0 0 -
RF Control training board for students based on ESP32 C3
470 0 2 -
Aquarius+ Computer, Standard PCB
667 0 3 -
KINETIC COASTERS with a TWIST! Laser or 3D Print some DIY Magic
484 0 1 -
RPI - 8 IO PLC With ATTiny85 Watch Dog
422 0 0 -
Nintendo Famicom HVC-001 Controller Shells
521 0 1 -
COMMODORE 128 DIAGNOSTIC REV.785260 KEYBOARD DONGLE
498 0 4 -
COMMODORE 128 15KHz DISPLAY ADAPTER (C128 80 COLUMN ADAPTER)
637 1 4 -