Search the web
Sign In
New User? Sign Up
siteplayer · World’s smallest Ethernet web server
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Real people. Real stories. See how Yahoo! Groups impacts members worldwide.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
please someone can help me???   Message List  
Reply | Forward Message #6349 of 6359 |
Re: please someone can help me???

Hi,

I'm using Bascom too, but I don't know how to synchronize the siteplayer with
the atmega16, I'm using the command print chr(192), another question, it's
necessary send 20 nulls characters before the communication begin...? and these
characters Should be send always before each transmission? or only the first
time? the siteplayer answers with characters ascii or hexadecimal?

Thanks,

--- In siteplayer@yahoogroups.com, Claude Metzger <metzgerclaude@...> wrote:
>
>
>
> Hi,
>
>
>
> I'm using also the siteplayer with an atmel microcontroller.
>
> You have to send character strings to the siteplayer. I don't know which
programming software if you are using for your ATMega chip, I'm using Bascom
basic compiler. With bascom you have to issue a "print chr(192)" command to send
effectively a C0 hex byte. No spaces or wathever between characters
>
> Check this an give me your results !
>
>
>
>
>
> Regards,
>
> Claude
>
>
> ----- Mail Original -----
> De: "leandro8502" <leandro8502@...>
> À: siteplayer@yahoogroups.com
> Envoyé: Lundi 29 Juin 2009 23:50:40 GMT +01:00 Amsterdam / Berlin / Berne /
Rome / Stockholm / Vienne
> Objet: [siteplayer] Re: please someone can help me???
>
>
>
>
>
>
>
>
> --- In siteplayer@yahoogroups.com , Rusty Haddock <rusty@> wrote:
> >
> > leandro8502 wrote:
> > >I'm doing my thesis using this device "siteplayer", but I have
> > >problems with the synchronization with another microcontroller
> > >this is Atmega 16, I cant read the value in the memory of the siteplayer.
> > >first Im sending 20 nulls character, next I send the number of the
> > >instruction in hexadecimal, and finally send the locality number,
> >
> > Are you using the development board or just the module?
> >
> > What do you mean by 'send the number of the instruction in hexadecimal' ??
> >
> > Hexadecimal, like decimal, is simply a written representation. For the
> > read command you should be sending to the Siteplayer a single byte
> > (8-bits) with the value of 192 plus the number of bytes you want to
> > read less 1. For example, to read three bytes at address 15 you send
> > two bytes with the following values:
> >
> > 194 # 192 + (3-1)
> > 15
> >
> > Naturally, you should be sending these bytes at the proper serial bit-rate
> > so that the Siteplayer will understand your ATmega16. The default serial
> > rate is 9600-bps.
> >
> > >and I wait for the siteplayer response but nothing happen...
> > >someone can help please it's urgent...
> > >I'm stuck in my thesis almost two months for this problem
> >
> > -Rusty-
> > --
> > _____ Rusty Haddock <=> AE5AE
> > |\/ o \ o Way out yonder in the
> > | ( -< O o Van Alstyne (TX) Metropolitan Area
> > |/\__V__/ Math illiteracy affects 7 out of 5 people!
> >
> first, thanks for your answer.... but I still have the same problem...
>
> I'm using only the module, and I'm working with atmega 16 at 9600 bps.
> and I want to read only one byte for this reason the number that I sent was
192 and next I sent the number of the locality, but these numbers I sent in
hexadecimal... although the siteplayer don't response....
> help me PLEASE...!!!
> OR is possible send the numbers in decimal? another question the number should
send separated by intros or followed without spaces?
> I'm doing this:
> first send 20 nulls characters
> next send the C0(hex)(192 decimal)it`s the number of the instruction to read
only one byte
> and finally I send the number of the locality that is 05(hex)
> later I wait for the siteplayer response but nothing happen..!!
>
>
>
>
> [Non-text portions of this message have been removed]
>





Tue Jun 30, 2009 3:32 pm

leandro8502
Offline Offline
Send Email Send Email

Forward
Message #6349 of 6359 |
Expand Messages Author Sort by Date

I'm doing my thesis using this device "siteplayer", but I have problems with the synchronization with another microcontroller this is Atmega 16, I cant read...
leandro8502
Offline Send Email
Jun 29, 2009
4:10 pm

... Are you using the development board or just the module? What do you mean by 'send the number of the instruction in hexadecimal' ?? Hexadecimal, like...
Rusty Haddock
kd4wlz
Online Now Send Email
Jun 29, 2009
6:14 pm

... first, thanks for your answer.... but I still have the same problem... I'm using only the module, and I'm working with atmega 16 at 9600 bps. and I want to...
leandro8502
Offline Send Email
Jun 29, 2009
10:04 pm

Hi, I'm using also the siteplayer with an atmel microcontroller. You have to send character strings to the siteplayer. I don't know which programming software...
Claude Metzger
metzgerclaude
Offline Send Email
Jun 30, 2009
10:13 am

Hi, I'm using Bascom too, but I don't know how to synchronize the siteplayer with the atmega16, I'm using the command print chr(192), another question, it's...
leandro8502
Offline Send Email
Jun 30, 2009
3:32 pm

... I usually send the "synchronizing" nulls just after my processor opens the serial connection to the SitePlayer. ... The answers comes back as 8-bit bytes...
Rusty Haddock
kd4wlz
Online Now Send Email
Jun 30, 2009
5:53 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help