1. Summary
  2. Files
  3. Support
  4. Report Spam
  5. Create account
  6. Log in

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

Discussion specific to the intelligent brick, sensors, motors, and more.

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

Postby sparramc » 27 Aug 2011, 02:14

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!'
User avatar
sparramc
 
Posts: 83
Joined: 29 Sep 2010, 08:44
Location: Launceston, Tasmania, Australia

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

Postby linusa » 27 Aug 2011, 05:51

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
User avatar
linusa
 
Posts: 228
Joined: 16 Oct 2010, 11:44
Location: Aachen, Germany

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

Postby pbenco » 14 Jan 2012, 17:07

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/
User avatar
pbenco
 
Posts: 71
Joined: 29 Sep 2010, 09:43

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

Postby doc-helmut » 14 Jan 2012, 20:25

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.
regards,
HaWe
±≠≈αγδεωΔΦΣ∫√∅∞
NXC CHESS for NXT: http://www.mindstormsforum.de/viewtopic.php?f=70&t=6790
indispensable for NXC + EV3-C: easy + trouble-free network & sensor+motor remote control for rs485, BT, USB!
User avatar
doc-helmut
 
Posts: 2427
Joined: 29 Sep 2010, 14:25

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

Postby pbenco » 14 Jan 2012, 21:57

So you're condemned to remain frustrated...
Best regards
Ben
pbenco.wordpress.com/
User avatar
pbenco
 
Posts: 71
Joined: 29 Sep 2010, 09:43

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

Postby doc-helmut » 14 Jan 2012, 21:59

yes, that's what I'm supposed to be...^^
regards,
HaWe
±≠≈αγδεωΔΦΣ∫√∅∞
NXC CHESS for NXT: http://www.mindstormsforum.de/viewtopic.php?f=70&t=6790
indispensable for NXC + EV3-C: easy + trouble-free network & sensor+motor remote control for rs485, BT, USB!
User avatar
doc-helmut
 
Posts: 2427
Joined: 29 Sep 2010, 14:25

Previous

Return to Mindstorms Hardware

Who is online

Users browsing this forum: No registered users and 1 guest

cron