Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Arduino Nano Element #8

Closed
urish opened this issue Mar 27, 2020 · 1 comment · Fixed by #43
Closed

Add Arduino Nano Element #8

urish opened this issue Mar 27, 2020 · 1 comment · Fixed by #43
Assignees
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@urish
Copy link
Collaborator

urish commented Mar 27, 2020

The board needs to include at least the male pin headers, the Mini-USB connector, 4 LEDs (TX, RX, Power, L), the microcontroller itself, and the ICSP programmer pins (can be seen on the right side of the board). Nice to have elements: reset button (which should also emit reset-press/reset-release events, similar to the pushbutton element.

As a reference, check out the implementation of the Arduino Uno Element. You can reuse most of the part, especially the pattern for drawing the pin headers, USB/power jacks, LEDs, and the ICSP programmer pins.

Reference images:

Arduino Nano

License: CC0

Arduino Nano

License: CC-BY-SA

Mechanical drawings:
Ardunio Nano Machanical Drawing

Arduino Naon Mechanical Drawing

@urish urish added enhancement New feature or request help wanted Extra attention is needed labels Mar 27, 2020
@urish urish self-assigned this Aug 17, 2020
@sutaburosu
Copy link
Contributor

@urish I'm a total noob to Node, Typescript, SVG, graphic design and webdev in general. I learned a huge amount from your tutorial videos and yesterday's commit adding the Mega. There's no rush for this, right? I think I can do this, but it will take me a while. I may need help later getting the reset button to work.

My only progress so far is this pattern for unsoldered pins. Good enough?
image

import { svg } from 'lit-element';

export const pinsPlatedThroughHolePattern = svg`
  <defs>
    <filter id="solderPlate" style="color-interpolation-filters:sRGB;">
      <feTurbulence result="r0" type="fractalNoise" baseFrequency="1" numOctaves="3"/>
      <feComposite  result="r1" in="r0" in2="SourceGraphic" operator="arithmetic"
        k1="0.6" k2="0.6" k3="1.2" k4="0.25"/>
      <feBlend      result="r2" in="r1" in2="SourceGraphic" mode="luminosity"/>
      <feComposite  result="r3" in="r2" in2="SourceGraphic" operator="in"/>
    </filter>
  </defs>
  <pattern id="pins-pth" width="2.54" height="2.54" patternUnits="userSpaceOnUse">
    <circle r="0.750" cx="1.27" cy="1.27" style="fill:#323232; filter:url(#solderPlate)"/>
    <circle r="0.375" cx="1.27" cy="1.27" style="fill:#ffffff"/>
  </pattern>
  <pattern id="pins-gold-pth" width="2.54" height="2.54" patternUnits="userSpaceOnUse">
    <circle r="0.750" cx="1.27" cy="1.27" style="fill:#484800; filter:url(#solderPlate)"/>
    <circle r="0.375" cx="1.27" cy="1.27" style="fill:#ffffff"/>
  </pattern>
`;

sutaburosu added a commit to sutaburosu/wokwi-elements that referenced this issue Sep 3, 2020
@urish urish linked a pull request Sep 3, 2020 that will close this issue
sutaburosu added a commit to sutaburosu/wokwi-elements that referenced this issue Sep 5, 2020
@urish urish closed this as completed in #43 Sep 6, 2020
urish pushed a commit that referenced this issue Sep 6, 2020
* feat(nano): WIP. Done except for reset button (#8)
* feat(nano): layout fixed + reset button logic (#8)
* feat(nano): allow button press with keyboard
* feat(nano): make button lose focus on mouseleave
* feat(nano): review actions

Co-authored-by: sutaburosu <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants