Skip to main content
Added tag.
Link
sa_leinad
  • 3.2k
  • 1
  • 22
  • 51
added 4 characters in body
Source Link
dda
  • 1.6k
  • 1
  • 12
  • 17

I have made a custom development-hardwaredevelopment hardware for our school, where you can plug in an Arduino Due. It is mainly for driving all kind of motors and reading sensor signals. Therefore I added a custom SAM board into board.h based on a copy of the Arduino Due. Furthermore I need a global PWM Frequencyfrequency on all PWM Channels of 20 kHz. So I also changed the variants.h file.

(I have not found a solution that is setting all the underling Timer/Counters for PWM on the Due Pins 2,3 3,4 4,5 5,6 6,7 7,8 8,13 13 to 20kHz20 kHz by user code, I think this is only possible with the variants.h file - because some timers can not be reset after they where set within the arudinoArduino IDE once)

The Question now: Today all students have to find and modify their variants.h file, which can be located almost everywhereanywhere! (Sometimes it is located in the support packages of Matlab...).

Is there an easy solution to give the students one .zip containing the Arduino IDE already with the custom Board included? There is the Arduino IDE working without installation for download on the Arduino Webseitewebsite. But how can I add my custom samSAM board to it?

I have made a custom development-hardware for our school, where you can plug in an Arduino Due. It is mainly for driving all kind of motors and reading sensor signals. Therefore I added a custom SAM board into board.h based on a copy of the Arduino Due. Furthermore I need a global PWM Frequency on all PWM Channels of 20 kHz. So I also changed the variants.h file.

(I have not found a solution that is setting all the underling Timer/Counters for PWM on the Due Pins 2,3,4,5,6,7,8,13 to 20kHz by user code, I think this is only possible with the variants.h file - because some timers can not be reset after they where set within the arudino IDE once)

The Question now: Today all students have to find and modify their variants.h file which can be located almost everywhere! (Sometimes it is located in the support packages of Matlab...).

Is there an easy solution to give the students one .zip containing the Arduino IDE already with the custom Board included? There is the Arduino IDE working without installation for download on the Arduino Webseite. But how can I add my custom sam board to it?

I have made a custom-development hardware for our school, where you can plug in an Arduino Due. It is mainly for driving all kind of motors and reading sensor signals. Therefore I added a custom SAM board into board.h based on a copy of the Arduino Due. Furthermore I need a global PWM frequency on all PWM Channels of 20 kHz. So I also changed the variants.h file.

(I have not found a solution that is setting all the underling Timer/Counters for PWM on the Due Pins 2, 3, 4, 5, 6, 7, 8, 13 to 20 kHz by user code, I think this is only possible with the variants.h file - because some timers can not be reset after they where set within the Arduino IDE once)

The Question now: Today all students have to find and modify their variants.h file, which can be located almost anywhere! (Sometimes it is located in the support packages of Matlab...).

Is there an easy solution to give the students one .zip containing the Arduino IDE already with the custom Board included? There is the Arduino IDE working without installation for download on the Arduino website. But how can I add my custom SAM board to it?

added 186 characters in body
Source Link
Chris
  • 23
  • 3

I have made a custom development-hardware for our school, where you can plug in an Arduino Due. It is mainly for driving all kind of motors and reading sensor signals.

Unfortunately Therefore I added a custom SAM board into board.h based on a copy of the Arduino Due. Furthermore I need a global PWM Frequency on all PWM Channels of 20 kHz. ThereforeSo I also changed the variants.h file.

(I have not found a solution that is setting all the underling Timer/Counters for PWM on the Due Pins 2,3,4,5,6,7,8,13 to 20kHz by user code, I think this is only possible with the variants.h file - because some timers can not be reset after they where set within the arudino IDE once)

The Question now:

TodayThe Question now: Today all students have to find and modify their variants.h file which can be located almost everywhere! (Sometimes it is located in the support packages of Matlab...).

Is there an easy solution to give the students one .zip containing the Arduino IDE already with the custom Board included? There is the Arduino IDE working without installation for download on the Arduino Webseite. But how can I add my custom sam board to it?

I have made a custom development-hardware for our school, where you can plug in an Arduino Due. It is mainly for driving all kind of motors and reading sensor signals.

Unfortunately I need a global PWM Frequency on all PWM Channels of 20 kHz. Therefore I changed the variants.h file.

(I have not found a solution that is setting all the underling Timer/Counters for PWM on the Due Pins 2,3,4,5,6,7,8,13 to 20kHz by user code, I think this is only possible with the variants.h file - because some timers can not be reset after they where set within the arudino IDE once)

The Question now:

Today all students have to find and modify their variants.h file which can be located almost everywhere! (Sometimes it is located in the support packages of Matlab...).

Is there an easy solution to give the students one .zip containing the Arduino IDE already with the custom Board included?

I have made a custom development-hardware for our school, where you can plug in an Arduino Due. It is mainly for driving all kind of motors and reading sensor signals. Therefore I added a custom SAM board into board.h based on a copy of the Arduino Due. Furthermore I need a global PWM Frequency on all PWM Channels of 20 kHz. So I also changed the variants.h file.

(I have not found a solution that is setting all the underling Timer/Counters for PWM on the Due Pins 2,3,4,5,6,7,8,13 to 20kHz by user code, I think this is only possible with the variants.h file - because some timers can not be reset after they where set within the arudino IDE once)

The Question now: Today all students have to find and modify their variants.h file which can be located almost everywhere! (Sometimes it is located in the support packages of Matlab...).

Is there an easy solution to give the students one .zip containing the Arduino IDE already with the custom Board included? There is the Arduino IDE working without installation for download on the Arduino Webseite. But how can I add my custom sam board to it?

Post Migrated Here from stackoverflow.com (revisions)
Source Link
Chris
  • 23
  • 3
Loading