FabAcademy 2016Students WW labs Schedule Videos 2016Tutorials Historical Archive Kamakura member Asian network fabLab Kamakura

logo image

11.Input devices

This week's assignment

  • -Measure something: add a sensor to a microcontroller board that you have designed and read it

    • I plan to put some switches on my final project. Hopefully those are touch switches. So this week I tried to make touch sensor.

      I have used below tools and materials to complete this assignment.

      • Software:
      • -Eagle
      • -Roland Vpanel
      • -fab modules
      • -Adobe photoshop

      • Hardware:
      • Laptop PC(Win10 64bit/Ubuntu150.10[on VMware12])
      • USBtiny programmer
      • AVR ISP mkII
      • mini USB cable
      • mini USB cable
      • FTDI cable
      • 6pin ribbon cable

      • Materials:
      • PCB (FR-1) x 1
      • Attiny45 x 1
      • Capacitor 1uf x 1
      • Resistor 1M ohm x 1, 10k ohm x 1
      • 2x2 Pin SMD Type Male Headers x 1
      • 2x3 Pin SMD Type Male Headers x 1
      • 1x6 Pin Right Angle Male Header x 1
      • Desoldering Braid x 1
      • Solder x 1
      • Flux
      • Ethanol
      • Cotton bud
      • Double-sided tape
      • Mitsuwa Paper Cement Solvent
      • Aluminum foil
      • Alligator clip with wire

      • References:
      • -W11 "Input devices" text

      • Procedures:
        1. Milling and soldering
        2. Write program via Ubuntu
        3. Sensing via python


        Procedures:

        1.Milling and soldering

        As the first step, I just followed class page's "Step response-loading" board. Milled and soldered the board.

        [hello.load.45 board]


        2.Write program via Ubuntu

        This time I tried to use AVR ISPmkII programmer. When I connected my board, LED lit Red. It meant something wrong. This is very nice deature! After investagation, attiny45 was defect, so I changed to another chip.

        [AVR ISPmkII told me something wrong with the board. thank you for your help!]

        After using multimator to make sure everything fine, connected all boards. Recently I installed VMware Workstation12 player and Ubuntu 15.10 in my PC. Thus did those step with Ubuntu terminal window and worked smoothly.

        [Connect all boards]

        Put makefile and c program in the same folder then "make"


        3.Sensing via python

        After flashing board, finally run the Python program. Luckily sensing window has appeard and connect 4pin(2x2)'s sense and alminum foil by using alligator clip with wire. When I used my hand to touch alminum foil, value on the sensing window had been go down.

        [All stuff are ready.]

        [Connected Aluminum foil to the board.]

        [Sensing works!]

        [Using copper PCB board is more efficient.]

        [Video]


        Files


        Appendix

        Touch switch board

        For my final project, I tried to make Touch Switch. This board has some switches and it will send different signal and light LED few seconds for inform it worked.

        I reffered this site. Process is still on going.

        [Switch board]

        What I've learned

        • I should study AVR ,C and Python more!!