Assignment Description

Week 6 (Electronics Design)

Assignment

Weekly Assignment

  • Group Assignment: Use the test equipment in your lab to observe the operation of a microcontroller circuit board
  • Individual Assignment: design a development board to interact and communicate with an embedded microcontroller
  • Extra Credit: Try another design workflow, make a case for it and simulate its operation

Group Assignment

Week 6

(March/06/2020 Update) (COVID-19 Lockdown Started in Panama)

Individual Assignment

Week 6

I’ll be testing my 1st PCB design with an ATtiny 1614

Do to the global and local problems I don’t a lot of choices for MCU selection. I have a limited amount of ATtiny 1614. I’ll make a PCB that has I2C communication, servo motor pins, and pins for a sensor. To make this PCB I’ll be using my Shapeoko Pro. Then I jumped in eagle to make the schematic and trances for my PCB. After finishing this I exported the trace to a png file.









In the design process of this PCB, I received a lot of support from my friend/instructor Adrián Torres . I also studied a lot his Adrianino. In my PCB prototype I needed to gain more hands-on experience to add the appropriate modifications if needed. For started I added some pins to power the board with a battery if needed, FTDI port for serial communication with my laptop and 5V input, I2C port for easy connectivity with a variety of input and output devices, and easy access to UPDI port for programming. Thanks to a mod made by Adrian we can program the PCB with only 3 pins. No need to connect the FTDI for power while programing the board.

Diving more in I2C serial communication, I’ll be using my friends Adrián Torres Repo as a reference. I’ll also used Electronoob’s video that covers a better explanation on networking using I2C. I2C is a type of synchronous (needs a clock to send data) serial communication. What I like of this type communication is that you only need 4 pins to execute it and there is a variety of inputs and outputs that take advantage of it to communicate with the chosen MCU. The pins are VDD, GND, SDA (pin that sends the data) and SCL (Clock needed to send data).

The following screenshots are from the YouTube video of Electronoob’s. They help describe how the concept of the Master and slave devices work. The “MASTER” is the transmitter (TX) and the “SLAVES” are the receptors (RX). To have good communication as a requirement it’s really important that you give each “SLAVE” an address. I2C has a maximum quantity of 127 “SLAVES” in the BUS (main communication lines).



















After exportin the monochrome picture I take the file in InkScape to use trace BitMap to generate vectors to import them in Carveco. I used a special end mill with the fallowing parameters:









Shapeoko Pro CNC Router

  1. Machining Software: Carveco Maker

  2. Machine Control Software: Carbide Motion

  3. Bit: Tapered-Stub End-mills (Tip Diameter 0.0150" (0.38mm))

    • Feed Rate: 48 IPM

    • Plunge Rate: 24 IPM

    • RPM: 12,000

    • Stepdown: 0.1mm

    • Stepover: 0.152mm

  4. Milling Type: Conventional Milling