Welcome to Synthiam!

Program robots using technologies created from industry experts. ARC is our free-to-use robot programming software that makes features like vision recognition, navigation and artificial intelligence easy.

Get Started
United Kingdom
Asked — Edited
Resolved Resolved by Rich!

Mma 7455

I have a problem with the MMA7455 panel in EZ Builder normally EZ Builder connects fine but if I add the 7455 panel it locks up EZ Builder on connecting to the EZ B board and I have to use Windows task manager to shut it down and start again. It has worked for me but only a couple of times

AI Support Bot
Related Content
Synthiam
Based on your post activity, we found some content that may be interesting to you. Explore these other tutorials and community conversations.
United Kingdom
#6  
I take it the new update solved this one then? I haven't had chance to check since my PC took a nose dive last night so is currently in bits until the replacement parts come Saturday (was time to upgrade anyway).

My leads are around 4" and it had worked on them without any pull ups. From what I can make out the MMA break out board has pull up resistors on it anyway...
United Kingdom
#7  
Rich the update has solved most of the issues just a problem remains if the BT connection gets lost for whatever reason. Which is why I haven't closed the question. Bad news about your PC I get very little time to play with this stuff since the arrival of a new baby 2 weeks ago!:)
United Kingdom
#8  
Still getting the unresolved forum thread email for this post

You need long leads at least 6 inches for the MMA 7455 to work

Crediting Rich with the fix to see if I can get it to go away

*confused*
Germany
#9  
Hello there,

I'm struggling with that problem discussed here.

As soon i activate the MAA 7455 (connected with the i2c) Module in the software the EZ-Board and software freezes.

i really want to use the mma7455 but i cant see whats wrong.
the length of the cables are about 7 inc.

any ideas ?
United Kingdom
#10  
Is it connected to the EZ-B correctly?

It is a very sensitive piece of equipment and cable lengths are very important, if they aren't right then it simply wont work.

And the EZ-B V4 will hang and freeze up on any I2C error (the manufacturers of the main processor designed it that way).

Keep trimming back that length and retesting is pretty much the option here. As previously stated, mine were about 4 inches long when I was testing out the device on the EZ-B V3.
Germany
#11  
thanks for the fast response!

thats properly it !

i used different power connectors (3,3V and ground from the Ax row).


..now i have shorten the lines to about 2,5 inches but its still freezing the board.

should i use the power pin's of my used SDA/SCL port ?
PRO
Canada
#12  
@Julius are you using any pullup resistors from SDA and SCL to 3.3V? If not, toss in some 4.7-6.8kohm resistors to see if that'll help.
Germany
#13  
i tried this :

User-inserted image

2x2 10k ohms in parallel.

but nothing different than before. again ez board freezes as soon as i start the i2c maa7455 module in the software.

here is the set-up:

User-inserted image


(red = 3.3 V, brown = ground, blue = SCL, green = SDA)
United Kingdom
#14  
Hi are you using this as a G meter for your car?
If you have an Iphone you could try the sensor streamer app (was a free download from the apps store) that sends data straight to your PC and gives you an accelerometer for 3 axis. DJ added a panel to ARC for it.

Otherwise try longer wires to the MMA7455
PRO
Canada
#15  
@Winstn60 Actually I'm sorry to contradict you but shorter wires are better when dealing with I2C, due to lower line capacitance.

@julius I can see that you are using 3.3V from the ez-b going into the onboard 3.3V regulator, this might be dropping your voltage down far enough to make the sensor communication unstable. (Thanks for the photos, it definitely helps)
United Kingdom
#16  
Hi @Jeremie contradict away but as I posted 1 year ago I had to increase the wire length to get it to work go figure *confused*
PRO
Canada
#17  
Interesting...I've always had better results with shorter wires, well it never hurts to try both I guess.
Germany
#18  
Hey there,

its no car.
its a bi-ped. robot and its looking atm like this :

User-inserted image


the MAA7455 should go somewhere on the hips.

i have no iphone, but i'll look for something simular for android.

longer cables will be next.

i might soon get me an oscilloscope, so i'll get a closer look to the levels and timing.

@jeremie should i try to "pull up" with 5 V ?


..for that i need to throw in a 7805 for the regulated 5 V

atm I got 6 x 7806 already in it for 6 V, 5 A max for the servos.

so there is :
- 3.3V from board
- 6 V for servos
- 6.6-8.2 V from the batterie

User-inserted image

(they get warm at 5 A max, 2 A average when moving.. they got a small heat-sink by now!)


___________________
I read a bit about I2c spec's. this might be interesting:
(en.wikipedia.org/wiki/I%C2%B2C)


- the SDA/SCL levels should be 5V or 3.3V (but it works with something in between) with pull resistors !
the "low level" is under 0.5V.

- the I2c network stops, if a device is not working properly. (so we had that already)

- ....and also by the total bus capacitance of 400 pF, which restricts practical communication distances to a few meters.
PRO
Canada
#19  
I wouldn't suggest pulling up to 5V, as it would damage the accelerometer.

I didn't realize (until you sent the pictures) that you were using that style of application board. That board has pull-ups already on it, as well as a linear voltage regulator.

The voltage regulator will drop the voltage from 3.3V that you are supplying it to somewhere around 2.8V that powers the accelerometer. You may need to by pass the regulator.

I have the same boards at the ezrobot shop, I'll try to do a test tonight.
Germany
#20  
i thought that. that would be helpful !

i just got 2 new ones on ebay.. this will take a while. maybe mine is just broken. its produced alright, can't see any loose resistors or something..
PRO
Canada
#21  
I was able to get some testing done tonight. I had the MMA7455 board working with the EZ-Bv3 but could not get it working with the v4 yet. There are 4.7K I2C pull-ups on the v3 board so I will need to fiddle around a bit with pull-up values and wire length to work with the MMA7455 board. I know I had it working in the past I just don't remember what I had to do. I think I may have used the LED eyes plugged into another I2C port to leverage the pull-ups it had on board, I will have to do a bit more testing tomorrow.

If you have a v3 board you could test your MMA7455 with it to see if it is working as the v3 board is less picky about I2C.
PRO
Canada
#22  
Hello @Julius,

I have a late Christmas gift for you, I was able to get the MMA7455 accelerometer board to work reliably with the ez-bv4. Here's how I did it:

1. Used short wires connected from one of the I2C ports on the ez-bv4 to the MMA7455 sensor board

2. Soldered 4.7Kohm pullups from the SDA and SCL lines to 3.3VDC (these are possibly optional since there seems to be pull-ups on the board)

3. Soldered a 1nF ceramic capacitor from SDA to GND

Here's some pictures of my setup:

User-inserted image


User-inserted image


User-inserted image


You may not need to, but I removed the voltage regulator from the board and shorted the voltage input and output pins so I didn't have a voltage drop (through the regulator) when I provided 3.3VDC to the VCC pin.
Germany
#23  
Thank you so much for your effort !

I will go through this today or on weekend.

were is that nice i2c-connector-plug from ?

thanks again! a nice Christmas!
Germany
#25  
I tried alot. got me new 1nF caps, but its always the same. ..as son the software-module for the maa7455 is starting it freezes all.
User-inserted image


i still had a maa7361. now i'm going into the analog inputs with a X,Y and Z signal instead of the i2c line. its way more cables but its doing its job with a tiny bit of code.

User-inserted image


thanks for your help anyways! Have a good start into the new year !