![]() |
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 sharing platform. We are not responsible for any design issues and parameter issues (board thickness, surface finish, etc.) you choose.
- 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
-
-
Instrumentation Input, high impedance with 16 bit 1MSPS ADC for SPI
199 0 0 -
RGB LED Matrix input module for the Framework Laptop 16
398 0 2 -
-
📦 StackBox: Modular MDF Storage Solution 📦
238 0 2 -
-