Welcome Guest,Register Now
Log In

ANT Forum

Welcome guest, please Login or Register

   

Development kit Ant AP2DK1

Rank

Total Posts: 1

Joined 2011-05-26

PM

according to what i read, and after i read the Getting started Thread, i found that i should connect a micro controller in order to build an application.

is it possible to build small application using the available SensRCore devices without the need of Mcu, and what type of IDE can be used to build such application or writing script file is the only way to do that?

another question, is the MSP430 microcontroller and using Code composer IDE to build MCU application is the best choice for application, because as i've seen from the Embedded reference, most of the application are made by those tools?

Thanks a lot for the help.      
Avatar
RankRankRankRank

Total Posts: 213

Joined 2011-05-02

PM

Hi ahmad,

It is possible to use the SensRcore device (AT3) without an external MCU. You can use the SensRware application to build simple scripts. SensRware is available in the Developer's Zone:

http://www.thisisant.com/pages/developer-zone/sensrcore

You will also want to refer to the ANT Development Kit User Manual:

http://www.thisisant.com/pages/developer-zone/development-kit-manual

and the SensRcore Messaging and Usage Document:

http://www.thisisant.com/pages/developer-zone/ant-protocol-and-usage


The following link will also aid you. It is a quick start-up guide on embedded systems:

http://www.thisisant.com/component/option,com_fireboard/Itemid,146/func,view/catid,25/id,1391/

Our reference designs are based on MSP430 and Code Compressor. However, the microcontroller you use is application dependent.      
Rank

Total Posts: 1

Joined 2011-05-26

PM

thanks for the reply, but i'm still confused about writing code application on AT3. so my question is

i want to send data from AP2 device(connected to PC)to an independent AT3 device (not connected to PC) so the AT3 device will handle the received message (for example: trigger the led or sending commands to a connected device through the IO ports).
so i would like to know how to handle the messages.
what i mean is: Script file can be used to configure the AT3, but how can i write application code on AT3(not connected to PC) so i can use the Ant Message functions like ChannelEventFunction() as described in 9.5.5.1 of "Ant Message Protocol and usage" or other functions.

thank a lots.      
Avatar
RankRankRankRank

Total Posts: 213

Joined 2011-05-02

PM

Hi Ahmad,

First, you should be aware that you can't use both application specific code and SensRcore simultaneously on an AT3 module. SensRcore is best suited for simple applications. If you wish to use a SensRcore script, the ANT Development Kit User Manual will walk you through creating a SensRcore script using the SensRware application, and how to load your script onto the AT3 module.

http://www.thisisant.com/pages/developer-zone/development-kit-manual

Several examples are given in the document, including configuration of an Auto Shared Channel with Digital I/O, and a Temperature Sensor.

If you want to implement a more complex application, please refer to Getting Started with ANT Development in Embedded Systems:

http://www.thisisant.com/component/option,com_fireboard/Itemid,146/func,view/catid,25/id,1391/