Sensbender Micro BinaryDoorSensor



  • I´m tired of my regular pro mini with an binarydoorsensor scetch that just take to much of batteries.

    So now have the sensbender micro cards came home and I`m just finished the first one and trying to program it with no luck.

    This error message I get when trying to upload the standard scetch for sensbender from Arduino.

    Someone have any idea?

    And I also wounder if I just can upload the mysensors scetches (binaryswitchsleepsensor) to sensbender board?

    Arduino:1.6.13 (Windows 10), Kort:"Sensebender Micro, Atmega328 1Mhz"
    
    java.io.IOException: Access is denied
    	at java.io.WinNTFileSystem.createFileExclusively(Native Method)
    	at java.io.File.createTempFile(File.java:2024)
    	at processing.app.BaseNoGui.saveFile(BaseNoGui.java:1067)
    	at processing.app.SketchFile.save(SketchFile.java:287)
    	at processing.app.Sketch.save(Sketch.java:138)
    	at processing.app.SketchController.save(SketchController.java:344)
    	at processing.app.Editor.handleSave2(Editor.java:2044)
    	at processing.app.Editor.handleSave(Editor.java:2024)
    	at processing.app.Editor.handleExport(Editor.java:2163)
    	at processing.app.EditorToolbar.mousePressed(EditorToolbar.java:378)
    	at java.awt.Component.processMouseEvent(Component.java:6530)
    	at javax.swing.JComponent.processMouseEvent(JComponent.java:3324)
    	at java.awt.Component.processEvent(Component.java:6298)
    	at java.awt.Container.processEvent(Container.java:2236)
    	at java.awt.Component.dispatchEventImpl(Component.java:4889)
    	at java.awt.Container.dispatchEventImpl(Container.java:2294)
    	at java.awt.Component.dispatchEvent(Component.java:4711)
    	at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4888)
    	at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4522)
    	at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4466)
    	at java.awt.Container.dispatchEventImpl(Container.java:2280)
    	at java.awt.Window.dispatchEventImpl(Window.java:2746)
    	at java.awt.Component.dispatchEvent(Component.java:4711)
    	at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
    	at java.awt.EventQueue.access$500(EventQueue.java:97)
    	at java.awt.EventQueue$3.run(EventQueue.java:709)
    	at java.awt.EventQueue$3.run(EventQueue.java:703)
    	at java.security.AccessController.doPrivileged(Native Method)
    	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
    	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86)
    	at java.awt.EventQueue$4.run(EventQueue.java:731)
    	at java.awt.EventQueue$4.run(EventQueue.java:729)
    	at java.security.AccessController.doPrivileged(Native Method)
    	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
    	at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
    	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
    	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
    	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
    	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
    	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
    	at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
    Access is denied
    C:\Program Files (x86)\Arduino\arduino-builder -dump-prefs -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -hardware C:\Users\mronn\AppData\Local\Arduino15\packages -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -tools C:\Users\mronn\AppData\Local\Arduino15\packages -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries C:\Users\mronn\Documents\Arduino\libraries -fqbn=MySensors:avr:MysensorsMicro:cpu=1Mhz -ide-version=10613 -build-path C:\Users\mronn\AppData\Local\Temp\arduino_build_377711 -warnings=all -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.avr-gcc.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.avrdude.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -verbose C:\Users\mronn\AppData\Local\Temp\arduino_modified_sketch_459628\SensbenderMicro.ino
    C:\Program Files (x86)\Arduino\arduino-builder -compile -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -hardware C:\Users\mronn\AppData\Local\Arduino15\packages -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -tools C:\Users\mronn\AppData\Local\Arduino15\packages -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries C:\Users\mronn\Documents\Arduino\libraries -fqbn=MySensors:avr:MysensorsMicro:cpu=1Mhz -ide-version=10613 -build-path C:\Users\mronn\AppData\Local\Temp\arduino_build_377711 -warnings=all -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.avr-gcc.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.avrdude.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -verbose C:\Users\mronn\AppData\Local\Temp\arduino_modified_sketch_459628\SensbenderMicro.ino
    Using board 'MysensorsMicro' from platform in folder: C:\Users\mronn\AppData\Local\Arduino15\packages\MySensors\hardware\avr\1.0.1
    Using core 'arduino' from platform in folder: C:\Program Files (x86)\Arduino\hardware\arduino\avr
    Detecting libraries used...
    "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=1000000L -DARDUINO=10613 -DARDUINO_AVR_MICRO8 -DARDUINO_ARCH_AVR   "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Users\mronn\AppData\Local\Arduino15\packages\MySensors\hardware\avr\1.0.1\variants\micro" "C:\Users\mronn\AppData\Local\Temp\arduino_build_377711\sketch\SensbenderMicro.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=1000000L -DARDUINO=10613 -DARDUINO_AVR_MICRO8 -DARDUINO_ARCH_AVR   "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Users\mronn\AppData\Local\Arduino15\packages\MySensors\hardware\avr\1.0.1\variants\micro" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SPI\src" "C:\Users\mronn\AppData\Local\Temp\arduino_build_377711\sketch\SensbenderMicro.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=1000000L -DARDUINO=10613 -DARDUINO_AVR_MICRO8 -DARDUINO_ARCH_AVR   "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Users\mronn\AppData\Local\Arduino15\packages\MySensors\hardware\avr\1.0.1\variants\micro" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SPI\src" "-IC:\Users\mronn\Documents\Arduino\libraries\MySensors" "C:\Users\mronn\AppData\Local\Temp\arduino_build_377711\sketch\SensbenderMicro.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=1000000L -DARDUINO=10613 -DARDUINO_AVR_MICRO8 -DARDUINO_ARCH_AVR   "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Users\mronn\AppData\Local\Arduino15\packages\MySensors\hardware\avr\1.0.1\variants\micro" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SPI\src" "-IC:\Users\mronn\Documents\Arduino\libraries\MySensors" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\Wire\src" "C:\Users\mronn\AppData\Local\Temp\arduino_build_377711\sketch\SensbenderMicro.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=1000000L -DARDUINO=10613 -DARDUINO_AVR_MICRO8 -DARDUINO_ARCH_AVR   "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Users\mronn\AppData\Local\Arduino15\packages\MySensors\hardware\avr\1.0.1\variants\micro" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SPI\src" "-IC:\Users\mronn\Documents\Arduino\libraries\MySensors" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\Wire\src" "C:\Users\mronn\AppData\Local\Temp\arduino_build_377711\sketch\SensbenderMicro.ino.cpp" -o "C:\Users\mronn\AppData\Local\Temp\arduino_build_377711\preproc\ctags_target_for_gcc_minus_e.cpp"
    C:\Users\mronn\AppData\Local\Temp\arduino_modified_sketch_459628\SensbenderMicro.ino:61:20: fatal error: SI7021.h: No such file or directory
    
     #include <SI7021.h>
    
                        ^
    
    compilation terminated.
    
    Using library SPI at version 1.0 in folder: C:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SPI 
    Using library MySensors at version 2.0.0 in folder: C:\Users\mronn\Documents\Arduino\libraries\MySensors 
    Using library Wire at version 1.0 in folder: C:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\Wire 
    exit status 1
    Error compiling for board Sensebender Micro.
    Invalid library found in C:\Program Files (x86)\Arduino\libraries\SensbenderMicro: C:\Program Files (x86)\Arduino\libraries\SensbenderMicro
    Invalid library found in C:\Program Files (x86)\Arduino\libraries\SensbenderMicro: C:\Program Files (x86)\Arduino\libraries\SensbenderMicro```


  • This is an issue with your PC,

    i would recommend doing a clean install of Arduino/my sensors libraries.

    Also it is getting access denied, running as Admin might help.


  • Hero Member

    The library for SI7021 is missing. You'll find it here: https://github.com/mysensors/MySensorsArduinoExamples


Log in to reply
 

Suggested Topics

  • 8
  • 1
  • 7
  • 2
  • 90
  • 1

0
Online

11.4k
Users

11.1k
Topics

112.7k
Posts