Searching \ for '[SX] DS1307 Demo' in subject line. ()
Make payments with PayPal - it's fast, free and secure! Help us get a faster server
FAQ page: www.piclist.com/techref/ubicom/devices.htm?key=sx
Search entire site for: 'DS1307 Demo'.

Exact match. Not showing close matches.
PICList Thread
'[SX] DS1307 Demo'
2005\10\26@121515 by Jon Williamsn/a

flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, Jon Williams wrote:

If you've got a PDB and have been wanting to connect to that DS1307 that's next to the SX28, this program will probably save you a bit of time.

---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=93305
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2005 (http://www.dotNetBB.com)

2005\10\26@194201 by Jon Williamsn/a

flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, Jon Williams wrote:

Just a note: I have my terminal program set to add LF (line feed) when it gets a CR (carriage return).  You can do that with your terminal, or add this definiton to the program
CRLF:
 DATA 13, 10, 0
... and then change:

 TX_BYTE CR
... to:

 TX_STR CRLF
---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=93305#m93387
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2005 (http://www.dotNetBB.com)


'[SX] DS1307 Demo'
2005\11\19@054542 by kd5dhun/a
flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, kd5dhu wrote:

[2]
Since I'm learning SX/B, I thought I would post these as examples for converting a BS2p program to SX/B.

I can't remember if the original BS2p program was a Nut's and Volts article, one of Chris's, or Jon's examples.

The SX/B programs demonstrate how to use ANSI codes to mimic the BS2p's Debug statement, and allows the user to set the clock's time and date for battery backed operation of the DS1307.

Attached is the original BS2p program. The program converted to SX/B running on a SX28 on the PDB. And a version for the SX48/52 Proto Board. The SX/B examples use a MAX232 RS-232 driver for serial output.

Mike
[/2]
---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=93305#m97022
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2005 (http://www.dotNetBB.com)

2005\11\19@063736 by kd5dhun/a

flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, kd5dhu wrote:

More DS1307 Examples:

Since I'm learning SX/B, I thought I would post these as examples for converting a BS2p program to SX/B.


I can't remember if the original BS2p program was a Nut's and Volts article, one of Chris's, or Jon's examples.


The SX/B programs demonstrate how to use ANSI codes to mimic the BS2p's Debug statement, and allows the user to set the clock's time and date for battery backed operation of the DS1307.


Attached is the original BS2p program. The program converted to SX/B running on a SX28 on the PDB. And a version for the SX48/52 Proto Board. The SX/B examples use a MAX232 RS-232 driver for serial output.


Mike
---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=93305#m97025
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2005 (http://www.dotNetBB.com)

2005\11\19@212448 by Chris Savagen/a

flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, Chris Savage wrote:

Mike,
  I think the original was Jon's...I tend to lean toward the DS1302.  Nice work, BTW!

---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=93305#m97131
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2005 (http://www.dotNetBB.com)


'[SX] DS1307 Demo'
2006\02\02@121304 by Johnson Rodn/a
flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, Johnson Rod wrote:

*An Corp*
Jon, how is this intended to be interfaced to a PC?
is a ttl ->232 conversion necessary? or can the baud become "N9600"
---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=93305#m107695
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2006 (http://www.dotNetBB.com)

2006\02\02@124145 by Jon Williamsn/a

flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, Jon Williams wrote:

I used a USB2SER in my case, but with a short connection I'm sure you could useN9600.  If you decide to go direct for SERIN, put a 22K resitor inline with your serial input pin on the SX.

---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=93305#m107703
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2006 (http://www.dotNetBB.com)

2006\02\02@135456 by Johnson Rodn/a

flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, Johnson Rod wrote:

hrm,
i was getting ??:??:?? in the terminal, switched out the xtal & caps(for the ds1307) and now i'm getting 00:00:00 in the terminal
i'm prototyping on an sx48 protoboard with an smt ds1307 any advice?

---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=93305#m107717
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2006 (http://www.dotNetBB.com)

2006\02\02@142751 by kd5dhun/a

flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, kd5dhu wrote:

Did you pull up the I2C lines?

Mike
---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=93305#m107722
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2006 (http://www.dotNetBB.com)

2006\02\02@144713 by Johnson Rodn/a

flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, Johnson Rod wrote:

yes, and sqw, and grounded vbatt.
i tried with 12pf smts and 25pf through hole.
i noticed +2v on x0 so i'm making another prototype
---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=93305#m107725
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2006 (http://www.dotNetBB.com)

2006\02\02@145714 by kd5dhun/a

flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, kd5dhu wrote:

Might be something with the xtal, have you tried writing a byte to one of the other memory locations and then reading it back?

Mike
---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=93305#m107727
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2006 (http://www.dotNetBB.com)

2006\02\07@114831 by Johnson Rodn/a

flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, Johnson Rod wrote:

i got it working today w/o the 12 pF caps on the xtal.
thx guys
nickb
---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=93305#m108459
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2006 (http://www.dotNetBB.com)


'[SX] DS1307 Demo'
2008\02\16@134413 by johncouturen/a
flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, johncouture wrote:

In preparing a lesson plan for my students, I stumbled upon Jon Williams' code above.  Every time I read one of his programs I learn something new (in this case the PUT command on the Array, very slick).  Anyway, I adapted it so that I could demonstrate both the DS1307 and a 20x4 LCD panel on the Professional Development Board.

Other features (borrowed, of course, from several of Jon's programs!) include:

-- LCD Panel is set to 4 bit mode
-- the ability to position the cursor anywhere on the panel (LCDPos)
-- a little different BCD display routine
-- use of arrays
I did not use Jon's TX_MON_LONG routine that takes a number and displays the full name of the month because I was trying to be brief in my lesson plan but I highly recommend you all look at that routine.  It is Brilliant!

---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=93305#m250560
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2008 (http://www.dotNetBB.com)

2008\02\16@171540 by JonnyMacn/a

flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, JonnyMac wrote:

Thanks for the kind words, John.

I looked over that program -- it's a golden oldie, and in serious need of an update.  While waiting on a friend to arrive, that's exactly what I did.  The version that's attached lives up to 1.51.03 standards and is expanded in that it allows the user to select display style from the terminal when the program first starts.

---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=93305#m250594
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2008 (http://www.dotNetBB.com)


'[SX] DS1307 Demo'
2008\03\07@101220 by johncouturen/a
flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, johncouture wrote:

Jon,
In the last couple of classes we have been having trouble with some PDB's and getting the SX to recognize keyboard input.  Our setup is as follows:

Using your program unmodified and the Prof Dev Board we connect:

RA.0 to the TX pin of the RS-232 DCE (PDB schematic, pg 6 connextor X13, #2)
RA.1 to connector X13, #4
RA.2 to SDA (and a 4.7K resistor from there to +5V)
RA.3 to SCL (and a 4.7K resistor from there to +5V)
took the plastic tab out of the battery on the DS1307.

USB for programming, another USB->Serial to connect to the DB9 on the PDB (near the X13 connector)
=========================================
What Happens:

Load your program (4mhz).

Start up HyperTerminal, set to 38400, 8n1,   Flow Control None.

Prompt comes up and it displays the "Menu" and then ">>"
But then it does not respond to any keypress.  We tried "s" and "S".

Now sometimes it works if you just hold the key down.

=========================================
QUESTION:

Do we need to trigger CTS or RTS in order to get that crazy thing to work smoothly?  
Is Hyperterminal not the most ideal program to use for this application?

When the MCU is off trying to read the clock it seems that a keypress would also not work.  As always, it is something simple that I am missing.

---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=93305#m255627
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2008 (http://www.dotNetBB.com)

2008\03\07@193044 by JonnyMacn/a

flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, JonnyMac wrote:

John,
I only ever connect RX and TX, and HyperTerminal is all I ever use for general purpose testing.  I'm sure it is something simple, but at the moment I can't think of anything.

---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=93305#m255783
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2008 (http://www.dotNetBB.com)

More... (looser matching)
- Last day of these posts
- In 2008 , 2009 only
- Today
- New search...