Find Jobs
Hire Freelancers

Arduino TTL code for Pololu JRK motor controller

£20-250 GBP

Geschlossen
Veröffentlicht vor fast 13 Jahren

£20-250 GBP

Bezahlt bei Lieferung
The pupose of this project is to control a linear actuator for automatic gear selection in a car. As the use is in a family car, the coding needs to be solid, and reliable from someone with good Arduino experience. I'm driving the Actutor using a Pololu JRK motor controller: [login to view URL] PDF including serial: [login to view URL] I'm currently using the analogue input mode through the testing phase. This has allowed me to install and calibrate the 5 positions required. The Pololu software has allowed me to record these 5 positions as values - these can be set using either analogue, TTL or PWM modes. I'm now looking to control the positions using 5 push switches, introducing some logic for driving safety. For the TTL control, I've bought an Arduino Uno. Target solution: Each time you press a switch, the Arduino will send the corresponding TTL stream to the Pololu JRK TTL input. The switches are functionally: Park, Reverse, Neutral, Drive, Sport. I would like to introduce logic for driving safety: 1) A digital input of Arduino to be used for footbrake signal. The footbrake needs to be on to select Park or Reverse. If no signal, a button push for either Park or Reverse is ignored. No TTL sent. 2) The Park or Reverse switches need to be pushed for >500ms to activate TTL code. All other buttons to be pushed for >200ms to prevent stray signals or contact bounce etc. This time period should be clearly labelled in the coding in case the timings need alteration. Essentially then, I'm looking for 5 * switch triggered TTL pulses, with some simple logic. I would like the code to identify the 5 positions, such that the positional values (which translate to actuator position) can be altered if required. Any other ideas or enhancements to safety and driving simplicity greatly received. I'm an old-school hardware guy, so your assistance on this small piece of programming would be very welcome...
Projekt-ID: 1112769

Über das Projekt

Remote Projekt
Aktiv vor 13 Jahren

Möchten Sie etwas Geld verdienen?

Vorteile einer Ausschreibung auf Freelancer

Legen Sie Ihr Budget und Ihren Zeitrahmen fest
Für Ihre Arbeit bezahlt werden
Skizzieren Sie Ihren Vorschlag
Sie können sich kostenlos anmelden und auf Aufträge bieten

Über den Kunden

Flagge von UNITED KINGDOM
United Kingdom
0,0
0
Mitglied seit Juni 28, 2011

Kundenüberprüfung

Danke! Wir haben Ihnen per E-Mail einen Link geschickt, über den Sie Ihr kostenloses Guthaben anfordern können.
Beim Senden Ihrer E-Mail ist ein Fehler aufgetreten. Bitte versuchen Sie es erneut.
Registrierte Benutzer Veröffentlichte Jobs
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Vorschau wird geladen
Erlaubnis zur Geolokalisierung erteilt.
Ihre Anmeldesitzung ist abgelaufen und Sie wurden abgemeldet. Bitte melden Sie sich erneut an.