• 10 dec 2017: forum version update. In case of issues use this topic.
  • 30 nov 2017: pilight moved servers. In case of issues use this topic.
Hello There, Guest! Login Register


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
pilight Nano USB interface
#1
Smile 
I released the pilight Arduino Nano code today.

This allows users to use pilight on any computer with a USB port.

Requirements:
- Supported OS.
- USB port.
- Arduino Nano.
- pilight Arduino Nano firmware.
- Latest pilight nightly.
- Sender and/or Receiver

The Arduino Nano firmware can be found here.

Please let me know what your experiences are, i've tested this myself on Windows and Linux.

I will update the Windows installer soon.



New windows installer can be found here



Installing the pilight USB nano firmware on Windows.

- Download the installer.
- Install pilight for Windows.
- Go to c:\pilight\
- Open a console with cmd
- Connect the Arduino Nano to your computer and check to what COM port it's connected, such as COM5
- Flash the pilight usb nano firmware:
Code:
pilight-flash.exe -f pilight_usb_nano.hex -p COM5
- Open c:\pilight\config.json and add the new pilight usb nano:
Code:
[...]
    "hardware": {
        "433nano": {
            "comport": "COM5"
        }
    },
[...]

- Start pilight from your start menu of when you're still in the console through: pilight-daemon.
- To see your devices, you can start pilight-receive while pilight-daemon is active.

Connecting the sender and receiver to the Arduino Nano:
- VCC: 5v
- GND: 0v / GND
- Sender Data: D5
- Receiver Data: D2

Have Fun!


The pilight USB Nano is also for sale! Consider supporting the project instead of buying it yourself.
 
Reply
#2
Only for original nano i guess?
There are replicas for € 3,- on the shopping platforms where the original is about € 70,-
Terrarium:  RPi Model B Rev 2 / pilight 8.0.6 / stretch
Aquarium: RPi Model B Plus Rev 1.2 / pilight 8.0.6 / jessie
 
Reply
#3
Both will work. They are all ATMega328P chips, and that's the only thing that matters.
 
Reply
#4
Does the firmware include some filtering functions?
 
Reply
#5
Yes
 
Reply
#6
Added installation instructions for firmware flashing on Windows.
 
Reply
#7
Smile 
I flashed my $3 Nano and pilight-daemon.exe is receiving data! Tongue
At the moment I don't have a spare sender, so I cannot test sending data.
 
Reply
#8
I'm very curious to this new development! Great job curlymo!
 
Reply
#9
Already available for testing...
 
Reply
#10
Very cool, ordered a Nano clone and an additional sender/receiver kit, can't wait to test it.
 
Reply
  


Possibly Related Threads...
Thread Author Replies Views Last Post
  problems compiling pilight on Odroid C2 WitchDoctor 2 60 Yesterday, 10:31 AM
Last Post: WitchDoctor
  pilight-send and pilight-daemon DieterK 0 67 06-20-2018, 12:44 AM
Last Post: DieterK
  Lights not switched on or off by rules in pilight 8.1.0 rorie 22 458 06-12-2018, 03:56 PM
Last Post: curlymo
  pilight 8 what chages for custom protocols? polo 7 842 02-14-2018, 07:05 PM
Last Post: curlymo
  check API in pilight 8 stratege-0815 4 475 02-11-2018, 09:34 AM
Last Post: stratege-0815
  pilight-receive terminates zackdvd 8 559 12-30-2017, 09:07 PM
Last Post: curlymo
  pilight 8.0 / wiringx wupperpi 2 677 12-18-2017, 03:25 PM
Last Post: wupperpi
  pilight on RPi with latest Arch stopped working Ypsilon 12 3,172 12-17-2017, 12:43 PM
Last Post: tinusv
  pilight -> Home Assistant crash jmvermeulen 6 577 12-11-2017, 09:39 PM
Last Post: curlymo
  How to compile pilight for your OpenWRT Router frenchie71 4 2,136 11-11-2017, 03:29 PM
Last Post: frenchie71

Forum Jump:


Browsing: 1 Guest(s)