Show Posts
Pages: [1]
1  Using Arduino / Programming Questions / Re: IR Code on Attiny gives error on: January 03, 2014, 06:47:02 pm
is there a porting of the Ir Remote for ATtiny85?
I need to decode commands with encoding rc5.

Take a look at ubiyubix's post which is about 4 posts up.
2  Forum 2005-2010 (read only) / Syntax & Programs / Re: Problem with Binary Array to Integer conversion on: February 14, 2009, 02:51:51 am
Were you expecting the results below? :
My guess is that the storage class for some of your variables are too small. And the array of booleans, try to make array of integers. Or is there something specific you are trying to do with the bit array?

0   3
0   2
2   1
3   0

0   17
0   16
32768   15
49152   14
49152   13
53248   12
55296   11
55296   10
55808   9
56064   8
56064   7
56128   6
56160   5
56176   4
56176   3
56176   2
56176   1
56177   0
3  Forum 2005-2010 (read only) / Syntax & Programs / Function parameter types in API Reference guide on: February 14, 2009, 03:01:02 am
Why doesn't the API/C reference guide show parameter types within method/fucntion signatures? It just shows the name of the parameter,  I mean how hard is it to place the expected corresponding type? Or is guessing part of the development fun?

unsigned int
unsigned long

4  Forum 2005-2010 (read only) / Development / Re: Notes on Windows, avrdude, libusb, WinAVR, and AVR on: March 12, 2009, 12:17:59 am
um, how about having a nice summary as to the main goal that these notes reflect? I agree its much more fun to try to guess and or assume what the notes try to accomplish, boy so fun indeed. smiley
5  Forum 2005-2010 (read only) / Interfacing / Re: Nokia 6100 LCD Display - Arduino Playground on: May 15, 2009, 12:04:00 am
I can post my HEX file here and you can upload it to your arduino to see if its code or set up. Please note that I used the Phillips driver code using this pin setup:

#define CS 2
#define CLK 5
#define SDA 3
#define RESET 4

Hex File:

Based off of the work of Thomas Pfeifer at:
6  Forum 2005-2010 (read only) / Interfacing / Re: Reuse USB port on Arduino for other tasks on: February 20, 2009, 01:09:45 am

Thanks man.

I see the error in my thinking, I was assuming the TFDI was a bonafide USB client type chip. But it's not and that's why I see the Arduino under the COM ports in device manager. Nice!

Your explainations are crystal clear. Something tells me that you are a professor.

Just one question, if I may. What chip could I use if I wanted to implement a full fledged USB device, HID class or the like? I was using a Flash Drive as an example and the link you provided is very useful for that type of USB device class.

I assume one of these will fit the bill:
-AT90USB82: 8KB Flash
-AT90USB162: 16KB Flash
-ATmega32U4: 32KB
-AT90USB646: 64KB Flash
-AT90USB1286: 128KB Flash

Thanks again,
7  Forum 2005-2010 (read only) / Interfacing / Re: Reuse USB port on Arduino for other tasks on: February 19, 2009, 09:59:18 pm
Ok, I think we are missing each other on this one. I thinks its abvious that I am not an expert on this hardward. Also, I have read up on the links including in this thread.

Something stated in this post is not making sense to me. I 100% conceed that the "EXISTING" USB and FTDI chip can NOT be used for other than programming the Arduino; what's more the Arduino can NOT be used a FAT16 Flash Drive. Ok with that said.

Why can't one connect the TX/RX pins on the Arduino (we are talking about pins 0 and 1 mind you) to a TOTALLY OFF BOARD FTDI? Such as this little guy .

Sorry for beating a dead horse, but when something doesn't seem right to me, there is nothing I want to do more than to take it to the end.... and if this projects get off the ground, I'll make a BOMB and that's when things start to get really interesting... (for those that take it the wrong way Battery Operated Message Board).. you can put the phone down and or cancel the email to Homeland Securlty.

Special thanks too all those who have taken the time and had enough patients to respond and explain the details. I know how difficult it can be, cause I often talk to myself and it frustrates me like crazy.

8  Forum 2005-2010 (read only) / Interfacing / Re: Reuse USB port on Arduino for other tasks on: February 19, 2009, 03:08:29 pm
Got it. Thank you for confirming my misunderstanding.  Seems like a waste of a UART if one can't program against it.

9  Forum 2005-2010 (read only) / Interfacing / Re: Reuse USB port on Arduino for other tasks on: February 19, 2009, 02:30:31 pm

Just to confirm what I stated, I would think that one could do the following:

1) [USB-Arduino].UART.Pins <=> FTDI.UART.Pins (new chip, not Arduino's)

2) FTDI.USB.Pins <=> USB_Conector.Pins <=> PC (new USB connector, not Arduino's)

3) USB_Conector <=> PC

With this configuration, the EEPROM on the Arduino could be used as a Flash Drive?

The confusion comes in when you stated that 'No, that's the part you already have', when I stated to add a new FTDI chip. I also thought that the Arduino's URATS are not being used for programming but rather the special program pins were.

Where am I missing it? Does the USB of the Arduino connect to the UART of the chip?

10  Forum 2005-2010 (read only) / Interfacing / Re: Reuse USB port on Arduino for other tasks on: February 18, 2009, 09:03:00 pm
Thanks PWillard. Your input is greatly appreciated.

So if I wanted to use the Arduino board as USB device, I would need to add an external USB FTDI <=> [UART] device/componenet which will connect to the Arduino Transmit and Receive pins?

Is that correct?

11  Forum 2005-2010 (read only) / Interfacing / Reuse USB port on Arduino for other tasks on: February 18, 2009, 08:16:10 pm
Hi there,

I am sure this question was asked before, but spending a considerable amout of time, I was unable to find an answer.

Can one use the existing USB port on the Arduino for USB communcitions with a USB host, For example converting an arduino to be used as a USB flash disk? In this case the USB port would be accepting/expecting read/write commands for a FAT16 device and not for programming control signals from the IDE.

If so, how can one reprogram the Arduino, as the USB port would be programmed to communicate with a USB host for a specific task. Would the IDE build command put the arduino in a mode that it accepts HEX code to be reprogrammed?

12  Forum 2005-2010 (read only) / Interfacing / Re: Can an Arduino be used to program an external AVR? on: February 18, 2009, 09:09:50 pm
Thanks PWillard!

Much appreciate the input and linked resoureces.

usbtinyisp seems to be the best bet.

13  Forum 2005-2010 (read only) / Interfacing / Can an Arduino be used to program an external AVR? on: February 18, 2009, 05:33:33 pm

Can I use an USB Arduino to program an off-board ARV? That is, I'd like to send code to the Arduino and via some crafty wiring (using jumpers?) reroute the programing to an off-board (proto-board) that has an AVR chip on it to be programmed?

I know I can swap out the existing chip, but I am looking for a hardware reuse feature from the Arduino.

14  Forum 2005-2010 (read only) / News / Re: Uploaded library for Philips Serial LCD (PCF8833) on: April 10, 2009, 12:51:46 am
Hey M,

Just wanted to thank you for taking the time to post a wonderful tutorial. I found it very useful. I wasn't able to get the sample code to work, but using Thomas Pfeifer's framework and your drawing routines, it work just perfect.

I had trouble using your code in AVR Studio, but Thomas' helped in that respect.

Anyway, just didn't want your efforts to go un-noticed.

Thanks again,
Pages: [1]