I2C on BasicX Development Station.

Started by jasuk1970 in BasicX12 years ago

Hi, Has anyone been able to implement I2C comms on the BasicX Development station? I'm trying to get an LCD Screen to work with the board...

Hi, Has anyone been able to implement I2C comms on the BasicX Development station? I'm trying to get an LCD Screen to work with the board which uses I2C as its communication. I've tried the I2C code in the files section (And had already written similar myself) But I cannot get anything out of the screen. Cheers, Jason


Question About I2C Coding

Started by Steve Whittle in BasicX14 years ago

Hello Group, I am hoping that someone will be able to answer a question about I2C programing, I need to be able to write an UnsignedInteger to...

Hello Group, I am hoping that someone will be able to answer a question about I2C programing, I need to be able to write an UnsignedInteger to an I2C device. Using The I2C routines in the files section will the following work:- Call I2cByteWrite(I2cAddr, I2cReg, CByte(RamPeek(MemAddress (I2cData))) ' send hi-byte Call I2cByteWrite(I2cAddr, I2cReg + 1, CByte(RamPeek(Me


I2c

Started by andy...@aol.com in BasicX14 years ago 2 replies

Hi Everybody, I need some I2C commands to run a Devantech Sp03 Speech Synthesizer. Thanks! Bye

Hi Everybody, I need some I2C commands to run a Devantech Sp03 Speech Synthesizer. Thanks! Bye


How to use I2C with LCD

Started by hvaccontrols.casey in BasicX14 years ago 1 reply

I have a Matrix Orbital VK204-25 as my display, and a BX-24. I'm a beginner! Using I2C: How to have the BX-24 send to a LCD address, which is...

I have a Matrix Orbital VK204-25 as my display, and a BX-24. I'm a beginner! Using I2C: How to have the BX-24 send to a LCD address, which is (5CH). Using I2C: How to send text from BX-24 to LCD. ex. ("Hello World") '5 Clock Pin '6 Data Pin Call PutPin(6, 2) 'Start I2C Call PutPin(5, 2) Call PutPin(6, 0) Call PutPin(5, 0) ? ? ?


Need help writing to/reading from I2C EEPROM chip

Started by rhese in BasicX10 years ago 4 replies

Hi all, I'm working on a data logger project using the BX-24 and a Microchip 24AA1025 1024K I2C Serial EEPROM. Communicating via I2C is totally...

Hi all, I'm working on a data logger project using the BX-24 and a Microchip 24AA1025 1024K I2C Serial EEPROM. Communicating via I2C is totally new to me, so I don't doubt that I'm messing something up here. I'm using code from M24LC256.bas, which I have tried to modify to match the chip I'm using. The problem is, I don't get the same data out that I'm putting in. For example, if the following ...


I2c

Started by nuepatrick in BasicX16 years ago 6 replies

Hello all, This might be a dumb question, but is the basicx compatible with the I2c Standard? I have a couple of chips that...

Hello all, This might be a dumb question, but is the basicx compatible with the I2c Standard? I have a couple of chips that I want to interface with it and am just curious. Thanks Patrick


Does anyone have I2C driver code for the BX24?

Started by russranshaw in BasicX16 years ago 1 reply

I want to access some I2C devices from my BX24. Does anyone know how this can be done? Russ ...

I want to access some I2C devices from my BX24. Does anyone know how this can be done? Russ


I2C and PCF8574 - ShiftOut

Started by andrewflys in BasicX18 years ago

Hi all, I had seen some earlier emails saying that folks had successfully migrated Pete A's i2c routines to use shiftout...

Hi all, I had seen some earlier emails saying that folks had successfully migrated Pete A's i2c routines to use shiftout instead of putpin in a loop. I substituted it for the existing code and had little luck... eg: Public Sub I2C_WorksFine (ByVal


SPI versus I2C

Started by David Sousa Mendes in BasicX13 years ago 1 reply

Hello fellows Even though a bit out of context: I'm finding some difficulties with learning the SPI protocol... Some of my basic questions: 1-...

Hello fellows Even though a bit out of context: I'm finding some difficulties with learning the SPI protocol... Some of my basic questions: 1- Did any of you set two machines talking via SPI? 2- What are the differences/ ressemblances with I2C? 3- Why must the commands be sent in hexadecimal?! It's so NOT practical... 4 - Any sites/pdf with easy to understand tricks and first steps? 5- The...


I2C HELP!!!!

Started by power_overwhelming_4 in BasicX16 years ago 8 replies

Here is the problem: I attempted to establish serial communications between my BX-24 chip and a PIC16F877 using the I2C code in...

Here is the problem: I attempted to establish serial communications between my BX-24 chip and a PIC16F877 using the I2C code in this site. I configured the BX- 24 as master and the other as slave, with the master periodically reading some values from the slave. To check if the data


Hardware I2C on BX24P

Started by wwwo...@sympatico.ca in BasicX12 years ago 1 reply

According to schematics BX24P uses ATmega8535 chip, wich has hardware I2C support. I wonder, has anybody tried to use this interface from BasicX...

According to schematics BX24P uses ATmega8535 chip, wich has hardware I2C support. I wonder, has anybody tried to use this interface from BasicX program? As I understand there are several questions here. First, access to TWI registers. I hope it can be done via RAMPeek/RAMPoke. Second, there is no way to use TWI interrupts for communication control. I see two possibilities here: insert TWINT...


PWM to I2C

Started by sturgessb in BasicX13 years ago 4 replies

Hi Guys Im having a problem where the need to read 5 channels of PWM is causing my control loop to run very slowly (for obvious...

Hi Guys Im having a problem where the need to read 5 channels of PWM is causing my control loop to run very slowly (for obvious reasons). So I would like to move this job onto a different IC. I was thinking of perhaps 5 small 8pin PICS that solely have the job of continuously reading the PWM signal and storing it in a variable that can be read by my BasicX-24 on via I2C on demand. ...


I2C BasicX and PICmicro

Started by power_overwhelming_4 in BasicX16 years ago 1 reply

I am just asking for some help. How can I implement an I2C communication routine between BasicX-24 and a PIC16F876, with BasicX ...

I am just asking for some help. How can I implement an I2C communication routine between BasicX-24 and a PIC16F876, with BasicX as the master and PIC as slave? The master is to read only a few bytes from the PIC slave with this routine.


SPI bus length?

Started by Tom Becker in BasicX14 years ago 1 reply

I have a dilemma: I need a fast compass in a complex motorized device but the motor magnets (which move within the project as the project...

I have a dilemma: I need a fast compass in a complex motorized device but the motor magnets (which move within the project as the project moves over Earth) disturb the compass in a complex manner that would, I expect, be very difficult to correct. I plan on mounting the compass on an arm that would remove it from the motors. The CMPS03 uses I2C; the V2Xe uses SPI. It appears that I2C ...


Re: SP03 Speech module

Started by "massimo.negrotti" in BasicX14 years ago

--- In b...@yahoogroups.com, "Ron A. Nucci" wrote: > > Hi > > Has anyone written code to talk to the Devantech SP03 using the I2C > ...

--- In b...@yahoogroups.com, "Ron A. Nucci" wrote: > > Hi > > Has anyone written code to talk to the Devantech SP03 using the I2C > interface and the shiftout command ? > > Thanks > RN Dear Ron, I also am looking for a code for programming the SP03 through I2C. Actually I'm successful only in addressing and playing the 30 phrases recorded apart in the module. Did


pulse counter

Started by David Sousa Mendes in BasicX10 years ago

Hello fellows A bit of-topic: I'm looking for a IC capable of counting pulses... Ideally with an I2C/SPI interface... Any...

Hello fellows A bit of-topic: I'm looking for a IC capable of counting pulses... Ideally with an I2C/SPI interface... Any suggestions? Cheers Regards David ------------------------------------


[OT] Anyone make this part?

Started by John Ely in BasicX16 years ago 1 reply

Hello, I'm working on a project using several remote I2C ports (PCF8574A), including the interrupt line. Some of these parts...

Hello, I'm working on a project using several remote I2C ports (PCF8574A), including the interrupt line. Some of these parts are used to sense momentary push buttons. I am using electrical switch de-bounce circuits. These parts generate an interrupt when the input to


Is the I2C/serial LCD220 damaged?

Started by naimead in BasicX15 years ago 3 replies

Hi guys, I am trying to display a message in my LCD by using basicX.I am using exactly the same connections as before and exactly the...

Hi guys, I am trying to display a message in my LCD by using basicX.I am using exactly the same connections as before and exactly the same code.The main problem is that nothing is being displayed in the LCD anymore.I don't think this is a basicX problem since it downloads the code fine.Any ideas about the problem?


Seeking Testers for device

Started by Don Kinzer in BasicX15 years ago

I have created a PS/2 keyboard and mouse interface chip that works with the BX-24 and similar microcontrollers. The interface...

I have created a PS/2 keyboard and mouse interface chip that works with the BX-24 and similar microcontrollers. The interface can be either serial or TWI/I2C. The same device supports either a keyboard or a mouse or both simultaneously. If you have an interest in usi


Slowing Down ShiftIn/ShiftOut Clock Speed

Started by Andy Michalicek in BasicX17 years ago 3 replies

I am talking to a I2c device that is extremely slow (~20 khz). Is there a way to slow down the clock used in the ShiftIn/ShiftOut...

I am talking to a I2c device that is extremely slow (~20 khz). Is there a way to slow down the clock used in the ShiftIn/ShiftOut commands? Andy