This PDF file contains some Finite State Machine examples. It provides step by step analysis as well as working examples that worked in Logisim.
Download:
This PDF file contains some Finite State Machine examples. It provides step by step analysis as well as working examples that worked in Logisim.
Download:
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:
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?
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.
I purchased this at the 2013 Vancouver Mini Maker Faire for $11.
I purchased this board through the Kickstarter program. This board includes a Xilinx XC9572XL CPLD, which gives you equivalent to around 1600 gates.
I purchased an Altera DE1 development kit, which includes a Cyclone II FPGA. What an awesome looking board.
The following image and code are from my 3×3 row column scanned LED matrix. This supports PWM in order to allow brightness levels without requiring additional IC’s. The Youtube video of it is at:
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
}
}
Here’s a test of a couple of WS2801’s. Once I understood how this worked, I implemented it on a strip of WS2801 based LED’s.
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.
I purchased this at the 2013 Vancouver Mini Maker Faire for $11.
I purchased this board through the Kickstarter program. This board includes a Xilinx XC9572XL CPLD, which gives you equivalent to around 1600 gates.
I purchased an Altera DE1 development kit, which includes a Cyclone II FPGA. What an awesome looking board.
I have to admit that when the iPad3 came out, I was mighty impressed with its’ Retina display and was surprised that no other competitor that I was aware of even came close. Kudos to Apple and their suppliers for pulling off that amazing feat. As for myself, I’m not a fan of iTunes and have been looking for a tablet, but on an alternate platform. Being the owner of an Android phone, an Android based tablet seemed a good fit.
My needs are:
My needs are NOT:
Ultimately, the TF700T serves as a fancy bookreader for me. Expensive? Yes. Quick? Yes. Crystal clear? At 10″ and 1920×1200 pixel resolution, most definitely.
One the negative side, I wasn’t impressed with the non-standard charging port on the ASUS. It reminded me of the one in use on the Apple products and I would have much preferred an industry standard Micro USB port.
Oh, and I plugged a mouse into the USB port of the keyboard and it worked just fine – but I normally don’t use it. I also disabled the touchpad on the keyboard as I found it got in the way of typing.
Do I feel what I paid was worth it? Compared to the iPad and currently available Android tablets, very much so.
I’m very happy with the TF700T and add-on keyboard. I don’t expect it to match the content creation capabilities of a laptop or desktop, but then I already had an Android phone and was aware of the capabilities of the platform.
Would I take the tablet on the subway or bus? In that case, I would probably have preferred a 7″ tablet, like the Nexus. That seems to be a much more ‘on the go’ device than the 10″ based TF700T.
Based on my needs, I would give this tablet 9/10.
Want to replace your laptop with a Tablet? I would not recommend it.
Update: After owning this tablet for over a year, I find that the web browsing on it is very sub par. The score for this table has now dropped to 7/10.