Search found 8 matches
- Mon Jun 01, 2015 10:13 pm
- Forum: Nuts & Volts Magazine Discussions
- Topic: Beyond The Arduino 3 - Guessing Game
- Replies: 3
- Views: 16798
Re: Beyond The Arduino 3 - Guessing Game
Andrew, thanks for the suggestion of outputting the ADC values over the UART. This was easy to do using the Serial Thermometer code. Changed the ADC_init routine from a single line loading the ADC prescaler bits to three lines so it was easy to comment/uncomment to generate the ADC Prescaler Selecti...
- Fri May 29, 2015 8:13 pm
- Forum: Nuts & Volts Magazine Discussions
- Topic: Beyond The Arduino 3 - Guessing Game
- Replies: 3
- Views: 16798
Beyond The Arduino 3 - Guessing Game
A crude experiment "sort of" illustrates one of the concepts in the Guessing Game code, the need to set the ADC clock prescaler. A ten turn pot used for RV1 (Figure 8 Guessing Game Schematic) with the wiper to pin PC0, with this voltage measured by a voltmeter and set to 2.50 volts and use...
- Thu May 28, 2015 8:31 pm
- Forum: Nuts & Volts Magazine Discussions
- Topic: Beyond Arduino - What should I cover next?
- Replies: 13
- Views: 26660
Re: Beyond Arduino - What should I cover next?
Andrew, If I was running your guessing game code, would the Atmel Simulator show me that the DDRs had been set. But then I assume it could show nothing else because it is software and not connected to the actual hardware, i.e. it could not show button presses, and so forth. If I had a debugger runni...
- Tue May 26, 2015 4:33 pm
- Forum: Nuts & Volts Magazine Discussions
- Topic: Beyond Arduino - What should I cover next?
- Replies: 13
- Views: 26660
Re: Beyond Arduino - What should I cover next?
Hi I vote for I2C and, especially, debugging (simulator?). Also, although I etched simple single sided boards many moons ago, it would be very nice to see how to use some software to design a board (Eagle?). I have these wonderful RGB 7-segment displays from Adafruit but they cannot be breadboarded ...
- Tue May 05, 2015 11:23 am
- Forum: Nuts & Volts Magazine Discussions
- Topic: Beyond the Arduino - AVR article
- Replies: 10
- Views: 72182
Re: Beyond the Arduino - AVR article
Andrew, I was testing whether turning on the internal pull up resistor on pin B1 mattered so I commented out /* PORTB |=(1<<PORTB1) */ It does. With that internal pull up resistor not activated, the LED just "strays" between on and off. But adding an external pull up makes the program work...
- Mon May 04, 2015 11:48 am
- Forum: Nuts & Volts Magazine Discussions
- Topic: Beyond the Arduino - AVR article
- Replies: 10
- Views: 72182
Re: Beyond the Arduino - AVR article
Yes, now I understand the difference between (0<<3) or ~(1<<3). I appreciate your answering questions; I'm going to have a lot of them. Reading the data sheet raises many questions. re Listing 1 in article 2: - Program works with the given coding. Then, when I comment out DDRB &= ~(1<<DDB1); it ...
- Mon May 04, 2015 11:46 am
- Forum: Nuts & Volts Magazine Discussions
- Topic: Beyond the Arduino - AVR article
- Replies: 10
- Views: 72182
Re: Beyond the Arduino - AVR article
Yes, now I understand the difference between (0<<3) or ~(1<<3). I appreciate your answering questions; I'm going to have a lot of them. Reading the data sheet raises many questions. re Listing 1 in article 2: - Program works with the given coding. Then, when I comment out DDRB &= ~(1<<DDB1); it ...
- Tue Apr 28, 2015 8:50 am
- Forum: Nuts & Volts Magazine Discussions
- Topic: Beyond the Arduino - AVR article
- Replies: 10
- Views: 72182
Re: Beyond the Arduino - AVR article
Thank you for the articles. Been having trouble getting into Atmel Studio. You paved the way: set for Release and Start without Debugging. I never would have thought about using that last command. Bought an AVRISPmkII from Atmel but didn’t pay attention to the shipping costs so I really did pay, alm...