Show Posts
Pages: 1 [2]
16  Products / Arduino Due / Re: Stop PWM signal on: August 08, 2013, 09:04:52 am
Arduino DUE with 1.5.2 IDE
17  Products / Arduino Due / Re: Stop PWM signal on: August 08, 2013, 08:39:15 am
This is only a minimal code to explain my problem, but it's not inside a switch statement in my program and although it doesn't work..
18  Products / Arduino Due / Stop PWM signal on: August 08, 2013, 08:10:07 am
Hi, may somebody explain me why I'm not able to stop a PWM signal once it's started? Here's the code:

void setup() {
  // put your setup code here, to run once:

void loop() {
  // put your main code here, to run repeatedly:
  case 'i':
  case 'o':

I'm only able to stop it using

even if inside the reference you'll find
After a call to analogWrite(), the pin will generate a steady square wave of the specified duty cycle until the next call to analogWrite() (or a call to digitalRead() or digitalWrite() on the same pin)
19  Using Arduino / Sensors / Re: Fast 16bit ADC using Arduino Due and AD977 on: July 22, 2013, 11:45:46 am
Hi sadlerochit, I was trying to do same, good job!
Just a question, why are you using
and then the inverter to get barSS, instead of just using
20  Products / Arduino Due / Re: Can't get Blink sketch (and others) to work on my Due on: April 30, 2013, 05:30:51 am
Hi guys, I have the same problem. I mean I bought my due board from Arduino Store one month ago and everything worked fine. After that I left it on my desk inside its box for some weeks because I was busy with my work. Yesterday I went back to play and nothing worked.
Compile is OK...
Upload using Programming Port is Ok..
but after that nothing happens as described previously by dinofizz, no led blink, no serial operation..
Do you have any ideas? Does anybody know if there is a self test procedure? Should I contact Arduino store?
21  Using Arduino / Microcontrollers / Re: ArduinoISP on Arduino DUE on: April 24, 2013, 10:03:22 am
Hi purple_lily.
I followed PeterVH's instructions in order to download ArduinoISP updated version. Then you have to back up your older version in arduino/examples folder and put the new one inside. After that I tried to upload it to my ArduinoDUE and everything worked fine! In the meanwhile I've been a little busy  and I was also waiting for some attiny from farnell. I think I'll try to make it work in the next days.
22  Using Arduino / Microcontrollers / Re: ArduinoISP on Arduino DUE on: March 28, 2013, 11:40:41 am
Thank you, it worked out! I mean new ArduinoISP sketch was flashed correctly, next I would like to use it to program an ATtiny uC.
So I should replace every instance of Serial with SerialUSB and then use the programming port to upload the sketch ArduinoISP, after that connect the DUE board to the native port and flash the sketch on the external uC?
Do you think I can use the onboard SPI 6 pins?
23  Using Arduino / Microcontrollers / ArduinoISP on Arduino DUE on: March 27, 2013, 06:43:05 am
Hi, I'm trying to figure out whether I can use my ArduinoDUE board as an ISP programmer. So I first tried to upload ArduinoISP sketch using Arduino 1.5.2 IDE version, but I get the following error concerning SPI registers:

ArduinoISP.ino: In function 'void spi_init()':
ArduinoISP:159: error: 'SPCR' was not declared in this scope
ArduinoISP:160: error: 'SPSR' was not declared in this scope
ArduinoISP:161: error: 'SPDR' was not declared in this scope
ArduinoISP.ino: In function 'void spi_wait()':
ArduinoISP:167: error: 'SPSR' was not declared in this scope
ArduinoISP:167: error: 'SPIF' was not declared in this scope
ArduinoISP.ino: In function 'uint8_t spi_send(uint8_t)':
ArduinoISP:172: error: 'SPDR' was not declared in this scope

The SPI Reference says

Extended SPI library usage with the Due
On the Arduino Due, the SAM3X has advanced SPI capabilities. It is possible to use these extended methods, or the AVR-based ones.

so I thought it could work using basic AVR methods.
Does anybody know whether this is due to a lack of AVR->SAM3X code translation, as well as for interrupt.h and we just have to wait? Thanx for your help
24  Using Arduino / Microcontrollers / Re: Programming ATTiny24 (and 44/84 of course) on: March 26, 2013, 01:15:08 pm
Hi BareMetal, I think this is the topic I was looking for. I would like to use my ArduinoDUE as a ATtiny programmer, but all tutorial I found are about ArduinoUNO or other previous boards. I have some questions and I hope you can help me out :
  • Should I use 3.3V  Vcc instead of 5V?
  • May I use the same six wires connection as for ArduinoUNO?
  • Instead of using those 6 pins to implement SPI, may I use the already integrated SPI connector on DUE board?
  • Which IDE version are you using?
Thank you for your time
Pages: 1 [2]