Quantcast
Channel: SparkFun Electronics Comments
Viewing all articles
Browse latest Browse all 44542

trevorshannon on SEN-10537 - Serial Accelerometer Dongle

$
0
0

for what it’s worth, here is how i programmed this module using winAVR.

  1. install arduino
  2. install winAVR

  3. in the source code directory on github, edit the Makefile. I was programming via the built-in serial port, so the options of interest are under Programming Options (avrdude serial bootloader) [line 336] You need to change SERIAL_AVRDUDE and SERIAL_AVRDUDE_CONFIG to match your arduino install directory. no spaces allowed in the path!. You also need to change SERIAL_AVRDUDE_PORT to match the port you are using (it was COM1 for me). Finally, change SERIAL_AVRDUDE_PROGRAMMER from stk500v1 to arduino.

  4. open a command line and navigate to the accelerometer dongle source directory.

  5. run the following commands:
  6. make clean
  7. make all
  8. make program_serial

that’s it!


Viewing all articles
Browse latest Browse all 44542

Trending Articles