Archive | Electronics

Arduino Christmas Lights

With the recent purchase of an Arduino microcontroller, my interest in electronics was rekindled after many years hiatus. One of my goals back in the day was to create a colour organ where lghts would flash in beat with the music. With the Arduino, I can easily do that and much more, so I set about coming up with a project that made use of modern day LED’s. The result will be Christmas lights that:

Continue Reading →

Continue Reading

Costing a FastLED Display Locally

Here’s an approximate cost breakdown if I were to head into some local electronics stores to purchase components for my portable displays:

Miscellaneous items include zip tie, solder, a few sizes of heat shrink tubing.

Then there’s my labour at a minimum of $40/hr and it takes about 45 minutes to build one.

Oh, did I mention all the time I spent learning/developing the coding and techniques?

Continue Reading

Electronics Links

FSM

  • http://www.cs.washington.edu/education/courses/cse370/99sp/sections/may18/slides/sld002.htm

 

Amplifiers

  • http://www.electronics-tutorials.ws/amplifier/amp_2.html
  •  

    Good Links

  • http://tristesse.org/FPGA/CheapFPGADevelopmentBoards
  •  

    Courses

    • https://www.youtube.com/watch?v=JtXvUoPx4Qs&feature=youtu.be
    • http://scale.engin.brown.edu/classes/EN164S11/
    • http://www-inst.eecs.berkeley.edu/~cs150/sp13/agenda/
    • http://www.newae.com/tiki-index.php?page=IntroToDigitalCircuits
    • http://engineering.purdue.edu/~ece437l
    • http://ecee.colorado.edu/~ecen2350/AlteraSoftware/
    • http://mil.ufl.edu/3701/gcpu.html
    • http://engineering.purdue.edu/~ece437l
    • http://6004.mit.edu
    • http://www.cecs.csulb.edu/~rallison/pdf/

     

    Online Labs

    • http://teahlab.com
    • http://tams-www.informatik.uni-hamburg.de/applets/hades/webdemos/16-flipflops/10-srff/clocked-srff.html

     

    Cypress SoC Links

    I was given a Cypress PSoC 3 development kit. This includes an 8051 controller, programmable logic along with various analog components. The development software allows for visual design, lots of components in the libraries as well as programming in C. Oh, and I now have a PSoC 4 as well.

     

    TI MSP430

    I purchased this at the 2013 Vancouver Mini Maker Faire for $11.

     

    Bora Binary Explorer Links

    I purchased this board through the Kickstarter program. This board includes a Xilinx XC9572XL CPLD, which gives you equivalent to around 1600 gates.

     

    Altera FPGA Links

    I purchased an Altera DE1 development kit, which includes a Cyclone II FPGA. What an awesome looking board. 

     

    Altera De1

     

    Xilinx Links

    • http://www.digilentinc.com/Products/Catalog.cfm?NavPath=2,400&Cat=10
    • http://hamsterworks.co.nz/mediawiki/index.php/FPGA_course

     

    Verilog Links

    • http://cjdrake.github.io/verilog-flip-flop-macros.html
    • http://www.ee.ed.ac.uk/~gerard/Teach/Verilog/manual/index.html
    • http://vol.verilog.com/VOL/main.htm
    • http://www.asic-world.com/verilog/veritut.html
    • http://electrosofts.com/verilog/
    • http://sutherland-hdl.com/online_verilog_ref_guide/verilog_2001_ref_guide.pdf
    • http://www.verilogwiki.info/wiki/index.php/Tutorials
    • http://openhpsdr.org/wiki/index.php?title=Verilog

     

    VHDL Links

    • They would go here!

     

    CPU’s

     

    CPU Design

     

    Links Sites

    • http://homebrewcpu.com/links.htm
    • http://www.faqs.org/docs/Linux-HOWTO/CPU-Design-HOWTO.html#ss4.1

     

    Digital Simulators (see Altera for Modelsim)

     

    Analog Simulators

    • http://www.linear.com/designtools/software/#LTspice 
    • http://www.new-wave-concepts.com/pr/livewire.html 

     

    Books

    • Digital Design And Computer Architecture
    • Digital Design Principles And Practices
    • Fundamentals of Logic Design
    Continue Reading

    Arduino Resources

    References

    • http://vancouverroboticsclub.org

    Suppliers

    • http://www.seeedstudio.com
    • http://arduino-direct.com
    • http://www.makershed.com
    • http://www.adafruit.com
    • http://www.sparkfun.com
    • http://www.robotshop.com (Canada)
    • http://www.rpelectronics.com (Vancouver)
    • http://www.mainelectronics.com (Vancouver)

    Continue Reading →

    Continue Reading

    Infrared Circuit

    Before integrating all of the circuits, let’s demonstrate the IR receiver circuit.

    Get a Universal Remote and program/test it until you see output from the debugger of the Arduino. It seems to work well with the Universal Remote programmed as a Sony controller.

    IR test code:


    //
    // Universal remote decoder example for Arduino
    //
    // This simple program reads/decodes the output of a Universal Remote and displays the value.
    //
    // The IRremote.h library was referenced and downloaded from these locations:
    //
    // http://www.arcfn.com/2009/08/multi-protocol-infrared-remote-library.html
    // http://www.pjrc.com/teensy/td_libs_IRremote.html
    //
    // I used a universal remote, and programmed it until the software recognized the output.
    // It was an Innovage Jumbo Universal Remote and programmed it as Sony 004.
    //
    // I also used a 3 pin KSM-603LM Optic receiver module where:
    //
    // pin 1 -> pin 7 of Arduino, pin 2 -> GND, pin 3 Vcc
    //

    #include

    int RECV_PIN = 7; // A nice out of the way pin to connect the receiver to
    IRrecv irrecv(RECV_PIN); // Initialize which pin we are receiving on
    decode_results results; // Define the variable for storing 'results'

    unsigned long oldmillis = 0; // Use my own delay to add a little debouncing

    void setup() {
    Serial.begin(9600);
    irrecv.enableIRIn(); // Start the receiver
    }

    void loop() {
    if (irrecv.decode(&results)) { // If there is a result . .
    if (millis() - oldmillis > 300) { // Debounce for 300ms
    Serial.println(results.value, HEX); // Print the value
    oldmillis = millis(); // Reset the delay timer
    }
    irrecv.resume(); // Receive the next value
    }
    }

    Continue Reading

    Digital Electronics Links

    FSM

    • http://www.cs.washington.edu/education/courses/cse370/99sp/sections/may18/slides/sld002.htm

     

    Good Links

  • http://tristesse.org/FPGA/CheapFPGADevelopmentBoards
  •  

    Courses

    • http://scale.engin.brown.edu/classes/EN164S11/
    • http://www-inst.eecs.berkeley.edu/~cs150/sp13/agenda/
    • http://www.newae.com/tiki-index.php?page=IntroToDigitalCircuits
    • http://engineering.purdue.edu/~ece437l
    • http://ecee.colorado.edu/~ecen2350/AlteraSoftware/
    • http://mil.ufl.edu/3701/gcpu.html
    • http://engineering.purdue.edu/~ece437l
    • http://6004.mit.edu
    • http://www.cecs.csulb.edu/~rallison/pdf/

     

    Online Labs

    • http://teahlab.com
    • http://tams-www.informatik.uni-hamburg.de/applets/hades/webdemos/16-flipflops/10-srff/clocked-srff.html

     

    Cypress SoC Links

    I was given a Cypress PSoC 3 development kit. This includes an 8051 controller, programmable logic along with various analog components. The development software allows for visual design, lots of components in the libraries as well as programming in C. Oh, and I now have a PSoC 4 as well.

     

    TI MSP430

    I purchased this at the 2013 Vancouver Mini Maker Faire for $11.

     

    Bora Binary Explorer Links

    I purchased this board through the Kickstarter program. This board includes a Xilinx XC9572XL CPLD, which gives you equivalent to around 1600 gates.

     

    Altera FPGA Links

    I purchased an Altera DE1 development kit, which includes a Cyclone II FPGA. What an awesome looking board. 

     

    Altera De1

     

    Xilinx Links

    • http://www.digilentinc.com/Products/Catalog.cfm?NavPath=2,400&Cat=10
    • http://hamsterworks.co.nz/mediawiki/index.php/FPGA_course

     

    Verilog Links

    • http://www.ee.ed.ac.uk/~gerard/Teach/Verilog/manual/index.html
    • http://vol.verilog.com/VOL/main.htm
    • http://www.asic-world.com/verilog/veritut.html
    • http://electrosofts.com/verilog/
    • http://sutherland-hdl.com/online_verilog_ref_guide/verilog_2001_ref_guide.pdf
    • http://www.verilogwiki.info/wiki/index.php/Tutorials
    • http://openhpsdr.org/wiki/index.php?title=Verilog

     

    VHDL Links

    • They would go here!

     

    CPU’s

     

    CPU Design

     

    Links Sites

    • http://homebrewcpu.com/links.htm
    • http://www.faqs.org/docs/Linux-HOWTO/CPU-Design-HOWTO.html#ss4.1

     

    Digital Simulators (see Altera for Modelsim)

     

    Analog Simulators

    • http://www.linear.com/designtools/software/#LTspice 
    • http://www.new-wave-concepts.com/pr/livewire.html 

     

    Books

    • Digital Design And Computer Architecture
    • Digital Design Principles And Practices
    • Fundamentals of Logic Design
    Continue Reading