NXC: 4 US sensors at 1 HT SensorMux in single shot mode?

Discussion specific to the intelligent brick, sensors, motors, and more.
sparramc
Posts: 83
Joined: 29 Sep 2010, 08:44
Location: Launceston, Tasmania, Australia
Contact:

Re: NXC: 4 US sensors at 1 HT SensorMux in single shot mode?

Post by sparramc »

I managed to get 4x NXT Ultrasonic Sensors up and running very successfully 12 months ago, just using the 4x NXT Sensor Ports and NXC: www.rjmcnamara.com


regards

Ray McNamara

www.rjmcnamara.com

'The Universe Consists of 1% Hydrogen, & the Rest is Ignorance!'
linusa
Posts: 228
Joined: 16 Oct 2010, 11:44
Location: Aachen, Germany
Contact:

Re: NXC: 4 US sensors at 1 HT SensorMux in single shot mode?

Post by linusa »

sparramc wrote:I managed to get 4x NXT Ultrasonic Sensors up and running very successfully 12 months ago, just using the 4x NXT Sensor Ports and NXC: www.rjmcnamara.com
It's nice and all that, but this doesn't solve Helmut's problem, as your solution involves 4 "real" NXT ports, but he asked for 4 sensors connected to 1 real NXT port via a HT SensorMux.
RWTH - Mindstorms NXT Toolbox for MATLAB
state of the art in nxt remote control programming
http://www.mindstorms.rwth-aachen.de
MotorControl now also in Python, .net, and Mathematica
pbenco
Posts: 71
Joined: 29 Sep 2010, 09:43
Contact:

Re: NXC: 4 US sensors at 1 HT SensorMux in single shot mode?

Post by pbenco »

Dear doc-helmut

I found this little device which can give you somme help, the PCA9547 chip, an 8-channel I2C-bus multiplexer with reset, in which you can choose the i2c channel.http://www.nxp.com/documents/data_sheet/PCA9547.pdf
Hope this help
Ben
pbenco.wordpress.com/
HaWe
Posts: 2500
Joined: 04 Nov 2014, 19:00

Re: NXC: 4 US sensors at 1 HT SensorMux in single shot mode?

Post by HaWe »

thank you very much, but I'm never building any hardware by my own. I'll never do anything by soldering and I'll never program any i2c device by my own (again) - it's far too frustrating.
I'm only using plug-and-play hardware.
pbenco
Posts: 71
Joined: 29 Sep 2010, 09:43
Contact:

Re: NXC: 4 US sensors at 1 HT SensorMux in single shot mode?

Post by pbenco »

So you're condemned to remain frustrated...
Best regards
Ben
pbenco.wordpress.com/
HaWe
Posts: 2500
Joined: 04 Nov 2014, 19:00

Re: NXC: 4 US sensors at 1 HT SensorMux in single shot mode?

Post by HaWe »

yes, that's what I'm supposed to be...^^
Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 2 guests