Show Posts
Pages: 1 ... 12 13 [14] 15 16 ... 30
196  Products / Arduino Due / Re: Memory usage statistics on: February 13, 2013, 10:41:23 am
AVR function:

Code:
// Returns the number of bytes currently free in RAM
static int freeRAM(void)
{
 extern int  __bss_end;
 extern int* __brkval;
 int free_memory;
 if (reinterpret_cast<int>(__brkval) == 0) {
   free_memory = reinterpret_cast<int>(&free_memory) - reinterpret_cast<int>(&__bss_end);
 } else  {
   free_memory = reinterpret_cast<int>(&free_memory) - reinterpret_cast<int>(__brkval);
 }
 return free_memory;
}
197  Products / Arduino Due / Re: Connecting an Ethernet PHY to Arduino Due on: February 12, 2013, 04:30:02 am
I have the Taijuino board with it's extra header here.  What difference is there in using this "PHY module" over using one of the already available modules that don't rely on the built it interface?  Speed? Cost? ??
198  Products / Arduino Due / Re: Memory usage statistics on: February 11, 2013, 06:01:25 pm
I would find this useful too.
199  Products / Arduino Due / Re: Arduino Due libraries (official and 3rd party) on: February 11, 2013, 06:02:17 am
UTFT library thread:

http://arduino.cc/forum/index.php/topic,144198.0.html


SDfat library thread:

http://arduino.cc/forum/index.php/topic,135439.0.html


OneWire library thread:

http://arduino.cc/forum/index.php/topic,141030.0.html


AdaFruit RTC library thread:

http://arduino.cc/forum/index.php/topic,143515.0.html
200  Products / Arduino Due / Re: New UTFT Libray with Arduino ARM spport on: February 11, 2013, 05:55:38 am
The data pins are routed to PC1-8 (lower 8 bit) and PC12-19 (higher 8 bit), so you probably need to shift your lower 8 bit to the right<<1, and higher 8 bit to the right <<12, and then you can strobe the WR pin. So you will need 3 arduino command for one WR strobe.
Like this:
                REG_PIOC_CODR=0xFF1FE;
      REG_PIOC_SODR=(VL<<1) & 0x1FE;
      REG_PIOC_SODR=(VH<<12) & 0xFF000;
      pulse_WR();

For the 4 command pins, they are routed to PD1-4. This should be straight forward.
This is possible because the creator of DUE has made perfect routing of these lines to the 2x20 header.

SD Card will be directly connected to the SPI interface on the 6pin header in the center of the DUE board(DUE only has SPI access on this 6pin header).

Schematic is http://coldtears.lin3.siteonlinetest.com/files/CTE_DUE_shield.zip  smiley-evil


This is very useful thanks.

Do you have a key to the values of the other components on the board?
201  Using Arduino / Microcontrollers / Re: How to get to configuration files on a Mac on: January 29, 2013, 06:26:45 pm
/Applications/Arduino/Contents/Resources/Java/hardware/arduino/


Wouldn't that be:  /Applications/Arduino.app/Contents/Resources/Java/hardware/arduino/    ?
202  Products / Arduino Due / The 5v/3.3v issue on: January 28, 2013, 04:32:31 pm
I've placed on order for a TAIJIUINO Due Pro Board with Programmer & 7" inch TFT LCD module 800x480 SSD1963 w/touchpad off ebay and I'm waiting for them to arrive.  I'm looking at using them at the centre of a musical equipment control centre.  The LCD runs at 3.3v as does the Due board.

What are people doing in relation to the voltage difference in circuits?  Obviously if it's a straight output a resistor and transistor can up the signal to the 5v level and there are several ways of dropping a 5v to 3.3v but what is the considered best practice? What is the best method for INPUT, OUTPUT and IN/OUTPUT?  Looking at what I'm doing with MEGAs at the moment most of the circuits can be simply adjusted with alternative value components but some can't....  What are people doing with analogue inputs?
203  Products / Arduino Due / Re: Connecting an Ethernet PHY to Arduino Due on: January 26, 2013, 04:51:23 pm
Can anybody post a picture showing the Eth terminal? Thanks.



204  Using Arduino / Microcontrollers / Re: Difference between ATMEGA32U4RC-AU & ATMEGA32U4-AU (Leonardo) on: January 25, 2013, 04:40:49 pm
That was the plan yes.
205  Using Arduino / Microcontrollers / Re: Difference between ATMEGA32U4RC-AU & ATMEGA32U4-AU (Leonardo) on: January 25, 2013, 04:11:57 pm
Cheers....  So which one do I need to build my own Leonardo boards running at 16MHz?

Many thanks..
206  Using Arduino / Microcontrollers / Difference between ATMEGA32U4RC-AU & ATMEGA32U4-AU (Leonardo) on: January 25, 2013, 03:48:19 pm
Just gone to order some ATMEGA32U4 ICs from RS to make my own boards up but they have both ATMEGA32U4RC-AU & ATMEGA32U4-AU with the NON "RC" variant costing £3.66 in 10s or the "RC" ones at £3.98

When I go into the RC variant's page and click for the data sheet it brings up the same one !

So is there any difference and do I need to get a specific one?

I'm looking at messing with them to create a MIDI device and a Keyboard emulator etc to the USB is the important bit.
207  Using Arduino / General Electronics / Re: is there a better way to drop my voltage on: January 25, 2013, 03:05:32 pm
Simple opto-isolator with voltage divider giving the correct entry voltage and if required current limiting resistor then take 5v from the arduino into one side of the output and the other side will be your 5v to go to the input pin of the arduino with no worries about over voltage or current. smiley-grin
208  Using Arduino / General Electronics / Re: Audio switching on: January 25, 2013, 03:00:52 pm
Its going to be 4 channels to 8 outputs in total. 

My next challenge is a pot for levels that can be adjusted by hand or the arduino can adjust it..... So basically a voltage controlled pot........
209  Using Arduino / General Electronics / Re: Audio switching on: January 25, 2013, 12:59:17 pm
Oh yes, DIPs smiley-grin  I had totally forgotten about them.  I have a few in my parts collection, could well be the answer!

I hadn't realised that we have an AUDIO section so posted this in the wrong one....  If a mod sees this can they please move it, I can't report my own posts smiley-grin
210  Using Arduino / General Electronics / Re: Audio switching on: January 25, 2013, 12:47:35 pm
Input A only goes to B and/or C OR none
Input B only goes to D and/or E OR none
Input C only goes to F and/or G OR none....

Each line could be handled by 2 relays but solid state relays are not cheap and mechanical ones are expensive so looking for electronic suggestion really....
Pages: 1 ... 12 13 [14] 15 16 ... 30