18M cant use low speed n300 for serin/serout

Vroom

Member
18M impossible use n300 for serin/serout, its need high speed n1200 only for 18M right? 08M can low speed than n300.
 

westaust55

Moderator
Vroom,

the 18M can have a baud rate down to 600 baud at 4MHz clock speed.

The 08M can also use 600 baud. 300 baud is the lowest speed for the 08M

See the tables for SERIN and SEROUT in PICAXE manual 2.
Page 168 and 172 in the latest (V6.8) revision.
 
Last edited:

manuka

Senior Member
PICAXEs can of course also be underclocked for slower rates - refer extensive past Forum discussions.
 

westaust55

Moderator
PICAXEs can of course also be underclocked for slower rates - refer extensive past Forum discussions.
Very true - by peeking and pokeing the OSCCON register to slow the PICAXE clock down. SFR location $8F = 143 decimal

Vroom can study the PIC12F683 datasheet and search further on the forum.
 

womai

Senior Member
For those low data rates it's also perfectly possible to "bit bang" the serial data, i.e. to drive data, manually set the output pin high and low at the appropriate times, and for receive, manually detect the start bit (transition) and then sample the incoming logic state at the appropriate times. That's just a few lines of code in each case.

Wolfgang
 
Top