Problem Getting HAHNodes Working
Well, after trying about everything I can think off I have decied I need help....
My daughter soldered up the 2 nodes a few weeks ago (she was bored in the school hols & not a bad hand with a soldering iron !) and I eventually got round to loading the scripts which went ok.
I have just picked them up again to get them working and built the room node into the airwick.
But no data is being picked up !
I seem to have a problem in that doing any fault finding I can only occationally connect to the basenode via microcom once I have rebooted the HAH a few times, I do though get back '[HAHCentral.1] D i1 g212 @ 868 MHz' but nothing else.
Any guidance greatly appreciated......
The command:
# curl -o roomnode2.hex http://livebox-hah.googlecode.com/files/roomNode2.cpp.hex
Gets the file roomNode2.cpp.hex from the Google repository and saves it as roomnode2.hex, (the '-o' specifies the output filename) so that's not an issue.
Note that your roomNode will never output anything on the serial port ... only the baseNode firmware does this - hence no six way connector fitted on the roomNode PCB.
If you can load up code images onto the devices and set the RF and Id parameters, it's a pretty good sign that the microcontrollers are running properly. Focus attention on the soldering of the RF module to the PCB - sometimes a pad can look to be soldered when it's actually not quite making contact.
Mad thought ... you do have the antennae connected?
Cheers,
Derek.
Good to hear that the unit is now ready for some action. Very good that you have a youngster who can actually solder ... the lesson of that one dodgy solder joint is worth a great deal.
On the RF front, I've been enjoying excellent results with the LightwaveRF series devices. Very reliable, high quality, kit.
Do keep us posted re your progress.
Derek.
telnet onto the HAH & use 'ps' to see if the xap-pachube process is still running.
If it isn't restart it. If it is, try a bounce of the HAH.
Derek.
When running from the command line you need to supply "-i br0" for the correct interface to be used.
# xap-pachube -i br0
Or use xap shell script to start it for you which will determined the corrected interface from your "config_bridge" setting.
# /etc/init.d/xap restart pachube
Brett
Looks as if xap-pachube is having trouble parsing your ini file. Telnet in and have a look at /etc/xap-livibox.ini
Inspect the [pachube] section for any unwanted characters or other chaos.
The startup string from your baseNode looks fine.
Have you double-checked that the roomNode has an id of > 1 ?
Also, if you have a multimeter to hand, checkout the output from the regulator on your roomNode. You should see 3.3V
If you get really stuck, let me know & I'll send you out a 'known good' pair of baseNode/roomNode. I've got several sets of these things. It's rather 'chicken and egg' but it's a lot easier to debug issues on these units if you already have a setup that works!
Cheers,
Derek