Arduino-CNC-Shield 安装指南
Arduino 盾牌教程说明书
Arduino Shields a tutorial Available online at: http://sfe.io/t40ContentsWhat is a Shield?ShieldstravaganzaInstalling Headers (Preparation)Installing Headers (Assembly)Assembly TricksResources and Going FurtherWhat is a Shield?Shields[1] are modular circuit boards that piggyback onto your Arduino to instill it with extra functionality. Want to connect your Arduino to the Internet and post to Twitter? There's a shield for that. Want to make your Arduino an autonomous rover? There are shields for that. There are dozens (hundreds?) of shields out there, all of which make your Arduino more than just a development board with a blinky LED.SparkFun catalog manager RobertC. in awe of an extravagant platter of shields.Many Arduino shields are stackable. You can connect many shields together to create a "Big Mac" of Arduino modules. You could, for example, combine an Arduino Uno with a Voice Box Shield, and a WiFly Shield to create a WiFi Talking Stephen Hawking(TM).Shields are often supplied with either an example sketch, or a l ibrary. So, not only do they just simply plug into your Arduino, but all you need to do to make them work is upload up some example code to the Arduino.[1] Note: In general, these are called "daughter boards." The terminology and layout depends onthe environment platform and form factor. Shields for Arduino typically use the Arduino Uno R3 footprint. However, shields can have a different layout depending on the architecture. Stackable PCBs for the Raspberry Pi are referred to as HATs or pHATs while the BeagleBone refers to them as Capes. We'll focus on the Arduino shields throughout this tutorial.Shield Form FactorEvery Arduino shield must have the same form-factor as the standard Arduino. Power and ground pins on one eight (previously six) pin header, and analog pins on a six-pin header next to that. Digital pins cover the other edge on the other side, an eight-pin header separated from a 10-pin by that weird 0.5" spacing. Some shields also require a connection to the Arduino's ICSP header (the 2x3 programming header on the end).Some shields use every pin on the Arduino, while others only use a couple. When stacking shields, it's important to make sure they don't use overlapping pins. Some shields communicate with the Arduino via SPI, I2C, or Serial, and others use the Arduino's interrupts or a nalog inputs.There's a great variety of Arduino shields out there -- too many to ever include in this tutorial. On the next page we'll go over a handful of the more popular and unique shields. ShieldstravaganzaHere's a list of SparkFun's more popular and unique shields. This isn't an exhaustive list of all Arduino shields (for that, check out ), but it's a good collection. They're sorted intosemi-logical categories.If you're more visually inclined, check out our S hieldStravaganza Video Series (Part 1, Part 2, and Part 3). These three exciting videos are filled to the brim with shields, shields, shields, oh...and more shields.Prototyping (And Then Some)Prototyping shields don't add much functionality to the Arduino, but they do help in other ways. These shields might do something as simple as breaking out the Arduino pins to screw terminals. In general they make wiring to the Arduino easier.ProtoShield Kit - The self-titled star of this category. This shield is basically a big prototyping area. You can stick a mini-breadboard on top, or just solder directly to the shield's prototyping area.ProtoScrew Shield - Like the ProtoShield, but each pin is also broken out to a screw terminal.Handy for connecting to external motors or heavy-duty sensors.Go-Between Shield - The intention of this shield is to sit in between two shields. It swaps the pins of the top shield, so they don't interfere with each other.LiPower Shield - This shield allows you to power your Arduino with a Lithium Polymer battery.Danger Shield - The most awesomest shield evar! This shield is a crazy conglomeration ofdisplays, potentiometers, and other sensors. Great for learning the ins and outs of Arduino or incorporating into audio mixing projects.Joystick Shield Kit - This makes your Arduino a bare-bones controller. With a joystick and four buttons, this makes for a great robot controller.microSD Shield - The Arduino has limited storage space, but this easy-to-use shield (along with the SD library) allow for plenty of extra storage.Ethernet, WiFi, Wireless, GPS, Etc.Arduino Ethernet Shield - This is one of the more classic shields. The Ethernet Shieldsupplies your Arduino with an ability to connect to the world wide web. There's a great library to support it as well.WiFly Shield - SparkFun's WiFi Shield mainstay, this shield equips your Arduino with theability to connect to 802.11b/g wireless networks. Then it can act as either a web server,client, or both.Arduino Wi-Fi Shield - This is the Arduino Ethernet Shield sans wires. This shield can get your Arduino connected to a WiFi router, so it can host webpages and scour the Internet.Electric Imp Shield - Electric Imp is a unique WiFi module, which looks like an SD card, but it packs a powerful cloud-based WiFi controller. This is probably the least expensive WiFi-enabling Arduino shield.XBee Shield - XBee's won't get you connected to the Internet, but they do provide a solid,cheap means for communicating wirelessly. You could use an XBee to wirelessly triggercoffee machines, sprinklers, lights, or other household appliances.Cellular Shield w/ SM5100B - Turn your Arduino into a cellular phone! Send SMS textmessages, or hook up a microphone and speaker and use it to replace your iPhone.GPS Shield - GPS isn't as complicated as you might think. With a GPS Shield, your Arduino will always know where it is.Music and SoundMP3 Player Shield - Turn your Arduino into an MP3 player. Just plug in a µSD card, add some speakers, upload the example code, and you can make your very own MP3 Playing Music BoxMusic Instrument Shield - Use the MIDI protocol to turn your Arduino into a bank of musical instruments. It can make drums, piano, woodwinds, brass, and all sorts of other sound effects.Spectrum Shield - The Spectrum Shield listens to audio, and sorts it into bins of differentfrequencies. Use it to make a nifty graphic equalizer display.VoiceBox Shield - Give your Arduino a mechanical, robotic voice.Displays and CamerasColor LCD Shield - Equip your Arduino with a unique 128x128 cellular phone color LCD.EL Escudo - Electroluminescent wire is awesome! Use this shield to add up to eight strands of EL wire to your project. You can finally make that Arduino-powered Tron costume.CMUcam - This camera module adds vision to your Arduino. You can use it to track blobs, so your robot doesn't hit any traffic cones.Motor DriversArdumoto Motor Driver Shield - This classic motor driver shield can control two DC motors.Monster Moto Shield - If you need to drive beefier motors than the Ardumoto Shield canhandle, this is the next step up.PWM Shield - Usually when you think p ulse-width modulation (PWM), you might think"dimming LEDs", but PWM is also used to drive servo motors. This shield can be used todrive your crazy 12-servo hexapod.Installing Headers (Preparation)Many shields come without any headers attached. This keeps their final fate open to your interpretation (maybe you'd rather use straight male headers, instead of the usual stackable headers). The following pages will explain how you can turn your drab, header-less shield into a fully functional, ready-to-plug-in module.Required Tools and MaterialsShield assembly requires soldering. Solder helps make a good, physical and electrical connection. Without solder, connection between shield and Arduino will be intermittent (at best). If this is your first time soldering, consider checking out our how to solder tutorial.How to Solder: Through-Hole SolderingSeptember 19, 2013This tutorial covers everything you need to know about through-hole soldering.Favorited Favorite 73You’ll need these parts in order to install headers on your shield:An Arduino shield - Any shield should do. All Arduino shields should have a standardArduino footprint.4 headers - The amount of pins on the headers depends on whether your shield has thenewer R3 footprint, or the original Arduino layout.Original: (2) 6-pin and (2) 8-pin headersR3: (1) 6-pin, (2) 8-pin, and (1) 10-pin headerAnd these tools are required you'll need:Soldering iron - The most basic soldering iron should work (flavors include U S or Europe).Solder - If you value your health, use u nleaded solder. If you value your time, use l eadedsolder.A wet sponge - This'll keep your iron tip clean and shiny. Any wet sponge will do. Use theone included with the iron stand, or get a fancy brass sponge.These tools are completely optional, but may make your life a bit easier:Soldering iron stand - This'll keep your soldering iron off your floor and out of your lap (ouch!).Third hand - If you're running out of hands and can't get a t rusting family member to holdsomething for you, this'll do the job.Solder wick may come in handy if you need to remove solder from a joint.PreparationBefore you start warming up that soldering iron, let's take some time to plan out the assembly process.Do your headers match your Arduino shield?From the inception of Arduino until some time in 2012, every Arduino had the same standard footprint: two 6-pin headers on one side, two 8-pin headers on the other. Lately, though, Arduinos have been transitioning to a new shield-header layout, called the R3 footprint. This layout has a 6-pin and 8-pin headers on one side, and an 8-pin and 10-pin on the other.Make sure the headers you have match the pin-out of your shield! Also consider if your Arduino layout matches your shield's. R3 Arduinos should be reverse-compatible with shields of the older footprint, however, older Arduinos are not completely compatible with new shields of the R3 footprint (something about sticking 10 pins into an 8-pin header).What kind of header should you use?There are all kinds of headers, but there are only two that are recommended for installing onshields: stackable or male.A straight male header (left) and a stackable header (right).Stackable headers are especially great for stacking shields. They also maintain your ability to plug a jumper wire into any of the Arduino's pins. This tutorial will explain how to install stackable headers. Stackable headers are available in 6-pin, 8-pin, and 10-pin varieties, or you can buy the headers in packs for original or R3-type shields.The glory of stackable headers. They enable you to make a w ireless talking Arduino. Notice the top shield has male headers, the bottom shield has stackable.Simple, striaght male headers are also an option for connecting a shield to an Arduino. Male headers are beneficial in that they create a lower-profile stack when connected to an Arduino. If you plan to stuff your Arduino/shield combo into an enclosure, you may need to consider using male headers. This tutorial focuses on stackable header installation, check the Tips and Tricks section for male header assembly instructions.Do not install female headers, right-angle male headers, swiss machine-pinned headers, round headers, or a variety of other headers that may exist out there. You really should only use headers that have straight, rectangular, male pins.Now then, plug in and start warming up those soldering irons. It's time to get soldering! Installing Headers (Assembly)Step 1: Insert All Four HeadersPlug all four headers into the shield. Make sure you i nsert them in the correct direction. The male pins of the header should enter the top side of the shield and extend out the bottom. This orientation is of utmost importance. Don't solder anything until you've got the headers going the right way!Headers inserted, aligned as well as possible, ready to solder.With the headers inserted, flip the shield on its top-side to rest on the black, female side of the headers. Hopefully you've got a nice flat workspace to lay it on. Try to align all headers so they're precisely perpendicular to the shield PCB.Step 2: Solder One Pin On Each HeaderFinally, soldering time! It's important that each of the headers is at a nice, 90° angle to the PCB. This will ensure that the shield slides straight onto your Arduino, and you won't have to bend any pins in doing so.In order to guarantee that each header is straight, s tart by soldering just a single pin on each. If they're at a weird angle, it'll be much easier to re-heat just a single pin, while adjusting the alignment.One pin down, one in progress, two to go. Soldering one pin on each header.Four solder joints down, only 24 (to 28) to go!Step 3: Check Header AlignmentWith those four pins soldered, try plugging the shield into your Arduino to test the header's alignment. Make sure your Arduino's not powered while you do this alignment check.Temporarily plugging the shield in to check that all pins line up.Does everything line up? No pins bending? If not, find the guilty header and try to re-align it. Warm the joint back up with your iron, and slightly move and adjust the header alignment. Also, be careful when pulling the partially soldered shield out of the Arduino. Since all the headers are not soldered, you could easily bend them as you pull it out of the Arduino's female headers.Step 4: Solder All Remaining PinsIf your headers are all lined up, you can attack the remaining unsoldered header pins. When you're done, you should have 28 (or 32) shiny volcanoes of solder.That's a beautiful sight. Everything's soldered up.Step 5: Check For Shorts or Cold JointsWith everything soldered, double check for bad solder joints. Did any of your joints stray into another creating a short? If so, you can take some solder wick to the joint, or just try re-heating the short and "pushing" the solder where you want it.Well, that's just egregious! Watch out for shorted solder joints like that.Also check for cold solder joints - a joint that's got some solder on it, but isn't quite connecting the two solder points together. Cold joints aren't always the easiest to see; look out for joints that aren't as shiny, or pins that still seem loose.That last pin could use a bit more solder. It doesn't quite look like a connection's been made.To fix a cold joint, re-heat the solder on the pin, and add just a bit more.Step 6: Plug It In!It's usually best practice to power down (unplug) your Arduino before you connect a shield to it. Hopefully all of the pins are still well-aligned and the shield just slides right into the Arduino. Take care not to bend any pins while inserting, and make sure they all go into their mating female headers.That satisfying feeling as the shield slides straight into your ArduinoAssembly TricksThe previous assembly page should detail everything you need to know about simple shield header installation. There are, however, a few tricks we've picked up along the way...Use An Old Shield to Aid AlignmentThe easiest place to mess up shield assembly is in aligning each of those headers. It's best to avoid soldering the stackable headers while the shield's connected to the Arduino, so the method described in the assembly section is usually best. If you've got a spare shield lying around, you can take advantage of another little trick by using it as a header-alignment-jig.Begin by plugging all of the headers into your spare shield jig.The green shield will be used as our jig. First, insert the stackable headers into it.Then insert the headers into your to-be-soldered shield, and solder them all up. Assuming the spare shield is well-aligned (you may want to check that first), it should handle all of the alignment of your new headers.The jig should correctly align all of the headers. Solder away!Installing Male HeadersIf you value a smaller profile shield installation over the ability to stack shields and connect jumper wires, male headers are an option.In a way, male headers are actually easier to align and install, because you can use your Arduino as a jig. Begin by inserting the headers into your Arduino.RedBoard's make an especially special jig for aligning male headers. Then line up and plug in the shield, and solder away.Shield with headers, ready for soldering. We can trust the Arduino to line the male headers up for us.Be somewhat careful using this method, don't leave the iron on the pins for too long or you risk burning the Arduino's headers. If you're especially worried about burning your Arduino's female headers, you can solder just a single pin on each header, remove the shield, and solder the rest. Resources and Going FurtherNow that you've got this knowledge under your belt, you can bend just about any Arduino shield to your will. If you're interested in further exploring the world of shields, check out the Arduino Shield category on SparkFun. has an awesome list of shields as well.Are you interested in exploring more about Arduino programming? Consider checking out some of these tutorials:Arduino Data TypesArduino Comparison GuideHow to Install an Arduino LibraryHere are some fun project tutorials, which are especially focused on using an Arduino shield: MP3 Player Shield Music BoxWiFly Shield Hookup GuideXBee Shield Hookup GuideThanks for reading! Enjoy your header'ed shields! | CC BY-SA 3.0 | SparkFun Electronics | Niwot, Colorado。
[并联臂3D打印机]-Rostock_mini-组装指南:软件部分 (页 1) _ 调试与组装 _
[并联臂3D打印机]-Rostock_mini-组装指南:软件部分(页 1) _ 调试与组装 _ DFP-我的桌面工厂[并联臂3D打印机]-Rostock_mini-组装指南:软件部分本文档旨在提供并联臂3D打印机Rostock_mini的组装指南,重点介绍软件部分的安装和调试步骤。
1.安装操作系统首先,需要选择并安装合适的操作系统,推荐使用Windows或Linux系统,并确保系统版本与打印机软件兼容。
2.安装驱动程序在操作系统中安装Arduino驱动程序,用于连接电脑和3D打印机的主控板。
根据操作系统不同,安装方法可能有所不同,请参考驱动程序提供的安装指南。
3.安装Arduino IDEArduino IDE是一个用于编写和固件程序的开发工具,可以从官方网站安装,安装完毕后启动该软件。
4.并安装Marlin固件Marlin是一种使用广泛的开源3D打印机固件,可以在GitHub 上找到最新的版本。
Marlin固件后,解压缩并打开Marlin文件夹,找到Configuration.h文件,并通过Arduino IDE打开。
5.配置Marlin固件在Configuration.h文件中,根据3D打印机的具体硬件配置,设置打印机的相关参数,例如步进电机类型、热床温度等。
根据实际需求进行调整,并保存修改。
6.固件将电脑通过USB线与3D打印机主控板连接,选择正确的Arduino板型和通信端口,然后按钮,将Marlin固件到主控板。
7.调试测试将3D打印机的电源接入并打开,检查打印机的各个部件是否正常工作,如电机、热床、热端等。
可以通过操作界面或指令来进行调试测试,确保所有功能正常。
8.软件设置运行3D打印机的控制软件,根据实际需要进行设置,例如选择打印材料、设定打印参数等。
在软件中加载3D模型文件,并进行切片操作,打印路径。
9.打印测试将已切片的文件传输到3D打印机,通过控制软件发送打印指令,观察打印过程中的情况,确保打印结果符合预期。
Arduino入门版使用教程
Arduino入門版使用教程目錄介紹篇 (1)一、Arduino 基礎套裝介紹 (2)1、什麼是Arduino 基礎套裝? (2)2、元件清單 (2)二、Arduino 介紹 (4)1、什麼是Arduino? (4)2、特色描述 (4)3、性能描述 (4)三、Arduino C 語言介紹 (6)1、關鍵字和符號 (6)2、結構 (9)3、功能 (9)四、Arduino 使用介紹 (11)1、準備好你的Arduino 板 (11)2、下載Arduino 開發環境 (13)3、安裝USB 驅動 (13)4、連接LED 燈電路 (17)5、打開arduino 開發環境 (18)6、打開已有程式 (19)7、編譯程式 (20)8、下載程式 (23)五、麵包板使用介紹 (30)1、麵包板介紹 (30)2、麵包板的使用 (30)實驗篇 (34)第一節多彩led 燈實驗 (35)一、發光二極管介紹 (35)二、簡單的控制一個led 燈的閃爍實驗 (39)三、廣告燈效果實驗 (41)第二節蜂鳴器實驗 (48)一、蜂鳴器介紹 (48)二、蜂鳴器模擬救護車警笛聲音實驗 (50)第三節數碼管實驗 (54)一、數碼管介紹 (54)二、數碼管顯示數字的實驗 (56)第四節按鍵實驗 (63)一、按鍵介紹 (63)二、按鍵控制led 等亮滅實驗 (65)三、擲骰子實驗 (67)第五節傾斜開關實驗 (74)一、傾斜開關介紹 (74)二、傾斜開關控制led 燈的亮滅 (75)第六節光控聲音實驗 (79)一、光敏電阻介紹 (79)二、光控聲音實驗 (80)第七節火焰報警實驗 (84)一、火焰傳感器介紹 (84)二、火焰報警實驗 (85)第八節搶答器實驗 (90)第九節溫度報警實驗 (98)一、溫度傳感器介紹 (98)二、溫度報警實驗 (99)第十節紅外遙控 (103)一、紅外接收頭介紹 (103)二、紅外遙控實驗 (104)介紹篇一、Arduino 基礎套裝介紹1、什麼是Arduino基礎套裝?Arduino基礎套裝是精心為初學者設計的一款學習工具。
CNC shield v4 与 Arduino NANO GRBL固件使用方法
CNC shield v4与Arduino NANO GRBL固件使用方法•从GitHub 下载库文件:GRBL Arduino Library网址:https:///Protoneer/GRBL-Arduino-Library/archive/master.zip•解压缩库文件,然后,将解压缩后的文件夹复制到Arduino 软件安装目录下的Libraries 文件夹内。
•因为引脚CNC shield v4 与CNC shield v3 for UNO 不一样,GRBL 固件主要是针对UNO CNC shield v3 这块板设计的。
所以要改引脚配置。
用写字板打开config.h文件,修改如下行#define X_STEP_BIT 2 // Uno Digital Pin 2#define Y_STEP_BIT 3 // Uno Digital Pin 3#define Z_STEP_BIT 4 // Uno Digital Pin 4#define X_DIRECTION_BIT 5 // Uno Digital Pin 5#define Y_DIRECTION_BIT 6 // Uno Digital Pin 6#define Z_DIRECTION_BIT 7 // Uno Digital Pin 7修改下面數字-按下"存檔"再次編譯之後上傳ARDUINO NANO 上傳即可工作了#define X_STEP_BIT 5 // Uno Digital Pin 2 Nano 5#define Y_STEP_BIT 6 // Uno Digital Pin 3 Nano 6#define Z_STEP_BIT 7 // Uno Digital Pin 4 Nano 7#define X_DIRECTION_BIT 2 // Uno Digital Pin 5 Nano 2#define Y_DIRECTION_BIT 3 // Uno Digital Pin 6 Nano 3#define Z_DIRECTION_BIT 4 // Uno Digital Pin 7 Nano 4•打开Arduino IDE;•点击以下菜单:文件-> 实例-> GRBL-Arduino-Library-master -> GRBLtoArduino Uno •••选择好对应的板为Arduino Nano,端口comXX,上传即可。
ardublock中文版下载ArduBlock中文最新版下载(附安装教程)
ardublock中文版下载ArduBlock中文最新版下载(附安装教程)ArduBlock是一款开源的Arduino图形化编程软件,由上海新车间创客开发,是Arduino官方编程环境的第三方软件,必须依附于Arduino ide运行。
相比于Arduino ide的文本式编程环境,ArduBlock的图形化积木搭建方式编程更能使编程的可视化和交互性加强,更加简便,编程门槛更低,即使没有编程经验的人也可以尝试给Arduino控制器编写程序。
安装教程1、解压文件夹,将ardublock-all.jar文件复制到arduino目录下的tools\ArduBlockTool\tool目录下。
ps:ArduBlockT ool\tool是不存在的,需手动新建2、重启arduino ide,点击工具,可以看到多了ardublock选项3、点击ardublock即可进入ardublock的主界面使用教程一、工具区工具区包括“新增”“保存”“另存为”“打开”“上载到Arduino”“Serial Monitor”,“新增”就是新建,“保存”“另存为”“打开”也都是其它软件的常用工具,这里就不做介绍了。
点击“上载到Arduino”,Arduino IDE将生成代码,并自动上载到Arduino板子,需要注意的是在上载Arduino之前,要查看一下端口号和板卡型号是否正确。
在点击“上载到Arduino”之后,我们可以打开Arduino IDE查看程序是否上载成功。
“Serial Monitor”则是打开串口监视器,串口监视器只有在电脑中有Arduino端口时才能打开。
二、积木区积木区包含了《Arduino创意机器人》课程中用到的所有模块,还包括有一些课程中没有涉及但经常用到的模块。
积木区的积木共分为七大部分:控制,引脚,逻辑运算符,数学运算,变量/常量,实用命令,教育机器人1.控制控制中的各个模块都是一些最基本的编程语句,只要接触过编程的人都会很容易理解这里面的各个模块的含义。
奥森迪科 MCC3721H激光切割数控系统快速安装指南说明书
手柄USBC C 3721H 激光切割数控系统快速安装指南120mm1H 激光切割数控系统快速安装指南V 1.043.2安装限位/其他IO 口机械限位开关典型接线如下:晶闸管输出:4.1V松下A5系列基本参数设置如下:安川∑—ⅴ系列基本参数设置如下:富士A5系列基本参数设置施耐德Lexium-23D-CN系列基本参数设置台达B2系列基本参数设置汇川IS620P系列基本参数设置雷赛L5系列基本参数设置1H 激光切割数控系统快速安装指南V 1.04注:RS232对接线,可采用锐科激光器自带串口线与电脑串口连接,锐科调制线与板卡PWM 端口对接。
注:IPG-YLR 型激光器所需的模拟量输入电压为0-4V 可用过数控软件配置,5V 调制信号可通过板卡电脑串口板卡PWM其它激光器注:其它激光器(如联品、飞博、国志、凯普林、创鑫等)接线方式均可参考,但不限于此接线方式。
21H 激光切统快速安装指南V 1.04可通过软件快速设置。
打开软件后,选择“高级”—>“设置本机IP ”即可。
说明:调高器与数控系统IP 地址出厂已默认设置,用户无需变更。
如果此时仍然不能与板卡连接,用户可观察网口绿色指示灯闪烁情况。
确认是否网线故障。
4 0 . 1 V 南用户可依据根据上图设置对应的回原参数,回原速度建议不要设置过快,保证回原过程平稳安全。
锐科激光器配置注意正确选择电脑COM端口4.1V21H 激光切割数控系统快速安装指南V 1.04调高器控制方式设置完成并生效后,在系统分析栏目中选择“调高器”选项,查看调高器状态与参数注意正确配置板卡接线端口统快速安装指南V 1.04注意:调高器参数务必保证 “丝杆螺距”“每转脉冲数”与机床Z 轴螺距,Z 轴电机每转脉冲数设置说明:气压校正仅支持配置为比例阀的气体,通过设置气压校正的点数以及各点电压和对应的气压M C C 3721H 激光切割数控系统快速安装指南V 1.02、确认运行速度/精度是否满足要求,可通过误差测定进行检查。
arduous cnc shield V3 扩展板定已
本帖最后由 kejoy 于 2015-8-2 18:39 编辑简介这里首先要感谢,arduino、GRBL、Arduino CNC Shield开源的贡献者,以及给机械部分提出意见建议的朋友。
开源需要很多人的贡献和付出,让后让一个项目不断的完善,让更多的人低成本的参来,即使参与者没有给开源的项目做出贡献,依然可以免费使用开源的资料,开源是为了让让更受益为目的的。
一直相信,开源会让某种东西更好更快的发展。
牛顿说:“如果我看得比别人更远些是因为我站在巨人的肩膀上。
”这个巨人应该也是指很多人。
就像我们现在,站在很多人总结的上进行研究,那就像堆积木一样,一人堆一块量变总会产生质变的一天。
3.2.1 模块分解1.Arduino uno r3主控制板控制板参数主控芯片ATmega328Arduino uno r3主控制板的GRBL引脚定义引脚定义,大家直接看图吧。
2.A4988步进电机驱动模块输入电压8~35V最小驱动电压8V,输出驱动能力最大35V ,2A。
功能及优点•低RDS(开)输出•自动电流衰减模式检测/选择•混合与慢电流衰减模式•对低功率耗散同步整流•内部UVLO•交叉电流保护• 3.3 及5 V 兼容逻辑电源•过热关机电路•接地短路保护•加载短路保护•五个可选的步进模式:全、1/2、1/4、1/8 及1/16A4988引脚定义引脚定义直接上图。
3.arduino cnc shield V3 扩展板输入电压范围 12~36V。
GBRL专用cnc模块,完全兼容GBRL的arduino uno r3接口和A4988步进电机驱动模块接口。
引脚定义模块直接插在arduino uno r3控制板上,A4988驱动模块直接插在此板上,注意模块方向扩展板识En引脚.细分设置扩展板共划分为4个步进电机安装区个区域设置相同。
使用跳线帽将对应两个排针短接。
0代表不短接,1代表短接。
M0M1M2细分000全细分1001/2细分0101/4细分1101/8细分1111/16细分这里推荐1/16细分,因为在进行激光雕刻时,速度比较慢,步进电机低速震动较大,需要更高的降低震动。
Arduino入门教程(1)—驱动安装及下载Blink程序
Arduino 入门教程(1)—驱动安装及下载 Blink 程序拿到了盼望已久的 Arduino 入门套件是不是有立马想试一试的冲动,但。
同样又面对不知如何下手的困扰呢?我们这里就从头开始教大家。
那就开始吧!STEP 1:下载 Arduino I DE打开网页输入网址/en/Main/SoftwareArduino IDE 老版本下载链接:/en/Main/OldSoftwareReleases进入到页面后,找到下图显示部分。
Windows 用户,点击下载Windows(ZIPfile),如果 Mac,Linux 用户则选择相应的系统。
下载完成后,解压文件,把整个 Arduino 1.0.5 文件夹放到你电脑熟悉的位置,便于你之后查找。
打开 Arduino1.0.5 文件夹,就是下图看到的内容。
STEP 2 : 安装驱动把 USB 一端插到 UNO 上,另一端连到电脑。
连接成功后,UNO 板的红色电源指示灯 ON 亮起。
然后,打开控制面板,选择设备管理器。
找到其它设备-->Arduino-xx,右击选择更新驱动程序软件。
在弹出的对话框中选择下面一项--> 手动查找并安装驱动程序软件。
打开到 Arduino IDE 安装位置,就是上面那个解压文件的位置,选择搜索路径到 drivers,点击下一步。
选择始终安装此驱动程序软件,直至完成。
出现下图,说明驱动安装成功。
此时,设备管理器端口会显示一个串口号。
帖子最后罗列了一些驱动安装可能遇到的问题!STEP 3 : 认识 Arduino I DE打开 Arudino IDE,就会出现 Arduino IDE 的编辑界面。
如果英文界面,你不太习惯的话,可以先更改为中文界面。
选择菜单栏 File --> Preferences。
会跳出下面这个对话框,选择 Editor language --> 简体中文,点击 OK。
关闭 Arduino IDE,重新打开,就是中文界面了!先简单认识看一下 Arduino 的这个编译器,以后可是要经常和它打交道的。
Arduino使用手册
软件是绿色版本,软件解压缩后即可使用。
软件解压完成后,接下来要安装 Arduino 硬件驱动。
现将 Arduino 上的方头 USB 连接好之后,另外一端的 USB
连接好计算机任意一个 USB 接口。
5
奥松机器人基地
Harbin Alseon Robotics Technology Co., Ltd.
(5)analogRead(接口名称)——从指定的模拟接口读取值, Arduino 对该模拟值进行10-bit 的数字转换,这个方法将输入的 0-5电压值转换为 0到1023间的整数值。
(6)delay()——延时一段时间,delay(1000)为一秒。
(7)Serial.begin(波特率)——设置串行每秒传输数据的速率 (波特率)。在同计算机通讯时,使用下面这些值:300,1200, 2400,4800,9600,14400,19200,28800,38400,57600或 115200。你也可以在任何时候使用其它的值,比如,与0号或1 号插口通信就要求特殊的波特率。用在 setup()函数里
1、RB URF v1.1 超声波传感器...........................................36
2、Arduino 控制舵机........................................................... 39
3、MMA7260 三轴加速度计...............................................49
1
奥松机器人基地
Harbin Alseon Robotics Technology Co., Ltd.
Arduino智能小车安装说明
Aduino智能小车安装说明产品概述:该套件可以智能判断引导线并检测躲避障碍物,可实现自动导引和避障功能,AS-4WD寻线避障移动机器人使用Mini红外寻线传感器感知引导线,使用Mini红外避障传感器感知障碍物。
充电开关步骤1:准备工作∙将导线剪成要求长度,在其端部将导线的外皮剥除,镀锡。
∙将准备好的热缩管均匀的用斜口钳剪成6段∙将充电接口和拨动开关焊接好接线,注意图中拨动开关的连接,一定要按照图示进行操作!(拨动开关具有单向导通特性)。
步骤2:连接充电接口和拨动开关将两个部件连接到一起之前要把热缩管套到红色短导线上用扎带将导线整理好,是其显得规整一些,然后用斜口钳把扎带多余的部分去掉,这样一个既能充电又能作为开关使用的充电开关就做好了电源连接线图示平台安装步骤步骤1:平台侧板电机安装两侧电机安装相同,注意安装前将电机接线用电烙铁焊接好,套上热缩管加热塑封。
使用零件:平台侧板*2个、直流减速电机*4个、M3*25螺丝*8个、M3六角螺母*8个步骤2:平台底板安装使用零件:步骤1中安装好电机的侧板*2套、平台底板*1个、M3*6螺丝*4个步骤3:双H桥电机驱动板安装驱动板安装方向随意,注意同侧电机接线方向顺序,保证同侧电机转向是相同的。
使用零件:步骤2中的组合体、双H桥直流电机驱动板*1个、M3*10尼龙柱*4个、M3六角螺母*4个、M3*6螺丝*4个步骤4:电池盒安装电池盒可用双面胶固定,后轮电机接线需插入杜邦线帽,接入步进电机接口使用零件:电池盒*1个或锂电池*1块步骤5:4WD端板安装使用零件:4WD端板*1个、步骤4中的组合体*1个、M3*6螺丝*4个、M3六角螺母*4个步骤6:充电接口、拨动开关安装使用零件:步骤1中制作好的充电开关接口连接线、4WD上板步骤7:Carduino UNO控制器安装使用零件:步骤6中的组合体、Carduino UNO控制器*1个、M3*10尼龙柱*3个、M3*6螺丝*3个、M3六角螺母*3个步骤8:避障传感器安装使用零件:M3*20尼龙柱*3个、M3*6螺丝*3个、M3六角螺母*3个、避障传感器*3个步骤9:寻线传感器安装使用零件:寻线传感器*5个、M3*8螺丝*5个、M3六角螺母*5个、步骤5中的组合体*1套步骤10:4WD上板安装使用零件:4WD平台上板*1个、步骤9中的组合体*1套步骤11:4WD轮子安装使用零件:步骤9中的组合体*1套、4WD轮子*4个步骤12:V5.0传感器扩展板插入使用零件:V5.0传感器扩展板*1个、步骤11中安装好的平台*1套接线说明接线说明:∙数字口5→接双H 桥驱动板的EB∙数字口6→接双H 桥驱动板的I4∙数字口7→接双H 桥驱动板的I3∙数字口8→接双H 桥驱动板的I1∙数字口9→接双H 桥驱动板的I2∙数字口10→接双H 桥驱动板的EA∙寻线传感器从左至右依次接Arduino 控制器的数字口2、数字口3、数字口4、数字口11、数字口12。
Arduino入门教程
Arduino入门教程--课前准备--Arduino驱动安装及1.0 IDE菜单介绍编译器版本:Arduino 1.0实验器件:ocrobot mango控制板(Arduino兼容)一块Arduino控制板到手后,首先需要在电脑上把驱动装上,这样才可以进行各种实验。
第一步需要把Arduino IDE下载回来(IDE就是arduino的软件程序开发环境)点击下面链接进行下载:下载后自己找地方解压缩放好就行了Mango在各操作系统的驱动下载:Windows:XP、WIN7 32位需要手工更新驱动,驱动在IDE目录下drivers\FTDI USB Drivers目录中,指定目录为之后自动搜索即可。
WIN7 64位,WIN8自动在线更新驱动即可。
Linux:Ubuntu下自动识别驱动,使用管理员权限启动IDE即可识别到端口。
然后将买回来的arduino拆了包装,使用方头usb数据线连接到电脑,本文以win7 32位为例,会出现识别到新硬件显示。
然后会开始查找系统内驱动。
如果没有找到驱动,会显示这个画面。
这时,需要在开始菜单,“计算机”上面点右键,点“属性”。
然后点击设备管理会看到打了感叹号的未识别硬件在未识别硬件上点右键,点击“属性”,选择更新驱动程序软件。
选择浏览计算机以查找驱动程序软件然后目录选择你下载好的arduino1.0所在目录的drivers目录注意,如果您的计算机提示无法找到驱动,需要将目录进一步定位到\drivers\FTDI USB Drivers即可点击下一步,就可以安装好驱动了。
安装好驱动后,就可以显示是COM几端口,我这里显示的是COM14端口。
========分割线下面为扩展阅读========接着我们介绍下Arduino的IDE界面,以Arduino 1.0 IDE为例,首先进入软件目录。
然后就可以看到arduino.exe文件,双击打开IDE。
首先映入眼帘的是下图的界面,工具栏按钮功能依次为“编译”--“上传”--“新建程序”--“打开程序”--“保存程序”--“串口监视器”菜单栏上,首先看File菜单~介绍如下:接下来看Edit菜单~介绍如下:Sketch菜单介绍Tools菜单介绍结尾来一个MANGO的介绍图Arduino入门教程--第一课--板载LED闪烁实验编译器版本:Arduino 1.0arduino上有一个名称为L的led发光二级管,这个led其实是连接在13号引脚上的,所以我们通过控制13号引脚就能够控制此led灯闪烁。
西门子 SIMATIC 组态硬件和通讯连接, STEP 7 V5.3 版本 手册
更多支持
如果有任何技术问题,请联系西门子代表或代理商。 您可以在下列网页中查找联系人: /automation/partner
培训中心
西门子提供了很多培训教程,帮助您熟悉 SIMATIC S7 自动化系统。请联系当地的 培训中心,或位于德国纽伦堡(D 90327)的培训总部,以获取详细信息。 电话: 网址: +49 (911) 895-3200.
在线帮助中的主题“新增内容?”中极好地概括和介绍了最新的 STEP 7 新内容。
组态硬件和通讯连接,STEP 7 V5.3 版本 A5E00446503-01
iii
前言
STEP 7 文档包
本手册是文档包“STEP 7 基本信息”的一部分。 下表显示了 STEP 7 文档的总览:
文档 STEP 7 基础信息 • • • • • • STEP 7 V5.3,使用入门手册 使用 STEP 7 V5.3 编程 组态硬件和通讯连接,STEP 7 V5.3 版 本 从 S5 到 S7,变频器手册 用于 S7-300/400 的梯形图(LAD)/功能 块图(FBD)/语句表(STL)手册 S7-300/400 的标准功能及系统功能 提供了参考信息,并描述了编程语 6ES7810-4CA07-8BW1 言 LAD、FBD、STL、标准功能以 及系统功能,扩充了 STEP 7 基础 信息的范围。 用途 订货号
亚洲/澳洲(北京) 技术支持和授权
当地时间: 周一至周五, 8:00 - 5:00 PM 电话: 传真: +86 10 64 75 75 75 +86 10 64 74 74 74 格林威治 标准时间: +8:00
电子邮件: adsupport@
电子邮件: simatic.hotline@
Arduino开发板入门教程
Arduino开发板入门教程第一章:Arduino简介Arduino是一款开源硬件平台,广泛应用于物联网、机器人和自动化领域。
它由一个简单易用的硬件开发板和一个基于Java的集成开发环境(IDE)组成。
本章将介绍Arduino的基本知识和原理。
1.1 Arduino开发板的组成Arduino开发板包含一个微控制器、一组输入输出引脚和一些其他的电子元件。
常用的Arduino型号有Arduino Uno、Arduino Nano和Arduino Mega等。
1.2 Arduino的特点和应用Arduino具有开源、低成本、易使用和可扩展的特点,使其成为广大电子爱好者和创客的首选。
它可以用于建造简单的电子装置、控制传感器、驱动电机以及与计算机进行通信等。
第二章:Arduino的基本用法本章将详细介绍Arduino的基本用法,包括设置Arduino开发环境、编写代码、上传程序以及与外部电路的连接。
2.1 Arduino开发环境的安装与设置首先,需要从Arduino官方网站上下载并安装Arduino集成开发环境(IDE)。
安装完成后,用户需要选择合适的开发板和端口。
2.2 Arduino编程基础Arduino使用一种类似C语言的编程语言。
本节将介绍Arduino编程的基本结构、语法和常用函数。
同时,还将介绍数字输入/输出、模拟输入/输出和串口通信等常用功能。
2.3 Arduino程序的上传编写好的Arduino程序需要通过USB接口将代码上传到开发板上。
本节将介绍如何将程序上传到Arduino开发板,并进行调试和测试。
2.4 Arduino与外部电路的连接Arduino开发板上有多个数字引脚和模拟引脚,可以与外部电路进行连接。
本节将介绍如何使用面包板和杜邦线将Arduino与LED、电位器、温度传感器等外部元件进行连接,并通过编写程序进行控制和读取。
第三章:Arduino的高级用法在本章中,将介绍一些Arduino的高级应用,包括使用库函数、扩展Arduino功能以及与其他设备的通信等。
HM-10蓝牙模组 Arduino Uno 护联墙说明书
USER MANUALEN HM-10 wireless shield for Arduino® UnoWPSH338IntroductionTo all residents of the European UnionImportant environmental information about this productThis symbol on the device or the package indicates that disposal of the device after its lifecycle could harm the environment. Do not dispose of the unit (or batteries) as unsorted municipal waste; it should be taken to a specialized company for recycling. This device should be returned to your distributor or to a local recycling service. Respect the local environmental rules.If in doubt, contact your local waste disposal authorities.Thank you for choosing Whadda! Please read the manual thoroughly before bringing this device into service. If the device was damaged in transit, do not install or use it and contact your dealer.Safety InstructionsRead and understand this manual and all safety signs before using this appliance.For indoor use only.•This device can be used by children aged from 8 years and above, and persons with reduced physical, sensory or mental capabilities or lack of experience and knowledge if they have been given supervision or instruction concerning the use of the device in a safe way and understand the hazards involved. Children shall not play with the device. Cleaning and user maintenance shall not be made by children without supervision.General Guidelines• Refer to the Velleman ® Service and Quality Warranty on the last pages of this manual. • All modifications of the device are forbidden for safety reasons. Damage caused by user modifications to the device is not covered by the warranty.• Only use the device for its intended purpose. Using the device in an unauthorized way will void the warranty.•Damage caused by disregard of certain guidelines in this manual is not covered by the warranty and the dealer will not accept responsibility for any ensuing defects or problems.•Nor Velleman Group nv nor its dealers can be held responsible for any damage(extraordinary, incidental or indirect) – of any nature (financial, physical…) arising from the possession, use or failure of this product.•Keep this manual for future reference.What is Arduino®Arduino® is an open-source prototyping platform based on easy-to-use hardware andsoftware. Arduino® boards are able to read inputs – light-on sensor, a finger on a button or aTwitter message – and turn it into an output – activating of a motor, turning on an LED,publishing something online. You can tell your board what to do by sending a set ofinstructions to the microcontroller on the board. To do so, you use the Arduinoprogramming language (based on Wiring) and the Arduino® software IDE (based onProcessing). Additional shields/modules/components are required for reading a twittermessage or publishing online. Surf to for more information. Product OverviewThe WPSH338 uses an HM-10 module with Texas Instruments® CC2541 Bluetooth v4.0 BLEchip, fully compatible with WPB100 UNO. This shield has extended all the digital andanalogue pins out into 3PIN, making it easy to connect to sensors using 3PIN wire.A switch is provided to switch on/off the HM-10 BLE 4.0 module, and 2 jumpers allow toselect D0 and D1 or D2 and D3 as serial communication port.Specifications•pin header spacing: 2.54 mm•Bluetooth® chip: Texas Instruments® CC2541•USB protocol: USB V2.0•working frequency: 2.4 GHz ISM band•modulation method: GFSK (Gaussian Frequency Shift Keying)•transmission power: -23 dBm, -6 dBm, 0 dBm, 6 dBm, can be modified by AT command•sensitivity: =-84 dBm at 0.1% BER•transmission rate: asynchronous 6K bytes•security: authentication and encryption•supporting service: central & peripheral UUID FFE0, FFE1•power consumption: 400-800 µA during standby, 8.5 mA during transmission•power supply shield: 5 VDC•power supply HM10: 3.3 VDC•working temperature: -5 to +65 °C•dimensions: 54 x 48 x 23 mm•weight: 19 gDescriptionExampleIn this example, we use one WPSH338 mounted on the WPB100 (UNO) and a recent AndroidSmartphone to communicate with.Please be aware that BLE (Bluetooth® Low Energy) is NOT backward compatible with theolder “Classic” Bluetooth®. For more information, please seehttps:///wiki/Bluetooth_Low_Energy.Carefully mount the WPSH338 onto the WPB100 (UNO), copy-paste the code below into theArduino® IDE (or download the VMA338_test.zip file from our website).int val;int ledpin=13;void setup(){Serial.begin(9600);pinMode(ledpin,OUTPUT);} void loop(){ val=Serial.read();if(val=='a'){digitalWrite(ledpin,HIGH);delay(250);digitalWrite(ledpin,LOW);delay(250);Serial.println("Velleman VMA338 Bluetooth 4.0 Shield");}}Remove the two RX/TX jumpers from the WPSH338 or switch off the HM-10 module (youhave to send the code to the WPB100, not to the WPSH338), and compile–upload the code.Once the upload finished, you can put back the two jumpers or switch on the HM-10.Now, it is time to prepare the smartphone where we need a Bluetooth® terminal to talk andlisten to the WPSH338. As mentioned before, BLE 4.0 is NOT compatible with classicBluetooth® so many of the available Bluetooth® terminal apps will NOT work.Download the app BleSerialPort.zip or BleSerialPort.apk from our website.Install the BleSerialPort app and open it.You will see a screen like this. Tap on the three dots and select “connect”.Make sure the Bluetooth® function is switched on and your phone is BLE compatible. You should now see the WPSH338 under the name HMSoft. Connect to it.Type “a” and send it to the WPSH338. The WPSH338 will answer with “Velleman WPSH338 […]“.At the same time, the LED connected to D13 on the WPB100 (UNO) will switch on for a few seconds.An interesting link about the HM-10 and BLE: /hm-10-bluetooth-4ble-modules/.Modifications and typographical errors reserved - © Velleman Group nv. WPSH338_v01 Velleman Group nv, Legen Heirweg 33 - 9890 Gavere.。
Z-Uno Shield 用户手册说明书
TABLE OF CONTENTSafety information and precautions4 Available frequencies and enclosures4 Where to buy5 Overview5 About Z-Uno7 Connectors8 Use cases10 Compatibility with Z-Wave controllers26 Configuration26 Customizing Z-Uno Shield27 Adding to a Z-Wave network28 Removing from a network and reset28 Sending Node Information Frame28Z-Wave security29 Z-Wave command classes30 Device classes32 Firmware upgrade33 Device reset33 Changing Z-Wave settings34 Jumpers34 Types of enclosures36 Technical drawing38 Technical data39 Package content40 Mounting cable gland40 Your notes41SAFETY INFORMATION AND PRECAUTIONS AVAILABLE FREQUENCIES AND CASES Make sure to follow safety rules and regulations while working with 110/230 Volts. In many countries a license is required to alter 110/230 Volts cables.To ensure your safety, please read this manual carefully before installing Z-Uno Shield. Follow wiring instructions exactly.Z-Wave.Me is not responsible for any equipment damage or personal injury caused by incorrect installation or operation that differ from the one mentioned in this manual.Z-Uno Shield is available in all Z-Wave frequencies. The frequency is changed in Arduino IDE from the menu Tools>Frequency. There are three groups of frequencies:SKU Frequency Z-Wave regions ZME E ZUNO–SHIELD–*865–869 MHz EU, RU, IN, CN ZME U ZUNO–SHIELD–*908–916 MHz US, ILZME A ZUNO–SHIELD–*921–928 MHz ANZ, JP, TW, HK Do no use frequencies outside of your SKU code. Doing so will result in a very short operation range.Z-Uno Shield comes in several enclosures:ZME*ZUNO-SHIELD-DIN Enclosure for DIN-rail mounting, 4 units width ZME*ZUNO-SHIELD-SEALED Sealed IP65 enclosure with cable gland ZME*ZUNO-SHIELD-FLANGES Enclosure with flanges WHERE TO BUY Z-Uno Shield is available from many different resellers. Please consult https://z-uno.z-wave.me/buy to find the nearest shop.OVERVIEW Z-Uno Shield is a configurable multipurpose Z-Wave device. It can act as a sensor, as an actor or as a gate to popular buses like UART /RS485/ 1-Wire and others. Z-Uno Shield inherits the flexibility of Z-Uno https://z-uno.z-wave.me and at the same time is very easy to use. It was designed to simplify Z-Uno usage in many typical installations. Being included in a Z-Wave controller Z-Uno Shield will be detected as several sensors /actors depending on the configuraion (each in it’s own end point, also called channel).The following types of end points are supported:• dimmers and blinds• RGBW color control• switches (as well as sirens, valve controls and door locks)• sensors and meters• thermostatsZ-Uno Shield have 5 output connectors and 8 input/output connectors. Depending on configuration you have:• One 0-10 V analog output — control industrial dimmers • Up to four PWM or switch outputs (up to 5 A per channel) — control contactors, switches, halogen bulbs or LED strips• Up to eight digital 0/3 V inputs or outputs — connect various low voltage digital senors and actors• Up to four 0/3, 0/5 or 0/12 V digital or analog inputs — connect industrial 10 V sensors or any Arduino-compatible sensors • RS485 or UART — for industrial meters• 1-Wire — for DS18B20 or other sensorsConsult page 9 for detailed connectors description.Each input / output connector can be configured and associated to a Z-Wave end point.Z-Uno Shield can be programmed like Z-Uno. There is also a special easy to use configuration tool. This tool is available online on https://z-uno. z-wave.me/shield/configurator.ABOUT Z-UNOZ-Uno is the first and only easy to use device that allows you to create your own Z-Wave device without deep knowledge of the Z-Wave protocol or programming. Z-Uno is a mix of the power of the Z-Wave home automation radio protocol and the Arduino simplicity. Being inspired by the Arduino project Z-Uno inherits all concepts of easy-to-use hardware and software solutions, keeping maximum flexibility.Z-Uno programming is done by writing sketches in simplified C language and loaded into Z-Uno using Arduino IDE. More info on https://z-uno.z-wave.me. Using Z-Uno Shield Configurator https://z-uno.z-wave.me/ shield/configurator you can build your sketch without programming. Z-Uno Shield is a “shield” for Z-Uno that extends Z-Uno standard pins functionality.CONNECTORS12/24V — Power supply of the Z-Uno Shield5V — 5 Volts output if 12/24V connector is used(max current 500 mA). Otherwise 5 Volts input3V — 3.3 Volts output if 12/24V or 5V connectorsare supplying the power (max current 120 mA).Otherwise 3.3 Volts inputGND — Ground connector0-10V (PWM0) — Analog output 0-10 Volts (maxcurrent 10 mA). Note that PWM0 and ADC0 cannot be used simultaneosly!PWM1-4 — Digital or PWM output, open collector(max current 5 A per channel and max 15 A per allfour channels, max voltage 30 V)ADC0-3 — Analog or digital input with 0-3 V,0-5 V or 0-12 V range, 0/3 V digital output (maxcurrent 2 mA)11, OW — Digital input or output (max current2 mA) or 1-Wire bus or DHT22/DHT11 sensor pin.Pulled up with 4.7 kΩ resistor12 — Digital input or output (max current 2 mA)or DHT22/DHT11 sensor pin7, 8 — Digital input or output (max current 2 mA)or UART TX/RX or RS-485 A/BPic. 1. Z-Uno Shield connectorsConnecting 0-10 Volts dimmerssupply 5 Volts power, 3V connector can supply 3.3 Volts power.• connect 5 Volts to 5V connector. Do not use 12/24V connector in this case. 3V connector can supply 3.3 Volts power.• connect 3.3 Volts to 3V connector. Do not use 12/24V and 5V connectors in this case.0-10V connector can drive dimmable LED controllers and industrial DMX dimmers. Z-Uno Shield 0-10V output can be controlled by buttons or via Z-Wave from another device or controller. To use this option power on Z-Uno Shield by 12V and select Dimmer 0-10 V in the Configurator.NOTE! 0-10 V output should be calibrated in the Z-Uno Shield configurator based on the reference voltage. Maximum output voltage can be up to 80% of the power supply voltage: 0-10 V for 12 V power supply or 0-20 V for 24 V power supply.Connecting LED strips or halogen lamps PWM outputs allow to smoothly dim the brighness of a single color LED strips or RGBW strip. Maximal current per channel is 5 A, total per all four channels not more than 15 A.All four PWM ouputs can drive:• Single color LED strip — up to 4• RGBW LED strip — only 1• Halogen bulbs — up to 4• LED-amplifier for single color LED strip — up to 4• LED-amplifier for RGBW LED strip — only 1Pic. 2. Power modes: 12/24 V, 5 V and 3 VPic. 3. Connecting 0-10 V dimmersPic. 5. Connecting RGBW strip Controlling relays and contactorsWith Z-Uno Shield it is possible to use electromagnetic relays, solid state relays and contactors.Connectors PWM1-4 are open collector schematics and are switched to Ground. It can be used to control electromagnetic relays, contactors and solid state relays with reference voltage 3-30 Volts DC. Connectors 7, 8, 12, 11, ADC0-3 can be used to control contactors and solid state relays with reference voltage 3 Volts.Connecting binary sensors and buttons Connectors 7, 8, 12, 11 can be used as binary input with 3 V inputs. Connectors ADC0-3 can in addition make use of voltage dividers to connect 0-5 Volts or even 0-12 Volts sensors. Use jumpers to select the correct divider. See page 34 for more information.To connect sensors with dry contact output like buttons, wall paddles, reed switches use the corresponding mode in the Configurator.Note that long wires to sensor might result in accident false alarms due to noise from 230 Volts or other cables located nearby.Pic. 6. Connecting contactorsPic. 7. Connecting an Arduino-compatible 5 V binary sensorPic. 8. Connecting a wall switch Pic. 9. Connecting a reed switch2021Connecting analog sensorsConnectors ADC0-3 can be used to connect various 0-12 Volts sensors. Corresponding jumpers should be installed to select the voltage range between 0-3, 0-5 or 0-12 Volts.See page 34 for more information about ADC jumpers.To use analog sensors select in the Configurator the sensor type/scale and the range to map the sensor value to.Currently the following types are supported (you can add your own right in the generated sketch source code):%Temperature, °C Luminance, lux Humidity, %Voltage, V Current, A Distance, mPic. 10. Connecting a soil moisture sesnor2223Connecting 1-Wire sensorsPin 11 OW can be used to communicate using 1-Wire bus. You can connect many DS18B20 temperature sensors to this connector. Each sensor will generate it’s own widget.RS485Connectors RS-A and RS-B can be used to connect to RS485 bus. RS485 is used in various meters and relay switches as well as in security systems. RS485 is also a base for a widely used in industry MODBUS RTU. Please note that the protocol on top of the RS485 is application specific — request the protocol description from the manufacturer of the connected device.Connecting DHT-11, DHT-22, AMS23xxPins 11 and 12 can directly drive humidity and temperature sensors DHT11, DHT22 or AMS23xx. Those sensors will generate two widgets for temperature and humidiy.Pic. 11. Connecting DHT222425Pic. 12. Connecting many DS18B20 temperature sensorsPic. 13. Connecting to a RS485 power meter26COMPATIBILITY WITH Z-WAVE CONTROLLERSCONFIGURATIONZ-Uno Shield is compatible with same controllers as Z-Uno is. Being Z-Wave Plus certified device, Z-Uno is compatible with most modern Z-Wave controllers. Among others are Z-Wave.Me RaZberry and Z-Way, Fibaro Home Center 2 and Lite, Zipato, Vera, Smart Things (with custom handler, see the manual on our web site).Z-Uno Shield is a multiple channels device — each Z-Wave end point will create its own control in the controller user interface .Z-Uno Shield can be configured by changing the sketch used. Please consult Z-Uno documentation and Z-Uno Quick Start Guide https://z-uno.z-wave.me/QSG to get more information on Z-Uno programming. It is suggested to use a special configuration tool to set up your Z-Uno Shield https://z-uno.z-wave.me/shield/configurator. The configurator will guide you how to set up jumpers on the Z-Uno Shield as well as how to wire peripherals. It is always possible to modify the sketch generated by the configurator. Basic programming skills are required to modify the code.Z-Uno Shield can also accept Configuration parameters from the Z-Wave controller. More details are available on https://z-uno.z-wave.me/z-wave/configuration-parameters/CUSTOMIZING Z-UNO SHIELDZ-Uno Shield includes a breadboard for easier customization to your needs.All Z-Uno pins are available on this breadboard. See labels between Z-Uno placeholder and the breadboard. ADC0-3 and 7, 8 connectors can be decoupled from Z-Uno and connected to the breadboard using a wire. Check Z-Uno pinout for more info.2829ADDING TO A Z-WAVE NETWORKREMOVING FROM A NETWORK AND RESETSENDING NODE INFORMATION FRAMETo add Z-Uno Shield in a Z-Wave network press three times on the Service Button (BTN) on the Z-Uno.To remove Z-Uno Shield from a Z-Wave network press three times on the Service Button (BTN) on the Z-Uno. If it do not help, reset Z-Uno by holding the Service Button for 10 seconds and then press three times.If your code hangs Z-Uno and prevents Z-Uno from being added/removed, Rescue Mode can help to bring it back to life. Hold the Service Button while clicking on the Reset button (RST).To emit Node Information Frame (NIF) press three times on the Service Button (BTN) on the Z-Uno.Z-WAVE SECURITYZ-Wave protocol allows secure commands transmission to bring more privacy to your smart home network. To enable Security in Z-Uno use Arduino IDE menu item. Once Security is turned on Z-Uno will follow the rules below:• All control commands to Z-Uno must be secure.•All commands sent by Z-Uno (based on Association groups) follow rules:– First time Z-Uno tries to speak securelly.— If success, Z-Uno will memorize that this device must always be spoken securelly.— If fails, Z-Uno will remember this and send unsecure commands to that device.• This allows to mix secure and unsecure devices in the same Association group.•Only descriptive Command Classes are accessible without Security: Battery, Device Reset Locally, Firmware Update, Manufacturer Specific, Power Level, Version, Wakeup, Z-Wave Plus Info.Note that Z-Uno supports Z-Wave Security S2 or Security S0. The PIN code for Security S2 is written in Arduino IDE right after uploading the sketch.Z-WAVE COMMAND CLASSESZ-Uno supports the following Command Classes:• Association V2• Association Group Information V1• Battery (for sleeping and FLiRS modes) V1• Basic V1• Configuration V1• Device Reset Locally V1• Firmware Update V3• Manufacturer Specific V2• MultiChannel V4• MultiChannel Association V3• MultiCommand V1• Power Level V1• Security V1• Security S2 V1• Supervision V1• Transport Service V2• Version V2• Wakeup (for sleeping and FLiRS modes) V2• Z-Wave Plus Info V2Depending on channels types Z-Uno will also support some of these Command Classes:• Sensor Binary V2 and Notification V5• Sensor Multilevel V7• Meter V4• Switch Binary V1• Switch Multilevel V1• Switch Color V1• Door Lock V2• Thermostat Mode V3 and Thermostat Setpoint V3Depending on Association Groups set up Z-Uno can control:• Basic V1• Door Lock V2• Switch Multilevel V1• Scene Activation V13031DEVICE CLASSESZ-Wave defines so called Device Classes to allow better interoperability. Z-Uno Shield will automatically set corresponding Device Class to each channel depending on channel type. Z-Uno Shield Device Class will be same as Device Class of channel #1.Channel type Sensor Binary Sensor Multilevel Meter Switch Binary SirenFlow Stop Switch Multilevel Switch Color Blinds Thermostat Door Lock Generic classSensor NotificationSensor MultilevelMeterSwitch BinarySwitch BinarySwitch BinarySwitch MultilevelSwitch MultilevelSwitch MultilevelThermostatEntry ControlSpecific classNotification SensorRouting Sensor MultilevelSimple MeterPower Switch BinarySirenValve Open ClosePower Switch MultilevelColor Tunable MultilevelMotor multipositionGeneral ThermostatDoor LockFIRMWARE UPGRADEZ-Uno allows upgrade of the bootloader and user sketch via USB as wellas Over-The-Air (OTA). Follow the manual of the Firmware Upgrade featureof your Z-Wave Controller. Firmware upgrade is confirmed by three timespress of the Service Button or via configuration parameter. Note that yoursketch will be deleted during bootloader upgrade process — you will needto upload it again. For more info see Z-Uno OTA process description onhttps://z-uno.z-wave.me/z-wave/ota.DEVICE RESETZ-Uno can be excluded from network by following Removing processinitiated by a Z-Wave controller or by resetting the device via Servicebutton: hold the Service button for 5 seconds and then press three times.Use this procedure only if your controller is missing or inoperable. Notethat the sketch is not erased during exclusion or reset process.32333435CHANGING Z-WAVE SETTINGSJUMPERSZ-Uno Shield sketch defines number of channels, their types, number of association groups and power mode. Arduino IDE also allows to turn on/ off security. But Z-Wave do not allow to change these paramenters «on the fly». To remain compatible with Z-Wave Plus, Z-Uno will not adopt these changes until device is removed from the network or resetted. You can also force Z-Uno Shield to adopt these parameters «on the fly» by changing configuration parameter #1.Jumpers allow to configure Z-Uno Shiled hardware. The Configurator will guide you which jumpers to install.Note that 0-10V / PWM0 uses the same Z-Uno pin as ADC0 and can not be used together!ADC jumpersPWM0 jumperZ-Uno ADC pin to connector via 12/3 divider(0-12 V measurement)8 pins from connectorsZ-Uno ADC pin to connector via 5/3 divider(0-5 V measurement)Z-Uno ADC pin directly to connector(0-3 V measurement)to connector RS-A Z-Uno pin PWM0 to 0-10 V driverDisconnect Z-Uno ADC pin from connector to connector RS-B Disconnect 0-10 Vdriver3637SEALED ENCLOSURE DIN-RAIL ENCLOSURE ENCLOSURE WITH FLANGESGainta G2104C Gainta D4MGGainta NUB1057035WH3839TECHNICAL DRAWING TECHNICAL DATADimensionsDIN-rail enclosure90.2×71×57.5 mm sealed enclosure 120×80×55 mm enclosure with Flanges 90.2×71×57.5 mm WeightDIN-rail enclosure120 gr sealed enclosure 135 gr enclosure with Flanges120 gr Z-Wave hardware ZM5101 (Z-Uno)Z-Wave Protocol Z-Wave Plus Z-Wave Certification ID ZC10-16065104IP Class sealed enclosure onlyIP 65Voltage 12-24 Volts (8-25 Volts is tolerated)LoadPWM1-45 A (15 A total)PWM0, ADC0-3, 7, 8, 11, 12 2 mANetwork Operation Always On Slave (can become FLiRS or sleeping)EAN0708744180414PACKAGE CONTENTYOUR NOTES• Z-Uno (Z-Uno board, carton box, manual)• Z-Uno Shield board• Jumpers (13 pieces and two spare)• DIN-rail enclosure D4MGor• Sealed enclosure G2104C with PG-11G cable glandor• Enclosure with flanges• This manualMOUNTING CABLE GLANDPG-11G cable gland mounting thread is 18.6 mm. It is suggested to usecrown drill bit for easier mounting.4041YOUR NOTES4243Designed by Smart Systems Ltd.42 Bolshoy Boulevard, Skolkovo Innovation Center 143026, Moscow, RussiaManufactured by Smart Devices Ltd.15-1 Dolgorukovskaya str.126007, Moscow, Russia。
(完整版)arduous cnc shield V3 扩展板定已
本帖最后由 kejoy 于 2015-8-2 18:39 编辑
简介
这里首先要感谢,arduino、GRBL、Arduino CNC Shield开源的贡献者,以及给VLM 部分提出意见建议的朋友。
开源需要很多人的贡献和付出,让后让一个项目不断的完善,让更多的人低成本的参来,即使参与者没有给开源的项目做出贡献,依然可以免费使用开源的资料,开源是为了让让更受益为目的的。
一直相信,开源会让某种东西更好更快的发展。
牛顿说:“如果我看得比别人更远些是因为我站在巨人的肩膀上。
”这个巨人应该也是指很多人。
就像我们现在,站在很多人总结的上进行研究,那就像堆积木一样,一人堆一块量变总会产生质变的一天。
3.2.1 模块分解
1.Arduino uno r3主控制板
控制板参数
Arduino uno r3主控制板的GRBL引脚定义。
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
1.Arduino uno r3主控制板
主控芯片ATmega328 工作电压5V
推荐供电电压7-12V
极限供电电压6-20V
数字 I/O 引脚数14
PWM输出数字 I/O 引脚数 6
模拟输入引脚数 6
每个 I/O 电流40 mA
3.3V引脚的电流50 mA Flash 存储器32 KB Bootloader的Flash 存储器0.5 KB
静态随机存储器 2 KB EEPROM 1 KB
时钟速率16 MHz
长度68.6 mm 宽度53.4 mm 重量25 g
Arduino uno r3主控制板的GRBL引脚定义
2.A4988步进电机驱动模块
输入电压8~35V最小驱动电压8V,输出驱动能力最大35V ,2A。
功能及优点
∙低RDS(开)输出
∙自动电流衰减模式检测/选择
∙混合与慢电流衰减模式
∙对低功率耗散同步整流
∙内部UVLO
∙交叉电流保护
∙ 3.3 及5 V 兼容逻辑电源
∙过热关机电路
∙接地短路保护
∙加载短路保护
∙五个可选的步进模式:全、1/2、1/4、1/8 及1/16
A4988引脚定义
3.arduino cnc shield V3 扩展板
输入电压范围12~36V。
GBRL专用cnc模块,完全兼容GBRL的arduino uno r3接口和A4988步进电机驱动模块接口。
引脚定义
细分设置
扩展板共划分为4个步进电机安装区域,每个区域设置相同。
使用跳线帽将对应两个排针短接。
0代表不短接,1代表短接。
M0M1M2细分
000全细分
1001/2细分
0101/4细分
1101/8细分
1111/16细分
这里推荐1/16细分,因为在进行激光雕刻时,速度比较慢,步进电机低速震动较大,需要更高的细分降低震动。
4.继电器模块
控制信号5V,光耦隔离,带常开、常闭(可实现高、低电平触发)或直接高低电平触发,带安装孔。
继电器最大输出:直流30V/10A,交流250V/10A
引脚定义如图
3.2.2 模块接线
主控制器-扩展板-驱动板堆叠主控制器
堆叠上扩展板
插上细分跳线帽
插上驱动板
X轴双驱,接法
连线图。