0
  • 聊天消息
  • 系統(tǒng)消息
  • 評論與回復
登錄后你可以
  • 下載海量資料
  • 學習在線課程
  • 觀看技術(shù)視頻
  • 寫文章/發(fā)帖/加入社區(qū)
會員中心
創(chuàng)作中心

完善資料讓更多小伙伴認識你,還能領(lǐng)取20積分哦,立即完善>

3天內(nèi)不再提示

絞車的制作教程

454398 ? 來源:wv ? 2019-09-05 10:20 ? 次閱讀

步驟1:零件

絞車的制作教程

要復制此內(nèi)容,您需要收集一些部分。我開始為這個項目采購電機,并且能夠在eBay上找到兩個Jazzy牌輪椅電機。我用于這個項目的其他部分是:

()2 Arduino Uno板

(2)nRF24L01收發(fā)器,帶背包

(1)SyRen10電機驅(qū)動器

(1)24伏電源

(1)5伏電源

10k歐姆電阻器

瞬時按鈕

3d印刷材料

制造材料 - 用于底盤,螺釘,螺栓等的鋼材

第2步:制造

我做的第一步是測試電機并確保它能正常工作。我測試了接線,并找出了哪些電線連接到電磁制動器以及哪些電線連接到電機。通過向制動器運行24伏電壓,它們將釋放并允許電動機自由轉(zhuǎn)動。

我開始為3英寸電纜卷筒打印三維部件,電纜卷筒位于電機軸上。我用鋼板切割了兩個5英寸的圓盤,并在鉆孔后將它們安裝在兩側(cè)。 3d打印的鼓。我焊接了一個底盤,用一個1英寸的箱形鋼管將電機擰緊。裝配好電纜卷筒并將絞盤安裝到底盤后,我準備從硬件上移開。

第3步:軟件

編碼經(jīng)過多次測試迭代,找出最佳方法無線控制。一個版本有一個旋鈕控制速度和方向與GO按鈕。這非常方便動態(tài)調(diào)整,但不可重復。

代碼的最終版本設(shè)計可編程根據(jù)命令執(zhí)行的提示。對于這個版本,只有兩個提示可供選擇,這些提示在Arduino軟件中編程。那些在他們的工具包中有超過3個按鈕的人可以輕松擴展功能。選擇提示加載將信息輸入當前提示,然后按住GO按鈕命令電機移動。釋放按鈕自動y停止電機,作為一種死人開關(guān)。最后,作為一種緊急停止,通過翻轉(zhuǎn)電源板上的開關(guān)或從墻上拔下電源來切斷電機電源,將使制動器停止并停止電機。

我的發(fā)射器代碼嵌入在下面。

/* Transmitter Code

* Code to store a cue and transmit it with a RF24L01+ to a receiver

* Credit to Mark Hughes for sharing his remote control project that

* helped me understand and debug my nRF24L01 setup

*

* This is the code for the transmitter portion for my winch project.

* It consists of 2 buttons, each with cue information, and a third button

* which is the “GO” button. Pressing and holding the button transmits to

* the receiver the information for the motor controller.

*

* Hook Up from nRF24L01

* Gnd to GND

* VCC to VCC

* CE to Digital 9

* CSN to Digital 10

* SCK to Digital 13

* MOSI to Digital 11

* MISO to Digital 12

* IRQ to Digital 8

*/

#include SPI.h

#include RF24.h

// Radio Configuration

RF24 radio(9,10);

byte addresses[][6] = {“1Node”,“2Node”};

bool radioNumber=1;

bool role = 1; //Control transmit 1/receive 0

//hardware attachments

const int GoButton = 4; //hold button to run loaded cue

const int Cue1 = 3; //press button to load cue

const int Cue2 = 2; //press button to load cue

const int ledPin = LED_BUILTIN; //LED flashes for debug purposes

//variables

int GoButtonState = 0;

int Cue1State = 0;

int Cue2State = 0;

int MotorSpeed = 0;

int STOP = 0; //for deadman switch. Constant broadcast a 0 speed to winch for safety

void setup() {

// put your setup code here, to run once:

pinMode (ledPin, OUTPUT);

pinMode (GoButton, INPUT);

pinMode (Cue1, INPUT);

pinMode (Cue2, INPUT);

Serial.begin(9600); // Get ready to send data back for debugging purposes

radio.begin(); // Get the transmitter ready

radio.setPALevel(RF24_PA_LOW); // Set the power to low

radio.openWritingPipe(addresses[1]); // Where we send data out

radio.openReadingPipe(1,addresses[0]);// Where we receive data back

}

void loop() {

// put your main code here, to run repeatedly:

GoButtonState = digitalRead(GoButton);

Cue1State = digitalRead(Cue1);

Cue2State = digitalRead(Cue2);

// Serial.print(ForeAft_Output);

radio.stopListening(); // Stop listening and begin transmitting

delay(50); // make delay longer for debugging

while (digitalRead(GoButton) == HIGH) {

SendMotorSignal(); //subroutine for broadcast

}

if (Cue1State == HIGH) {

MotorSpeed = -127; //speed for Cue1. Input can be from -127 to 127

digitalWrite(ledPin,HIGH); //LED flashing is helpful for debug

delay(100);

digitalWrite(ledPin, LOW);

delay(200);

}

if (Cue2State == HIGH) {

MotorSpeed = 127; //speed for Cue2. Input can be from -127 to 127

digitalWrite(ledPin, HIGH); //LED flashing is helpful for debug

delay(200);

digitalWrite(ledPin, LOW);

delay(100);

}

else {

digitalWrite(ledPin, LOW);

radio.stopListening(); // Stop listening and begin transmitting

delay(50); // make delay longer for debugging

if(radio.write(&STOP, sizeof(STOP)),Serial.println(“sent STOP”)); //Deadman switch function. Sends value of 0

radio.startListening();

//delay(50); //make delay longer for debugging

}

}

//subroutine for sending signal to motor

void SendMotorSignal() {

radio.stopListening();

delay(50); //make delay longer for debugging

if(radio.write(&MotorSpeed, sizeof(MotorSpeed)), Serial.println(“sent MotorSpeed”),(MotorSpeed));

digitalWrite(ledPin,HIGH); //LED helpful for debug

delay(100);

digitalWrite(ledPin, LOW);

delay(50);

}

對于接收器。

/* Receiver Code

* Code to receive data from RF24L01+ and use it to control a motor

* Thanks to Mark Hughes for sharing his remote control project that was

* incredibly valuable to me for learning how to make the radio library function.

*

* This is the code for the receiver portion for my winch project. It listens

* for the motor speed information to be transmitted, then sends it to the SyRen

* motor controller using a simplified serial packet.

*

* The receiver is using Software Serial to have the communication line to the SyRen

* on Pin 3, primarily so that the Arduino can be plugged into the computer

* during development.

*

* Hook Up from nRF24L01

* Gnd to GND

* VCC to VCC

* CE to Digital 9

* CSN to Digital 10

* SCK to Digital 13

* MOSI to Digital 11

* MISO to Digital 12

* IRQ to Digital 8

* */

#include SoftwareSerial.h //for serial communication on a designated pin

#include SyRenSimplified.h //library for SyRen

#include SPI.h

#include RF24.h

//SyRen Config

SoftwareSerial SWSerial(NOT_A_PIN, 3); // RX on no pin (unused), TX on pin 3 (to S1)。

SyRenSimplified SR(SWSerial); // Use SWSerial as the serial port.

//Radio Configuration

bool radioNumber=0;

RF24 radio(9,10);

byte addresses[][6] = {“1Node”,“2Node”};

bool role = 0; //Control transmit/receive

// Create variables to control servo value

unsigned int MotorSpeed; // Expected range -127 to 127

void setup() {

Serial.begin(9600); // Get ready to send data back for debugging purposes

SWSerial.begin(9600); // for communication to SyRen

radio.begin(); // Initialize radio

radio.setPALevel(RF24_PA_LOW); // Set the power output to low

radio.openWritingPipe(addresses[0]);

radio.openReadingPipe(1,addresses[1]);

radio.startListening();

}

void loop() {

delay(50); //increase for debuggy, decrease to decrease jitter

if(radio.available()){

radio.read(&MotorSpeed,sizeof(MotorSpeed));

}

else {Serial.print(“No radio”);

}

//Serial.print(MotorSpeed); //for debug purposes

//Serial.print(“ ”);

//delay(100);

//delay can be helpful when debugging- can be finetuned, but no delay causes

//glitches to happen in serial monitor. I think there may be conflict

//between SWSerial to the Syren and nRF and USB serial.

SR.motor(MotorSpeed); // Command the motor to move or, where the magic happens

}

這就是編碼!

第4步:全面測試

這里有一些視頻,我正在測試車間的絞車,以及一些額外的組件圖片。

一些想法 -

底盤設(shè)計為可以以不同方向安裝,并且可以輕松添加C形夾,奶酪架或直接安裝在地板或甲板上。通過無線設(shè)置,絞車僅需120伏電源即可與其接收器一起工作。變送器只是一個獨立的電源,因此也需要一個插座插入。

速度 -

我在這兩個方向上的速度都是每秒2英尺左右以最快的速度運行,這是一個非常好的速度,并且與JR Clancy Powerlift系統(tǒng)的速度相匹配。

容量 -

絞盤將保持10磅。它可能會持有更多,但到目前為止,我已經(jīng)把它增加了10磅。如果不對系統(tǒng)進行破壞性測試,很難猜出故障點是什么。電纜是1/16“英寸的飛機電纜,斷裂強度為480磅。我不知道這是否會先失效,或者電機上的軸是否會斷裂,或者三維印刷滾筒是否會破碎或撕裂。

然而,對于10-20磅范圍內(nèi)的物體,我認為這種絞盤將完美運作。

擴張 -

我有一些元素我還在努力。有一個編碼器和袋鼠板等待麻煩并重新安裝在系統(tǒng)上,但我很難讓編碼器和袋鼠接受對方運行強制調(diào)整周期。一旦到位,絞車將具有可編程定位功能。另一個需要的項目是行程頂部的限位開關(guān),以防止有效載荷撞入絞盤。

聲明:本文內(nèi)容及配圖由入駐作者撰寫或者入駐合作網(wǎng)站授權(quán)轉(zhuǎn)載。文章觀點僅代表作者本人,不代表電子發(fā)燒友網(wǎng)立場。文章及其配圖僅供工程師學習之用,如有內(nèi)容侵權(quán)或者其他違規(guī)問題,請聯(lián)系本站處理。 舉報投訴
  • 絞車
    +關(guān)注

    關(guān)注

    0

    文章

    5

    瀏覽量

    6794
收藏 人收藏

    評論

    相關(guān)推薦

    AIGC在視頻內(nèi)容制作中的應用前景

    AIGC(Artificial Intelligence Generated Content,人工智能生成內(nèi)容)在視頻內(nèi)容制作中的應用前景廣闊,主要體現(xiàn)在以下幾個方面: 一、提高視頻內(nèi)容制作效率
    的頭像 發(fā)表于 10-25 15:44 ?177次閱讀

    開關(guān)電源設(shè)計與制作

    電子發(fā)燒友網(wǎng)站提供《開關(guān)電源設(shè)計與制作.doc》資料免費下載
    發(fā)表于 10-24 16:36 ?1次下載

    零電感水冷電阻器用于船舶,甲板機械的絞車,降低錨和起重機

    許多船舶都有電力驅(qū)動系統(tǒng)。這些系統(tǒng)可以是甲板機械的絞車,降低錨和起重機,在牽引時保持張力,定位委托人和電力推進。隨著能源轉(zhuǎn)型的進行,越來越多的船舶實現(xiàn)了電動化。電力驅(qū)動系統(tǒng)由柴油/發(fā)電機或電池供電。該系統(tǒng)在驅(qū)動模式下消耗電力,并將電能轉(zhuǎn)化為機械能。
    的頭像 發(fā)表于 10-08 07:48 ?125次閱讀
    零電感水冷電阻器用于船舶,甲板機械的<b class='flag-5'>絞車</b>,降低錨和起重機

    光刻掩膜版制作流程

    光刻掩膜版的制作是一個復雜且精密的過程,涉及到多個步驟和技術(shù)。以下是小編整理的光刻掩膜版制作流程: 1. 設(shè)計與準備 在開始制作光刻掩膜版之前,首先需要根據(jù)電路設(shè)計制作出掩模的版圖。這
    的頭像 發(fā)表于 09-14 13:26 ?294次閱讀

    音箱制作過程圖解

    電子發(fā)燒友網(wǎng)站提供《音箱制作過程圖解.doc》資料免費下載
    發(fā)表于 04-28 09:27 ?10次下載

    cadence LOGO如何制作

    電子發(fā)燒友網(wǎng)站提供《cadence LOGO如何制作.docx》資料免費下載
    發(fā)表于 03-07 14:28 ?0次下載

    電路板pcb制作過程

    電路板pcb制作過程
    的頭像 發(fā)表于 03-05 10:26 ?1086次閱讀

    Arduino制作循跡小車教程

    Arduino制作循跡小車完全教程
    發(fā)表于 01-05 11:09 ?4次下載

    快速制作PCB中的秘密

    快速制作PCB中的秘密
    的頭像 發(fā)表于 12-14 18:27 ?698次閱讀
    快速<b class='flag-5'>制作</b>PCB中的秘密

    labview如何制作動畫

    )推出的圖形化編程環(huán)境。它主要用于構(gòu)建自動化測試系統(tǒng)、控制系統(tǒng)以及自定義的測量應用程序。然而,除了其核心功能外,LabVIEW還提供了一些高級功能,其中之一就是動畫的制作。 動畫制作的基本原理 在
    的頭像 發(fā)表于 12-13 10:40 ?1721次閱讀

    索尼持續(xù)推出虛擬制作解決方案

    索尼持續(xù)支持影視創(chuàng)作者在虛擬制作環(huán)境中工作,隨著產(chǎn)品陣容和創(chuàng)新工具的不斷擴大,虛擬制作已被廣泛應用于廣告片和電影制作中。
    的頭像 發(fā)表于 11-29 10:17 ?543次閱讀

    LC濾波器的設(shè)計與制作

    電子發(fā)燒友網(wǎng)站提供《LC濾波器的設(shè)計與制作.zip》資料免費下載
    發(fā)表于 11-21 10:17 ?37次下載
    LC濾波器的設(shè)計與<b class='flag-5'>制作</b>

    電子琴DIY小制作

    簡介:學會DIY小制作,帶動對編程的興趣,慢慢愛上編程,自我提高技術(shù)。
    發(fā)表于 11-15 14:32 ?0次下載
    電子琴DIY小<b class='flag-5'>制作</b>

    瓷片電容(MLCC)的制作流程

    來自Murata 2分41秒的視頻,介紹瓷片電容(MLCC)的制作全過程。
    的頭像 發(fā)表于 11-09 14:39 ?921次閱讀

    LED小夜燈的制作和調(diào)試

    電子發(fā)燒友網(wǎng)站提供《LED小夜燈的制作和調(diào)試.pdf》資料免費下載
    發(fā)表于 11-06 08:31 ?6次下載
    LED小夜燈的<b class='flag-5'>制作</b>和調(diào)試