• 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
Thanks for reporting. I'm running on the pilight usb nano for two weeks without problems myself Smile
 
Reply
i think it is intresting to share wich versions are working fine.
not sure if the uno should work but the version i have isn't working
the nano i have is working fine

http://wiki.pilight.org/doku.php/arduino
 
Reply
Uno is untested. That's why i call it Nano not Uno Smile
 
Reply
a stupid question:
I know homeduino for pimatic. is comparable?
 
Reply
Yes, and ofc it all depends on what you consider a difference, pimatic's homeduino is written with the Arduino software and some existing libraries. The pilight usb nano is written in plain C and is all our own code. We choose this approach to keep full control over de microcontroller and to know exactly what is going on in every inch. I also allows you to flash your microcontroller without having to use the Arduino software. I would suggest testing them both and see what works best for you.
 
Reply
ok, thx for u answer. i will try it in the next days Smile
only 2 questions

i will run the Arduini Nano on my Raspberry Pi 2.
----------------------------------------------
1.
i found no step-by-step guide. is this here right?
- Nano on USB Port
- Transmitter and Receiver on Arduino Nano (via wire)
- Installation of pilight 7 on my Raspy (apt-get install pilight)
- Compile pilight-Nano on my Raspy according to this steps:
----#avr-gcc -Os -Wall -DF_CPU=16000000UL -mmcu=atmega328p -c -o pilight_usb_nano.o pilight_usb_nano.c -lm -I.
----#avr-gcc -mmcu=atmega328p pilight_usb_nano.o -o pilight_usb_nano
----#avr-objcopy -O ihex -R .eeprom pilight_usb_nano pilight_usb_nano.hex

In the Guide i found
pilight USB nano hardware configuration
which file is this?
---------------------------------------------------------
2.
After this i ve pilight on my Pi and on the Nano? How i know
which pilight i use?
---------------------------------------------------------
 
Reply
Afaik, you don't need to compile the firmware yourself, if you do sudo apt-get install pilight-firmware you'll get precompiled firmware files in /etc/pilight. There are several files (not sure how many), you need to choose the one for the Arduino, which you can then flash onto the Nano using pilight-flash
 
Reply
The far easiest way is to install the Windows version of pilight (if you are using Windows ofc) and then run:
Code:
c:\pilight\pilight-flash -f pilight_usb_nano.hex -p COM1
Change COM1 to the correct comport. The nano is supported since pilight v7.

You can check the pilight manual on how to use the nano:
http://manual.pilight.org/en/configuration-hardware

@pilino1234, the nano firmware is not yet part of the firmware package. Forgot about it Smile
 
Reply
(06-23-2015, 08:51 AM)curlymo Wrote: @pilino1234, the nano firmware is not yet part of the firmware package. Forgot about it Smile

Oh yeah, I just remembered that the three in there are just the different ATTiny files. It would be nice to include the Nano firmware in there too Smile
 
Reply
And done Smile

So to flash the pilight usb nano firmware on linux:
Code:
sudo apt-get install pilight pilight-firmware
sudo pilight-flash -f /etc/pilight/pilight_usb_nano.hex -p /dev/ttyUSB0
 
Reply
  


Possibly Related Threads...
Thread Author Replies Views Last Post
  hardware info lost after pilight restart Rschnauzer 3 199 03-17-2021, 11:44 AM
Last Post: Rschnauzer
Question pilight stopped working sl4m01 3 882 11-26-2020, 09:17 PM
Last Post: PPacman
  pilight-raw changes output format from 7 to 8 Rschnauzer 1 604 11-26-2020, 01:52 PM
Last Post: curlymo
Question pilight nightly webgui offline after some hours fleisch 4 620 10-26-2020, 05:19 PM
Last Post: fleisch
  pilight bugs Ascenion 1 624 03-23-2020, 06:29 PM
Last Post: curlymo
  [Solved] pilight service crashing on first webserver access after reboot VrahoK 20 4,252 12-21-2019, 09:46 AM
Last Post: curlymo
  pilight-control modify values coolinx 16 3,452 11-13-2019, 08:02 PM
Last Post: curlymo
  Bug: double free or corruption in pilight-send blackzombie 12 2,979 10-07-2019, 08:15 PM
Last Post: blackzombie
  [Fixed] High CPU usage when pilight usb nano disconnects DieterK 1 949 08-13-2019, 05:43 PM
Last Post: curlymo
  problems compiling pilight on Odroid C2 WitchDoctor 101 28,453 03-14-2019, 09:01 PM
Last Post: curlymo

Forum Jump:


Browsing: 1 Guest(s)