Show Posts
Pages: 1 2 3 [4] 5 6 ... 9
46  Development / Other Software Development / Re: Agentuino - A lightweight SNMP Agent on: March 01, 2012, 04:19:37 pm
I take it that means it's working? ;-) Or have you not tried yet?
47  Development / Other Software Development / Re: Agentuino - A lightweight SNMP Agent on: March 01, 2012, 04:04:23 pm
I think the problem is shown on the first screenshot. You only have GPRINT items in your graph template. These are text prints. You need to add an AREA item (filled graph). See the 2nd and 3rd (from bottom) of my screenshots...
48  Development / Other Software Development / Re: Agentuino - A lightweight SNMP Agent on: March 01, 2012, 10:32:04 am
Well, that's progress...
Not sure why the graphs don't show...

Can you please post a few screenshots of your cacti config? Specifically  a screenshot of the page shown on the 5th picture in my post (the one with all the screenshots). Then, on that same page click on the first item in the list on the top (should be the graph item) and post another screenshot of that page.
49  Using Arduino / Networking, Protocols, and Devices / Re: RF1100-232 serial to RF transceiver module on: February 29, 2012, 02:32:10 pm
OK, I've learned quite a bit more about these modules. For anyone who might be interested in future, I have created a page on my website where I'm collecting all the info I found about these modules. I've also made a little program that sends config commands to these modules. It can also be used to monitor communication. All that on the following page:
http://www.yesyes.info/index.php/electronics/rf1100-232-rf-433mhz-transceiver-module/
50  Development / Other Software Development / Re: Agentuino - A lightweight SNMP Agent on: February 29, 2012, 06:03:34 am
Silly me... I do have access to my network hard drive that has the backup of my sketches...
So here it is, the currently latest version of my weather station sketch.
51  Development / Other Software Development / Re: Agentuino - A lightweight SNMP Agent on: February 29, 2012, 04:53:59 am
OK, here is how I configured this in Cacti. It's been a while, so I hope I haven't forgotten anything.

First create a host/device for the weather station:

Most important here is the SNMP time-out and max OIDs per request. The defaults did NOT work for me. I had to increase the timeout to 1500 (1.5sec) because the Arduino takes quite a while to reply (roughly one second in my case). It also only supports one OID per request, so enter 1 in that field.

Then you need to configure one data source per value. Here is an example:

Select the host you just created and then enter the OID for that specific value.

Then you need a graph template. You can use an existing one to start with and modify it (or leave as is for the beginning)


I have also created a CDEF entry that divides all received data by 100. That is because I'm sending the temperature values from the weather station in 100th of a degree. So a returned value of 1 means 0.01 degree. That is because SNMP only knows integer numbers.
Here is the CDEF I added:


The CDEF is then applied to every item in the graph template:


Clicking on each of the items will show this screen:


Then it's time to create the actual graph:

Here everything comes together. Select the graph template that you created/want to use, select the host and then the data source.

OK, that's it. You should now get some graphs. Cacti only sends SNMP requests every 5 minutes. So give it some time to collect some data. Graphs will not appear until at least one value has been recorded.

I hope that helps a little. Just ask if you have any questions....

I will post the sketch when I get home. I have no access to that file here at work.. smiley-wink

52  Development / Other Software Development / Re: Agentuino - A lightweight SNMP Agent on: February 29, 2012, 04:09:07 am
I think Agentuino does not support SNMP Walk. There simply isn't enough memory for that in an Arduino. So you would need to know the OIDs and configure them manually in Cacti.

I'll see if I can take a few screenshots of how I configured graphs in Cacti. I'll also post my latest sketch as soon as I get home.
53  Using Arduino / Networking, Protocols, and Devices / Re: RF1100-232 serial to RF transceiver module on: February 27, 2012, 06:21:41 am
I've tried this again yesterday and, funny enough, it just worked. The modules now respond to the config commands. I have no idea what I've done differently this time.

I'm still interested if someone has used these modules before. I'd be surprised if noone has used them. They seem to be made for the Arduino world... ;-)
I still have a few things that are not quite clear and there doesn't seem to be much documentation around.

- what is the 16 bit Module ID used for? Can this be used to address a specific transceiver instead of sending everything to all transceivers on the same channel?

- do I need to build a mechanism into the protocol that avoids accidentally sending any of the config commands in the data stream?
54  Using Arduino / Networking, Protocols, and Devices / Re: RF1100-232 serial to RF transceiver module on: February 24, 2012, 08:09:03 pm
Oh, and this is the link to the command set that I found:
http://testdrive.kgts.ru/serge/RF1100-232.doc.html
I'm sending these commands as actual bytes, not as text. (I wrote a quick C# application to do that.)
55  Using Arduino / Networking, Protocols, and Devices / Re: RF1100-232 serial to RF transceiver module on: February 24, 2012, 07:55:27 pm
The item description is still there below all those "recommended items" ;-)

But here is the relisted module:
http://www.ebay.co.uk/itm/290672109935?ssPageName=STRK:MEWAX:IT&_trksid=p3984.m1423.l2649
56  Using Arduino / Networking, Protocols, and Devices / Re: Can you use bluetooth and usb at the same time? on: February 24, 2012, 07:35:58 pm
Yes, that should be possible. Have a look at the NewSoftSerial library. It allows you to have more serial ports on other Arduino pins. Use that for your Bluetooth module. The hardware serial port is hard-wired to the USB port.

Another alternative is using an Arduino Mega which, I believe, has more hardware serial ports. But I've never used a Mega myself. I've become an Arduino Mini person... ;-)
57  Using Arduino / Networking, Protocols, and Devices / RF1100-232 serial to RF transceiver module on: February 24, 2012, 07:02:18 pm
Hi,
does anyone have any experience with the RF1100-232 serial to RF transceiver modules?

I got a pair working with default settings but I would like to change some settings (faster baud rate, change the channel, ...). The ebay seller only has a Chinese datasheet but I found the commands on some Russian website. But the module doesn't respond to these commands, instead it transmits the data to the other module.

Do I need to put the module in some kind of command mode?

This is the module I'm talking about:
http://www.ebay.co.uk/itm/290636907725?ssPageName=STRK:MEWNX:IT&_trksid=p3984.m1497.l2649
58  Development / Other Software Development / Re: Agentuino - A lightweight SNMP Agent on: February 24, 2012, 04:10:32 am
Hi Spandy19,

sorry, I've not had time to reply to your PM yet. But good to see that you've made progress. ;-)

My weather station was my first ever Arduino project, so unfortunately I have not documented it well. I guess I was just glad it was working at all. I'm planning to make a schematic diagram the next time I have to take it apart. I have a half-finished diagram with the pin numbers I remembered or was able to derive from the sketch. What I can offer for now is the latest version of my sketch, if you want.

Chris
59  Development / Other Software Development / Re: Agentuino - A lightweight SNMP Agent on: December 09, 2011, 01:03:07 pm
OK, here you go. Watchdog circuit attached.

Any questions - just ask. ;-)
60  Development / Other Software Development / Re: Agentuino - A lightweight SNMP Agent on: December 09, 2011, 11:47:38 am
OK, will post the circuit when I get home (still at work now).

I'm glad my code helped you... ;-)
Pages: 1 2 3 [4] 5 6 ... 9