Go Down

Topic: psgroove Arduino (Read 1 time) previous topic - next topic

tronig

Anleitung leider nur in englisch :


Arduino Flashing Instructions (Windows)

Before getting started, determine what type of Arduino you have and what the chip is (just examine the the surface of the large chip on your Arduino). Also make sure you have the Arduino IDE unzipped somewhere.

* Download the attached zip bundle.
* Unzip the bundle.
* Copy "psgroove.hex" and "psgroove_install.bat" to your arduino install directory (same folder as Arduino.exe).
* Run psgroove_install.bat

Troubleshooting

If the flashing fails you might need to adjust the COM used in psgroove_install.bat. To do this:

* Open your Arduino IDE
* Verify your Arduino settings by uploading any sketch (even a blank sketch with "void setup() {} void loop() {}" will do).
* Find your COM port number in Tools->Serial Port
* Edit psgroove_install.bat, changing COM3 to the com port you found.

Another issue noted by users of the Duemilanove is that it might not flash due to chip mismatch. Find the chip model number on your arduino and change atmega168 to atmega328 or atmega328p accordingly
Wer die files braucht werde sie nachher hoch laden  oder einfach pn an mich . ;)

tronig

benötigte teile  und aufbau
Arduino Duemilanove
===================

Refer to schematic.png for specific pinouts. Parts needed:

- 1x 2k2 ohm resistor
- 2x 68 ohm resistors
- 2x 470 ohm resistors
- 2x 3.6v zener diodes (.25w - .5w)
- 1x green LED
- 1x red LED
- 1x jumper or switch
- 1x usb port/cable

The switch is used to unhook the arduino from ps3 usb power. This allows the arduino to be plugged in to your computer via the normal arduino usb connector for debugging purposes.

Debugging Output
================

Debugging prints will come out of the arduino usb port just like the serial.print() from the usual arduino builtin library. This can be viewed with the serial monitor included in the arduino IDE, make sure to set the baud rate to 19200.

Installation
============

1. Copy "psgroove.hex" and "psgroove_install.bat" to your arduino install folder.
2. Run "psgroove_install.bat"

tronig

#!/bin/bash

AVRDUDE=avrdude
DEVICE=atmega168
PROGRAMMER=stk500v1
EXTRA_OPTS=-b57600
PORT=/dev/ttyUSB0
HEX_FILE=psgroove.hex
PLATFORM=`uname`

if [[ "$PLATFORM" == 'Darwin' ]]; then
  if [[ -e /Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/bin/avrdude ]]; then
     AVRDUDE=/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/bin/avrdude
  fi

  if [[ `ls /dev/tty.usbserial-*` ]]; then
     PORT=`ls /dev/tty.usbserial-* | head -1`
  else
     echo "Can't find your arduino!"
     exit -1
  fi
elif [[ "$PLATFORM" == 'Linux' ]]; then
  if [[ `ls /dev/ttyUSB*` ]]; then
     PORT=`ls /dev/ttyUSB* | head -1`
  else
     echo "Can't find your arduino!"
     exit -1
  fi
else
  echo "Unknown platform $PLATFORM."
  exit -1
fi

$AVRDUDE -p$DEVICE -P$PORT -c$PROGRAMMER $EXTRA_OPTS -U flash:w:$HEX_FILE


tronig

hardware\tools\avr\bin\avrdude
Chardware\tools\avr\etc\avrdude.conf -patmega328 -cstk500v1 -P\\.\COM3 -b57600 -D -Uflash:w:psgroove.hex:i

tronig

:100000000C94B20D0C94CE0D0C94CE0D0C94E90D05
:100010000C94CE0D0C94CE0D0C94CE0D0C94CE0DF4
:100020000C94CE0D0C94CE0D0C94CE0D0C94CE0DE4
:100030000C94CE0D0C94450F0C94CE0D0C94CE0D5B
:100040000C94CE0D0C94CE0D0C94CE0D0C94CE0DC4
:100050000C94CE0D0C94CE0D0C94CE0D0C94CE0DB4
:100060000C94CE0D0C94CE0D120100020900010873
:10007000AAAACCCC0001000000010902190001016C
:1000800000E03209040000010900000007058103B7
:1000900001000C092906A900326400FF12010002C8
:1000A00000000008AAAA555500000000000409023B
:1000B000000F010000800902120001000080FA090F
:1000C00004000000FE010200000000000000FACE63
:1000D000B003AABBCCDD3863F00038A01000388034
:1000E00000017884F8066484007038A5FFF87CC3AA
:1000F000282A7CC4292A282500004082FFF0388461
:1001000000807C8903A64E800420000000000000CF
:1001100000000000000000000000000000000000DF
:1001200000000000000000000000000000000000CF
:100130000000000000007C0802A6F821FF61FB61BE
:100140000078FB810080FBA10088FBC10090FBE1EF
:100150000098F80100B03BE000017BFFF8067FE368
:10016000FB786463000560630B3C7FE4FB78648488
:100170000070608401CC38A004FA4B97BF597FE32C
:10018000FB786463000560630B3C386300204B9D83
:1001900022017FE3FB786463000560630B3C7FE42E
:1001A000FB786484002E6084B12838630010F86402
:1001B00001207FE5FB7864A5007060A50150806593
:1001C00000002803000041820018808500047C6341
:1001D000FA149083000038A500084BFFFFE44800A4
:1001E00005A8F821FF517C0802A6FBC100A0FBE195
:1001F00000A8FBA10098F80100C03BC007D03BE07D
:1002000000C84B90A9B8000490E0E8820F080004F1
:1002100090E4E87C0020000490E8F864000000040A
:10022000F0A848001A9D002AAFC84BDA5B80000492
:10023000ED18388000000004ED1C908300000004DD
:10024000ED204E800020003BA8900100000000053A
:1002500005D038600001000505D44E800020000163
:100260007CBCE863000000017CC04E8000200001DF
:100270007CC8F883000000017CCC4E800020000088
:100280000000386000014E800020480002784800DD
:1002900001EC8000000000050CA880000000003385
:1002A000E7208000000000051032800000000005FB
:1002B0000B7C8000000000050B8C80000000000516
:1002C0000B9C8000000000050BD480000000003370
:1002D000E7208000000000050C1C800000000033B7
:1002E000E7208000000000050C788000000000334B
:1002F000E7208000000000050C848000000000332F
:10030000E7200000000000000000000000000000E6
:1003100000000000000000000000F821FF817C08C0
:1003200002A6F80100903880000038A000014808BB
:100330001DB180A30008386000003C80AAAA608438
:10034000C0DE7C042840418200083860FFFF7C63E7
:1003500007B4E80100907C0803A6382100804E8095
:100360000020F821FF817C0802A6F8010090388067
:10037000000048081D993881007038A00000F8A4DA
:10038000000038C021AAB0C4000038C00000B0C4CA
:10039000000638C0000178C6F80664C6000560C6CD
:1003A0000BAC38E0000048081CCD38600000E801C4
:1003B00000907C0803A6382100804E8000204E80EB
:1003C0000020396000FF440000222C03000040821E
:1003D000001C386000017863F80664630005606300
:1003E0000BBC38800001908300104E800020F82163
:1003F000FF317C0802A6F80100E0FBE100C838816B
:10040000007048162E813BE000017BFFF80667FF75
:10041000000563FF0BBCE87F00002C230000418235
:10042000000C38800027480117E938800027386021
:1004300008004801139DF87F0000E88100704BFF21
:10044000C5F9E861007038800027480117C5E87FCA
:1004500000004BFFC60DE89F00007C641A14F87F73
:10046000000838600000EBE100C8E80100E0382136
:1004700000D07C0803A64E800020F821FF617C0894
:1004800002A6FB810080FBA10088FBE10098FB41F4
:100490000070FB610078F80100B07C9C23787C7DC3
:1004A0001B783BE000017BFFF8067FA3EB787FE43D
:1004B000FB78648400056084102838A000094BFF95
:1004C000C5CD282300004082003467FF000563FF8C
:1004D0000BBC807F00102803000041820020E87FD1
:1004E00000002823000041820014E87F0008389DA6
:1004F00000094BFFC545EBBF00007FA3EB78482503
:10050000A2387C0802A6F821FE61FB610078FB811D
:100510000080FBA10088FBC10090FBE10098F8017E
:1005200001B07C7D1B787C9E23783BE000017BFF43
:10053000F806EB829600EB9C0068EB9C0018EB62DF
:100540000F08E93D001881290030792984022C091F
:10055000002940820058E89C00107885C1E478A505
:1005600046202C0500FF4182001860840003F89C9F
:10057000001038600006907E00004800001460847F
:100580000002F89C00103860002C907E000080BCB7
:100590000004E89C0008E87B00007D232A14F93B56
:1005A00000004802B1C1480000C47FA3EB787FC4BB
:1005B000F3784BFFD9B17FFDFB7867BD000563BDC4
:1005C0000BD0807D000080BC00047C632A14907DE9
:1005D0000000E89C00107885C1E478A546202C0531
:1005E00000FF40820088E87B00003880000038C0AF
:1005F00000007CE3221480A700007CC62A7838849F
:100600000004282404004082FFEC807D000078C6AE
:1006100007C67CC61B7838600000907D00007FE72D
:10062000FB7864E7000560E70F70E86700002823A7
:1006300000004182003838E700107C2330404082BF
:10064000FFECE8A7FFF8E8FB000080650000280346
:10065000000041820018808500047C633A14908376
:10066000000038A500084BFFFFE438600000EB6194
:100670000078EB810080EBA10088EBC10090EBE1FA
:100680000098E80101B0382101A07C0803A64E8043
:100690000020F821FF517C0802A6FBC100A0FBE16D
:1006A00000A8FBA10098F80100C03BC00FA03BE0F0
:1006B00000C84BFB9B98A0556F3D002CB8FD8000F7
:1006C000000000050FB88C0A948C000D99B18000D1
:1006D000000000050FE0A2BC1A5600052ADC8000CD
:1006E0000000000510046B70280200020017800053
:1006F000000000050FD400000000000000000030E2
:10070000535438600082005F3FC038600001005FD2
:100710003FC44E800020000000000002ED0C3BA012
:100720000001000000000022B8885F746F6F002293
:10073000B88C6C322E780022B8906D6C2372002237
:10074000B8946F6F740000000000000D68B85F740B
:100750006F6F000D68BC6C322E78000D68C06D6C38
:100760002372000D68C46F6F7400000000002F64D6
:1007700065765F78787878006D6F6400000000001F
:10078000000000000000EB610078EB810080EBA12D
:100790000088EBC10090EBE10098E80100B038213F
:1007A00000A07C0803A6386000017863F806646343
:1007B00000703880000038A006E84B94CA40600002
:1007C000000060000000EB610078EB810080EBA18D
:1007D0000088EBC10090EBE10098E80100B03821FF
:1007E00000A07C0803A6386000017863F806646303
:1007F00000703880000038A006E84B94CA606000A2
:10080000000060000000EB610078EB810080EBA14C
:100810000088EBC10090EBE10098E80100B03821BE
:1008200000A07C0803A6386000017863F8066463C2
:1008300000703880000038A006E84B94CA60600061
:10084000000060000000EB610078EB810080EBA10C
:100850000088EBC10090EBE10098E80100B038217E
:1008600000A07C0803A6386000017863F806646382
:1008700000703880000038A006E84B94CA60600021
:10088000000060000000EB610078EB810080EBA1CC
:100890000088EBC10090EBE10098E80100B038213E
:1008A00000A07C0803A6386000017863F806646342
:1008B00000703880000038A006E84B94CA606000E1
:1008C000000060000000EB610078EB810080EBA18C
:1008D0000088EBC10090EBE10098E80100B03821FE
:1008E00000A07C0803A6386000017863F806646302
:1008F00000703880000038A006E84B94CA606000A1
:10090000000060000000EB610078EB810080EBA14B
:100910000088EBC10090EBE10098E80100B03821BD
:1009200000A07C0803A6386000017863F8066463C1
:1009300000703880000038A006E84B94CA60600060
:10094000000060000000EB610078EB810080EBA10B
:100950000088EBC10090EBE10098E80100B038217D
:1009600000A07C0803A6386000017863F806646381
:1009700000703880000038A006E84B94CA60600020
:10098000000060000000EB610078EB810080EBA1CB
:100990000088EBC10090EBE10098E80100B038213D
:1009A00000A07C0803A6386000017863F806646341
:1009B00000703880000038A006E84B94CA606000E0
:1009C000000060000000EB610078EB810080EBA18B
:1009D0000088EBC10090EBE10098E80100B03821FD
:1009E00000A07C0803A6386000017863F806646301
:1009F00000703880000038A006E84B94CA606000A0
:100A0000000060000000EB610078EB810080EBA14A
:100A10000088EBC10090EBE10098E80100B03821BC
:100A200000A07C0803A6386000017863F8066463C0
:100A300000703880000038A006E84B94CA6060005F
:100A4000000060000000EB610078EB810080EBA10A
:100A50000088EBC10090EBE10098E80100B038217C
:100A600000A07C0803A6386000017863F806646380
:100A700000703880000038A006E84B94CA6060001F
:100A8000000060000000EB610078EB810080EBA1CA
:100A90000088EBC10090EBE10098E80100B038213C
:100AA00000A07C0803A6386000017863F806646340
:100AB00000703880000038A006E84B94CA606000DF
:100AC000000060000000EB610078EB810080EBA18A
:100AD0000088EBC10090EBE10098E80100B03821FC
:100AE00000A07C0803A6386000017863F806646300
:100AF00000703880000038A006E84B94CA6060009F
:100B0000000060000000EB610078EB810080EBA149
:100B10000088EBC10090EBE10098E80100B03821BB
:100B200000A07C0803A6386000017863F8066463BF
:100B300000703880000038A006E84B94CA6060005E
:100B4000000060000000EB610078EB810080EBA109
:100B50000088EBC10090EBE10098E80100B038217B
:100B600000A07C0803A6386000017863F80664637F
:100B700000703880000038A006E84B94CA6060001E
:100B8000000060000000EB610078EB810080EBA1C9
:100B90000088EBC10090EBE10098E80100B038213B
:100BA00000A07C0803A6386000017863F80664633F
:100BB00000703880000038A006E84B94CA606000DE
:100BC000000060000000EB610078EB810080EBA189
:100BD0000088EBC10090EBE10098E80100B03821FB
:100BE00000A07C0803A6386000017863F8066463FF
:100BF00000703880000038A006E84B94CA6060009E
:100C0000000060000000EB610078EB810080EBA148
:100C10000088EBC10090EBE10098E80100B03821BA
:100C200000A07C0803A6386000017863F8066463BE
:100C300000703880000038A006E84B94CA6060005D
:100C4000000060000000EB610078EB810080EBA108
:100C50000088EBC10090EBE10098E80100B038217A
:100C600000A07C0803A6386000017863F80664637E
:100C700000703880000038A006E84B94CA6060001D
:100C8000000060000000EB610078EB810080EBA1C8
:100C90000088EBC10090EBE10098E80100B038213A
:100CA00000A07C0803A6386000017863F80664633E
:100CB00000703880000038A006E84B94CA606000DD
:100CC000000060000000EB610078EB810080EBA188
:100CD0000088EBC10090EBE10098E80100B03821FA
:100CE00000A07C0803A6386000017863F8066463FE
:100CF00000703880000038A006E84B94CA6060009D
:100D0000000060000000EB610078EB810080EBA147
:100D10000088EBC10090EBE10098E80100B03821B9
:100D200000A07C0803A6386000017863F8066463BD
:100D

tronig

bilder von meinem werde ich heute abend hochladen so wie die

deSilva

#6
Sep 27, 2010, 05:21 pm Last Edit: Sep 27, 2010, 05:21 pm by mpeuser Reason: 1

Go Up