For the L298 motor driver, I see that there is a tab used to attached a heat sink to.
The L298N (vertical standing) and L298HN (horizontal laying down) have a tab that is connected to GND (Pin of the chip. When it comes to the SMD package (L298P) it doesn't state if the thermal pad is GND. I see pictures that the L298P has a thermal pad but the datasheet doesn't a) show it and b) indicate its connection.
Does anyone have experience with this specific chip that can help me out?
Note that when you do this (and actually, any time you go over about 1 amp on the L298) you're going to need a fairly beefy heatsink. The L298 is anything but efficient...
Even with loading, I doubt my motors will exceed 1A, but my board will consist the SMD package with the thermal pad. I hope have a fairly large ground plane to dissipate heat as well as perhaps attach a small heat sink on top of chip.
I would like some confirmation on the Due regarding the Digital I/O. I know that the AVR boards allow the analog pins to be configured as digital IO, but how about this Due? I am sure it can, I would just like some confirmation.
If the former is true, can you attachInterrupt() on these pins?
Are there any concerns regarding the use of analog pins as digital IO and external, such as speed?
I'm curious, what was your objection to just using the teensy 3?
Bill, I don't see a difference between the Teensy and the Arduino Due, other than the Teensy has a footprint where you can pop it into a breadboard. The chip is still soldered down and you cannot use this platform to externally program a SAM3 that I want to embed into my custom board.
My goal is to create a board using a SAM3 and use the Arduino IDE to compile my sketch onto it. The Teensy breadboard footprint is good for prototyping, those stages are complete in my project.
is it possible to hook up the Arduino Due to these pins and compile code to the SAM3X on the custom board, rather than the chip on the Due?
I'm not quite following I think. Do you mean pass the Rx/Tx through from the Due to your board? That might work if you manually erase the SAM first (you have implemented the erase feature with the push button or something I assume).
I can probably sacrifice my board and remove destroy the connections that go to the chip on board,
I don't get this.
The video at the top of the thread shows how to compile your sketch onto an external ATMEGA328 using the Arduino Uno board. He removes the chip from the board, places it on a breadboard and was able to compile the code by passing the Rx/Tx lines from the board to the chip on breadboard.
I would like to do the same with the Arduino Due and the SAM3, but this seems to be troublesome because the chip on the Due is soldered on. My question is how can I program an external SAM3 using the Arduino Due.
If it is possible to somehow by pass the chip on the Arduino Due, and pass the Rx/Tx lines to a bootloaded SAM3 on a custom board, this would be ideal for me.
Another possible solution would to get an ARM-type external programmer that is compatible with the Arduino IDE and bring out the ICSP pins from the SAM3X.
That's more like it, implement the JTAG/SWD header and buy a cheap programmer.
Another way is to run your Rx/TX to a header and buy a Taigiuino programmer. This would be my preferred method I think.
I will look into this, I have no idea the JTAG header does but from previous research, it looks like this will need to be used to compile code onto the chip
You should also implement the erase function, have a look at their schematics for their Due clone
If I develop a custom board with the SAM3X and bring out the RX/TX pins, is it possible to hook up the Arduino Due to these pins and compile code to the SAM3X on the custom board, rather than the chip on the Due? I can probably sacrifice my board and remove destroy the connections that go to the chip on board, or perhaps there is a smart way to bypass it? I understand that if you want to do this with the Uno, you must remove the ATMEGA328 from the board. But since you cannot do that with the Due how can we do this?
Another possible solution would to get an ARM-type external programmer that is compatible with the Arduino IDE and bring out the ICSP pins from the SAM3X. I am not sure if this technique may be used similar to AVR programming.
Any suggestions on how to upload my sketch onto a custom board using the SAM3X would be much appreciated.
Does this mean that VIN will only source 1A of current? I am developing an Arduino shield for the Due that has 3 motor drivers as well as an xbee module. I was planning on using the VIN pin, to power the drivers as well as the 5V pin to be regulated down for the XBEE but now I might have some issues.
My motors are 12V 300mA free running. x3 this will draw too much current if VIN only supplies 1A. Looks like I might have to do some external power.
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?
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?
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).