Search results

  1. J

    Problem reading from MCP23016

    Hi all, I'm trying to read from the ports of an MCP23016. GP0 port inputs are all configured as inputs. GP1 has been configured as 7 input pins (GP1.0 - GP1.6) and one output pin (GP1.7). I'm trying to read four or more inputs on GP1 to supplement the eight GP0 inputs to give me 12 inputs, with...
  2. J

    Code for mini bipolar steppers?

    I'm helping friends create some small animated figures and have sourced some very small, very cheap bipolar stepper motors (see pic) which will be ideal to create movement of arms, etc. However I am having difficulties successfully driving them. I'm trialing them using an existing combination...
  3. J

    Problem addressing two (or more?) I/O expanders via i2c

    Using this code: hi2csetup i2cmaster, 64, i2cfast, i2cbyte I can set up and communicate with a MCP23016 I/O expander at address 01000000 and do anything I want with it. Substituting 0x40 for the 64 works just as well. I'm working on the implication that decimal 64 and hex 0x40 both equal binary...
  4. J

    External eeprom read/write problem

    I'm blundering my way through writing data to a 24LC256 eeprom then retrieving the data but finding I have corruption issues. The data is currently sampled by a 20M2 from two sources and written in real time into the eeprom as two 'tracks' of data. Track 1 data (used to control a servo motor)...
  5. J

    AXE027 drivers installed etc. but "can't find hardware"

    A couple of days ago my trusty laptop died while I was using the Picaxe Editor. Looks like it was a power system thing... the laptop just went dead. I've transferred all my files to an external drive and for now am using that on an older PC running Windows 7. I've downloaded what seems to be...
  6. J

    Serial data problem

    I'm intending to eventually use a 14M2 chip to poll several switches (and possibly a potentiometer) and output a qualifier and value to show when each switch is pressed or not, sending the data down a serial line to several 'receiver' 14M2 chips. For the moment I'm getting my head around it by...
  7. J

    Flickering issue with darlington-buffered pwm output

    I am building a small lighting controller/fader system for a friend's miniature model theatre, using the adc on 10 x 08m2 chips to read 10 'channel' slider pot faders and outputting/buffering the pwm from each pic through two paralleled darlington pair inputs (ULN2803). The paralleled outputs...
  8. J

    Displaying ADC output on LCD problem

    Hi, am very new to this but... I am trying to display the position of a 10k slider pot (between the 0 and 5v rails) by storing the 08M2 ADC value as a variable then feeding that value to a serial input AXE033 display. Eventually I hope to feed that ADC level down a serial bus to several 'slave'...
Top