Show Posts
Pages: [1] 2 3 ... 22
1  Using Arduino / Motors, Mechanics, and Power / Re: 4WD Motor/Controller Help on: June 13, 2014, 10:12:14 am
Hi, i boght same motor driver for use with arduino uno and can't control him. Can you say that library you using? How you changing speed of motors?May be you have any sample code.

I wrote a library to use with the motor controller. You can find it on Github. Just download and rename folder then copy to your Arduino Library folder.

The example will show up in the menu under examples.

https://github.com/FriedCircuits/Dagu4Motor-Library

Let me know if that works for you or if you have questions.
2  Using Arduino / Storage / SdFat Library + U8glib + m2tklib on: May 05, 2014, 08:39:27 pm
Hi,

I am working on this menu system and part of it involves a SD Card file manager but filtered to manage only the log files created by the device. I wanted to see if anyone has had issues with SdFat not refreshing when files have been created\deleted. I am using a list box that shows the contents of the SD Card.

The menu is constantly being redrawn for each loop cycle. All code uses mills so it is constantly refreshing.

I have a lot of code and can't post it yet. I can try and pull just part of it. I just wanted to see if anyone else has seen this. I can't seem to find much on Google around this issue.

Thanks.
3  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.
4  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.
5  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?
6  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.
7  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
8  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.

9  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.
10  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.
11  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.



12  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

13  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
14  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.

15  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

Pages: [1] 2 3 ... 22