Recent content by Volhout

  1. V

    serial communication and multitasking

    For others who plan to do similar, I have to add 1 note. The serial communication has (according to the documentation) a 2 character buffer. That is not the case. It has a 1 character buffer and the input shift register. But as soon as the new character is shifted in, that is transferred to the...
  2. V

    serial communication and multitasking

    Hi Flenser, Hippy, First of all, I was receiving data, but it looked to have no relation to the data sent. And this is because the baudrate was wrong, AND the fact that RS232 sends LSB first. I had set the baudrate to B9600_32, and when the 20M2 internally runs at 16MHz, you get gibberish...
  3. V

    serial communication and multitasking

    I'll try the B9600-16 Tomorrow. I was stupid to think the 20M2 with 8 tasks would run at 32 MHz. Thans for Your support.
  4. V

    serial communication and multitasking

    Hi Hippy, Please explain a bit more..... I can add a disconnect. I can use a check for the binary input level but in 8 task multitasking environment that could take several ms before I actually see it. If I start a serrxd immediately after, I am too late to detect the start bit (even at 300...
  5. V

    serial communication and multitasking

    Hi Hippy, Thank you for your fast response. You must be right about the 20ms timeout. As the board is already designed, your suggestion to use hserin is going to be ugly (to put it mildly), as I have used up all pins. But I may be able to free up pin B.6 (hserin pin) from the key matrix. The...
  6. V

    serial communication and multitasking

    I am building a test circuit for optical links I can generate test sequences controlled from a keyboard The keyboard and the test sequences are executed using 7 tasks in a 20M2 As an afterthought I was planning to add a serial port control of the tester. The debug port (serrxd/sertxd) looked...
  7. V

    ReadADC with automotive level sender

    It is important to look into the final application. In the past (long ago) I have looked at this and at that time the level sensor was a variable resistor like yours, that was hard wired to the car's chassis. So one of the pins is chassis ground, and the other goes to an analog gauge. The other...
  8. V

    Picaxe 40M2 and variables using Blockly

    If you convert to PICAXE basic, you have a max of: 32 bit variables (1 or 0) eating up words w0 and w1 + 52 byte variables (0-255) eating up the rest of the words (W2-27) So the absolute maximum is 84 variables. Then thee is 1024 bytes scratchpad memory. That memory can not be used for...
  9. V

    RC indoor air combat using 08M2's

    Video is not available. Due to current Corona measures we cannot have a camera man indoor.
  10. V

    picaxe 08M2 reads 2.4ghz r.c. transmitter/receiver to control model tug LEDs

    A very similar project https://picaxeforum.co.uk/threads/rc-switch.30107/
  11. V

    RC indoor air combat using 08M2's

    Our local model airplane club flies outdoor when weather allows. During autum and winter we rent an indoor gym, and fly indoor. With very light depron and EPP airplanes. Since the indoor environment challenges with it's stone walls (that cause damage to the plane when you hit them) it is...
  12. V

    Li-Fi transceiver

    Although I can envision point to point communication, but to achieve sufficient signal to noise in a omnidirectional system (like WIFI) you may have to flood the room with light (visible or invisible). Using IR will suffer greatly from heat sources in a typical environment (electronics, candles...
  13. V

    Fuel Gauge for RC airplanes

    The code contains a lot of remarks also contained in previous posts, but the actual code is pretty small. The only thing I have not yet solved is getting some defaults in flash memory so the system works even before you do your first calibration. So initially the system is useless until you...
  14. V

    Fuel Gauge for RC airplanes

    The output of the DAC is connected to a "voltage" telemetry input of the RC receiver. Attached photo's show the Telemetry reading on the transmitter LCD (the value ExtV shows the tank is 1/3 full (1.5V of 4V range)). Another photo shows how the stuff is build into this airplane. From left to...
  15. V

    Fuel Gauge for RC airplanes

    Now we come to the moment the PICAXE comes into play. The M2 series of pickaxe chips have a function that is called "capacitive touch" using the TOUCH and TOUCH16 commands. It is designed for capacitive touch buttons (keys) so you can operate a system in a wet or unfriendly environment...
Top