Go Down

Topic: Cosa: An Object-Oriented Platform for Arduino programming (Read 98 times) previous topic - next topic

kowalski

#200
Oct 23, 2013, 08:31 pm Last Edit: Oct 23, 2013, 08:53 pm by kowalski Reason: 1
Please find Cosa on Ohloh! https://www.ohloh.net/p/cosa
You can register your usage of Cosa and get a lot of information about the project.

Cheers!

sirhax

#201
Nov 01, 2013, 05:42 am Last Edit: Nov 01, 2013, 03:13 pm by sirhax Reason: 1
Hey kowalski.  Great to see you are still plugging away at this project!!

I just purchased the same CC1101 modules as you (http://www.ebay.com/itm/2pcs-CC1101-433MHz-Wireless-Transceiver-Module-NRF905SI4432-with-SMA-Interface-/221274129252) and am wondering if they are usable with the AtTiny85 chips?  Seeing "#if !defined(__ARDUINO_TINYX5__)" at the top of the CC1101.hh/cpp files leads me to believe they might not be?

If they are compatible, what pins get connected between the CC1101 modules at the Tiny85?

Thanks in advance for any assistance!!

kowalski

#202
Nov 01, 2013, 02:05 pm Last Edit: Nov 01, 2013, 02:18 pm by kowalski Reason: 1
Hi sirhax!

Yes the project is still going strong and there is a lot more that I would like to add and achieve. The CC1101 module you have found is exactly what I am using in my prototyping. It works fine as a replacement for the NRF24L01+ module on for instance the Arduino Nano IO Shield.

Right now I have removed the usage of ATtiny85 as the pin D2 is both the USI/SPI clock (SCK) and external interrupt (EXT0). This is possible to solve by using a Pin Change Interrupt (PCI-pin) or simply removing the interrupt handler for ATtiny85. Need to push this onto the backlog (issue list) and figure out a priority for this update. Actually the same goes for NRF24L01+.

You might want to have a look at the ongoing work on the protocol; Cosa Rete. This will become Cosa's version of the panstamp SWAP protocol and work on all Cosa Wireless drivers (RF433, CC1101 and NRF24L01+), and support low power nodes out of the box. Cosa Rete is a scaled down version of SNMP with a dash of DDS (OMG Data Distribution Service). Cosa Wireless interface is one of the building blocks. The other building block is Cosa Registry which acts as a MIB with mapping to application data. The vision is a framework for very easy implementation of low power wireless sensor/actuator nodes.

Cheers!

Ref:
1. https://github.com/mikaelpatel/Cosa/blob/master/RETE.txt
2. https://github.com/mikaelpatel/Cosa/blob/master/cores/cosa/Cosa/Rete.hh
3. https://github.com/mikaelpatel/Cosa/blob/master/cores/cosa/Cosa/Wireless.hh
4. https://github.com/mikaelpatel/Cosa/blob/master/cores/cosa/Cosa/Registry.hh
5. https://github.com/mikaelpatel/Cosa/blob/master/examples/Sandbox/CosaRegistry/CosaRegistry.ino
6. http://en.wikipedia.org/wiki/Simple_Network_Management_Protocol
7. http://en.wikipedia.org/wiki/Management_information_base
8. http://en.wikipedia.org/wiki/Data_Distribution_Service

sirhax

Thanks for the reply, kowalski!

That makes sense.  For now I just ordered a handful of "ATTINY84A-PU-ND"s from digikey.

That's certainly some very cool and interesting work!  I'm anxious to see it in its final form  :).

Along the lines of "internet-of-things", have you seen this project?
http://www.kickstarter.com/projects/flutterwireless/flutter-20-wireless-arduino-with-half-mile-1km-ran

kowalski


Along the lines of "internet-of-things", have you seen this project?
http://www.kickstarter.com/projects/flutterwireless/flutter-20-wireless-arduino-with-half-mile-1km-ran

Thanks for the feedback and the kickstarter link. That was an interesting project. I have seen a number of Arduino-clones with varying functions on kickstarter. Would be nice to see a project or two with software as the main focus instead of just hardware. Will soon need to produce a board and/or shields to fund further development of Cosa ;-)

Cheers!

Go Up