Search found 7 matches

by little_cowboy
Thu May 22, 2014 4:15 am
Forum: Introduction to Microcontrollers
Topic: #10 AVR vs Arduino [Post Homework Here]
Replies: 2
Views: 4826

Re: #10 AVR vs Arduino [Post Homework Here]

Q1. Assigning attributes or values to a location.

Q2. _BV(5) is the 5th bit of Port B, equivalent to D13

Q3. The Arduino platform code must be able to automatically read the clock frequency whereas it must be specifically defined in AVR.
by little_cowboy
Wed May 21, 2014 5:48 am
Forum: Introduction to Microcontrollers
Topic: #9 Design A Cyclops Eye [Post Homework Here]
Replies: 2
Views: 4572

Re: #9 Design A Cyclops Eye [Post Homework Here]

Q1. analogWrite(pin number, value from 0-255)

Q2. PWM pins are 3, 5, 6, 9, 10, & 11.

Q3. 90% duty cycle LED will be brighter than at 10%
by little_cowboy
Wed May 21, 2014 2:20 am
Forum: Introduction to Microcontrollers
Topic: #8 Design An LED Game [Post Homework Here]
Replies: 2
Views: 4968

Re: #8 Design An LED Game [Post Homework Here]

1. The trimpot acts as a voltage divider varying the voltage going to A0 from 0 to 5 volts, which A0 translates to a value between 0 and 1023. This value is divided by 4 to obtain a milliseconds value which is used as an argument in the delay function, timing the transition between LEDs. 2. The 4026...
by little_cowboy
Sun Apr 20, 2014 10:14 pm
Forum: Introduction to Microcontrollers
Topic: #6 Polling vs. Interrupts [Post Homework Here]
Replies: 3
Views: 5296

Re: #6 Polling vs. Interrupts [Post Homework Here]

I'm was having problems with this lesson and was getting a solid HIGH at D13 when I initialized the sketch. The circuit diagram shows the high end of the pushbutton going to the TX pin. Although it's hard to tell from the video, it also seems to be that way on the breadboard. In reviewing Arduino co...
by little_cowboy
Tue Apr 08, 2014 4:25 pm
Forum: Introduction to Microcontrollers
Topic: Missing the obvious
Replies: 1
Views: 4084

Missing the obvious

In Lesson 2, I also struggled with the avrdude error. Then I discovered (thanks to the Pyro checklist response) that I had incorrectly connected the reset capacitor. Fixed that and... magic. In Lesson 3, I couldn't get the LED to turn off. Eventually I discovered that the breadboard I was using had ...
by little_cowboy
Mon Nov 04, 2013 11:02 pm
Forum: Introduction to Digital Electronics
Topic: #11 7400 Series Logic ICs [Post Homework Here]
Replies: 2
Views: 5933

Re: #11 7400 Series Logic ICs [Post Homework Here]

Chris, please check the schematic pinouts on the 7400 and 7402 IC's vs how you wire them in the video. Some folks may find that confusing. I was able to figure it out and re-lable a printout of the schematic once I realized that all 4 sets of gates on the two chips are created equal and you probably...
by little_cowboy
Mon Nov 04, 2013 10:28 pm
Forum: Introduction to Digital Electronics
Topic: Lesson 12 - 7 Segment Display Discrepancy
Replies: 1
Views: 4255

Lesson 12 - 7 Segment Display Discrepancy

The pinouts on the 7 segment LED that was in my Gadgetory kit are different from those shown in the video and on the lesson schematic. It's not hard to figure out the differences by trial and error, but I hope you will find the following information useful. I was able to download a pin compatible us...

Go to advanced search