Search found 8 matches

by romeok01
Thursday 06 October 2016 14:12
Forum: MySensors
Topic: Stepper motor with MySensors
Replies: 4
Views: 2684

Re: Stepper motor with MySensors

by romeok01
Tuesday 13 September 2016 11:50
Forum: MySensors
Topic: Stepper motor with MySensors
Replies: 4
Views: 2684

Re: Stepper motor with MySensors

I write program with AccelStepper library

// Enable debug prints to serial monitor
#define MY_DEBUG

// Enable and select radio type attached
#define MY_RADIO_NRF24
//#define MY_RADIO_RFM69

// Enable repeater functionality for this node
#define MY_REPEATER_FEATURE

#include <SPI.h>
#include ...
by romeok01
Friday 09 September 2016 23:36
Forum: MySensors
Topic: Stepper motor with MySensors
Replies: 4
Views: 2684

Re: Stepper motor with MySensors

I was able to write a program on library Stepper

Program code:
// Enable debug prints to serial monitor
#define MY_DEBUG

// Enable and select radio type attached
#define MY_RADIO_NRF24
//#define MY_RADIO_RFM69

// Enable repeater functionality for this node
#define MY_REPEATER_FEATURE

#include ...
by romeok01
Friday 09 September 2016 20:05
Forum: MySensors
Topic: Stepper motor with MySensors
Replies: 4
Views: 2684

Stepper motor with MySensors

Hello.
To my project i use stepper motor JK42HS34-0404 and driver L298N.

This is a wiring diagram.
https://lh3.googleusercontent.com/OW6vkM8DAApgkDPmkb77LgnsD7VyUv1Zn-MLmQhtUf-UyxpKWLaw3IQ1eIfcVgomrui0oaEPmxvjitGu1Y2aYup6kferaY1jdXCkMn32ntZbx7kLiIwGjFpnF1lIZCEaNfgxPGg_2Pyq6sENwO ...
by romeok01
Friday 02 September 2016 19:44
Forum: Show your projects
Topic: My Gateway MySensors
Replies: 0
Views: 803

My Gateway MySensors

This is my Gateway MySensors.
https://photos-2.dropbox.com/t/2/AAD-_09cAK3MUOB41oULHa9LhAC8_6idKGQZRFDlV37M3g/12/420472181/jpeg/256x256/1/_/1/2/2016-09-02%2018.36.01.jpg/EJbv3a8DGJwxIAIoAg/1linvnYcwdCLVls40SHSab8VWmJewLLfrzNDZmT4pXw?size_mode=3&size=2048x1536

https://photos-5.dropbox.com/t/2 ...
by romeok01
Monday 30 May 2016 12:46
Forum: Show your projects
Topic: Coal or water level sensor
Replies: 0
Views: 1107

Coal or water level sensor

This is my coal level sensor
https://youtu.be/3ShomcZfV-w

How do I described in my blog:
http://projektpimalina.blogspot.com/2016/05/czujnik-poziomu-wegla-na-nadajniku.html

#include <MySensor.h>
#include <SPI.h> //import biblioteki MySenors

#define trigPin 3
#define echoPin 4
int max = 60 ...
by romeok01
Sunday 12 July 2015 16:19
Forum: LUA
Topic: Error executing script command lua returned: 512
Replies: 8
Views: 6595

Re: Error executing script command lua returned: 512

Thank You Very Much roblom :)

Now its work :)
by romeok01
Sunday 12 July 2015 15:40
Forum: LUA
Topic: Error executing script command lua returned: 512
Replies: 8
Views: 6595

Error executing script command lua returned: 512

I have problem with script in lua.

I write simple script in lua:
commandArray = {}
if (devicechanged['LED Zielona'] == 'On') then
commandArray['LED Czerwona']='On'
end
return commandArray

Name this file is: led.lua and i move this in folder: /home/pi/domoticz/scripts/lua

This is switch in ...