Search results

  1. B

    Different serial in speed and out speed possible?

    I want to try an idea of connecting an old handheld computer with a maximum rs232 baud rate of 9600 to a 08m2 have the 08m2 listen for keypresses then convert those to midi commands and output at 31250 (midi baud rate) I don’t think it is possible but wanted to be sure. I am not averse to using...
  2. B

    Direct RS232 connection 08m2 14m2

    I am thinking of a project to use a terminal to send keyboard presses to Picaxe for controlling various pin states, and maybe eventually sending sensor data from picaxe back to the terminal. Is it ok just to use the standard serial circuit but instead of using the Axe026 cable connect direct to...
  3. B

    Some interesting IOT and other Picaxe projects at allaboutcircuits.com

    Delighted to find another site with some picaxe projects I thought I'd pass it on in case others had not seen https://www.allaboutcircuits.com/search?q=picaxe They have quite a good picaxe section, the author of most of the articles Charles R Hampton seems quite the Picaxe enthusiast and has...
  4. B

    Picaxe control of RF remote device?

    I just installed a motorised roller blind in my house which is controlled by a RF (433.92mhz) remote, it occurred to me that it would quite nice to have the blind close when light level falls below a certain level, and have it open when light gets above a set level, so in effect close at dusk...
  5. B

    Old Psion Organisers and Picaxe - anyone done anything interesting?

    Whilst going through the junk in my loft I found my collection of old Psion devices, so I decided to dust them down and play around, I have a couple of the Organiser II's and a 3mx and a 5mx, also a old Visor palm OS PDA. The Psion's are actually quite ahead of their time in some ways, and I...
  6. B

    Help with serial output event scheduling

    I am reading 2 digital inputs, one of which is a reasonably fast continuous pulse, the other which is a state changing logic hi/lo, what I need to do is have the continuous pulse always send a serial event on every high and nothing when low, and the other pin will send a serial event for each...
  7. B

    Quick PWM question re 14m2

    I am thinking of making a Light and Sound machine or AVS machine as they are sometimes known, basically the set up is you have 2 audio frequencies of slightly different pitch (one for each ear) to give binaraural beat sounds, and LEDs over each eye for photic stimulation, sometimes the LEDs will...
  8. B

    Feature request midi commands

    It would be great to have some midi commands, things like channel, note, system realtime, automatic baud rate set to 31250, possibly some kind of filter to ignore specific data types/ranges and the like to simplify midi projects. Anyone agree?
  9. B

    Midi controller project for 08m2

    I'm thinking of making a simple midi controller to send CC (control data) from 2 or 3 potentiometers, on the picaxe projects page I found this http://www.picaxe.com/Project-Gallery/Commande-MIDI/ and rather than try to re-invent the wheel thought that it might provide a good starting point, but...
  10. B

    Help to output pulsetrain based on adc readings

    I'm trying to come up with a pulsetrain device, using the 08m2, details in the comments in the code, but if anything is unclear let me know!symbol Trig = pinC.3 symbol PulseRate = b0 'Pot connected to pin 1 symbol PulseAmount = b1 'Pot connected to pin 2 symbol Spread = b2 'Pot connected to pin...
  11. B

    Quick electronics query to boost signal using transistor

    Hi guys, I have a signal that I want to input into a digital input, basically it is just a square wave about 0 to 0.5v, so I think I need to boost it up to around 0-5v so that I get reliable readings by the picaxe of high/low states, I have some 2n3904 transistors here and a 600 odd assorted...
  12. B

    Any ideas how to tie sound duration to button press?

    I have a scenario where I'd like the sound command duration parameter to be tied to the duration of a button press, so button pressed and held and sound until button released, the button presses will be from a few milliseconds to a couple of seconds, so given that the duration command is in...
  13. B

    Need expert help on concept - incrementing counter to set pin states

    I am looking for the most efficient way to achieve the following scenario, and am a bit stumped, I have set up on my 08M2 1 of the pins as inputs, and 4 as outputs, when the input pin is high a count is incremented and the outputs need to respond in the following manner: (Note this is not code...
  14. B

    Any ideas on how best to achieve this idea? Logic lists?

    I have a scenario where I want an input high/low to make output pins do high/low transitions according to set lists, for example like this "LLHHLHLHLHLLHLHL" or "LHHLHHHLL" so the lists of high/low and the number of high/low events will vary according to the list selected. The input pin on each...
  15. B

    Question about syntax

    I get a syntax error with the above line, I tried it like this What is the way to format it so that it works - if pin 1 and pin 3 are high, playflag = 0, pause 9, then start count. Thanks!
  16. B

    How do I do this [setfreq via an ADC reading]

    I'd like to readadc and assign to a set of predefined values, specifically I want to use a pot to set the setfreq parameter, so I only want to set it to any of m1, m2, m4, m8, m16, m32, it will be in the main loop of the program, is it even possible?
  17. B

    Scaling ADC question

    I want to scale the readadc (256 values) to give 80 values distributed across the range, since I can only use whole numbers does anyone know a way to do this? Maths is not my strong point, so please don't take the p*ss if it is blindingly obvious:) EDIT I know I need to divide by 3.2
  18. B

    Question (possibly dumb!) about sound

    I have briefly tried experimenting with the sound command, as an experiment I tried using 2 pins on the 08m2 hoping to get a sound at the same time from both pins, but what is happening is that one sounds then the other, is there a way to do what I want or am I expecting miracles? :o
  19. B

    Hello and question

    Hi all, just got a picaxe 08m setup, never really dabbled in microcontrollers before, but got the setup working and successfully uploaded some of the samples. Good stuff! Right so now I am at the stage where I want to try a few simple things, here is what I'd like to try: Have a digital input...
Top