Quantcast
Channel: panStamp forum - All Forums
Viewing all 473 articles
Browse latest View live

Closing Connection with BSL

$
0
0
Hello,
I'm new with panstamp environment.
For this reason i tried to compile an existed sketch for panstamp
I have Panstamp NRG 2, when i upload the sketch, I get:

Connecting to target board
Erasing main flash...
bsloader.BslException: No response received from BSL
Trying again...
Closing connection with BSL...

Please, I need help for this problem
Thanks in advance

Connect GND and VCC pins to Panstamp 2.0 Adapter

$
0
0
Hello,

I Have panstamp NRG 2.0 which is connected to panstamp adapter. I want to power it by 2xAAA battery holder in order to send packet to another panstamp (receiver) which is connected to my laptop as a gateway.
Receiving a packet, the receiver node blinks a led.
The code is correct but the received node doesn't toggle its led.
So, I think that the sender node is not powered. For this reason I attached here 2 figures that show the connection of panstamp and the battery holder (VCC and GND)
Can you please see if my connection is correct or no because in my panstamp 2.0 adapter I'm not sure about the pins.
Thanks in advance for your help!
Sincerely

.jpg  14876131_1258594440878559_267907238_o.jpg (Size: 117.97 KB / Downloads: 1)

.jpg  14907779_1258594460878557_1363977551_o.jpg (Size: 84.6 KB / Downloads: 1)

Hello from south Germany

$
0
0
Hello all together,

I got my first panStamps beginning of august, targeting two different projects:

at first I want to create an automatic ventilation in the basement of the house we started to renovate in July. My plan: Four minibat sensor boards for the measurement of humidity and temperature, two must control two ventilators, and the other two are only for measurement (outside and inside). To control all and to log the data, I want to use a Raspberry Pi 2.

My second project will be an automatic irrigation in my garden, but it's to early to tell more...

The progress of the projects will be documented at hackster.io, but at the moment there's nothing public...

Christoph

telemetry use case - help required

$
0
0
Hi,

We are planning to develop a solution for a telemetry use case in a forest like environment with a radius of 1km.
We are looking at around 150 end nodes.
The sensor data may be required once in 5 seconds from every node and the data payload could be 128 bit.

In India, the following is the ISM band specs.

Frequency Band: 865-867 MHz
Low power RFID equipments or any other low power wireless devices or equipments
Power: Maximum transmitter output power of 1 Watt ( 4 Watts Effective Radiated Power)Carrier Bandwidth: 200 KHz


We are considering TI CC430 based solution for the nodes.
GWAP looks interesting as well to use it as protocol.

I have the following queries:
1. Can a gateway based on CC110x chips handle this much data 150 x (128 bit + GWAP overhead) once in 5 seconds
2. Is it possible to meet the range requirement of 1 km radius in a forest like terrain.


Kindly help me as i am a newbie in UNB/panStamp related technology.

Other alternative that we have considered is LoRa, but TI UNB looks better considering the cost factor.


Thanks,
Saravana

How do I get largarto-swap to tell me what is wrong?

$
0
0
Hi,

I recently melted my rpi server that was hosting lagarto-swap.
I have a bunch of C.H.I.Ps so I decided to put lagarto-swap onto them.

After a bit of fiddling I've got everything to work, except for saving the config. If I try to save the config it comes up and says "unable to process the command", and no where can I find a log that will tell me why it can't process the command.

How do I get it to tell my what the issue is so I can fix it?

BTW. I did think it was a permission thing so I set every file under the pythons_tools directory to 'a+rwx'

NRG 1.0 power consumption while sleeping

$
0
0
Hi,

I'm measuring a rather high power consumption when in deep sleep mode, waiting for pin interrupt (panstamp.sleep()), i see ~150uA (from 2.7V battery).
If I'm right, the wiki mentions ~7.5uA for panstamp 1.1, or 25uA for 1.0, but that's even with the accelerometer enabled (which I dont use in this application).

Any clue what this might be?

Here's the gist of it:
https://gist.github.com/kubaraczkowski/d...e477c220b2
It's for a gas meter with a magnet on 0.001 disc. That closes a reed switch when it gets close, which triggers a packet transmission.

Thanks in advance!
Kuba

Connect panstamp NRG 2.0 to 2xAAA battery holder

$
0
0
Hello,
I Have panstamp NRG 2.0 which is connected to panstamp adapter. I want to power it by 2xAAA battery holder in order to send packet to another panstamp connected to PC.
As a first step, I upload the sketch "Simpletst". When connected to PC, I see the led blinks every 5 seconds, but when I disconnect the panstamp and connect it to 2xAAA battery holder, the led doesn't blink.
I don't know if the problem comes from the connection or from another side?
I attach here the connection between the panstamp adapter and the 2xAAA battery holder.
Please, I need a help
Thanks in advance Smile

.jpg  14971515_1271323449605658_445585896_o.jpg (Size: 111.09 KB / Downloads: 3)

Future of panstamp

$
0
0
I wonder what responses I'll get on this post Smile Daniel, if you wish, please either respond on priv or delete this message not to polute the forum...

I've been following panstamps for a few years now - not having all that much time to play with them, but they did resonate with my expectations for a 'perfect mote'. Low power (msp430), low price (~10eur/mote), low size (especially the nrg2.0), simple but robust comm protocol (swap, now gwap). Add to this the compatibility with arduino, great support - well, who would not expect a great success ?
And still - purely looking at the amount of messages on these forums and 'the community' (for instance, there are no clones of panstamps on aliexpress Big Grin ) - something did not really "take off" (or I'm quite wrong, which I would absouletely love to hear!).

Daniel, could you comment? I think the idea is/was to earn on selling the hardware - is this working? Are there some commercial deployments of panstamps? The ESP8266 (and now ESP32) has somehow taken the place I thought would be for panstamps... (sure, you can't run ESP8266 from a battery for a year, but somehow that did not stop the hype...)

I'm just plain honest curious - you've got a great product, you've given all your best for quite a few years - how do you see the future of panstamps today? I've seen you've started developing ESP boards (the relay module and the ESP-SWAP bridge - great idea BTW!), does that pay off? Maybe it doesn't have to pay anything, because it's 'just a hobby'? (a very professionally done hobby if you ask me...)

Once again, please respond via PM if you prefer or simply delete this message if it does not fit here. I just though people using panstamps might be interested about the status.

Best regards,
Kuba

p.s. absolutely fantastic work on the panstamps, seriously wow! Smile

NRG 2 ADC Voltage Reference

$
0
0
Hi,

I am currently using the A5 pin on my NRG 2 board to measure voltage.

Is it correct that by default the voltage reference of the ADC12 is set to 1.2V? So I can only measure 0 - 1.2V?

Is there a way to change the voltage reference to 1.45V or 2.5V?

Thanks for your help!
Henry

NRG2 Sleep without stopping RTC

$
0
0
Has someone any experience with the real-time clock on the NRG2 module ?
My question (problem) is:
Is there a "sleep mode" with the possibility of continuing the RTC Funktion, while sleeping ? We have tested any well knowen sleep funktions, but the result is always the same .

Serial monitor user interface

$
0
0
Hello,

To start I am a newbie in the world of panstamp. As a starter I have tried working and implementing some simple programs on panstamp. While i am getting a error in the following program,
1) The program does not take the value (as in number) from the serial monitor when the user types it.
2) What could be the possible problem here?
do i need to add some extra library or do i need to add some Ascii converter program.
Please help .



#include "HardwareSerial.h"
#include "Arduino.h"
int LEDPin = 23; //on board led pin
int OnTime= 250; //on time in milliseconds
int OffTime = 250;//off time in milliseconds
String redLED = "ON BOARD LED IS BLINKING:";
int numofblinks ;
void setup() {
// put your setup code here, to run once:

Serial.begin(38400);//turn on serial monitor,declare it in setup
String wn1 = "welcome to ";
String wn2 = "my program ";
String wn;
wn = wn1 + wn2;
Serial.println(wn);
pinMode(LEDPin,OUTPUT);//assign the led as output pin

Serial.println(" How many times you want to blink the LED:");
while(Serial.available()==0)
{
numofblinks = Serial.parseInt();
//Serial.println("numofblinks=");
//Serial.println(numofblinks,DEC);
}
}

void loop() {
// put your main code here, to run repeatedly:



for(int j=1 ; j<=numofblinks ; j=j+1){
Serial.print("you are on blink :");
Serial.println(j);
digitalWrite(LEDPin,HIGH);
delay(OnTime);
digitalWrite(LEDPin,LOW);
delay(OffTime);

}
delay(1000);
}

Problemas de alcance

$
0
0
Estoy teniendo unos resultados de alcance demasiado pobres para lo que esperaba en esta frecuencia (868 Mhz). Algo no esta funcionando como debe.Huh
Tengo placas minibat 2.0 con panStamp NRG alimentado con pilas. Recibe una Raspi con el shield equipado con antena SMA articulada. Resulta que a distancias cortas (10-20 metros) en las que los módulos NRF24L01 (2.4Ghz) que tenía funcionando llegaban sin problemas, panstamp pierde envíos. Los nodos estan emitiendo 3 registros (batería, temperaturas de 3 termistores y temperatura de un DS18B20) y en las emisiones no siempre se reciben los 3 y a veces ninguno.
¿Alguna explicación/sugerencia?
Gracias

Panstamp AVR, modem.ino does not compile!

$
0
0
Hi,
I copied the modem.ino file from the wiki and tried to compile it and it doesn't work! Shouldn't it at least compile until I make stupid changes?
These are the error messages:

Arduino: 1.6.7 (Windows 7), Board: "SparkFun Pro Micro 5V/16MHz"

Warning: platform.txt from core 'SparkFun AVR Boards' contains deprecated tools.avrdude.cmd.path={runtime.ide.path}/hardware/tools/avr/bin/avrdude, automatically converted to tools.avrdude.cmd.path={path}/bin/avrdude. Consider upgrading this core.
Warning: platform.txt from core 'SparkFun AVR Boards' contains deprecated tools.avrdude.config.path={runtime.ide.path}/hardware/tools/avr/etc/avrdude.conf, automatically converted to tools.avrdude.config.path={path}/etc/avrdude.conf. Consider upgrading this core.
Warning: platform.txt from core 'SparkFun AVR Boards' contains deprecated recipe.ar.pattern="{compiler.path}{compiler.ar.cmd}" {compiler.ar.flags} {compiler.ar.extra_flags} "{build.path}/{archive_file}" "{object_file}", automatically converted to recipe.ar.pattern="{compiler.path}{compiler.ar.cmd}" {compiler.ar.flags} {compiler.ar.extra_flags} "{archive_file_path}" "{object_file}". Consider upgrading this core.
PanStampSerialModem:3: error: stray '@' in program

* Copyright © 2014 panStamp <contact@panstamp.com>

^

PanStampSerialModem:1: error: expected constructor, destructor, or type conversion before '.' token

* modem.pde

^

PanStampSerialModem:7: error: 'you' does not name a type

* panStamp is free software; you can redistribute it and/or modify

^

PanStampSerialModem:9: error: 'either' does not name a type

* the Free Software Foundation; either version 2 of the License, or

^

PanStampSerialModem:13: error: 'without' does not name a type

* but WITHOUT ANY WARRANTY; without even the implied warranty of

^

PanStampSerialModem:18: error: expected unqualified-id before 'if'

* along with panStamp; if not, write to the Free Software

^

In file included from F:\Socrates MASTER\Technical\Electronics\Projects\IoT_Home automation\panstamp\Panstamp Serial Modem\PanStampSerialModem\PanStampSerialModem.ino:38:0:

modem.h:75: error: 'CCPACKET' does not name a type

CCPACKET *rxPacket;

^

modem.h:79: error: 'SERMODE' does not name a type

SERMODE serMode = SERMODE_DATA; // Serial mode (data or command mode)

^

PanStampSerialModem:67: error: variable or field 'rfPacketReceived' declared void

void rfPacketReceived(CCPACKET *packet)

^

PanStampSerialModem:67: error: 'CCPACKET' was not declared in this scope

PanStampSerialModem:67: error: 'packet' was not declared in this scope

void rfPacketReceived(CCPACKET *packet)

^

PanStampSerialModem:67: error: variable or field 'rfPacketReceived' declared void

void rfPacketReceived(CCPACKET *packet)

^

PanStampSerialModem:67: error: 'CCPACKET' was not declared in this scope

PanStampSerialModem:67: error: 'packet' was not declared in this scope

void rfPacketReceived(CCPACKET *packet)

^

exit status 1
stray '@' in program

This report would have more information with
"Show verbose output during compilation"
enabled in File > Preferences.

Am I doing something obviously wrong?
Thanks,
Pip

Repeater Mode some problems + dont repeats command packets

$
0
0
Hi Daniel,
the distance of one of my panstamps to my server are too big. So i have decided to establish an repeater at the half distance.
The repitation of packets from my device to server of registers up from 0C works perfectly. But 0B register i canot receive at server.

But the main problem is, that command packets from server to my panstamp client cannot be deliver. I other words the status packet after an possible receive of my command are missing.
So i think, my repeater dont repeat the command packets. But why?

here can you see that my server register the repeated message at 2016.11.20 13:41:45
Code:
2016.11.20 13:40:45 4: WW_DG -> broadcast (0,0-2A): status WW_DG 0C:F7
2016.11.20 13:40:45 4: WW_DG -> broadcast (0,0-2B): status WW_DG 0D:0102000000000000
2016.11.20 13:41:19 4: SWAP_1B -> broadcast (0,0-0E): status SWAP_1B 0C:FF
2016.11.20 13:41:19 4: SWAP_1B -> broadcast (0,0-0F): status SWAP_1B 0D:0202000000000000
2016.11.20 13:41:45 4: WW_DG -> broadcast (0,0-2C): status WW_DG 0C:F7
2016.11.20 13:41:45 4: SWAP_1B -> broadcast (1,0-2D): status WW_DG 0D:0102000000000000
2016.11.20 13:42:45 4: WW_DG -> broadcast (0,0-2E): status WW_DG 0C:F7
2016.11.20 13:42:45 4: WW_DG -> broadcast (0,0-2F): status WW_DG 0D:0102000000000000
2016.11.20 13:43:45 4: WW_DG -> broadcast (0,0-30): status WW_DG 0C:F7
2016.11.20 13:43:45 4: WW_DG -> broadcast (0,0-31): status WW_DG 0D:0102000000000000

Here can you see the log of my server after restarting 3 panstamps. The panstamps WW_EG_Kueche and WW_EG_EZ can directly receive by my server. WW_DG ist too far away. You see, that the repeater repeats only a few of the sended packets by WW_DG. Why?

Code:
2016.11.20 13:46:31 4: WW_EG_Kueche -> broadcast (0,0-02): status WW_EG_Kueche 03:01
2016.11.20 13:46:31 4: WW_EG_EZ -> broadcast (0,0-01): status WW_EG_EZ 00:0000004C00000003
2016.11.20 13:46:31 4: WW_EG_EZ -> broadcast (0,0-02): status WW_EG_EZ 03:01
2016.11.20 13:46:31 4: WW_EG_EZ -> broadcast (0,0-03): status WW_EG_EZ 01:00000200
2016.11.20 13:46:31 4: WW_EG_EZ -> broadcast (0,0-04): status WW_EG_EZ 02:00000101
2016.11.20 13:46:31 4: SWAP_1B -> broadcast (1,0-02): status WW_DG 03:01
2016.11.20 13:46:31 4: SWAP_1B -> broadcast (1,0-01): status WW_DG 00:0000004C00000003
2016.11.20 13:46:32 4: WW_DG -> broadcast (0,0-03): status WW_DG 02:00000101
2016.11.20 13:46:34 4: WW_EG_Kueche -> broadcast (0,0-03): status WW_EG_Kueche 0A:0708
2016.11.20 13:46:34 4: WW_EG_Kueche -> broadcast (0,0-04): status WW_EG_Kueche 0B:0101000000000000138800322710
2016.11.20 13:46:34 4: WW_EG_Kueche -> broadcast (0,0-05): status WW_EG_Kueche 0C:FC
2016.11.20 13:46:35 4: WW_EG_Kueche -> broadcast (0,0-06): status WW_EG_Kueche 0C:FC
2016.11.20 13:46:35 4: WW_EG_Kueche -> broadcast (0,0-07): status WW_EG_Kueche 0D:0200000000000000
2016.11.20 13:46:35 4: SWAP_1B -> broadcast (1,0-07): status WW_DG 0C:F7
2016.11.20 13:46:35 4: WW_EG_EZ -> broadcast (0,0-05): status WW_EG_EZ 0A:0708
2016.11.20 13:46:35 4: WW_EG_EZ -> broadcast (0,0-06): status WW_EG_EZ 0B:0000000001010101138800322710
2016.11.20 13:46:35 4: WW_EG_EZ -> broadcast (0,0-07): status WW_EG_EZ 0C:FF
2016.11.20 13:46:35 4: WW_EG_EZ -> broadcast (0,0-08): status WW_EG_EZ 0C:FF
2016.11.20 13:46:35 4: WW_EG_EZ -> broadcast (0,0-09): status WW_EG_EZ 0D:0202000000000000
2016.11.20 13:46:36 4: SWAP_1B -> broadcast (1,0-06): status WW_EG_EZ 0B:0000000001010101138800322710
2016.11.20 13:46:36 4: SWAP_1B -> broadcast (1,0-05): status WW_EG_EZ 0A:0708
2016.11.20 13:46:36 4: SWAP_1B -> broadcast (1,0-06): status WW_DG 0C:F7
2016.11.20 13:47:34 4: WW_DG -> broadcast (0,0-09): status WW_DG 0C:F7
2016.11.20 13:47:34 4: SWAP_1B -> broadcast (1,0-0A): status WW_DG 0D:0102000000000000

Just starting out with NRG2/Minibat 2 boards

$
0
0
Hi. I'm brand new to panstamps. I bought the NRG2 kit and some minbat2 boards. I'm a bit at a loss of what to do next. I presume I will:

1) Solder the panstamp board to the minibat board
2) Solder the output of a 18650 battery to the vin / ground on the battery board
3) Wire up an FTDI cable to the RX/TX pins
4) Have fun

Is that right? I'm not expected to populate something on the mini-bat board right? Voltage regulators or some such? I don't need any sensors.

Thanks!

Getting started, questions on topology, windowing, various IDs

$
0
0
Hi. For a first PanStamp/SWAP project, I thought I'd deploy 5 PanStamp NRG2's with 10 or so NeoPixels each and hang them off my tree outside for the holidays. Then, get them clocked together and animate to my heart's desire. There's much to learn between now and then.

I feel like I've been all over the forum and Wiki, but am ashamed to admit I still feel a little confused by SWAP. Here are the beginnings of my plan and a few inline questions.
  • One of my PanStamps will listen to a serial port tied to my desktop. All remote PanStamps will know the address of this device.
  • Presuming a magical world where I've synced everyone's clock, I want the in-tree nodes to run a predefined animation at a future time. I need to get the time in the future and the animation ID to the in-tree nodes. The brute force approach would be for each tree node to SWAP Query the basestation for it individually. Instead, is there some way for the basestation to broadcast a status message with the time/animation to all nodes at once?

    Which runs into the fewest collision headaches, and which could potentially be repeated down a larger network? (maybe it's not just my tree, but all the neighbors trees as well)
  • I'd like to make this all reasonably power efficient. I gather that these things don't wake-on-radio reception, but instead try to wake during specific windows. True? If so, how does everyone get on the same page about when the window is? Does SWAP do that internally?
  • How do you tell a node what its device address is? I don't see in any of the sample sketches (like binouts2, etc) where this is happening.
  • Do I need to register for some kind of SWAP ID to get started?


Thanks for your time!

swapdmt: AttributeError: 'NoneType' object has no attribute 'verbose'

$
0
0
Trying to poke around with swapdmt. So far I've:

* Downloaded python_tools-3.1.0
* Installed pyswap (I think)
Code:
rexpro-4.local> sudo python setup.py install
running install
running build
running build_py
running install_lib
running install_egg_info
Removing /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pyswap-0.1.2-py2.7.egg-info
Writing /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pyswap-0.1.2-py2.7.egg-info

* Installed pyserial and pycrypto

* Tried to run swapdmt:

Code:
rexpro-4.local> python swapdmt.py
SWAP server starting...
Downloading Device Definition Files
Traceback (most recent call last):
  File "swapdmt.py", line 119, in <module>
    swap_manager = SwapManager(settings)
  File "/Users/local/Downloads/python_tools-3.1.0/swapdmt-cmd/swapmanager.py", line 466, in __init__
    self.server.verbose = False
AttributeError: 'NoneType' object has no attribute 'verbose'

Like every other problem I've ever had with python, I presume I've installed something in the wrong place. Anything jump out at you?

поздравление с новым годом на открытку

$
0
0
поздравление с новым 2017 годом годом дракона для коллектива какими стихами начать новогодний банкет оригинальные поздравления с наступающим новым годом 2017 куму
какие поздравления шутки прибаутки написать к новому году | поздравления с новым 2017 годом козы roditeljam | поздравление с новым годом от медицинской компании в стихах | поздравления с наступающим новым годом короткие в прозе | поздравление с новым годом открытки с анимацией | поздравление с новым годом девушке от друга | поздравление губернатор с новым годом по телевизору | новогодний стих девочке 1 класс | поздравление в стихах с новым годом для парня | поздравительные стихи с новым годом 2017ученикам и родителям


http://gamblingcommunity.info/free-casin...99.new#new
http://klan-erebor.c0.pl/index.php?topic=15180.new#new
http://www.yl-hy.com/forum.php?mod=viewt...620&extra=
http://klan-erebor.c0.pl/index.php?topic=15191.new#new
http://psp4you.org/index.php/forum/welcome-mat/6493

стихотворение александру на новый год

$
0
0

поздравления с новым годом 2017 прикольные мужу

$
0
0
Viewing all 473 articles
Browse latest View live