Search results

  1. F

    SEROUT Hex Numbers?

    erco, Raw characters are Hex.
  2. F

    picaxe to lcd displays

    Peter, The articles "Taming Unruly LCDs" parts 1 and 2 may not be useful to you. These two articles are all about making stripboard circuits to connect a PICAXE chip to the LCD. They don't describe how to drive the LCD but they do include code that can be downloaded. These artlcles are now...
  3. F

    Inaccuracy with background serial receive on 20X2

    Andy, Your problem is an unusual one and the more info the forum has the better chance that someone might be able to spot what the issue is. It will help if you post the code you are running, a schematic of the circuit, and a photo of the circuit.
  4. F

    Inaccuracy with background serial receive on 20X2

    Andy, My suggestion is that you try to isolate where the problem is. For example. Try sending single characters from a PC through the full circuit that has the 74F00 NAND gate and the optoisolator but receiving using serin instead of background HSERIN: main: SERRXD b0 SERTXD b0 goto...
  5. F

    Inaccuracy with background serial receive on 20X2

    Andy, I can see how 0x41 can be mis-received as 0xD0 if the stop bit is missed and the serial hardware interprets bit0 and bit1 of the character as the stop and start bits: +- stop bit |+- start bit || +- character in reverse bit order...
  6. F

    PE6 Terminal, control character behaviour ?

    Buzby, You reported this terminal issue around the start of the pandemic so keep in mind that while children have not been attending school their teachers have likely not been purchasing many PICAXE products which has led to RevEd needing to put some staff, like Hippy, on furlough.
  7. F

    28X2 serout command set for 9600 8N1 ???

    No. If the serial is inverted then you use the one of the Nxxx baudmode parameters for SEROUT instead of one the the Txxx baudmodes. You do not make any change to the data you send. e.g. - serout A.0,T9600_8,(97) sends the value 97 decimal (which is the character "a") using non-inverted serial -...
  8. F

    picaxe to lcd interface and programming

    Peter, I just connected a 16x2 character 44780 type LCD to my 18M2 chip using the code and instructions in this post by inglewoodpete and it worked first time. I first followed the instructions in the first two sections of this Ladyada tutorial: - Follow fhe instructions in the section "Power...
  9. F

    28X2 serout command set for 9600 8N1 ???

    SolidWorksMagi, I don't understand what you mean by this comment. Can you clarify? The output from your serout A.0,T9600_8,(....) command _is_ serial 9600 8N1. The only thing that varies is whether logic "0" is 5V (the Txxx baudmodes) or logic "0" is 0V (the Nxxx baudmodes).
  10. F

    Graphical display from serial port data

    My first update to my post #16 was wrong. You will need to use a programmer if you want to use blank PIC32's to build one of these and I've updated my post with this info.
  11. F

    Graphical display from serial port data

    A google search came up with a couple of different projects that do this but the one that seems most commonly referred to is: Geoff's Projects - ASCII Video Terminal The full full project includes support for a PS/2 keyboard and the option of using USB for the serial input but if you scroll down...
  12. F

    Graphical display from serial port data

    This Hackaday blog post Serial Studio: Easily Visualise And Log Serial Data showcases Serial Studio and in the comments there is a link to another piece of software Serial Oscilloscope by X-IO Technologies
  13. F

    Communications between devices...

    JG, Your assumption about the serial hardware and firmware was correct. The serial hardware on the PIC chips used for PICAXEs is very similar, although not exactly the same, as the serial hardware on the Atmel 328P chip used for Arduino. I've not used Arduino yet but I have coded in C and...
  14. F

    Too slow to parse 9600 baud data?

    bigg_al, As inglewoodpete mentioned in post #7 there are two modes for using the hardware serial. This is from the manual section for HSERSETUP: Hardware serial input can be configured in two ways: 1) via hserin command only (mode bit0 = 0) 2) automatic in the background (mode bit0 = 1) (not...
  15. F

    Analogue Calibration Board problem.

    Neil, Oops. My questions were meant for the OP The Bear. Flenser
  16. F

    Analogue Calibration Board problem.

    Neil, My suggestions are: I would first test the calibration board seperately from your 08M2 light sensor circuit with something like this: I don't own a calibration board but with a resistor divider like this I would expect you to be able to read values from near 255 down to around 127/128...
  17. F

    Analogue Calibration Board problem.

    Looking at the picture of the BAS810 board it looks like the I/P pin is connected directly to the microcontroller's ADC pin. If this is true then the resistances you measure appear to be simply a feature of the ADC. The forum is probably going to need you to give more details what you are...
  18. F

    Confused by Symbols

    thunderace7, From the manual "Symbols can be assigned to constant values, and can also be used as alias names for variables". This means that we are assigning the symbols as aliases for both the constant value and the variable name. If it passes the syntax check the the syntax is valid.. You...
  19. F

    Internal 1.024 volt reference

    rq3 said: The ADCCONFIG command simply tells you how to choose the FVR as the VRef+ for the ADC. Nothing complicated here - for X2 chips Bit 3,2 is set to 10 to configure VRef+ as the FVR - for M2 chips Bit 1,0 is set to 11 to configure VRef+ as the FVR and both chips have the comment to see...
  20. F

    Not happy, 2 dead 40X2 chips

    B4Lamb, One technique that is used is to have a loop that does nothing at the start of your program, like this: for b0 = 1 to 2000 next b0 The rest of your code can then do whatever you need it too, including having a short interrupt loop time that locks out programming . This doesn't stop...
Top