Search results

  1. I

    Digitech XC4134 Serial to Ethernet

    A series diode is unnecessary to protect against negative voltages on PIC input pins (with the exception of the pin used for Reset and Vpp). Each I/O pin has built-in protection diodes between the pin and Vss and Vdd. (Practically) any voltage can be connected to an input pin via a suitable...
  2. I

    Print layout (Slave) til Display OLED modul (16x2)

    Unless you have a source for a 100nF capacitor with 0.1" (2.54mm) leg spacing, I would suggest you space the capacitor's holes at 0.2" (5.12mm). Personally, for a simple one-off circuit like this I would use veroboard/stripboard. However, that's a personal choice.
  3. I

    Using TSOP31240 in parallel

    The IR is 'light', so travelling at about 300,000km/second. So, even with a signal bouncing around a room would probably arrive picoseconds after the original, incident signal. Also, I understand that some IR receiver/demodulators have a full open collector/drain output, so there is no need for...
  4. I

    Compact Date Storage & Retrieval

    I second that. I, too, was missing hippy's habit of whipping up elegant solutions to members' coding problems!
  5. I

    Hippy status, rev 2.0

    Welcome to Windows 10 and Prolific: an unfortunate combination! The old Prolific-based leads work fine with the old Prolific drivers (I have a stash of old drivers that I can call on). The problem is that Windows 10's updates are a law unto themself. W10 regularly checks that drivers are the...
  6. I

    Print layout (Slave) til Display OLED modul (16x2)

    I developed an interface like this, using a 20X2, using stripboard. The 20X2's background serial receive allows much faster data rates. Regardless, it should be a relatively straightforward task to translate the 18M2 version to stripboard/(veroboard), too.
  7. I

    Digitech XC4134 Serial to Ethernet

    The word "break" does not appear in the device's manual, so it could be a costly experiment if break signalling is not supported. I suggest you call Jaycar's support line and ask them. I have to say I have been under whealmed by their knowledge in the past :(.
  8. I

    Using TSOP31240 in parallel

    Yes, you can use three (or more) IR receivers wired in parallel and mounted back-to-back to make a 360-degree receiver (on, say a remote controlled toy vehicle or robot). Use a single pull-up resistor to give an idle-high output. When one or more IR receivers detect a modulated IR signal they...
  9. I

    Hippy status, rev 2.0

    That might be the key to the argument. Needing/building dozens could possibly press the budget. Personally, I'm considering buying a second AXE027 FTDI cable. I already have an AXE026 and an AXE027. I also have a Prolific USB to DE9 cable but the drivers are not maintainable due to the...
  10. I

    closed loop DC motor speed control

    I'm not sure why a stepper motor has not been mentioned in this thread yet. Surely with just a PICAXE at the helm, it would be easy to synchronise the motor speed with just about anything.
  11. I

    How to reset the timer (20X2)

    My first reply #11 was fuelled by your attempts to access the Timer overflow flag by accessing the flag bit by separating it out of the Flags system byte. The bit can be addressed more simply: "If TOFlag = 1 Then... " You mentioned a bug that becomes evident after around 12 hours. This type...
  12. I

    How to reset the timer (20X2)

    While I don't know much about your project, I would have thought that using timer interrupts to handle the generation of timer events would be ideal. I, too, have built a state machine (a different project to the one above, using a 40X2) with 4 timers, all managed via background timer...
  13. I

    How to reset the timer (20X2)

    This is how I implemented the background timer with interrupts. While the example here has interrupts occurring every 125mS, you can add a byte- or word-variable incrementing every 1/8 second. This variable can be read, cleared etc as your needs require. #PICAXE 20X2 'Must use AXE027 (Not...
  14. I

    Pulsin and servopos in a loop? I'm getting severe servo jitter.

    Have a read of Appendix 4 of Manual 2. This describes potential conflicts between several PICAXE commands. It is not very detailed but, as Alan says, the area is frought with risks. While some timing commands (count, pulsin, pulseout...) do not disable interrupts, their results can be...
  15. I

    serout versus hserout problem

    When I encountered the speed limitation of the 18M2 backpack for the OLED/LCDs, I developed a 20X2-based backpack, documented here. The code provided in the article offers three different options: high speed serial @76,800 baud (possibly 115,200 - read the article), i2c serial or i2c with...
  16. I

    Low Freq PWM and Interrupts

    You have struck one of the limitations of the PICAXE, with its tokenised, interpretted code. You have to find a compromise: how fast do you need to process your foreground task versus how slow do you want your background task (PWM in this case)? As you have found, the polled interrupts that...
  17. I

    Long Distance Serial Connection: Success!

    RS422 should do the job over 80 metres of twisted pair. Do you know what baud rate/s you are able to achieve or is the link just for programming and logging data (SerTxd)?
  18. I

    ¿Existe otra combinación que mejore este proyecto?

    From Google translate: "Hello, my name is Daniel, and I am a teacher in the public school in Spain, at the secondary and high school levels. In the last call, the Ministry of Education, awarded me a grant for a project of Preparation of materials. I am currently working on it. The project deals...
  19. I

    Working with numbers larger than 65000

    I once tried to use an ultrasonic transmitter and receiver to determine the distance to an object suspended in a 100mm smooth-walled PVC pipe. The concept worked up to a distance of about 200mm but I needed to measure to 2 metres. Beyond about 200mm, echoes from the walls began to dominate the...
  20. I

    Working with numbers larger than 65000

    By the sounds of it, you're going to have to fill your tank with beer (for scientific purposes, of course!). It would be sad to let all that good beer go to waste, so you could drain the tank, glass by glass (I was thinking 250ml glasses would allow accurate measurement). (So says I, who...
Top