Week 18: Project development

INDEX

lets organice the assignemnt

  1. The plan A
  2. The plan B
  3. CAD
  4. One wire diagram
  5. ECAD
  6. CAM and ECAD Bloppers
  7. Time Strategy
  8. Final project
  9. links and references

The Plan A

The smart fab

The queretaro Fablab were i work at works inside an university campus and people from diferent backgrounds have access to the machines in our laboratory. It is called the printing laboratory i'ts a place where Students, Teachers, Former students and Administrative staff can make their personal projects and educative props and only the costs of the materials are counted we have a recorded history of the uses per machine on an excel spreadsheet where we input the internal ID for each person as well as Name, Area, Machine used, and Material Cost.

but it is quite tedious for one person to keep track of all the uses on the machines so in order to improve this my final project aims to automaticly log the use per machine registering it to the internal ID the university gave to each user we all have one ID badge where is printed a unique barcode and have a rfID chip as well.

id'like to avoid creating a new database for this project so instead i'll have to learn to use the mySQL internal database that already exist with the personal info for every user registered on campus

the goal is to atatch a magnetic 3 phase contactor controlled by an atTiny digital output and a relay to feed the magnetic contactor coil

so, in this page my goal is to post my project management scheme in steps to follow

    1.-Create a sketch of the general design
    2.-Create a bill of materials to use
    3.-Design a good housing for the electronics and the wiring
    4.-Program an attiny44
    5.-Make a pcb with a push button and a LED and make it blink with the atTiny whe the button is pressed
    6.-Make a relay PCB with some headers and use it to turn a light bulb using the atTiny button PCB
    7.-Attatch a rfID shield to the atTiny board and read some ID's to get the data out of them
    8.-Control the light bulb using the rfID data without the data base just granting acces with the data of the code
    9.-Integrate the mySQL database locally on a pc attached to the atTiny to read data from the database and control the light bulb
    10.-attatch a wifi shield to the atTiny board to read the mySQL data base from a locally served host with a static IP

for the first part i will be using handmade sketches i've drawn over the course of my fabacademy experience


this one is hosted on my flickr page from the first week this is just a doodle i did about the objective of the project

Back to index

The plan B

The Smart Curing Station

Introduction

unfortunatly i had to change my first final project idea because i was not ready at the moment to challenge myself that way (this project involved knowledge that i was not willing to learn in a hurry

Back to index

what will it do?

at FabLab Querétaro we have a Form 2 SLA printer. Ocasionally by the time the printing it's done is dark or it's really cloudy. So, i have being studying the subject and found some really cleaver DIY projects on youtube to cure resin based prints using UV lights. But. they all look handy but it's just a UV light bulb wired to a power cord, a switch and the housing is a metallic bucket cover in aluminum foil or other reflective tape. they jus place them on top of the piece or put it inside and put a cap or something. That's where the smart curing station can be handy. As a fabLab we can use our knowledge and skills in digital fabrication and make a process or product better. Resuming. It's just a way to cure the prints on SLA printers with out taking them out when there's no sun.

so in this Plan B project i intended to use as much fabrication methods as i could.

Back to index

what skills will be involved in the process?

Back to index

drafts and sketches

of course i've being doodling arround the idea thinking what i may need for making this project


This is the general idea of what needs to be

as well as a sketch of an android app that this will need (i tought it could be really fun to teach in a classroom).


this is the general idea of the app

Back to index

Digital concept

During quarantine i have sketched out the basic dimensions of the housing and the basic components and a brief video on the assembly


this is just an isometric view of the solidworks model


From the list above i'll try my best to answer this questions

what tasks have been completed, and what tasks remain?

what has worked? and what hasn't?

what questions need to be answered?

what will happen when?

what have i learned?

also i'll explain a little bit about my little contribution to COVID-19 Response. Designing some splitters, reusable ventilator valves, face shields, and intubator shields. HERE

i'll drop all of the links at the bottom as usual.

Back to index

CAD

Here i'll drop all of the info about all of my CAD files on my diferent versions.

For my 3d modeler CAD parametric software i use Solidworks

as for the CAM for the 3d printer i used Ultimaker's CURA

and for the laser processing software i use LaserCA

Back to index

Chassis

here i'll drop a picture on the versions of the chassis.


picture on the three versions


inspiration on V1


inspiration on V2


Inspiration on V3

and things to improve

Back to index

Hinges

here i'll drop a picture on the versions of the hinges.


the V1 and v2 picture

Back to index

Housing

here i'll drop a picture on the versions of the housing for the display and Botton pad.


the v1 and v2 picture

Back to index

Shaft Coupler

here i'll drop a picture on the versions of the Shaft coupler.

the only version on the shaft coupler but what can be better.

Back to index

Motor Bracket

here i'll drop a picture on the versions of the motor bracket.

Picture of the only model and what can be better.

Back to index

Wire router

here i'll drop a picture on the versions of the Wire router.

Picture of the only model and what can be better.

Back to index

One Wire diagram

as an advice of my global instructor luis

i did a diagram on how the project works


the ac transformer reduces the voltage from 125Vac to 12Vac then the power supply turn them into 5vdc and a variable voltage output that works within positive from 1vdc to 12vdc for the dc motor.

then the mainboard is powered and wait for the user to navigate throuth the options on the menu loaded on code and displayed on the lcd display

then the board turn on and off the relay board and the UV light modules

Back to index

ECAD

here i'll drop a summary on all of the boards i've made.

at the begining of the fabacademy in 2020 i installed Autodesk's Eagle as a standalone software then my laptop died (for other reasons)and had to install Fusion 360 which includes eagle

i'm eager to try KIcad but i'm quite bussy with other softwares at the moment.

Back to index

Relay board

here i'll drop a summary about the relay board.

maybe a pic on all versions of the relay boards

pic on the board file

pic on the sch file

and things to improve.

Back to index

Mainboard

here i'll drop a summary about the main board.

maybe a pic on all versions of the main board

final schematic on ain board

final board on main board

and thing to improve.

Back to index

Button pad

here i'll drop a summary about the button pad.


maybe a pic on all versions of the Button pad


pic on the schematic


pic on the board file

and things to improve.

Back to index

Power Supply

here i'll drop a summary about the power supply.


maybe a pic on all versions of the power supplies


pic on the schematic


pic on the board file.

and things to improve.

Back to index

CAM and ECAM Bloppers

here i'll drop a summary on the mistakes i've made and what learn about them.

Electronics

here i'll drop a summary about what i did wrong on the roland machine and during soldering.

I will try to organize some stuff here.

so i will begin this by saying that i have been working on the electrical design of thw board i'm that good with electronics yet but i think that this pcb design is good enough to begin to debug some electronic and programming issues

Resolution Related issues

the first thing you need to know about the fabacademy workflow is that you should never use a cad vetor based software to export a PNG file that deals in pixels. so a quick solution for this is to work within svg formats but not all of the softwares accepts svg as and imported file.

i had to do a little bit of trial and error here to use 1200 dpi on eagle as a standard.

This is my eagle schematic for the control board

and This is my eagle board file for the control board as well.

the first issue i had was that i choose to use the Atmega328p. But i could not find the block for the microprocessor within the eagle default libraries.

so i had to download the sparkfun_microcontroller library from the library manager in eagle.

Next i wanted to use headers but since i only had wires with me and all of the routing will be inside the machine i supposed that will be ok to solder wires direcly into the boards. But that lead me to the next issue that was finding the right pads for soldering wires and have enough copper pad to solder to.

so i decided to use a plethora of pads i found. after doing all of the routing on eagle this was the final result.


tracks from eagle

But here i noticed that i could not hide tha letters inside the holes of the pads for the wires. so i used illustrator to prepare the files and this was the result.


zoom on pad holes from eagle


tracks froms illustrator

so i added the name of my final project and my name just to customize it a little.


outline from illustrator

then i went to fabmodules.org to create the toolpaths and here i used some settings i knew was working on the SRM-20 when i did the FabISP board back on electronics production week.

so i was sure this would work.


tracks on fabmodules.org


settings on fabmodules

toolpaths on fabmodules

at first sight all seems ok so i went and saved the file. Then i used this carbide mill bit of 0.2 mm instead of the 0.01in that i used to create

0.2mm mill bit

the diference is just 0.054mm so i figured that it would not be a problem so i loaded the file (.RML) on the SRM-20 and start milling it.

when finished i took it out from the machine to inspect the a little closer. Here is were i noticed that this milling bit is definitly supperior from the the first bit i used on electronics production week.

But it seemed that the spaces between the microprocessor pins were ignored.



first look at the board


then i cut out the outline


zoom on the microprocessor pins

at first i tought the mill bit was wrong. But then i realized i did not double checked the toolpath in detail.

So i went and load again my settings on fabmodules and look at this.


fabmodules toolpath

i look that fabmodules is ignoring the space between the chip pins. i do not know why this is but i belive that has something to do with the size of my board.

Thanks to my instructor ivan hernandez for answering all of my questions today i could solve this.

but i did not use fabmodules again .tough ...i used a software called imodela creator. Wich is a simple software created by roland to use some simple operations with the modela. Here you can draw simple shapes or import an image and extract it's contours.

so that's what i did and then i noticed that here i could compensate the diameter of the milling bit and when selecting cut you can not play with the settings enough or so i tought before i click on milling parameters. Here i could twitch the settings for the bit i was using.


tracks in imodela creator


zoom on the space between the pins of the microprossesor

settings of the material and the cut depth


basic settings

milling parameters

at the end i had to plunge the Z origin -0.06mm inside the material in order to get a clean cut. it seemed to be a little diference in precission between fabmodules and i modela creator but it maneged to get the job done.

and got rid of the copper that was on the first board.


second board


zoom on the pins where the atmega should be


perfectly aligned

here is where i had yet another issue. it seemed that i choose good sized pads and wrong sized pads for soldering the wires.

i used a dremel tool in order to bore the holes into the board but had some troubles with doing so even with magnifying glass and all.

holes of the board

this is another issue

i had to test some tht pads in order to have a sweetspot between solder pad size and traces widths

good pads size (green) bad pad sizing (red)

and here is where i left today


under resolution


overresolution

this previous issues ar about exporting on illustrator after creating the pads on eagle


bad leveled bed

this was before i leveled properly the bed obviusly


dull endmill


over heated pads

just don't


hand made drill holes

don't drill the holes by hand never


wrong Z height


wire jumper


e-waste

Back to index

Time strategy

here i just going to post the image for the plan development

i've also pushed a web page dedicated to the final project only and the links for all of the files will also be there


general plan for this last month before closure on the fabacademy 2020

Back to index

Final project

As an advice of my global instructor luis carvao i should add the final result also on project developement.

BOM


Back to index

Final CAD/CAM


Final chassis


Final Hinges


Final Hinges


Final shaft coupler


Final Motor Bracket

Back to index

Final Sch and Brd files


Final Power supply SCH


Final Power supply BRD


Final Button Pad SCH


Final Button Pad BRD


Final Relay SCH



Final Relay BRD


Final Main Board SCH


Final Main Board BRD

Back to index

Final Code

i include this iframe in the final project page as well it includes the programm i'm running on the board

code

Back to index

Final Testing on the code


testing the project

Back to index

Slide

if you can read this i messed up

slide

Back to index

Video


presentation video

Back to index

Links and references

EAGLE FILES

CAD1

CAD2

CAD3

printable files

laser cutable files

BOM

Paramters

Final Documents

CAD

native 2019 solidworks files.part1

native 2019 solidworks files.part2

native 2019 solidworks files.part3

Eagle board and schematic files

CAM

cuttable files

printable files

eagle image files

milling parameters for the roland files

here you can donwload that awsome pikachu model i used in the final presentation video by cyenyee page on thingiverse.

hereyou can check out the youtube channel of "el profe garcia" an awesome resource for electronics and programming in spanish language.

hereyou can check out the youtube channel of "Profe Pablo" an awesome resource for electronics and programming in spanish language.

hereyou can see how i managed to burn the bootloader without the external oscilator.

hereyou can check out my personal youtube chanel where i pretend to be uploading content about digital fabrication. basic topics of electronics and basic programming.

Back to the begining