Close

PYB shield V2

A project log for TestLogger Collector

Datalogging device for designed RC car racing

jussi-luopajrviJussi Luopajärvi 10/08/2018 at 13:483 Comments

In the previous post I mentioned about new prototype and it arrived as planned during last week. I called this as Python board shield V2. As a summary main changes were as follows.

So basically everything was new. 

Build went pretty smooth even it was one my first times soldering SMT components. My loyal Weller WTCP 51 with 0.4mm tip did the work nicely :) As a result I got a prototype which was 4 grams lighter and few milli meters lower. Pictures shows a bit more

Testing

During the weekend I did a bit of testing with the new unit and few notes the experiences. Now the shield is soldered to PYboard and it improves the reliability on hard landings. Previous version cut the logging quite easily when it got a big hit and this was due to the board-to-boards connector headers didn't have tight enough connection. Now it didn't a got a single cut.

RPM reading from sensor port works really nice, but temperature reading I didn't test and I believe that will need some calibration.

Wiring layout was nicer to do although crimping JST-SH connectors is pain in the ass job, but I got it working. JST-SH connectors are much nicer to use as you can't connect the sensor wrong way around. Performance wise there wasn't any difference, but that wasn't expected.

Layout

Here is a picture of my 2WD buggy with current layout. It's not super nice and tidy, but you work with it. Currently it has the measurements as follows:

The stupidity announcement

For some reason I thought that why I need to have 5V regulator in my design as the PYboard has 3V3 regulator to have a proper voltage level for the MCU. Therefore I decided to leave the regulator out.

I just forgot a small thing that my hall sensor input needs to be at least 3V5 so 3V3 is not enough and MCU inputs are 5V tolerant. The RC car receiver provides the power for the unit and that has 6V level. This meant that hall sensor supply was 6V which isn't a problem but also the output is 6V and that's over the MCU input spec. That meant that I fried to MCUs...

Now I have the regulator in place and I have learned my lesson (hopefully). One thing I started to think about forgeting the regulator and instead using a logic level shifting for the sensor inputs. If you guys have any thoughts on topics, please share. As stated before, my experience is close to zero when it comes to electronics. Maybe I will come back to this topic later on.

New Ideas

Discussions

Jan wrote 10/08/2018 at 18:58 point

Level shifting is always possible but I completely switched to 3V3 components and regulators for all my projects now and never looked back. There should be 3V3 compatible hall effect sensors as well! Almost all new sensors work down to 2.something V or sometimes even down to 1.8V.

  Are you sure? yes | no

Jussi Luopajärvi wrote 10/11/2018 at 05:28 point

That's a valid point and good idea to move to 3V3 components and forget the 5V level. I already investigated and there is huge amount of hall effect sensors available where minimum operating voltage is below 3V3. I was planning to order these ones for testing https://www.digikey.fi/product-detail/en/A1120LUA-T/620-1330-ND/2075330/?itemSeq=274050117 as the spec is pretty similar to the ones I use currently.


Thanks for the comment!

  Are you sure? yes | no

Jan wrote 10/11/2018 at 08:15 point

You're welcome. It really is nice to have only 2 or 3 regulator styles (casings) in stock which you choose regarding to space and power needs...
Your project reminds me of my RC car I had as a kid, it way a Tamiya Fighter Buggy: http://www.rcscrapyard.net/tamiya-fighter-buggy.htm#1

Ooooooh those hours tuning it and waiting for those damn NiCd cells to reload. Good memories!

  Are you sure? yes | no