Show Posts
Pages: 1 2 [3] 4 5 6
31  Using Arduino / General Electronics / MOSFET Used with VNH5019? on: July 04, 2013, 01:57:36 pm
Hello,

I was wondering if someone would know what MOSFET is being used on this board?

http://www.pololu.com/catalog/product/1451/resources

I cant find it.

Thanks,
Daniel
32  Using Arduino / Microcontrollers / Re: Arduino Due on a Breadboard? on: June 22, 2013, 02:12:25 pm
Use this instead:
http://www.pjrc.com/store/teensy3.html
Teensyduino installs into the IDE to provide support for his teensy boards.

No messing with download cables or power supplies. Just uses a standard
USB cable and you program it over the USB cable.

--- bill

Not sure how this would help me out.  I want an ARM based MCU and this line doesnt seem to support so.  If only the DUE would have DIP package smiley-sad

Daniel
33  Using Arduino / Microcontrollers / Re: Arduino Due on a Breadboard? on: June 22, 2013, 02:06:39 pm
I was watching the video and see that at around 8:15 into the video the chap replaces the 16MHz crystal with a 20MHz crystal and states that the arduino exactly behaves the same with the 20MHz as with the 16MHz.

Does he mean it continues to run at 16MHz and therefore behaves the same or does he mean it's now running at 20MHz and behaving the same - the delay statements in his blink sketch delaying the same amount of time with the 20MHz as they previously delayed with the 16MHz?

Martin.


I am just as confused about it before.  If the delay is based on a prescale value and the timer, how does the blinking not get effected without a change in software?

Daniel
34  Using Arduino / Microcontrollers / Arduino Due on a Breadboard? on: June 21, 2013, 03:13:24 pm
Hello,

I am interested in doing the exact same thing as Derek Malloy did in his video.



I will be making a custom board using the SAM chip as my microcontroller, and I would like to use the Arduino IDE to compile onto the chip.  Since the Arduino Due is not a DIP package, and I am not able to just flash and take the chip out of the board, what are my options?

I essentially want to do sometihng like this (link below) with the Due, and not resort to ARMStudio or other ARM IDEs (i really enjoy Arduino IDE).

http://arduino.cc/en/Main/Standalone

Any suggestions?

Thanks, community.
Daniel
35  Products / Arduino Due / Re: DUE didn't die after months of 5V on: March 01, 2013, 11:35:45 am
Grumpy,

Okay, I definitely agree with you.  I guess I should redesign my shield to implement a voltage level translator for Channels A and Channels B for the encoders, perhaps in future designs - but it seems like the controller is doing just fine, after months of these pulses.

Ill let you know if something happens.

Daniel
36  Products / Arduino Due / Re: DUE didn't die after months of 5V on: February 27, 2013, 10:42:41 pm
Hello Grumpy_Mike,

I know it is a bit late to reply,

I spoke with a colleage of mine, and his experience with CMOS level micros and TTL level encoders came to a conclusion that as the pulses go by they do not draw enough current to cause any damage.  I appreciate your explanation and simple logic but I want to share with you that on the Arduino DUE site,

Quote
Input and Output
Digital I/O: pins from 0 to 53
Each of the 54 digital pins on the Due can be used as an input or output, using pinMode(), digitalWrite(), and digitalRead() functions. They operate at 3.3 volts. Each pin can provide (source) a current of 3 mA or 15 mA, depending on the pin, or receive (sink) a current of 6 mA or 9 mA, depending on the pin. They also have an internal pull-up resistor (disconnected by default) of 100 KOhm. In addition, some pins have specialized functions:

Usually pull-up resistors are 10K, so if that is the case, the 0.11mA current is insignificant to the 6-9mA sink.  What are your thoughts?  As it stands, my board still receives the 5V pulses and the control seems to be just fine.  My concern is what happens in the long run.

Daniel
37  Products / Arduino Due / L293D and DUE on: February 27, 2013, 10:33:32 pm
Hello Community,

I am having an issue determining if the L293D is safe to use with the Arduino DUE.  Unlike the UNO, the DUE is CMOS level DIO tolerance at 3.3V - which means I need to take into consideration the chips I use with the DUE and how much current is being drawn.

I bring this up because I see some drivers shields with a 3.3V - 5.0V voltage translater for the enable (PWM) and direction pins between the micro and the L29x. I am using a shield is originally suitable for the UNO, but I am running with my DUE.

The L293D data sheet says:
- logic HI is 2.3V - Vcc (check)
- high level input current 0.2 uA: DUE supports 3 - 15 mA current (check)

Is there anything else I need to make sure?  Also the shield is using a shift register but it seems to be compatible as well for the DUE.

Shield
http://yourduino.com/sunshop2/index.php?l=product_detail&p=292

PS: I have been running motors already for a couple of weeks now, and everything seems to be okay, I am a bad engineer for check so late...

Thanks,
Daniel
38  Using Arduino / Motors, Mechanics, and Power / Re: L293D Getting Really Hot, Really Fast on: February 27, 2013, 10:22:25 pm
Hello Community,

First off thank you all for your help.

I recently encountered a couple of issues which lead to me changing my design a little. I would extremely appreciate any comment on my build.

So using L293D I am limited to 0.6 A continuous current, as maximum of 16V motor voltage supply.  I decided to switch the motors, and before I purchase them I was wondering these motors (link below) will cause any same issue (over-heating).

Motor
http://www.pololu.com/catalog/product/1443

These motors run 300 mA free-run with a 5A stall current at 12V voltage supply.  My only issue with using these motors with this shield is the 5A stall current.  I don't think I will stall the motor (in regards to my application), especially with 110 oz-in torque.

BUT, 300mA free-run is still pretty close to 600mA supply.  I always went with a rule of thumb that my driver should at least be 4-5 times current provided over the motor free-run.

Would this driver and motor work nicely together? (I am planning on using 3 of them, if that means anything)

Daniel
39  Products / Arduino Due / Re: Changing PWM that are on Different Timers on: February 22, 2013, 03:48:08 pm
I found a solution, not the greatest and most efficient but it works.

If you are using other PWM pins that aren't 6, 7, 8 or 9 - and want to change the frequency, you can also change the TC timer in the variant.h file.

The SAM is fully customizable and we should be able to change each of the 9 (I believe) timers on the Arduino without changing a bundle of them.

Nevertheless, its solved smiley-grin

Daniel
40  Using Arduino / Motors, Mechanics, and Power / L293D Getting Really Hot, Really Fast on: February 22, 2013, 03:38:49 pm
Hello

I am using a DUE and using the following shield:

Shield
http://yourduino.com/sunshop2/index.php?l=product_detail&p=292

I am controlling a 24V motor.  Because the shield max is 16V, I am operating this motor at 16V.  It seems to be moving, and my current is not limiting at all.  Running both motors I am getting a maximum of 800mA draw from my power source but the driver is extremely hot!

Motor
http://www.faulhaber.com/uploadpk/EN_3863_C_DFF.pdf

For the link above, I am using the 024C version.  Also I configured the timers on the DUE to run the PWM at 36KHz, not sure if this is a useful peice of information.

I am slowly learning about drivers and motors and would like some help on why this is happening and what can I do to fix this?

Thanks,
Daniel

41  Products / Arduino Due / Changing PWM that are on Different Timers on: February 20, 2013, 04:06:49 pm
Hello,

I am trying to change the PWM frequency on some of the pins that are not on a PWM timer.

Looking at the variant.cpp file, (portion shown below)
Code:
  // 2
  { PIOB, PIO_PB25B_TIOA0,   ID_PIOB, PIO_PERIPH_B, PIO_DEFAULT, (PIN_ATTR_DIGITAL|PIN_ATTR_TIMER), NO_ADC, NO_ADC, NOT_ON_PWM,  TC0_CHA0     }, // TIOA0
  { PIOC, PIO_PC28B_TIOA7,   ID_PIOC, PIO_PERIPH_B, PIO_DEFAULT, (PIN_ATTR_DIGITAL|PIN_ATTR_TIMER), NO_ADC, NO_ADC, NOT_ON_PWM,  TC2_CHA7     }, // TIOA7
  { PIOC, PIO_PC26B_TIOB6,   ID_PIOC, PIO_PERIPH_B, PIO_DEFAULT, (PIN_ATTR_DIGITAL|PIN_ATTR_TIMER), NO_ADC, NO_ADC, NOT_ON_PWM,  TC2_CHB6     }, // TIOB6

  // 5
  { PIOC, PIO_PC25B_TIOA6,   ID_PIOC, PIO_PERIPH_B, PIO_DEFAULT, (PIN_ATTR_DIGITAL|PIN_ATTR_TIMER), NO_ADC, NO_ADC, NOT_ON_PWM,  TC2_CHA6     }, // TIOA6
  { PIOC, PIO_PC24B_PWML7,   ID_PIOC, PIO_PERIPH_B, PIO_DEFAULT, (PIN_ATTR_DIGITAL|PIN_ATTR_PWM),   NO_ADC, NO_ADC, PWM_CH7,     NOT_ON_TIMER }, // PWML7
  { PIOC, PIO_PC23B_PWML6,   ID_PIOC, PIO_PERIPH_B, PIO_DEFAULT, (PIN_ATTR_DIGITAL|PIN_ATTR_PWM),   NO_ADC, NO_ADC, PWM_CH6,     NOT_ON_TIMER }, // PWML6
  { PIOC, PIO_PC22B_PWML5,   ID_PIOC, PIO_PERIPH_B, PIO_DEFAULT, (PIN_ATTR_DIGITAL|PIN_ATTR_PWM),   NO_ADC, NO_ADC, PWM_CH5,     NOT_ON_TIMER }, // PWML5
  { PIOC, PIO_PC21B_PWML4,   ID_PIOC, PIO_PERIPH_B, PIO_DEFAULT, (PIN_ATTR_DIGITAL|PIN_ATTR_PWM),   NO_ADC, NO_ADC, PWM_CH4,     NOT_ON_TIMER }, // PWML4
  // 10
  { PIOC, PIO_PC29B_TIOB7,   ID_PIOC, PIO_PERIPH_B, PIO_DEFAULT, (PIN_ATTR_DIGITAL|PIN_ATTR_TIMER), NO_ADC, NO_ADC, NOT_ON_PWM,  TC2_CHB7     }, // TIOB7
  { PIOD, PIO_PD7B_TIOA8,    ID_PIOD, PIO_PERIPH_B, PIO_DEFAULT, (PIN_ATTR_DIGITAL|PIN_ATTR_TIMER), NO_ADC, NO_ADC, NOT_ON_PWM,  TC2_CHA8     }, // TIOA8
  { PIOD, PIO_PD8B_TIOB8,    ID_PIOD, PIO_PERIPH_B, PIO_DEFAULT, (PIN_ATTR_DIGITAL|PIN_ATTR_TIMER), NO_ADC, NO_ADC, NOT_ON_PWM,  TC2_CHB8     }, // TIOB8

Notice how only channels 6, 7, 8 and 9 have the tag "PWM_CH#".  From my understanding and observations, these pins are dynamic and you are able to change the PWM frequencies of these channels, using the follow portion in variant.h

Code:
/*
 * PWM
 */
#define PWM_INTERFACE PWM
#define PWM_INTERFACE_ID ID_PWM
#define PWM_FREQUENCY 33000
#define PWM_MAX_DUTY_CYCLE 255
#define PWM_MIN_DUTY_CYCLE 0
#define PWM_RESOLUTION 8

Notice that I changed the PWM frequency of the mentioned pins to 33K.

The problem is that this timer only effects channels 6, 7, 8 and 9. 

My concern is, how can I change the other pins?  I want to be able to change the PWM frequencies of channels 11, 3 and 5.  If anyone can help me out with this issue, it is much appreciated.

Thanks,
Daniel
42  Using Arduino / Networking, Protocols, and Devices / Does using ICSP for SPI free up D13, D12 and D11? on: January 25, 2013, 01:22:54 pm
Hello,

I want to use SPI my D11-D13 pins are being used, if I used ICSP and D10 for SS, will this be independent of D11-D13?

Thanks,
Daniel
43  Products / Arduino Due / DUE didn't die after months of 5V on: January 25, 2013, 12:49:39 pm
Hello,

For a couple of months now, I have been using the DUE to read rotary encoders powered at 5V.  The inputs from these encoders are 5V into my DIO. I have just realized this NOW!... It looks like my board is just fine, but it is interesting. 

What interests me is that it is still working just fine after reasoning upon thousands of pulses at 5V > is this a fluke? or can the board tolerate high frequency pulses at 5V?

Daniel

44  Using Arduino / Storage / SdFat seek() and position() functions? on: January 24, 2013, 01:26:25 pm
Hello

My project includes incoming data being processed and logged into an SD card, using the Arduino DUE.  Lets say I have a file.csv with entries looking like A,B,C,D (A,B are ints and C,D are floats).

FILE.CSV

A,B,C,D
A,B,C,D
A,B,C,D
A,B,C,D
A,B,C,D
A,B,C,D
...

Now after logging, I want to read the values of 'D' starting from the buttom going up towards the top of the file. 

I recieved advice regarding seek() and position() as it may help me to do exactly what to do, but <SD.h> is compiling issues with <SdFat.h>.  Because I want fast reads (50Hz), I do not want to use a while() to scroll down each time.  Seek() using pointers which is perfect for my application.

Are there seek() and position() functions in SdFat?
Any other suggestions?

Daniel
45  Using Arduino / Storage / Re: SdFat.h incompatible with SD.h? on: January 24, 2013, 01:16:42 pm
I am having this error as well.  Is there any new versions that make <SdFat.h> (Arduino DUE ver.) compatible with <SD.h>?

Daniel
Pages: 1 2 [3] 4 5 6