7. Electronics Design Automation¶
Due 2024/03/19
nfr glyph, ft230 led
How to use this document
Please refer to instructions in the week02 weblog entry
Conceive¶
- This week focused on designing and producing circuits. We used components from the Fab Lab list of materials (mostly supplied by Digi-Key).
- Producing a circuit is like building a train set with features such as switches and crossing gates.
Assignment¶
To do | Done |
---|---|
Group assignment | ⬇ |
Use the test equipment in your lab to observe the operation of a microcontroller circuit board (as a minimum, you should demonstrate the use of a multimeter and oscilloscope) | Yes |
Document your work on the group work page and reflect what you learned on your individual page | Yes |
Use logic analyzer | Yes |
Individual assignment | ⬇ |
Redraw one of the echo hello-world boards or something equivalent, add (at least) a button and LED (with current-limiting resistor) or equivalent input and output, | Yes |
Check the design rules, | Yes |
Make it, | Yes |
Test it. | Yes |
Learning outcomes¶
To do | Done |
---|---|
Select and use software for circuit board design. | No |
Demonstrate workflows used in circuit board design. | No |
Checklist¶
Have you? | Done |
---|---|
Linked to the group assignment page? | Yes |
Documented what you have learned in electronics design? | No |
Explained problems and how you fixed them? | No |
Included original design files (Eagle, KiCad, etc.)? | No |
Included a ‘hero shot’? | No |
kicad to modsproject workflow inkscape, gimp http://fabacademy.org/2021/labs/kamplintfort/students/mattissen-gerhard/assignments/week05/ add arduino libraries https://www.electronics-lab.com/project/getting-started-with-the-new-attiny-chips-programming-the-microchips-0-series-and-1-series-attiny-with-the-arduino-ide/ ftdi mac drivers https://ftdichip.com/drivers/vcp-drivers/
Context¶
Comprehend¶
- Designing and producing circuits (mainly for mechatronics systems) happens when an electronic circuit meets all of the interface requirements of an embedded system. Mechatronics, Auslander, p.ix
- Embedded systems
- Form of system
- Types
- Continuous dynamics
- Discrete dynamics
- Hybrid systems
- Composition of state machines
- Concurrent models of computation
- Design constraints, embedded systems, lee, p.xvi
- Sensors and actuators
- Embedded processors
- Memory allocation
- Input and output
- Multitasking
- Scheduling
- Types
- Function of system
- Sense the environment
- Run programs
- Communicate with mechanical subsystem
- Actuate mechanical subsystem
- Form of system
Take Caution¶
- Human
- Machine
- Environment
Calibrate¶
Control¶
- Material-machine interface
- Materials
- Embedded systems may be able to detect material characteristics
- Fixtures
- Tools
- Machine-controller interface
- Controller-CAM interface
- CAM-design interface
- Designs may be translated by computer-aided manufacturing (CAM) software into a form that embedded systems can read.
- Embedded systems translate machine code derived from designs into actions for the mechanical subsystem to perform.
- These commands may be represented by changes in voltage or current
- Design-human interface
- Materials
Create¶
- Human-science interface
- Human-industry interface
- Human-art interface
- What assumptions can we break?
Review week5 electronic design tutorial¶
- Eagle CAD tutorial
- D(difference)Access library commands through library manager, open schematic window first, click on available library, select library then select use button, also, I do not see a lib folder in Eagle folder
- T( tip) screen shot windows, apple key+ shift+ S. click on notification to open preview of clipboard, save snip
- T, ERC,( electrical rules check & DRC), design rules check, visible under tools in board mode
- T, ground= GND, add it from the library, use search, use the one in the splice library
- T, use the stop icon in the tool bar to stop adding components
- T, in the tutorial, Do not overlook the schematic download link after the sample-schematic heading
- T, name nets attached to components
- T, to connect two components, use NET NAME LABEL on the nets of both
- T, I got stuck on connect nets, I noticed that tutorial topic7.4 refers to Eagle resources, (the link also appears at the bottom of the tutorial page) the spark fun schematic tutorial provided the information that NAME is under EDIT, the connect option appears when the user repeats a name
- N,(note), I restarted making the tutorial circuit schematic in Eagle
- T, moving components together so they touch and then moving them apart creates a NET
- T, in Design Manager, to change values, select a part, right click on it, open symbol, tap also works
- p,(problem), warning CTS & RTS warning from ERC, I am using board traces from tutorial to identify the second pins, no traces on board, approving warnings
- T, had to activate Avoid Obstacles in order to copy example trace
- T, Eagle offers a Rip up everything option
- T, View> Grid, use to change snap to amount
- T, Use Group, Change( wrench), Width-20 mm, then control+ right click to change width of traces@ the same time
- T, Use selection filter tab to isolate layers, isolate dimension layer, use Move tool to change size of yellow dimension frame
- T, To draw on a layer with draw tools, select layer in tool bar, that changes pen color
kicad import snapeda symbols and footprints https://support.snapeda.com/en/articles/2651507-how-to-import-into-kicad nadieh gives a good blow-by-blow of kicad design here http://fabacademy.org/2021/labs/waag/students/nadieh-bremer/blog/week-6/ https://www.reddit.com/r/KiCad/comments/titbox/erc_warns_symbol_has_been_updated_in_library/ no grounding; cleaning trace collisions by resizing pads and moving edge cut. moving edge cut lines did not seem to change Gerber output in Bantam. So, I erased all of the old ec and created a new one. checking svg output for missing traces at top of circuit. the problem with the top of the circuit in bantam was that i used refresh which updated the front cu file but not the edge cut file. so the old, unedited edge cut kept truncating the updated front cu file. i use kicad gerber for the trace output and mods project for the interior. this seems fairly efficient. bantam accepts gcode directly. ERC, DRC SCHEMATIC recreating circuit from another source. I label connection points of ICs and protocol headers. usb, ftdi, updi, jtag. workflow (process) of circuit embedded programming: receive command from programming device using a given protocol to change to a programmable state, eg., flash; program the IC to perform some action (upload functions to computer), test computer program to see if computer performs the desired task. debug program if necessary. the knowledge to perform this workflow will come from understanding the communication protocols (pins used and commands to change states of IC) that enable programming device to control IC and datasheets of ICs. do not forget no connect flag (q) jumper for 5v vcc v. 3.3v vcc? does updi use 5v? what vcc does ftdi take? delete only traces: https://forum.kicad.info/t/how-to-delete-all-tracks-in-pcbnew/27844 new york state map svg https://commons.wikimedia.org/wiki/File:Map_of_New_York_County_Outlines.svg illustrator ungroup; direct select; drag county outlines, delete