开源软件名称(OpenSource Name):Alarm-Siren/arduino-kicad-library开源软件地址(OpenSource Url):https://github.com/Alarm-Siren/arduino-kicad-library开源编程语言(OpenSource Language):开源软件介绍(OpenSource Introduction):Arduino KiCad LibraryVersion 1.4.1 Library of schematic components and footprints of common Arduino boards for KiCad. Currently included are:
Shield means the Arduino is designed to plug in from beneath your PCB; socket means it is designed to plug in from above. Comments, Requests, Bugs & ContributionsAll are welcome. LicenseCopyright 2017-2018, Nicholas Parks Young. All Rights Reserved. DonationsIf you've found this library useful and you'd like to make a donation towards its continued upkeep, click the button below: Library SetupTo add this library to your KiCad Project, do the following steps:
A note about Power and Reset pinsPowerOn the Arduino Platform, it is not possible to categorically state that the power pins are "power inputs" or "power outputs", as that depends on exactly how you're using the Arduino. For example, if you're powering the Arduino from USB then GND, +3.3V and +5V would be power outputs and VIN would do nothing, whereas if you're powering the Arduino from a battery via your Shield then VIN and GND are power inputs whilst +5V and +3.3V are power outputs. There are other, more esoteric possibilities too. Regardless of the above, I needed to make a decision about what electrical type to apply to these pins. I could use something like Passive or Unspecified, but then KiCad's Electrical Rules Checker (ERC) tool would not be effective in catching errors on these pins at all, whilst using Power Output means it objects to you joining pins together (for example, joining all the GND pins into a common net) even when that's OK in some situations. Therefore, I have decided to use Power Input as this presents the least issues. This means if you're actually using any of the power pins as Power Outputs in your schematic, by default the ERC will complain that the relevant nets are undriven. To fix this you will need to add the special "PWR_FLAG" component to the affected net. ResetReset pins on the Arduino Platform have interesting electrical characteristics, which mean that no KiCad electrical type exactly matches their functionality. I settled on Open Collector as the nearest candidate, but unlike a true Open Collector pin on an integrated circuit, the reset pins on the Arduino Platform have an internal weak pull-up, and the reset button that can strongly pull low, so your circuit needs to be able to cope with all these situations. In other words, if you use the reset pin as an input to your shield then you do not need to add a pull-up (doing so will actually make it less responsive if not break it); conversely if you want to drive the reset line in order to reset the Arduino you need to ensure that you only ever pull it low - if you pull it high at the same time as an unwitting user hits the physical reset button, you've created a short between power and ground which will likely fry whatever chip is on your shield. TL;DR:The KiCad ERC cannot catch all the possible electrical errors on your schematic as it doesn't natively support the reset and power pins' electrical types. Even if the ERC says its OK, double check it manually. If the ERC says that your power pins are undriven, first manually check they are being driven. If they are driven, then add a "PWR_FLAG" component to the net to make the error go away. |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论