Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Programming Minie2
#1
Hallo,

Must you put 12 volt on the mainboard (not the DEU) to programm or is only the usb enough.
I cann't find this in the manual.
Also your manual is talking about 20k resitants this must be 10k.

With regards,

Johan
Reply
#2
(02-17-2014, 07:18 PM)johanvd Wrote: Must you put 12 volt on the mainboard (not the DEU) to programm or is only the usb enough.

Hello, just the USB port is enough. If programming the Arduino would require 12V, this would be in the manual.

(02-17-2014, 07:18 PM)johanvd Wrote: I cann't find this in the manual.
Also your manual is talking about 20k resitants this must be 10k.

I am not sure what you mean here - which resistor needs to be 10k and why?
Reply
#3
Thank you for the response in your manual on page 3 your are talking about
R1, R3 etc. about 20K resistors I think you mean 10K resistors because the colors are red, black orange and NOT red,red,orange.


With Regards,

Johan
Reply
#4
(02-18-2014, 02:41 PM)johanvd Wrote: Thank you for the response...

You are welcome!

(02-18-2014, 02:41 PM)johanvd Wrote: ...in your manual on page 3 your are talking about
R1, R3 etc. about 20K resistors I think you mean 10K resistors because the colors are red, black orange and NOT red,red,orange.

Red - black - orange IS 20k. Red - red - orange would be 22k. Wink
You can check it out here:
http://www.csgnetwork.com/resistcolcalc.html

Cheers
Airic
Reply
#5
Hello,
I've also been playing some Arduino software, including the Minie v1.3 unfortunately I can not do it at V2. I get the following error message:

Code:
In file included from miniEngine2.ino:39:
C:\Users\Sven\Documents\Arduino\libraries\DueTimer/DueTimer.h:78:3: error: #error Oops! Trying to include DueTimer on another device?
miniEngine2:208: error: 'Serial1' was not declared in this scope
miniEngine2:231: error: size of array 'mCurves' is too large
miniEngine2.ino: In function 'void printFreeRam()':
miniEngine2:526: error: variable 'mallinfo mi' has initializer but incomplete type
miniEngine2:526: error: invalid use of incomplete type 'struct mallinfo'
miniEngine2:526: error: forward declaration of 'struct mallinfo'
mE2_motor.ino: At global scope:
mE2_motor:137: error: 'DueTimer' does not name a type
mE2_motor:138: error: 'DueTimer' does not name a type
mE2_motor.ino: In function 'void motor_init()':
mE2_motor:171: error: 'timer_jog' was not declared in this scope
mE2_motor:171: error: 'Timer' was not declared in this scope
mE2_motor:176: error: 'timer_move' was not declared in this scope
mE2_motor:187: error: 'mCurves' was not declared in this scope
mE2_motor.ino: In function 'void motor_process()':
mE2_motor:239: error: 'timer_jog' was not declared in this scope
mE2_motor:240: error: 'timer_move' was not declared in this scope
mE2_motor.ino: In function 'void motor_startMoveTimer()':
mE2_motor:357: error: 'timer_move' was not declared in this scope
mE2_motor.ino: In function 'void motor_disableAll()':
mE2_motor:371: error: 'timer_jog' was not declared in this scope
mE2_motor:372: error: 'timer_move' was not declared in this scope
mE2_motor.ino: In function 'void motor_assignNewCurve(uint8_t)':
mE2_motor:406: error: 'mCurves' was not declared in this scope
mE2_motor.ino: In function 'uint8_t motor_getNextFreeCurve()':
mE2_motor:426: error: 'mCurves' was not declared in this scope
mE2_motor.ino: In function 'void motor_startMotorPhase()':
mE2_motor:515: error: 'mCurves' was not declared in this scope
mE2_motor:532: error: 'mCurves' was not declared in this scope
mE2_motor.ino: In function 'void motor_makeKeyframes()':
mE2_motor:775: error: 'mCurves' was not declared in this scope
mE2_motor.ino: In function 'void motor_handleMove()':
mE2_motor:882: error: 'mCurves' was not declared in this scope
mE2_motor:910: error: 'mCurves' was not declared in this scope
mE2_motor.ino: In function 'void motor_startJog()':
mE2_motor:985: error: 'timer_jog' was not declared in this scope
mE2_motor.ino: In function 'void motor_stopJog()':
mE2_motor:995: error: 'timer_jog' was not declared in this scope
mE2_power.ino: In function 'void power_init()':
mE2_power:52: error: 'A11' was not declared in this scope
mE2_power.ino: In function 'uint8_t power_readBatteryLevel()':
mE2_power:131: error: 'A11' was not declared in this scope
mE2_uicore.ino: In function 'void uicore_init()':
mE2_uicore:611: error: 'Timer4' was not declared in this scope
mE2_uicore.ino: In function 'boolean uicode_doAction(uint16_t)':
mE2_uicore:2397: error: 'Timer4' was not declared in this scope
mE2_uicore:2422: error: 'Timer4' was not declared in this scope
mE2_uicore.ino: In function 'void uicore_stopJog()':
mE2_uicore:3033: error: 'Timer4' was not declared in this scope


I have the libraries installed in the instructions. In the Arduino software I selected the "Arduino Duemilanove w / ATmega328". Do I need to maybe change something in "Programmer", since it is automatically "AVRISP mkII" is selected.

I would be glad if you could help me here.
Sorry for my bad english Undecided

Greetings Sven

Edit 08.03.2014:
I have now tried again to program the V2 on another computer, unfortunately it's not even there. The same error. The error appears even before ever written on the Arduino.
   
Reply
#6
I have now tried around a bit again, though I've found that apparently not all libraries are detected. But I do not know whether this is correct. But that is on two different computers so (Win8 and Win7)

   
Reply
#7
(03-08-2014, 04:54 PM)kwusz Wrote: I have now tried around a bit again, though I've found that apparently not all libraries are detected. But I do not know whether this is correct. But that is on two different computers so (Win8 and Win7)

It looks like you are trying to install the miniEngine 2 on an Arduino UNO.
This will not work as the miniEngine 2 was developed for the Arduino DUE!

Cheers,
Airic
Reply
#8
Thanks for your answer.

No, I want it to install on a due and all through the USB Programming port.
Problem is that also comes the error in testing, in the moment writes the Arduino program still not at all on the Due. Can this be related to the necessary libraries? There are indeed not all appear in the program.

As a board but the "Arduino Duemilanove w / ATmega328" must be set right?

Greetings Sven
Reply
#9
Hi Sven,

Sound like you are using older version of Arduino IDE? I think you need to install Arduino IDE 1.5.5 onward to be able to select Due as the board.

Regards,
Ray
Reply
#10
Thank you Ray,
that was the crucial clue. I did not dare to the BETA Arduino software, now I have the 1.5.6-r2 BETA installed and it works. Now I can also select the Arduino DUE Programming Prot. Biggest thanks for the help.

Greetings and a good start to the week
Sven
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)