Show Posts
Pages: [1] 2 3 ... 22
1  Using Arduino / Programming Questions / Re: ENCODER_OPTIMIZE_INTERRUPTS Problem with Encoder library with 4X counting on: October 21, 2013, 03:27:32 pm
Is there any reason why this fix wouldn't work in 1.5.4? I haven't tried in 1.0.5 yet but changing to public didn't work for me. Same vector errors.

Tried both Uno and Mega ...

I got my other problem fixed for the Due and it does work on the Due without changing it to public, still using private. Strange.

The other problem was can't use variable name index for Due.
2  Using Arduino / Installation & Troubleshooting / Re: Viewing the Arduino IDE with Remote Desktop on: October 18, 2013, 01:33:13 pm
I am having the same issue. I was really looking forward to pushing code remotely.
3  Using Arduino / Microcontrollers / Re: Custom Atmega328p for TinyISP on: October 10, 2013, 09:01:53 pm
Wow! It works! So the 0.1uf in series is required for serial programming. Now that it works I should look at the scope but it will probably be the same I should of hooked up the scope to the other side of the cap. So out of this I learned that the 0.1 uf is required and this is happens when you are doing this at 11pm and are in a hurry and looking in all the wrong places. smiley-wink

I cut the trace and soldered a wire from ISP pin 5 to the other side of the cap and it works

I couldn't of figured it out with out you.

PM me your address and I will send you one when I get the final design.

So can you explain to me what the cap does in series other than filter?
4  Using Arduino / Microcontrollers / Re: Custom Atmega328p for TinyISP on: October 10, 2013, 08:40:57 pm
I updated the schmatic back the the original one that matches the board with the .1 in series. I should of post that first.

I tried doing ISP and it won't work with the .1 so I must have it in the wrong spot. It looks like I need to move it so that the ISP is on the other side of it.
5  Using Arduino / Microcontrollers / Re: Custom Atmega328p for TinyISP on: October 10, 2013, 08:31:29 pm
I soldered up a partial one, with just the Atmega328p\socket 16mhz resonator and .1uf in series and it works lol

Going to try ISP and slowy solder the rest as I test each part. Strange
6  Using Arduino / Microcontrollers / Re: Custom Atmega328p for TinyISP on: October 10, 2013, 08:00:28 pm
Well right now Reset is asserted without it during programming. But with it I couldn't do ISP. The first version of this PCB didn't have the reset pullup or .1uf in series. But I went back and tried that board and I couldn't serial flash either.

It has a nice 5v and 16mhz resonator. I have a ground plane on the top and bottom.

7  Using Arduino / Microcontrollers / Re: Custom Atmega328p for TinyISP on: October 10, 2013, 07:48:06 pm
Yeah, this has got me stumped. I am going to have to move forward without the bootloader. In the end its not needed but still bothers me that it doesn't work. There is got to be something cause this. Flashing the bootloader sets the fuses so can't be a IC settings.
8  Using Arduino / Microcontrollers / Re: Custom Atmega328p for TinyISP on: October 10, 2013, 07:32:51 pm
That didn't help.

What I did observe is that it is for sure in Reset. I took the IC out programmed the bootloader and blink sketch for pin 9 in my case. Then put it back and tried to serial upload and its stops blinking till I get the error.

So strange. So must a have to do with TX\RX?

They can't be backwards since I can see the monitor when I use TinyISP.
9  Using Arduino / Microcontrollers / Re: Custom Atmega328p for TinyISP on: October 10, 2013, 02:53:49 pm
Originally I did have the .1uf in series but I couldn't even program it over ISP till I removed it. I did have it closer to the ISP header than the DTR\RTS header.

I could try the resistor on the TX line when I get home. Its just strange since my other design works fine, only difference it is a TQFP ATmega328p.



10  Using Arduino / Microcontrollers / Re: Custom Atmega328p for TinyISP on: October 10, 2013, 07:58:16 am
Reset on PB2 Slave Select 328P ?


that is for programming the attinys

11  Using Arduino / Microcontrollers / Re: Custom Atmega328p for TinyISP on: October 10, 2013, 07:54:27 am
I can't read that, sorry. It's too blurred.

right click image view in tab
12  Using Arduino / Microcontrollers / Custom Atmega328p for TinyISP on: October 10, 2013, 02:30:12 am
Hi,

I have been working on this design for TinyISP programmer. Everything except for bootloader programming works. I can program via ISP, and serial com over a FTDI work. I can also program an ATtiny if one is attached.

The problem when doing programming over FTDI and the bootloader is, it acts like it isn't even there. I get the famous stk500_getsync() resp0x00 error.

Can someone take a look at the schematic and see if I missed something? I have been over 100 times and I can't see any problems. I have tried 3 Atmega328p and I know they work as I can put them in an UNO and they work fine, ISP and serial programming.

Another pair of eyes would be great. I have looked over the PCB and I can't see any errors from the FAB on it either. Originally I had a cap on the DTR line but for some reason that didn't work at all. So I removed it and shorted the line. I noticed on the oscope that reset is held low all the way through programming with my FTDI cable but programming an Arduino UNO its only held down for the beginning. But I can program other boards with the cable. So I guess either way is valid serial programming.

Maybe I should solder up a 2nd one to make sure it isn't the PCB.

Thanks for the help.

13  Topics / Interactive Art / Re: Something I did with my arduino, Light painting on: October 09, 2013, 01:56:34 am
Cool, do you have the code posted somewhere?

I could use it this weekend camping. Trying to find something I can adapt to work with these LED Matrix Links.
https://www.tindie.com/products/FriedCircuits/led-matrix-link

14  Using Arduino / Microcontrollers / Re: Attiny2313A with Tiny core and TinyDebugSerial on: August 21, 2013, 12:08:50 am
Thanks for all the help! realize any of the Tiny's are to small for the TinyISP sketch, I have some other ideas. smiley-wink
15  Using Arduino / Microcontrollers / Re: Attiny2313A with Tiny core and KnockBang on: August 20, 2013, 09:23:56 pm
Hmm, now I am trying to get the TinyISP\KnockBang working.

I have most of it working, I can programing the Attiny2313A with the TinyISP via the Atmega328p. I have a LED blinking so it is working. But outputing text using the Knockbang isn't working at all.

The connections have to be right since everything else is working. Am I missing something?

I am just using the same serial port as programming right? I have a FTDI connected to the Atmega328p


FTDI > Atmega328p(TinyISP) > SPI < Attiny2313A


Edit: The #define RELAY_KNOCK_BANG_ENABLED  1 is set as well.


EDIT: It works! You have to send "!" to enable monitor.
Pages: [1] 2 3 ... 22