Find Jobs
Hire Freelancers

Digimatic to Arduino SerIO

$30-250 USD

Скасований
Опублікований over 13 years ago

$30-250 USD

Оплачується при отриманні
I need someone to code a sketch to interface an Ono Sokki digital linear gauge to a Arduini Serio. [login to view URL] [login to view URL] I found a sketch for a digimatic caliper that might be usefull as a starting point. In the end I need to get measurements from the gauge through the SerIO to a serial port. I will be using a VB.net program to trigger the measurement and record the dimension from the gauge. See example below. This is a very basic Arduino code that should be compatible with several calliper data protocols. There are commas in between each value to make it easy to use .CSV files to import the data into spreadsheets. The main requirement of this code is that the data is read on the falling edge of a clock pulse. Hopefully this code should mean when you connect your Arduino to the computer and use the serial monitor at 115200 Baud you will get sensible looking binary out. Trouble shooting: If the length of the binary strings changes a lot you may have the clock and data pins the wrong way around. Code: //Simple Digital Calliper Reader //See [login to view URL] // Pin Declarations int dataIn = 11; int clockIn = 12; // Variables int clock = 1; int lastClock = 1; unsigned long time = 0; unsigned long timeStart = 0; int out = 0; void setup() { // Pin Set Up pinMode(dataIn, INPUT); pinMode(clockIn, INPUT); [login to view URL](115200); [login to view URL]("Ready: "); } void loop(){ lastClock = clock; clock = digitalRead(clockIn); if (lastClock == 1 && clock == 0){ out = digitalRead(dataIn)+digitalRead(dataIn)+digitalRead(dataIn); // Tripple sampling to remove glitches if((micros() - time) > 800){ [login to view URL](" "); } else if((micros() - time) > 400){ [login to view URL](" "); } if (out > 1){ [login to view URL]("1"); } else{ [login to view URL]("0"); } [login to view URL](","); time = micros(); } } A great reference on reading digital callipers can be found at: [login to view URL]
ID проекту: 806755

Про проект

5 пропозицій(-ї)
Дистанційний проект
Активність 14 yrs ago

Хочете заробити?

Переваги подання заявок на Freelancer

Вкажіть свій бюджет та терміни
Отримайте гроші за свою роботу
Опишіть свою пропозицію
Реєстрація та подання заявок у проекти є безкоштовними
5 фрілансерів(-и) готові виконати цю роботу у середньому за $374 USD
Аватарка користувача
I have aurdino board and worked on it related to aeroquad project. www.aeroquad.com. I understand you only need code and not the hardware.
$499 USD за 15 дні(-в)
4,9 (2 відгуки(-ів))
2,0
2,0
Аватарка користувача
Please see my private message for details.
$750 USD за 30 дні(-в)
0,0 (0 відгуки(-ів))
0,0
0,0
Аватарка користувача
I have knowledge Embedded system , I know about c, mircontroller
$40 USD за 5 дні(-в)
0,0 (0 відгуки(-ів))
0,0
0,0
Аватарка користувача
Electronics engineers with direct microcontroller programming experience. Please see PM for details
$333 USD за 7 дні(-в)
0,0 (0 відгуки(-ів))
0,0
0,0
Аватарка користувача
Hello. I can help you. I have Arduino Mega hardwaer, It can use for testing. I work with ATMEL AVR chip before and use for it c and assembler.
$250 USD за 5 дні(-в)
0,0 (0 відгуки(-ів))
0,0
0,0

Про клієнта

Прапор UNITED STATES
Orange, United States
5,0
36
Спосіб оплати верифіковано
На сайті з квіт. 4, 2006

Верифікація клієнта

Дякуємо! Ми надіслали на вашу електронну пошту посилання для отримання безкоштовного кредиту.
Під час надсилання електронного листа сталася помилка. Будь ласка, спробуйте ще раз.
Зареєстрованих користувачів Загальна кількість опублікованих робіт
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Завантажуємо для перегляду
Дозвіл на визначення геолокації надано.
Ваш сеанс входу закінчився, і сеанс було закрито. Будь ласка, увійдіть знову.