Stream

Join this community to post or comment
 
Hi guys,
I am having difficulties with Alamode and Jessie. I was able to set the hardware clock, and thus have convinced myself the board is connected properly to the RPi. I ran the commands contained in jessie-setup individually as the jessie-setup will not run for me (I ran 'more jessie-setup', then typed the same lines while in 'sudo bash'). (I just apt-installed dos2unix, and jessie-setup runs as per Plinio's reply to Aaron Braun's query.)

I started with a new install of Jessie (May27 version) on RPi B.

Here is the trouble I am having:
When I open Arduino on the RPi, I can select Alamode as the board, but the 'Serial Port' section is greyed out and I cannot open the section to select 'ttyS0'. In the Jessie raspi-config, I have the following advanced settings:
Camera disabled
SSH enabled
SPI enabled
I2C enabled
Serial disabled (otherwise the RPi starts going into a loop that will not stop spitting out a line prior to logging in when Alamode is connected)(I tried Kent Hill's change to jessie-setup and still no luck)
Audio disabled
1-wire disabled
Gpio Server disabled
GL driver disabled

Any suggestions to get things working? I'm planning on a working robot by the end of July.
2
Add a comment...
 
What am I missing on getting the EReader_demo to upload to the BADGEr? I am using a FTDI Friend, Arduino 1.6.7, and get a huge string of errors on verify/upload.

Is there a 'quick start guide' or something like it that I am missing?

Here is verify output:

Arduino: 1.6.7 (Windows 8.1), Board: "Arduino Pro or Pro Mini, ATmega328 (3.3V, 8 MHz)"

C:\Program Files (x86)\Arduino\arduino-builder -dump-prefs -logger=machine -hardware "C:\Program Files (x86)\Arduino\hardware" -hardware "C:\Users\lostuser\AppData\Local\Arduino15\packages" -tools "C:\Program Files (x86)\Arduino\tools-builder" -tools "C:\Program Files (x86)\Arduino\hardware\tools\avr" -tools "C:\Users\lostuser\AppData\Local\Arduino15\packages" -built-in-libraries "C:\Program Files (x86)\Arduino\libraries" -libraries "C:\Users\lostuser\Documents\Arduino\libraries" -fqbn=arduino:avr:pro:cpu=8MHzatmega328 -ide-version=10607 -build-path "C:\Users\lostuser\AppData\Local\Temp\builda6765065eee4e1ee2fee10064a2c461f.tmp" -warnings=none -prefs=build.warn_data_percentage=75 -verbose "C:\Users\lostuser\Documents\Arduino\libraries\EReader\examples\EReader_demo\EReader_demo.ino"
C:\Program Files (x86)\Arduino\arduino-builder -compile -logger=machine -hardware "C:\Program Files (x86)\Arduino\hardware" -hardware "C:\Users\lostuser\AppData\Local\Arduino15\packages" -tools "C:\Program Files (x86)\Arduino\tools-builder" -tools "C:\Program Files (x86)\Arduino\hardware\tools\avr" -tools "C:\Users\lostuser\AppData\Local\Arduino15\packages" -built-in-libraries "C:\Program Files (x86)\Arduino\libraries" -libraries "C:\Users\lostuser\Documents\Arduino\libraries" -fqbn=arduino:avr:pro:cpu=8MHzatmega328 -ide-version=10607 -build-path "C:\Users\lostuser\AppData\Local\Temp\builda6765065eee4e1ee2fee10064a2c461f.tmp" -warnings=none -prefs=build.warn_data_percentage=75 -verbose "C:\Users\lostuser\Documents\Arduino\libraries\EReader\examples\EReader_demo\EReader_demo.ino"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=8000000L -DARDUINO=10607 -DARDUINO_AVR_PRO -DARDUINO_ARCH_AVR "-IC:\Users\lostuser\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.11\cores\arduino" "-IC:\Users\lostuser\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.11\variants\eightanaloginputs" "C:\Users\lostuser\AppData\Local\Temp\builda6765065eee4e1ee2fee10064a2c461f.tmp\sketch\EReader_demo.ino.cpp" -o "nul"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=8000000L -DARDUINO=10607 -DARDUINO_AVR_PRO -DARDUINO_ARCH_AVR "-IC:\Users\lostuser\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.11\cores\arduino" "-IC:\Users\lostuser\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.11\variants\eightanaloginputs" "-IC:\Users\lostuser\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.11\libraries\SPI\src" "C:\Users\lostuser\AppData\Local\Temp\builda6765065eee4e1ee2fee10064a2c461f.tmp\sketch\EReader_demo.ino.cpp" -o "nul"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=8000000L -DARDUINO=10607 -DARDUINO_AVR_PRO -DARDUINO_ARCH_AVR "-IC:\Users\lostuser\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.11\cores\arduino" "-IC:\Users\lostuser\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.11\variants\eightanaloginputs" "-IC:\Users\lostuser\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.11\libraries\SPI\src" "-IC:\Program Files (x86)\Arduino\libraries\SD\src" "C:\Users\lostuser\AppData\Local\Temp\builda6765065eee4e1ee2fee10064a2c461f.tmp\sketch\EReader_demo.ino.cpp" -o "nul"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=8000000L -DARDUINO=10607 -DARDUINO_AVR_PRO -DARDUINO_ARCH_AVR "-IC:\Users\lostuser\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.11\cores\arduino" "-IC:\Users\lostuser\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.11\variants\eightanaloginputs" "-IC:\Program Files (x86)\Arduino\libraries\SD\src" "-IC:\Users\lostuser\Documents\Arduino\libraries\EReader" "-IC:\Users\lostuser\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.11\libraries\SPI\src" "C:\Users\lostuser\AppData\Local\Temp\builda6765065eee4e1ee2fee10064a2c461f.tmp\sketch\EReader_demo.ino.cpp" -o "nul"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=8000000L -DARDUINO=10607 -DARDUINO_AVR_PRO -DARDUINO_ARCH_AVR "-IC:\Users\lostuser\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.11\cores\arduino" "-IC:\Users\lostuser\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.11\variants\eightanaloginputs" "-IC:\Users\lostuser\Documents\Arduino\libraries\EReader" "-IC:\Users\lostuser\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.11\libraries\SPI\src" "-IC:\Program Files (x86)\Arduino\libraries\SD\src" "C:\Users\lostuser\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.11\libraries\SPI\src\SPI.cpp" -o "nul"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=8000000L -DARDUINO=10607 -DARDUINO_AVR_PRO -DARDUINO_ARCH_AVR "-IC:\Users\lostuser\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.11\cores\arduino" "-IC:\Users\lostuser\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.11\variants\eightanaloginputs" "-IC:\Users\lostuser\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.11\libraries\SPI\src" "-IC:\Program Files (x86)\Arduino\libraries\SD\src" "-IC:\Users\lostuser\Documents\Arduino\libraries\EReader" "C:\Program Files (x86)\Arduino\libraries\SD\src\File.cpp" -o "nul"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=8000000L -DARDUINO=10607 -DARDUINO_AVR_PRO -DARDUINO_ARCH_AVR "-IC:\Users\lostuser\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.11\cores\arduino" "-IC:\Users\lostuser\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.11\variants\eightanaloginputs" "-IC:\Users\lostuser\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.11\libraries\SPI\src" "-IC:\Program Files (x86)\Arduino\libraries\SD\src" "-IC:\Users\lostuser\Documents\Arduino\libraries\EReader" "C:\Program Files (x86)\Arduino\libraries\SD\src\SD.cpp" -o "nul"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=8000000L -DARDUINO=10607 -DARDUINO_AVR_PRO -DARDUINO_ARCH_AVR "-IC:\Users\lostuser\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.11\cores\arduino" "-IC:\Users\lostuser\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.11\variants\eightanaloginputs" "-IC:\Users\lostuser\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.11\libraries\SPI\src" "-IC:\Program Files (x86)\Arduino\libraries\SD\src" "-IC:\Users\lostuser\Documents\Arduino\libraries\EReader" "C:\Program Files (x86)\Arduino\libraries\SD\src\utility\Sd2Card.cpp" -o "nul"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=8000000L -DARDUINO=10607 -DARDUINO_AVR_PRO -DARDUINO_ARCH_AVR "-IC:\Users\lostuser\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.11\cores\arduino" "-IC:\Users\lostuser\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.11\variants\eightanaloginputs" "-IC:\Program Files (x86)\Arduino\libraries\SD\src" "-IC:\Users\lostuser\Documents\Arduino\libraries\EReader" "-IC:\Users\lostuser\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.11\libraries\SPI\src" "C:\Program Files (x86)\Arduino\libraries\SD\src\utility\SdFile.cpp" -o "nul"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=8000000L -DARDUINO=10607 -DARDUINO_AVR_PRO -DARDUINO_ARCH_AVR "-IC:\Users\lostuser\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.11\cores\arduino" "-IC:\Users\lostuser\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.11\variants\eightanaloginputs" "-IC:\Users\lostuser\Documents\Arduino\libraries\EReader" "-IC:\Users\lostuser\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.11\libraries\SPI\src" "-IC:\Program Files (x86)\Arduino\libraries\SD\src" "C:\Program Files (x86)\Arduino\libraries\SD\src\utility\SdVolume.cpp" -o "nul"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=8000000L -DARDUINO=10607 -DARDUINO_AVR_PRO -DARDUINO_ARCH_AVR "-IC:\Users\lostuser\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.11\cores\arduino" "-IC:\Users\lostuser\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.11\variants\eightanaloginputs" "-IC:\Users\lostuser\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.11\libraries\SPI\src" "-IC:\Program Files (x86)\Arduino\libraries\SD\src" "-IC:\Users\lostuser\Documents\Arduino\libraries\EReader" "C:\Users\lostuser\Documents\Arduino\libraries\EReader\EPD_v2.cpp" -o "nul"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=8000000L -DARDUINO=10607 -DARDUINO_AVR_PRO -DARDUINO_ARCH_AVR "-IC:\Users\lostuser\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.11\cores\arduino" "-IC:\Users\lostuser\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.11\variants\eightanaloginputs" "-IC:\Users\lostuser\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.11\libraries\SPI\src" "-IC:\Program Files (x86)\Arduino\libraries\SD\src" "-IC:\Users\lostuser\Documents\Arduino\libraries\EReader" "C:\Users\lostuser\Documents\Arduino\libraries\EReader\EReader.cpp" -o "nul"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=8000000L -DARDUINO=10607 -DARDUINO_AVR_PRO -DARDUINO_ARCH_AVR "-IC:\Users\lostuser\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.11\cores\arduino" "-IC:\Users\lostuser\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.11\variants\eightanaloginputs" "-IC:\Program Files (x86)\Arduino\libraries\SD\src" "-IC:\Users\lostuser\Documents\Arduino\libraries\EReader" "-IC:\Users\lostuser\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.11\libraries\SPI\src" "C:\Users\lostuser\Documents\Arduino\libraries\EReader\S5813A.cpp" -o "nul"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=8000000L -DARDUINO=10607 -DARDUINO_AVR_PRO -DARDUINO_ARCH_AVR "-IC:\Users\lostuser\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.11\cores\arduino" "-IC:\Users\lostuser\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.11\variants\eightanaloginputs" "-IC:\Users\lostuser\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.11\libraries\SPI\src" "-IC:\Program Files (x86)\Arduino\libraries\SD\src" "-IC:\Users\lostuser\Documents\Arduino\libraries\EReader" "C:\Users\lostuser\AppData\Local\Temp\builda6765065eee4e1ee2fee10064a2c461f.tmp\sketch\EReader_demo.ino.cpp" -o "nul"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=8000000L -DARDUINO=10607 -DARDUINO_AVR_PRO -DARDUINO_ARCH_AVR "-IC:\Users\lostuser\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.11\cores\arduino" "-IC:\Users\lostuser\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.11\variants\eightanaloginputs" "-IC:\Program Files (x86)\Arduino\libraries\SD\src" "-IC:\Users\lostuser\Documents\Arduino\libraries\EReader" "-IC:\Users\lostuser\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.11\libraries\SPI\src" "C:\Users\lostuser\AppData\Local\Temp\builda6765065eee4e1ee2fee10064a2c461f.tmp\sketch\EReader_demo.ino.cpp" -o "C:\Users\lostuser\AppData\Local\Temp\builda6765065eee4e1ee2fee10064a2c461f.tmp\preproc\ctags_target_for_gcc_minus_e.cpp"
"C:\Program Files (x86)\Arduino\tools-builder\ctags\5.8-arduino5/ctags" -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives "C:\Users\lostuser\AppData\Local\Temp\builda6765065eee4e1ee2fee10064a2c461f.tmp\preproc\ctags_target_for_gcc_minus_e.cpp"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=atmega328p -DF_CPU=8000000L -DARDUINO=10607 -DARDUINO_AVR_PRO -DARDUINO_ARCH_AVR "-IC:\Users\lostuser\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.11\cores\arduino" "-IC:\Users\lostuser\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.11\variants\eightanaloginputs" "-IC:\Program Files (x86)\Arduino\libraries\SD\src" "-IC:\Users\lostuser\Documents\Arduino\libraries\EReader" "-IC:\Users\lostuser\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.11\libraries\SPI\src" "C:\Users\lostuser\AppData\Local\Temp\builda6765065eee4e1ee2fee10064a2c461f.tmp\sketch\EReader_demo.ino.cpp" -o "C:\Users\lostuser\AppData\Local\Temp\builda6765065eee4e1ee2fee10064a2c461f.tmp\sketch\EReader_demo.ino.cpp.o"
In file included from C:\Users\lostuser\Documents\Arduino\libraries\EReader/EReader.h:18:0,

from C:\Users\lostuser\Documents\Arduino\libraries\EReader\examples\EReader_demo\EReader_demo.ino:22:

C:\Users\lostuser\Documents\Arduino\libraries\EReader/EPD_V2.h:59:2: error: redeclaration of 'EPD_1_44'

EPD_1_44, // 128 x 96

^

In file included from C:\Users\lostuser\Documents\Arduino\libraries\EReader\examples\EReader_demo\EReader_demo.ino:20:0:

C:\Users\lostuser\Documents\Arduino\libraries\EReader/EPD.h:31:2: note: previous declaration 'EPD_size EPD_1_44'

EPD_1_44, // 128 x 96

^

In file included from C:\Users\lostuser\Documents\Arduino\libraries\EReader/EReader.h:18:0,

from C:\Users\lostuser\Documents\Arduino\libraries\EReader\examples\EReader_demo\EReader_demo.ino:22:

C:\Users\lostuser\Documents\Arduino\libraries\EReader/EPD_V2.h:61:2: error: redeclaration of 'EPD_2_0'

EPD_2_0, // 200 x 96

^

In file included from C:\Users\lostuser\Documents\Arduino\libraries\EReader\examples\EReader_demo\EReader_demo.ino:20:0:

C:\Users\lostuser\Documents\Arduino\libraries\EReader/EPD.h:32:2: note: previous declaration 'EPD_size EPD_2_0'

EPD_2_0, // 200 x 96

^

In file included from C:\Users\lostuser\Documents\Arduino\libraries\EReader/EReader.h:18:0,

from C:\Users\lostuser\Documents\Arduino\libraries\EReader\examples\EReader_demo\EReader_demo.ino:22:

C:\Users\lostuser\Documents\Arduino\libraries\EReader/EPD_V2.h:63:2: error: redeclaration of 'EPD_2_7'

EPD_2_7 // 264 x 176

^

In file included from C:\Users\lostuser\Documents\Arduino\libraries\EReader\examples\EReader_demo\EReader_demo.ino:20:0:

C:\Users\lostuser\Documents\Arduino\libraries\EReader/EPD.h:33:2: note: previous declaration 'EPD_size EPD_2_7'

EPD_2_7 // 264 x 176

^

In file included from C:\Users\lostuser\Documents\Arduino\libraries\EReader/EReader.h:18:0,

from C:\Users\lostuser\Documents\Arduino\libraries\EReader\examples\EReader_demo\EReader_demo.ino:22:

C:\Users\lostuser\Documents\Arduino\libraries\EReader/EPD_V2.h:64:3: error: conflicting declaration 'typedef enum EPD_size EPD_size'

} EPD_size;

^

In file included from C:\Users\lostuser\Documents\Arduino\libraries\EReader\examples\EReader_demo\EReader_demo.ino:20:0:

C:\Users\lostuser\Documents\Arduino\libraries\EReader/EPD.h:34:3: error: 'EPD_size' has a previous declaration as 'typedef enum EPD_size EPD_size'

} EPD_size;

^

In file included from C:\Users\lostuser\Documents\Arduino\libraries\EReader/EReader.h:18:0,

from C:\Users\lostuser\Documents\Arduino\libraries\EReader\examples\EReader_demo\EReader_demo.ino:22:

C:\Users\lostuser\Documents\Arduino\libraries\EReader/EPD_V2.h:67:2: error: redeclaration of 'EPD_compensate'

EPD_compensate, // B -> W, W -> B (Current Image)

^

In file included from C:\Users\lostuser\Documents\Arduino\libraries\EReader\examples\EReader_demo\EReader_demo.ino:20:0:

C:\Users\lostuser\Documents\Arduino\libraries\EReader/EPD.h:37:2: note: previous declaration 'EPD_stage EPD_compensate'

EPD_compensate, // B -> W, W -> B (Current Image)

^

In file included from C:\Users\lostuser\Documents\Arduino\libraries\EReader/EReader.h:18:0,

from C:\Users\lostuser\Documents\Arduino\libraries\EReader\examples\EReader_demo\EReader_demo.ino:22:

C:\Users\lostuser\Documents\Arduino\libraries\EReader/EPD_V2.h:68:2: error: redeclaration of 'EPD_white'

EPD_white, // B -> N, W -> W (Current Image)

^

In file included from C:\Users\lostuser\Documents\Arduino\libraries\EReader\examples\EReader_demo\EReader_demo.ino:20:0:

C:\Users\lostuser\Documents\Arduino\libraries\EReader/EPD.h:38:2: note: previous declaration 'EPD_stage EPD_white'

EPD_white, // B -> N, W -> W (Current Image)

^

In file included from C:\Users\lostuser\Documents\Arduino\libraries\EReader/EReader.h:18:0,

from C:\Users\lostuser\Documents\Arduino\libraries\EReader\examples\EReader_demo\EReader_demo.ino:22:

C:\Users\lostuser\Documents\Arduino\libraries\EReader/EPD_V2.h:69:2: error: redeclaration of 'EPD_inverse'

EPD_inverse, // B -> N, W -> B (New Image)

^

In file included from C:\Users\lostuser\Documents\Arduino\libraries\EReader\examples\EReader_demo\EReader_demo.ino:20:0:

C:\Users\lostuser\Documents\Arduino\libraries\EReader/EPD.h:39:2: note: previous declaration 'EPD_stage EPD_inverse'

EPD_inverse, // B -> N, W -> B (New Image)

^

In file included from C:\Users\lostuser\Documents\Arduino\libraries\EReader/EReader.h:18:0,

from C:\Users\lostuser\Documents\Arduino\libraries\EReader\examples\EReader_demo\EReader_demo.ino:22:

C:\Users\lostuser\Documents\Arduino\libraries\EReader/EPD_V2.h:70:2: error: redeclaration of 'EPD_normal'

EPD_normal // B -> B, W -> W (New Image)

^

In file included from C:\Users\lostuser\Documents\Arduino\libraries\EReader\examples\EReader_demo\EReader_demo.ino:20:0:

C:\Users\lostuser\Documents\Arduino\libraries\EReader/EPD.h:40:2: note: previous declaration 'EPD_stage EPD_normal'

EPD_normal // B -> B, W -> W (New Image)

^

In file included from C:\Users\lostuser\Documents\Arduino\libraries\EReader/EReader.h:18:0,

from C:\Users\lostuser\Documents\Arduino\libraries\EReader\examples\EReader_demo\EReader_demo.ino:22:

C:\Users\lostuser\Documents\Arduino\libraries\EReader/EPD_V2.h:71:3: error: conflicting declaration 'typedef enum EPD_stage EPD_stage'

} EPD_stage;

^

In file included from C:\Users\lostuser\Documents\Arduino\libraries\EReader\examples\EReader_demo\EReader_demo.ino:20:0:

C:\Users\lostuser\Documents\Arduino\libraries\EReader/EPD.h:41:3: error: 'EPD_stage' has a previous declaration as 'typedef enum EPD_stage EPD_stage'

} EPD_stage;

^

In file included from C:\Users\lostuser\Documents\Arduino\libraries\EReader/EReader.h:18:0,

from C:\Users\lostuser\Documents\Arduino\libraries\EReader\examples\EReader_demo\EReader_demo.ino:22:

C:\Users\lostuser\Documents\Arduino\libraries\EReader/EPD_V2.h:88:7: error: redefinition of 'class EPD_Class'

class EPD_Class {

^

In file included from C:\Users\lostuser\Documents\Arduino\libraries\EReader\examples\EReader_demo\EReader_demo.ino:20:0:

C:\Users\lostuser\Documents\Arduino\libraries\EReader/EPD.h:45:7: error: previous definition of 'class EPD_Class'

class EPD_Class {

^

Using library SPI at version 1.0 in folder: C:\Users\lostuser\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.11\libraries\SPI
Using library SD at version 1.0.6 in folder: C:\Program Files (x86)\Arduino\libraries\SD
Using library EReader in folder: C:\Users\lostuser\Documents\Arduino\libraries\EReader (legacy)
exit status 1
Error compiling.
1
Justin Shaw's profile photo
 
Sorry about that. We are looking into this. +Kevin Osborn is out in front on this
Add a comment...

Julian NZ

AlaMode  - 
 
Hello just trying to setup my RaspberryPints with Alamode the problem I am having is connecting 6 flow metres to it, it seems only pins 8,9,10,11 work for me I can't get any other to work. Any suggestions?
1
Julian NZ's profile photoKevin Osborn's profile photo
9 comments
 
This is a hall effect device, that requires you to count pulses. (I haven't used it, just googled a little). If you are using interrupts to do it, you are limited to what pins you can use (actually only 2 and 3 I believe on the 328). There may be a way to do it with pin change interrupts.

Have you tried your sensors on an arduino uno? I suspect it will fail the same way. If it works there, then there may be a hardware problem with the alamode. They use the same microcontroller, and from an Arduino IDE perspective they are more or less identical.
Add a comment...
 
Hello Justin,

Here's a video of the bootup and selecting a few different buttons. I'm using the coin cell that came with the BADGEr to power it.
2
Joel Rader's profile photoJustin Shaw's profile photo
4 comments
 
Yeah!!!! I love happy endings!!
Add a comment...

Aaron Braun

AlaMode  - 
 
Recently purchased the new Raspberry Pi 3 Model B. I have used the directions on your site, but keep receiving "unable to execute: ./setup: No such file or directory." I have posted the cat command outputs below. Ideas? 

Steps I followed:
1. wget http://git.io/alamode-setup
2. tar -xvzf alamode-setup.tar.gz
3. cd alamode-setup
4. sudo ./setup

Thanks,
Aaron
2
Kevin Osborn's profile photoKent Hill's profile photo
6 comments
 
I just downloaded them new from both the website and github.  They still have CR LF ($0a $0d).  This is true for all of the text files.  It even happened when I copied and pasted the file from the browser.   It fails when it tries to parse the first line !# /bin/bash.  Plinio's suggestion still works.
Add a comment...
 
Hi,

I'm having some problems programming my Alamode board from my Raspberry Pi using the GPIO serial connection. I got the RTC working and everything, so I know I have some kind of connection to the board :-) Whenever I try to program the board though, it just says "avrdude: ser_recv(): programmer is not responding" and "avrdude: stk500_recv(): programmer is not responding". I'm running the most recent Raspbian (Jessie), and I have used your setup scripts (they didn't work before I removed the Windows line endings though...). I have disabled serial console on the Pi, so that shouldn't interfere with the programming of the Alamode.

Do you have any clues as to what I can look into? I tried to program the chip on an STK500 programmer board, and that seemed to work, but I'd really like to be able to program it from the Pi.

Oh, I'm using a Raspberry Pi B+ - if you need any more information just ask ;-)

Best regards,
Mads
1
Mads Darø Kristensen's profile photoKevin Osborn's profile photo
9 comments
 
Yeah, I figured it wasn't so simple. If the wrong bootloader is programmed, though, the baud can be off.
Add a comment...
 
alamode_v3 with RPi3.  I am new to both.  I have downloaded all the latest setup files, and I ran the jessie_setup, but no matter what I do, when I run the Arduino IDE, the serial port selector is greyed out, and I cannot select a serial port.  If I plug my other arduino into the RPi usb, it works fine, but I cannot get the alamode to work.  When i plug it in to the RPi, I get 2 green led, indicating it is getting power to 5V and 3V.  and nothing else (not sure if anything else is expected)

I have tried with both power from Pi, and external power
I have tried a fresh install of Raspbian
I went into the RPi config and enabeld SPI and I2C

searching online, I have seen various other posts about this, but they all seem to be for older versions, and do not help.

I assumed if the alamode works with RPi2, it should work with RPi3 as well.  

Anyone have any ideas what I am doing wrong?
1
Ratabasan Cullen's profile photo
10 comments
 
Worked it out. For anyone with the same problem run raspi-config and turn of the serial for console.
Add a comment...
 
I'm just getting started with the Badger, and though i can see expected activity in the serial monitor the screen never changes.  I tried to go as simple as possible and just clear the display by calling the ereader.clear() method.  Any ideas
2
Todd Gruben's profile photoJustin Shaw's profile photo
5 comments
 
No.  Sounds like you have a dud.  Can you send me a vid of the start up sequence? 

Sorry for your trouble!
Add a comment...

Kevin Osborn
moderator

AlaMode  - 
 
I updated the User guide for AlaMode to include Jessie-setup.
https://docs.google.com/document/d/1HBvd3KNmcs632ZgO6t_u37B-qwV6P9o9FQe62lGkumM/edit#heading=h.rox4uu4d4c4j
I also updated the bundle alamode-setup.tar.gz.
Drive
AlaMode User GuideAlaMode User Guide Revision 1.1 www.wyolum.com info@wyolum.com Introduction Main Features of AlaMode ! WARNING ! Instructions for safe use Use of Fonts Hardware Assembly Install Arduino IDE for Raspberry Pi Interfacing with Raspberry Pi & Powering Up Adding Al...
1
Add a comment...
 
Having an issue getting Arduino to program the alamode.  See the error below from a screen shot.

Shout out to my buddy Even. Long time no see at RMD
1
Eric Chapman's profile photo
5 comments
 
I have figured out what the issue was.  Thanks Kent for the link to the serial interface gotchya's that you posted.  Turns out I also had to set the uart interface in the config.txt file from 0 to 1.  Once i did that everything fell into place and i was able to send the blink example to the alamode.  I have copied and pasted the relevant info for future reference.  The config.txt file already had the enable_uart i just needed to modify it accordingly.

** from    http://spellfoundry.com/2016/05/29/configuring-gpio-serial-port-raspbian-jessie-including-pi-3/   *

Enabling
There is yet another wrinkle in that in the latest Jessie releases (as of May 2016) the GPIO serial port is disabled by default. In order to enable it, edit config.txt:

$ sudo nano /boot/config.txt
enable_uart=1

As of May 2016 this will also lock the cpu core frequency for you so there’s nothing else you need to do (If you aren’t convinced and you really like to belt and braces it the command is: core_freq=250 which is adds to the file aswell).

Reboot for the changes to take effect.
Add a comment...
 
I am having trouble programming the Alamode. I have completed installation and configuration (resolving some issues others have had). Got the board showing up as well as the port.

My problem: I can't send the simple "blink" sketch. I have tried 115200 baud as well as 57600. Both fail with the same error. Here are my verbose output from both attempts.

Binary sketch size: 1,056 bytes (of a 32,256 byte maximum)
/usr/share/arduino/hardware/tools/avrdude
-C/usr/share/arduino/hardware/tools/avrdude.conf -v -v -v -v
-patmega328p -calamode -P/dev/ttyS0 -b115200 -D
-Uflash:w:/tmp/build18792512809611433.tmp/Blink.cpp.hex:i

avrdude: Version 5.11svn-20111019, compiled on Feb 15 2015 at 18:22:47
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright (c) 2007-2009 Joerg Wunsch

System wide configuration file is
"/usr/share/arduino/hardware/tools/avrdude.conf"
User configuration file is "/home/pi/.avrduderc"
User configuration file does not exist or is not a regular
file, skipping

Using Port : /dev/ttyS0
Using Programmer : alamode
Overriding Baud Rate : 115200
avrdude: Send: 0 [30] [20]
avrdude: Send: 0 [30] [20]
avrdude: Send: 0 [30] [20]
avrdude: ser_recv(): programmer is not responding
avrdude: stk500_recv(): programmer is not responding

And then at 57600 baud attempt result

Binary sketch size: 1,056 bytes (of a 32,256 byte maximum)
/usr/share/arduino/hardware/tools/avrdude
-C/usr/share/arduino/hardware/tools/avrdude.conf -v -v -v -v
-patmega328p -calamode -P/dev/ttyS0 -b57600 -D
-Uflash:w:/tmp/build3446814886307353351.tmp/Blink.cpp.hex:i

avrdude: Version 5.11svn-20111019, compiled on Feb 15 2015 at 18:22:47
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright (c) 2007-2009 Joerg Wunsch

System wide configuration file is
"/usr/share/arduino/hardware/tools/avrdude.conf"
User configuration file is "/home/pi/.avrduderc"
User configuration file does not exist or is not a regular
file, skipping

Using Port : /dev/ttyS0
Using Programmer : alamode
Overriding Baud Rate : 57600
avrdude: Send: 0 [30] [20]
avrdude: Send: 0 [30] [20]
avrdude: Send: 0 [30] [20]
avrdude: ser_recv(): programmer is not responding
avrdude: stk500_recv(): programmer is not responding

I am out of ideas. Anyone have any ideas of what to try next?

Thanks!
1
Kevin Osborn's profile photoKent Hill's profile photo
6 comments
 
I don't think so.

It works perfectly on my RPI 2/wheezy. I got it working today on the RPI 3 Jessie. It took the following steps.

1. Reflash/update from noobies 1.9.0 to 1.9.2. (For some reason the dist-upgrade broke things.)

2. Enable dev/ttyS0 from the menu>Preferences>Raspberry Pi Configuration>Interfaces >>> Serial enable.

3. Download and unpack the alamomde-setup.tar.gz as instructed in the user manual.

4. Run dos2unix on the jessie.setup file. (The text files are all cr lf/ dos files and bash won't interpret the first line correctly and gives a file not found error)

5. Edit the jessie-setup file replacing console=ttyAMA0 with console=serial0. ( see
http://spellfoundry.com/2016/05/29/configuring-gpio-serial-port-raspbian-jessie-including-pi-3/) for explanation.

6 sudo ./jessie-setup

Hope this helps someone else!

Add a comment...
 
I'm trying to install the Grbl Controller to run on Alamode connected to the Raspberry Pi 3 Model B wih Raspbian Jessie distro. I followed the tutorial from Wyolum's Alamode User Guide and zapmaker. I am able to upload Blink to Alamode but when I run the following command:

/usr/share/arduino/hardware/tools/avrdude -C /usr/share/arduino/hardware/tools/avrdude.conf -p m328p -b 115200 -c alamode -P /dev/ttyS0 -D -U flash:w:1I8Ey4S -v -v -v -v

I get this error:

avrdude: Version 5.11svn-20111019, compiled on Feb 15 2015 at 18:22:47
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright (c) 2007-2009 Joerg Wunsch
System wide configuration file is "/usr/share/arduino/hardware/tools/avrdude.conf"
User configuration file is "/home/pi/.avrduderc"
User configuration file does not exist or is not a regular file, skipping
Using Port : /dev/ttyS0
Using Programmer : alamode
Overriding Baud Rate : 115200
avrdude: Send: 0 [30] [20]
avrdude: Send: 0 [30] [20]
avrdude: Send: 0 [30] [20]
avrdude: ser_recv(): programmer is not responding
avrdude: stk500_recv(): programmer is not responding
avrdude done. Thank you.

Any ideas on how to solve that?
2
Kevin Osborn's profile photoKent Hill's profile photo
4 comments
 
See my response to Greg Zimmers post above.
Add a comment...
 
Hello,

I recently ordered a BADGEr_4.1 and it was just delivered on Friday. It seems to power on properly using the coin cell, but the epaper screen seems "stuck" on the picture of the woman. I can tell the screen is doing some refreshing when I press a button, but not the whole screen.

Do I potentially have a non-functional screen, or is there additional troubleshooting I can do?
1
Justin Shaw's profile photoJoel Rader's profile photo
Add a comment...

Sean Meagher

ClockTHREEjr  - 
 
Hello, my ClockTHREEjr has been plugged in and working great for years. This morning I noticed that the LED's started flashing and my first thought was that the clock has a loose power connection. I have reset the clock and powered it on and off with no resolution. The clock still keeps the correct time but the LED's are flashing on and off really quickly as if there is a short. Not sure if it is a part or resistor? I did not put my Clock together. It was purchased already assembled from the original kickstarter campaign. Any help is appreciated. If a video or pics are needed to better understand the issue please let me know. Thanks.
1
Sean Meagher's profile photoJustin Shaw's profile photo
7 comments
 
Bugger that. If you want to carefully remove the ATMEGA328 and send it to me for reprogramming, I'd be happy to do it.
Add a comment...

Julian NZ

AlaMode  - 
 
Hello I can't connect my alamode to raspberry pi, I am running jessie and cannot get past the sudo ./jessie-setup. I am a nOOb just want to setup raspberrypints
1
Justin Shaw's profile photoKevin Osborn's profile photo
2 comments
 
Stand by, the jessie-setup has Windows line endings. I'll try to get this fixed up later today.
Add a comment...

Michael Fox

AlaMode  - 
 
I'm having problems running sudo ./setup or sudo ./jessie-setup.  The program returns "Sudo unable to execute ./setup (or jessie-setup): No such file or directory"

I installed arduino with no problems.  The IDE is there.

I unpacked the alamode-setup file to directory alamode-setup.  From alamode setup I run sudo ./setup or sudo ./jessie setup.  That is when I get the failure line.

I'm new to raspbian so any help will be appreciated.  If you need additional information, please let me know.
1
Michael Fox's profile photoKevin Osborn's profile photo
10 comments
 
Sorry for all the trouble. Jessie was a big change for all the setup stuff, and I kind of did it in a hurry. Thanks to you and everyone else for suffering through it! Glad you are up and running!
Add a comment...
 
2 problems with new setup scripts
1) I have found multiple instructions on getting the setup files
http://wyolum.com/projects/alamode/alamode-getting-started/ has "wget http://git.io/alamode-setup;  tar -xvzf alamode-setup.tar.gz"  the second command is wrong, you cannot have the .tar.gz

some just list
https://github.com/wyolum/alamode/raw/master/bundles/alamode-setup.tar.gz

please add the "wget" to the front of that

and I saw one that had something like wget https://github.com/wyolum/alamode/blob/master/bundles/alamode-setup.tar.gz?raw=true

which works, but give me a filename with the ?raw=true on the end



2) I had issues running the jessie_setup script.  I had to run it thru dos2unix before I could get it to run.
1
Justin Shaw's profile photoKevin Osborn's profile photo
2 comments
 
Nope, thanks +Adam Weitkemper I'll try to clean all this up.
Add a comment...
 
Hello all!

I just purchased Alamode board and I am intending to use it as grbl controller for Raspberry Pi. Now the question is that is it possible to use Alamode with the new Microsoft IoT Core?

I am guessing that after flashing the GRBL binaries into the atmel it should work using normal serial interface or am I wrong? In addition is it in any way possible to also connect with Alamode directly from Microsoft IoT Core using Arduino IDE?
2
Kevin Osborn's profile photoJoonas Puurtinen's profile photo
9 comments
 
Ah but of course! Yes I did not think this obviously through. But I'll get back to you guys after I had chance to test it and report my findings.
Add a comment...
 
As an alternative to maintaining patched utilities (avrdude/Arduino IDE) for resetting and flashing the AlaMode, would it be possible to have a “helper” program or script provide a virtual serial port that passes data through to the hardware serial port and maps the control lines of the virtual port to GPIO lines?

(I’m not sure if this might interfere with other processes using GPIO, or if it poses other disadvantages.)
1
Kevin Osborn's profile photo
 
It's a cool idea, but it involves writing a device driver which isn't currently in my skill set. If you want to help out, I'd love it!
Add a comment...
 
Just joined the AlaMode club. While attempting to configure the alamode on my new Rasberry pi model B I continually receive a "sed: can't read /etc/inittab: no such file or directory
rm: cannot remove 'etc/inittabbk': No such file or directory " ERROR

Can anyone shed some light on this?


Have downloaded the latest .zip file of alamode-master and followed instruction in the user guide.


The error throws whenever I type sudo ./ setup 
2
Jim Mike's profile photoEvan Oliver's profile photo
11 comments
 
Check out the YUN, practically the same thing without all the trouble...
Add a comment...