Visitor Publish by brickobotik:
LEGO Schooling ‘s SPIKETM Prime is obtainable in the marketplace for multiple yr by now. In our huge take a look at collection, we introduced in to you intimately. The Inventor 51515 which is the SPIKETM ‘s house model, can be purchased by now. The software program of each robots has reached an honest degree. Earlier this yr, we revealed our personal e-book for the SPIKETM Prime Software program that may be a useful useful resource for everyone who nonetheless has questions on programming this robotic. For individuals who like paperbacks greater than digital e-books, we additionally promote it as a print-on-demand paperback on amazon.
At brickobotik, we however proceed to work with the SPIKETM Prime. On the one hand, we use it in our workshops and teacher-trainings. Alternatively, we’re additionally within the electro-technics of the SPIKETM Prime. Subsequently, we provide you with somewhat perception in our “briokobotik craft nook” and current somewhat undertaking on which we at the moment work.
An adapter board for the ultrasonic sensor
A lot of you in all probability observed the 2 Torx screws on the again of the ultrasonic sensor within the SPIKETM Prime and the Mindstorms Inventor set which you’ll ‘t discover on the opposite sensors. In the event you unscrew these two screws, you may take away the white ultrasonic sensor machine in order that solely the black shell stays in your hand. Right here, the cable of the LEGO Powered Up connector results in a feminine header. This 8-pin feminine header has a pitch of 1.27 mm which can’t be accessed simply with standard Arduino cables. That’s the reason we determined to develop an adapter that breaks out the 1.27 mm pitch to 2.54 mm which is the standard dimension of the Arduino, perfboards, breadboards and so on.
Technical particulars in regards to the breakout board
There are six indicators throughout the Energy Capabilities 2.0 connection:
1x 3.3 V energy provide
2x digital in-/output (GPIO), which can be used for UART (115200 Baud, 8N1) Please word: The GPIOs don’t provide sufficient present to function the LEDs straight! A transistor circuit is critical to provide an LED from the three.3 V rail.
2x PWM for the motors
Please word: The voltage of those indicators is equipped straight by the SPIKE ‘s battery! Aocording to our measurements it’s between 8.4 V and 6.3 V.
Every GPIO sign is supplied with a resistor in collection that gives a minimal safety towards unsuitable GPIO configurations. They will simply be bypassed with a solder bridge.
On the left and proper aspect, the identical indicators are unfold out. On one aspect, you discover the 2 GPIOs along with the facility rails and on the opposite aspect, you discover the PWM indicators with the facility rails. The sign traces to the left and proper don’t solely fan out to contacts of
2.54 mm pitch but in addition to contacts of two.00 mm pitch for the Grove connector system.
The respective 3.3 V energy provide traces are by default open solder bridges. On this approach, two unbiased energy provides is not going to compete destructively if for instance a Calliope mini or different microcontroller is used. The open solder bridges might be closed with a little bit of solder if required.
New potentialities with the breakout board
With our breakout board, connecting and utilizing different sensors and motors with the SPIKETM Prime turns into a lot simpler. It additionally opens the potential for connecting the SPIKETM to a microcontroller just like the Calliope mini. However it is best to word one vital constraint: projeots like these are primarily appropriate for superior customers. The wiring in addition to the programming wants expertise with the electronics and the respective sensor protocols.
Technical particulars in regards to the management
The Powered Up indicators are straight controllable through the SPIKETM Prime app however solely utilizing Python tasks and on one’s personal account. There isn’t any “UltrasonicBreakout” Python module or one thing related by LEGOO . However, descriptions and directions for the respective MicroPython courses and strategies might be discovered within the web. Individuals with expertise with different MicroPython units, particularly with working the MioroPython REPL, can rapidly familiarize with the mandatory particulars.
Order your individual adapter board!
At briokobotik, we’re going to proceed to work with the adapter board and take a look at its conneotion to totally different sensors. However we might additionally like to present the potential for experimenting with connections to the SPIKETM Prime to all different house constructors and electro-technios fans who prefer to attempt it themselves. So, if you’re on this adapter board and wish to buy it, simply ship us an e mail to [email protected]. We are going to accumulate all requests and if there are sufficient individuals , we are going to inform you through e mail about the potential for preordering the adapter board.
You don ‘t need to tinker however you have an interest in a sure sensor that may very well be conneoted to the SPIKETM Prime? Go to our web site at www.briokobotik.de and go away a oomment or a message together with your requests for future tasks and we are going to attempt to take them into consideration.