Legacy Forum: Preserving Nearly 20 Years of Community History - A Time Capsule of Discussions, Memories, and Shared Experiences.

Additional serial port via I2C

Hitec robotics including ROBONOVA humanoid, HSR-8498HB servos, MR C-3024 Controllers and RoboBasic
9 postsPage 1 of 1
9 postsPage 1 of 1

Additional serial port via I2C

Post by roboTT » Thu Apr 15, 2010 1:40 pm

Post by roboTT
Thu Apr 15, 2010 1:40 pm

Anyone has ever seen something like a 'ready to use' serial interface on I2C ?

I would love to have another serial for telemetry on MRC3024,
possible?
Anyone has ever seen something like a 'ready to use' serial interface on I2C ?

I would love to have another serial for telemetry on MRC3024,
possible?
roboTT
Savvy Roboteer
Savvy Roboteer
Posts: 62
Joined: Mon Mar 10, 2008 10:06 am

Post by i-Bot » Thu Apr 15, 2010 3:11 pm

Post by i-Bot
Thu Apr 15, 2010 3:11 pm

NXP do an I2C to serial chip, but it is surface mount, and I have not seen a board using it.
I would suggest to use something like an ATMega168 with the I2C slave connecting to the C3024, and the 168 serial port to your device. Do as much processing on the 168 as possible, because the I2C will have to be bit banged on the C3024 as master.
Use either my I2C firmware on the C3024, or at least Version 2.7 firmware from flash, or it is very slow.
NXP do an I2C to serial chip, but it is surface mount, and I have not seen a board using it.
I would suggest to use something like an ATMega168 with the I2C slave connecting to the C3024, and the 168 serial port to your device. Do as much processing on the 168 as possible, because the I2C will have to be bit banged on the C3024 as master.
Use either my I2C firmware on the C3024, or at least Version 2.7 firmware from flash, or it is very slow.
i-Bot
Savvy Roboteer
Savvy Roboteer
User avatar
Posts: 1142
Joined: Wed May 17, 2006 1:00 am

Post by roboTT » Thu Apr 15, 2010 5:38 pm

Post by roboTT
Thu Apr 15, 2010 5:38 pm

Gee,
did not know this would be so tricky.
I am not an electrician so probably i will not be able to step forward with this.

Nothing like a 'ready to work' thing, so i could just connect and 'speak' to the device?

Thanks i-Bot, you've been always very helpful.


Ps.

maybe there is something like a Serial port expander,
where you connect something to a TX/RX port on MRC and on the other side you get 3,4 RS232 ports ?

The thing is,
my HTC (Pocket PC) is the main brain doing all calculations,
it is connected via bluetooth to TX/RX on MRC, and goes with all decisions, gathering data from AD0-AD7 and deciding where to go by using pocketpc onboard GPS receiver.

I would also like to have an option to transmit the data via telemetry module:

http://www.active-robots.co.uk/mini-rf-telemetry-module-ukeu-400mhz-p-573.html

But there is no place i can connect it to as the only serial port is used by th ebluetooth... :/
Gee,
did not know this would be so tricky.
I am not an electrician so probably i will not be able to step forward with this.

Nothing like a 'ready to work' thing, so i could just connect and 'speak' to the device?

Thanks i-Bot, you've been always very helpful.


Ps.

maybe there is something like a Serial port expander,
where you connect something to a TX/RX port on MRC and on the other side you get 3,4 RS232 ports ?

The thing is,
my HTC (Pocket PC) is the main brain doing all calculations,
it is connected via bluetooth to TX/RX on MRC, and goes with all decisions, gathering data from AD0-AD7 and deciding where to go by using pocketpc onboard GPS receiver.

I would also like to have an option to transmit the data via telemetry module:

http://www.active-robots.co.uk/mini-rf-telemetry-module-ukeu-400mhz-p-573.html

But there is no place i can connect it to as the only serial port is used by th ebluetooth... :/
roboTT
Savvy Roboteer
Savvy Roboteer
Posts: 62
Joined: Mon Mar 10, 2008 10:06 am

Post by i-Bot » Thu Apr 15, 2010 6:23 pm

Post by i-Bot
Thu Apr 15, 2010 6:23 pm

If it is low speed(4800) and in one direction, you could use the LCD port
If it is low speed(4800) and in one direction, you could use the LCD port
i-Bot
Savvy Roboteer
Savvy Roboteer
User avatar
Posts: 1142
Joined: Wed May 17, 2006 1:00 am

Post by roboTT » Thu Apr 15, 2010 6:31 pm

Post by roboTT
Thu Apr 15, 2010 6:31 pm

One direction,

i-Bot, any scheme or code how to write to LCD some bytes?
One direction,

i-Bot, any scheme or code how to write to LCD some bytes?
roboTT
Savvy Roboteer
Savvy Roboteer
Posts: 62
Joined: Mon Mar 10, 2008 10:06 am

Post by roboTT » Thu Apr 15, 2010 7:09 pm

Post by roboTT
Thu Apr 15, 2010 7:09 pm

i-Bot,

what about PWM ports,
can they be used to transmit/receive characters?
i-Bot,

what about PWM ports,
can they be used to transmit/receive characters?
roboTT
Savvy Roboteer
Savvy Roboteer
Posts: 62
Joined: Mon Mar 10, 2008 10:06 am

Post by roboTT » Thu Apr 15, 2010 7:30 pm

Post by roboTT
Thu Apr 15, 2010 7:30 pm

Great stuff i-Bot, many thanks for LCD tip.

Got my LCD port sending telemetry characters all the time via radio,
while my PocketPC is connected via bluetooth to the C3024.

You rock!!
Great stuff i-Bot, many thanks for LCD tip.

Got my LCD port sending telemetry characters all the time via radio,
while my PocketPC is connected via bluetooth to the C3024.

You rock!!
roboTT
Savvy Roboteer
Savvy Roboteer
Posts: 62
Joined: Mon Mar 10, 2008 10:06 am

Re: Additional serial port via I2C

Post by Eddy23 » Sat May 01, 2010 9:56 pm

Post by Eddy23
Sat May 01, 2010 9:56 pm

good content thanks
good content thanks
Eddy23
Newbie
Newbie
Posts: 1
Joined: Sat May 01, 2010 9:51 pm

Post by pejus » Thu Jan 06, 2011 10:02 pm

Post by pejus
Thu Jan 06, 2011 10:02 pm

@i-Bot
yo, can you share with others with this tip you gave to roboTT? :p
@i-Bot
yo, can you share with others with this tip you gave to roboTT? :p
pejus
Newbie
Newbie
Posts: 3
Joined: Tue Nov 09, 2010 12:29 am


9 postsPage 1 of 1
9 postsPage 1 of 1