I2C on BasicX Development Station.

Started by jasuk1970 in BasicX9 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 BasicX11 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 BasicX11 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 BasicX11 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 BasicX7 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 BasicX13 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 BasicX13 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 Bus / Resistors

Started by Stephen Whittle in BasicX13 years ago 6 replies

Hi All, I was hoping that someone can help me with what is probably a very simple (and very stupid) question. I'm constructing a...

Hi All, I was hoping that someone can help me with what is probably a very simple (and very stupid) question. I'm constructing a circuit to connect the BX-24 to a SRF08 Ultrasonic Ranger and a CMPS01 Compass Via an I2c Bus. Now I know next to nothing about electronic (being more of a prog


I2C and PCF8574 - ShiftOut

Started by andrewflys in BasicX15 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


I2C

Started by Tom Becker in BasicX13 years ago 6 replies

Has anyone done I2C in BasicX? TIA Tom Tom Becker --... ...-- www.RighTime.com The RighTime Clock...

Has anyone done I2C in BasicX? TIA Tom Tom Becker --... ...-- www.RighTime.com The RighTime Clock Company, Inc., Cape Coral, Florida USA +1239 540 5700


SPI versus I2C

Started by David Sousa Mendes in BasicX10 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 BasicX13 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 BasicX9 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 BasicX10 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 routines for Microchip serial EEPROM

Started by Vince Pearman in BasicX13 years ago

I just uploaded (under files/BX24/I2C) a file with some subroutines for interfacing with Microchip 24LC256 serial EEPROMs, if...

I just uploaded (under files/BX24/I2C) a file with some subroutines for interfacing with Microchip 24LC256 serial EEPROMs, if anyone is interested. Supports multiple device addressing, copies data to and from RAM storage so program variables can be stored/retrieved in the E


I2C BasicX and PICmicro

Started by power_overwhelming_4 in BasicX13 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 BasicX11 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 BasicX11 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


I2C Memory Module

Started by Joseph Obernberger in BasicX14 years ago 2 replies

Has anyone see this? http://www.nollet.com.au/Memory_module_1M eg.htm Does anyone know of other I2C memory modules that can...

Has anyone see this? http://www.nollet.com.au/Memory_module_1M eg.htm Does anyone know of other I2C memory modules that can be used with the BasicX? Is there any easy way to increase the amount of available RAM fro


So I blew a 7805, no big deal?

Started by camel85kv in BasicX14 years ago 8 replies

Hello, I've been working on a circuit that uses the BasicX with these: Accelerometer (measure pulse width) Angular Rate...

Hello, I've been working on a circuit that uses the BasicX with these: Accelerometer (measure pulse width) Angular Rate Gyro (measure analog voltage) Pot (measure analog voltage) Dual I2C motor drivers (send I2C signals) My program was working fine un