Show Posts
Pages: [1] 2 3
1  Using Arduino / Programming Questions / Re: Modifying ArduinoISP to perform action based on target microcontroller? on: November 12, 2013, 02:13:10 pm
Thanks Peter, looks like I'll be able to get the device code or device signature fairly easily and work with that.

I noticed that the doc you posted only has the device codes / signatures for some of atmel's chips, do you happen to know where I might find a similar doc with more of them? (aside from the individual datasheets of the microcontrollers, it'd just be nice if there was one doc that has a list of them like that one does)
2  Using Arduino / Programming Questions / Re: Modifying ArduinoISP to perform action based on target microcontroller? on: November 12, 2013, 08:34:32 am
Do you mean which Arduino board the uploading sketch is intended for, or which type of Arduino is physically attached?

Which microcontroller the uploading sketch is intended for.
3  Using Arduino / Programming Questions / Modifying ArduinoISP to perform action based on target microcontroller? on: November 11, 2013, 09:46:08 pm
I'm wondering if this is possible. Basically I have an Arduino with the ArduinoISP sketch loaded on it and I want to light up different LEDs connected to the Arduino based on the microcontroller I'm programming. So for example, light up one LED when programming an ATtiny85, another for an ATtiny84, etc.
4  Using Arduino / Microcontrollers / Re: Board definitions for ATmega32u4 using internal 8MHz clock? on: October 16, 2013, 03:40:58 pm
1. Don't expect the USB interface to work if you are using the internal oscillator. The USB interface needs an accurate clock.

Yeah, I read some discussion about that but there wasn't a solid conclusion as to whether or not the internal clock would be accurate enough for USB (the datasheet does mention "Crystal-less operation for Low Speed mode"). I'd still like to know for sure.

5  Using Arduino / Microcontrollers / Board definitions for ATmega32u4 using internal 8MHz clock? on: October 15, 2013, 06:32:38 pm
I'm just wondering if there are any board definitions already out there for an ATmega32u4 running at 8MHz with the internal oscillator. I have some bare ATmega32u4 microcontrollers and I want to run them at 8MHz so I don't have to use an external crystal or resonator.

I thought that the Lilypad USB used the internal oscillator but it turns out it uses an 8MHz external one.
6  Using Arduino / Microcontrollers / Re: Very Small Arduino with 2.4Ghz wireless transceiver and motor bridge - DelTino on: June 28, 2013, 11:10:43 pm
Well damn, you learn something new every day. smiley-grin
7  Using Arduino / Microcontrollers / Re: Very Small Arduino with 2.4Ghz wireless and motor bridge - DelTino on: June 27, 2013, 10:34:48 pm
NOTE that the Atmega328 on the Rx6x board works at 3v so can't be connected directly to Uno output signals.
ATmega328s have 5V tolerant pins.
8  Using Arduino / Microcontrollers / Re: attiny 85, any pointers?/ on: April 07, 2013, 05:13:50 pm
someone could run the library with ATTINY44?

Ship me an ATTINY44 and I'll do it for you smiley
Otherwise, just take a look at the SPI85 class and change the pins. You'll need to find which are the correct pins for MOSI, MISO, SCK, etc.. for the ATTINY44 and put them there. Good luck!

Funny enough I've done this with an 84 and for some reason, haven't had any luck.
9  Using Arduino / General Electronics / Re: Multiple transistors from one pin? on: January 04, 2013, 10:07:41 pm
You do realize that the transistors will propbably invert the signal it passes on to the zif? They will not be a simple/make break between the arduino pins and the zif pins. But without seeing what is going to be plugged into the zif it's difficult to suggest a way to do what you may be trying to do?

But yes you can drive multiple base resistors from a single output pin.

Lefty
I do not realize that.

What I'm trying to do is see if it's possible to replace the DIP switches on my ATtiny/ATmega programmer shield. The way it works now is you load the ArduinoISP sketch to the Arduino, plug the shield in, and then there are different 3 banks of 6 DIP switches (and some jumpers) that you flip based on the microcontroller you want to program. The reason for the switches is because the GND, VCC, and SPI pins on each type of microcontroller are different.

Ideally I'd like just one switch, so I figured the best way to do this would be with transistors. I tested a bit using the transistors between some of the SPI pins and they seemed to pass the signal through just fine, but I haven't tried with all of them at once.
10  Using Arduino / General Electronics / Multiple transistors from one pin? on: January 04, 2013, 08:25:52 pm
I was just wondering if it's possible to drive multiple transistors using one Arduino pin. Here's an example of my current setup:



You can see, I'm using the transistors to make/break the connections between the Arduino and the ZIF socket. Ideally I'd love to just use one pin to switch anywhere from 2-7 transistors. Is that possible?

I figured that this would be possible with a shift register like a 74HC595, but if I can make my circuit simpler, that'd be best.
11  Using Arduino / Microcontrollers / Re: attiny 85, any pointers?/ on: December 19, 2012, 02:30:10 pm
It works well on the 85? I think I'll go ahead and get some of those, then. I assume I'll have to change the pin assignments in the library? From PORTA to PORTB, that is.

Keep in mind that you'll only have one digital pin left on the ATtiny85 if you do this. That pin is actually the RESET pin, so you need to set a special fuse on the microcontroller, and afterwards you'd have to use a high voltage programmer to program it. See this thread for more details.

It's really best to just try and get it working on an ATtiny84.
12  Using Arduino / Microcontrollers / Re: attiny 85, any pointers?/ on: December 18, 2012, 12:33:03 am
I'm also having an issue getting this working on an ATtiny84. I've had success with the ATtiny85 however. Perhaps there's an error in the library?

Edit: Oh, and of course thanks winner10920 for your code.
13  Using Arduino / Microcontrollers / Re: attiny 85, any pointers?/ on: December 11, 2012, 10:29:01 pm
No problem. Could I bother you for the receiver code as well?
14  Using Arduino / Microcontrollers / Re: Leonardo as ISP for ATtiny85 on: December 11, 2012, 03:59:18 pm
The instructions you're following are for an Arduino Uno, not the Leonardo. On the Leonardo, the SCK, MISO, MOSI, and SS pins were remapped, and are no longer on pins D13-D10. You'll have to use the ICSP pins instead.

Try this tutorial:

http://petervanhoyweghen.wordpress.com/2012/09/16/arduinoisp-on-the-leonardo/

I can't tell you if it works or not, I haven't gotten my hands on a Leonardo yet (hell, I might just pick one up tonight for the sake of it). Also, you should use the cores from the Arduino-Tiny project instead of the ones in that first tutorial: http://code.google.com/p/arduino-tiny/
15  Using Arduino / Microcontrollers / Re: attiny 85, any pointers?/ on: December 11, 2012, 03:55:19 pm
Thanks, can't wait to get this working.
Pages: [1] 2 3