This is my make-through for the week's assignment. Grab a cup of coffee!
in this week we will make a new PCBs
one act as input module using MUX and OP-AMP
and another one using Shift Register to extend out-put pins
Step 1:We get a schematic image from portal
Step 2: re Draw it on eagle project
Step 3: Design board and routing on eagle
Step 4:export cam files after check DRC
after milling pcb using V-bit 0.3mm and every thing works fine
now its time to drill holes and unfortunately the drill bit broke
I tried to change it and broked again each time you can check the video
after many times and making some searchs i found another app that can generate drilling g code for me (flat cam)
i have used it and every thing works fine
the problem was the fabmodules didn't get drill halls as single point but it draws it as vector small circle and that's make drill bit moves around the hole and broke if it was not strong enough
but it flatcam it was a single point which means the bit will goes down and up only not moving around
this time every thing goes fine from the first time no drilling problem or milling failers
bad news ... !!!!
i think just short circuit and burn my attiny44 control
so i will test boards with arduino uno
i just uploaded the code to my arduino and connect selectors pin and vcc and gnd
then start to read data changed when change dip switch
I think I have a problem with my thermistor as you see when changing potentiometer to set refrance point the value changed but sensor didn't sence the heat
now after we read data from input module (MUX)
we need to send it to output module to control RGB
we Define Latch,data and Clock Pin in our code
we create loop to send data from (get_data) function that read from mux to Shift register and control latch and clock pins
Each Line of code is marked with described comment
What I learned this week is...
creating input module can read from multi input using MUX
how to use OP-AMP
extend output pins using Shift register
create smart device that can take data from our input module and control output module