Show Posts
Pages: 1 ... 6 7 [8] 9 10 ... 14
106  Using Arduino / Microcontrollers / Re: Atmega328P and FTDI communication breakdown on: March 25, 2013, 01:47:45 pm
The chip was powered but it was confused with my +3.3V on one side as VCC and +5V from the USB was on the other.

Figure 6.4 illustrates a USB bus power application with selectable external logic supply. The external logic
can be selected between +3.3V and +5V using the jumper switch. This jumper is used to allow the
FT232R to be interfaced with a +3.3V or +5V logic devices. The VCCIO pin is either supplied with +5V
from the USB bus (jumper pins1 and 2 connected), or from the +3.3V output from the FT232R 3V3OUT
pin (jumper pins 2 and 3 connected). The supply to VCCIO is also used to supply external logic.
107  Using Arduino / Microcontrollers / Re: Atmega328P and FTDI communication breakdown on: March 25, 2013, 01:16:18 pm
Just went through the FTDI data sheet again. It looks like connecting FT232RQ pin 16 (3V3OUT) to VCC (3.3V) works.
108  Using Arduino / Microcontrollers / Re: Atmega328P and FTDI communication breakdown on: March 25, 2013, 12:29:54 pm
Schematic attached
109  Using Arduino / Microcontrollers / Re: Atmega328P and FTDI communication breakdown on: March 25, 2013, 12:23:16 pm
I just emailed you a larger schematic since I cannot figure out a way to attach pdf files to a post. I believe pin 4 is an ID or drain pin. I've always connected it to ground but maybe its not supposed to be. I'll check it out now.
110  Using Arduino / Microcontrollers / Atmega328P and FTDI communication breakdown on: March 25, 2013, 12:12:04 pm
I'm pretty much stuck at a problem with no hope in sight. I'm trying to communicate to an Atmega328P through an FTDI chip. It only works when VCC is brought up from 3.3V to 5.0v by shorting VUSB to VCC. When I remove the short and VCC drops back down to 3.3V I cannot get the Arduino IDE to get code into the 328P. I have tried putting an UNO bootloader in the 328P but only the Diecimila one works. Since the board has an at 8Mhz resonator I might put a Pro/ Pro mini (3.3V, 8Mhz) bootloader in next to see if that works.





111  Using Arduino / Programming Questions / Broken Menu example on: March 17, 2013, 06:12:50 pm
I was wondering why the Menu example is broken for 1.0.3 at http://playground.arduino.cc/Code/Menu? I have installed the library accoring to the instructions and restarted the program. When I verify the code I get the following errors:


In file included from SerialMenu.pde:1:
/Applications/Arduino.app/Contents/Resources/Java/libraries/Menu/Menu.h:33:22: error: WProgram.h: No such file or directory
In file included from /Applications/Arduino.app/Contents/Resources/Java/libraries/Menu/Menu.h:34,
                 from SerialMenu.pde:1:
/Applications/Arduino.app/Contents/Resources/Java/libraries/Menu/interfaces/MenuInterface.h:41: error: 'byte' has not been declared
/Applications/Arduino.app/Contents/Resources/Java/libraries/Menu/interfaces/MenuInterface.h:47: error: 'byte' has not been declared
In file included from /Applications/Arduino.app/Contents/Resources/Java/libraries/Menu/SubMenu.h:35,
                 from /Applications/Arduino.app/Contents/Resources/Java/libraries/Menu/MenuItem.h:35,
                 from /Applications/Arduino.app/Contents/Resources/Java/libraries/Menu/Menu.h:36,
                 from SerialMenu.pde:1:
/Applications/Arduino.app/Contents/Resources/Java/libraries/Menu/interfaces/SubMenuInterface.h:43: error: 'byte' has not been declared
/Applications/Arduino.app/Contents/Resources/Java/libraries/Menu/interfaces/SubMenuInterface.h:48: error: 'byte' has not been declared
In file included from /Applications/Arduino.app/Contents/Resources/Java/libraries/Menu/MenuItem.h:35,
                 from /Applications/Arduino.app/Contents/Resources/Java/libraries/Menu/Menu.h:36,
                 from SerialMenu.pde:1:
/Applications/Arduino.app/Contents/Resources/Java/libraries/Menu/SubMenu.h:46: error: 'byte' has not been declared
/Applications/Arduino.app/Contents/Resources/Java/libraries/Menu/SubMenu.h:51: error: 'byte' has not been declared
/Applications/Arduino.app/Contents/Resources/Java/libraries/Menu/SubMenu.h:53: error: 'byte' does not name a type
/Applications/Arduino.app/Contents/Resources/Java/libraries/Menu/SubMenu.h:54: error: 'byte' does not name a type
/Applications/Arduino.app/Contents/Resources/Java/libraries/Menu/SubMenu.h:55: error: 'byte' does not name a type
In file included from SerialMenu.pde:1:
/Applications/Arduino.app/Contents/Resources/Java/libraries/Menu/Menu.h:51: error: 'byte' has not been declared
/Applications/Arduino.app/Contents/Resources/Java/libraries/Menu/Menu.h:59: error: 'byte' has not been declared
/Applications/Arduino.app/Contents/Resources/Java/libraries/Menu/Menu.h:62: error: 'byte' does not name a type
/Applications/Arduino.app/Contents/Resources/Java/libraries/Menu/Menu.h:63: error: 'byte' does not name a type
/Applications/Arduino.app/Contents/Resources/Java/libraries/Menu/Menu.h:64: error: 'byte' does not name a type
112  Topics / Product Design / Re: 3d Arduino's models on: March 05, 2013, 02:58:51 pm
For component models I always check out http://www.3dcontentcentral.com

Mike
113  Topics / Product Design / Re: 3d Arduino's models on: March 05, 2013, 01:02:08 pm
You may have luck finding 3d models of particular components like the accelerometer but probably not the larger assemblies like the mini.
114  Using Arduino / Programming Questions / Re: accelerometer 180 degree rotated on: March 01, 2013, 10:05:30 am
Multiplying by -1 was the first thing I tried and works fine. Thanks to all who replied.

Mike
115  Using Arduino / Programming Questions / accelerometer 180 degree rotated on: February 28, 2013, 03:11:15 pm
I have a graphics display and accelerometer connected to my arduino that shows a ball the middle of the screen when level. When on a angle the ball moves to the right when it should lean towards the left. An easy fix would be to rotate the accelerometer 180 degrees but I was wondering if it can somehow be done in code. At 0 the ball is in the middle, -10 is to right when it should be on the left and 10 is to the left when it should be on the right. Somehow all the negative numbers have to be positive and the positive have to be negative.

Right now this is what I have.

Code:
  float tempAccel = readAccel();           
  int abc=acc_data[0];
  display.print((float) abc, 0 );
116  Using Arduino / Microcontrollers / Re: Leonardo bootloader USBtinyISP problem on: February 28, 2013, 03:01:46 pm
It turns out the reset line has a 10K pullup resistor but no capacitor to ground. That explains why it occasionally worked.

Mike
117  Using Arduino / Microcontrollers / Leonardo bootloader USBtinyISP problem on: February 28, 2013, 08:36:55 am
I have a few small designs layout out using the Atmega32u4 microprocessor that have the Leonardo bootloader installed using the USBtinyISP and the Arduino 1.0.3 IDE. I just choose the Leonardo and the board, USBtinyISP and clicked burn bootloader. The board usually runs the code fine on power up but occasionally will not. Every now and then I have to put in a new bootloader for it to work properly again. This has happened on two different pieces of hardware. Has anyone else had this problem?
118  Community / Products and Services / Re: PCB online service - best price - fast delivery - NO TOOL cost on: February 25, 2013, 03:17:15 pm
Maybe I missed something but I entered in as a test a 1.5" X 2" standard default settings and two pieces that came out to cost $123.00 US dollars. Thats crazy expensive. The same board at OSH Park costs $12.00

miker
119  Topics / Product Design / Re: Moving from the uno to programming AVRs. Please recommend on: February 20, 2013, 04:03:45 pm
I'm did exactly that and made a little tutorial up along the way to help others. It was actually easier then what I was expecting. That never happens: https://sites.google.com/site/0miker0/Designing-your-custom-Arduino-Board
120  Using Arduino / General Electronics / Re: Switching power sounds noisy on: January 09, 2013, 11:00:40 am
I used ceramic caps and just used whatever temperature type I could find since it will always be in a room temperature environment. Most likely X7R type. Nice. Thats something I never though of. I'll check that out as well.
Pages: 1 ... 6 7 [8] 9 10 ... 14