Friday, April 1, 2016

Makeblock mCore Information

Overview

mCore board
The great folks over at Makeblock have created a nice little board for creating robots, the mCore.

The mCore is basically an Arduino Uno plus
  • dual motor controller
  • two serial RGB LEDs (WS2812 aka "NeoPixels")
  • piezo buzzer
  • light sensor
  • IR LED
  • IR receiver
  • button
  • header block for either a bluetooth or 2.4GHz radio
  • four RJ25 connectors for external peripherals

The board is intended to be used for teaching programming, robotics, internet of things, etc.  As a learning tool, it is primarily used with the custom version of the Scratch programming environment called mBlock.  There is also a library for regular Arduino IDE programming as well.

What is lacking, however, is a good write up on the various pin assignments used for the on-board peripherals that Makeblock added.  Thankfully, at least there is a schematic to help us out.

Pin assignments

Based on the schematic, here are the pin assignments.  Additional detail on each peripheral is provided below the table.

Arduino mCore pin assignments
D0/RXD RXD on external radio connector
D1/TXD TXD on external radio connector
D2 IR receiver input
D3~ IR LED output (HIGH = ON)
D4 M2 direction (HIGH = CCW)
D5~ M2 PWM (speed)
D6~ M1 PWM (speed)
D7 M1 direction (HIGH = CW)
D8 Buzzer output
D9~ Pin 5 on RJ25 #2
D10~ (SPI) SS Pin 6 on RJ25 #2
D11~ (SPI) MOSI Pin 5 on RJ25 #1
D12 (SPI) MISO Pin 6 on RJ25 #1
D13 (SPI) SCLK Blue LED / Serial out to WS2812 LEDs
A0 Pin 5 on RJ25 #4
A1 Pin 6 on RJ25 #4
A2 Pin 5 on RJ25 #3
A3 Pin 6 on RJ25 #3
A4 (I2C) SDA Pin 2 on all 4 RJ25 connectors
A5 (I2C) SCL Pin 1 on all 4 RJ25 connectors
A6 Light sensor input
A7 Button input, low when pressed
Arduino Pin mCore function

Motor Controller

Motor Controller
The Toshiba TB6612 is used as a dual channel motor controller.  The inputs to the controller for each motor are a PWM pin for speed and two direction pins.  The mCore designers simplified the interface such that a single Arduino digital pin controls direction (it is inverted in hardware to provide the second direction input to the motor controller) while a second PWM pin controls speed.

The M1 connector on the board is controlled by D6 (PWM speed) and D7 (direction).  When D7 is HIGH, the motor turns CW.  When D7 is LOW the motor turns CCW.

Likewise, the M2 connector is controlled by D5 (PWM speed) and D4 (direction).  However, in this case the function of D4 is reversed. When D4 is HIGH the motor turns CCW, and when it is LOW it turns CW.

Reversing the function of the two direction pins may seem odd, however, when you think about it, the motors are generally on the opposite sides of the robot so they need to turn opposite directions for the bot to move either forward or backward.  Consequently you can use the same 'direction' setting (HIGH or LOW) on both outputs to get the bot to go in one direction, for example, forward.

Serial RGB LEDs (WS2812 aka NeoPixels)

WS2812 Serial RGB LEDs
There are two WS2812 RGB LEDs on the board.  These share a pin (digital pin 13) with the traditional LED seen on most Arduino boards.  You can use any of the existing NeoPixel libraries to control these LEDs.

In addition, the pin (D13) controls a blue LED on the board so the standard Arduino blink sketch will work correctly on the mCore.


Piezo Buzzer / Speaker

Speaker
 The speaker is connected to digital pin 8.  You can drive this pin using the standard Arduino tone() library call.



Light Sensor

Photocell
The light sensor is a standard CdS photocell configured as a voltage divider.  This is hooked to analog pin 5 so you can read the voltage (and hence the amount of light) using analogRead().


IR LED

IR LED
The IR LED is simply hooked to a digital output pin (digital pin 3). You can use this to transmit data or to detect objects in front of the bot (by bouncing light off of objects and reading it with the receiver).

IR Receiver

IR Receiver
The IR receiver, on digital pin 2, is intended to be used with the included remote control. It can also be used in conjunction with the IR LED for communications between bots.  The Makeblock library includes routines to read the button presses from the remote.

Button

Pushbutton
This is just a basic pushbutton with a pull-up resistor hooked to analog pin 7.  When the button is pressed, the value on A7 will be low.  It can be used to start your program or pretty much any other function you program in.  Unfortunately the designers wasted an analog input with just one button.  They could have included more buttons on the same pin by simply creating a voltage divider network with each of the buttons having a different resistor (and thus a different voltage / value when reading A7).

Radio Headers

Radio headers
The bot comes with either a bluetooth or 2.4GHz radio. This is the connector for the radio.  The design allows the radio to communicate using the standard Arduino Serial() calls.

RJ25 Connectors

RJ25 Connectors
The four RJ25 connectors make it easy to connect a variety of peripherals to the mCore. The top of each connector has a color coded block to indicate the types of peripheral that can be attached.  In turn, the peripherals themselves have color coded connectors.  Hooking things up is as easy as matching the colors.
Each connector has power (+5) and ground connections along with the I2C bus clock and data pins.  The remaining two pins on each connector have either two digital or two analog port pins, depending on which connector it is.
Port 1 has digital pins 11 (PWM) & 12.  Port 2 has digital pins 9 & 10 (both PWM).  Port 3 has analog pins 2 & 3.  Port 4 has analog pins 0 and 1.

89 comments:

Admin said...

nice diagrams to see thanks for sharing
Bluetooth Receiver Blog

gotoandlearn said...
This comment has been removed by a blog administrator.
mohit said...

I have read your blog its very attractive and impressive. I like it your blog.

Unknown said...

It is very helpful for our project. Thank you and keep in touch

Nathan William said...
This comment has been removed by a blog administrator.
Assignment Help: My Assignment Help Australia said...
This comment has been removed by a blog administrator.
Bella said...
This comment has been removed by a blog administrator.
Domenic Tylor said...
This comment has been removed by the author.
Domenic Tylor said...
This comment has been removed by the author.
Domenic Tylor said...
This comment has been removed by the author.
Domenic Tylor said...
This comment has been removed by the author.
hussainaadil said...
This comment has been removed by the author.
Max Willor said...

Thank you for this information, it is very useful for all. Get the best My Assignment Help Services at the cheapest price. MyassignmenthelpAU provides the best organizational culture My Assignment Help. Therefore, to avail of our assignment help offering no plagiarism, Free Turnitin, Partial Payment, Unlimited Revisions, etc. you'll contact our team of highly professional, experienced, Ph.D. experts to avail the discounted services!

Keith Morris said...

Great Post and all the very best from Assignment Help Expert providing excellent programming assignment help at an affordable budget.

leahmelda@gmail.com said...

Students who seek Criminology Coursework Writing Services from a writing company are guaranteed of getting good grades for their Criminology Research Paper Services and Criminology Custom Term Paper Services that are free from grammatical errors.

Assignment Achievers said...

'I'm highly impressed by the piece of thoughts you have shared on this portal. all the best
connect us on Assignment Help can shed your burden of assignments with a return of qualitative assignments.
Law Assignment Help
Programming Assignment Help
Management Assignment Help
My Assignment Help
Online Assignment Help

mathewanderson202 said...

This article was really helpful. The tip to clarify the topic was good for me to read, I liked your ideas, keep continue.
norton.com/setup

Term Paper Writing Services said...

Through our experts, we offer all kinds of Criminology Coursework Writing Services and Criminology Assignment Writing Services to suit the needs of every student when they are given any Criminology Case Study Writing Services.

John said...

Bean bag chairs are comfortable and beautiful. Why not add one to your den? Here's how to lounge in style and choose the best bean bag

meldaresearch said...

Are you in need of Marketing Assignment Writing Services for your Marketing Coursework Help Writing Services? Seek our Custom Marketing Writing Services Online today.

meldaresearch said...

It is important for college nursing students to seek help with nursing writing services from a reputable custom nursing research paper service company so as to be assured of good grades in their nursing research paper services.

Onlineassignmenthelp said...

Assignment Help is something most students are actively and constantly searching for assignment writing, regardless of their academic level. Students who lack knowledge and skills to develop proper assignment writing fears hearing the writing of word assignments. online assignment help is all you need to relieve the tension in these circumstances. By that point, the writing of the assignment is just what you need. They provide 100 per cent positive outcomes to customers, including providing expert advice and services. We offer top service assignment help Australia by 1000+ native experts with record of on time delivery. Get your modification done online for any subject assignment. Securing high grades made easy with assignment help.

mathewanderson202 said...

I read your article it is very interesting and every concept is very clear, thank you so much for sharing.
office.com/setup

dorcassmith said...

E-commerce research paper writers are hard to come across them for those in need of E-commerce Essay Writing Services and trade and e-commerce writing services.

Mark Rangel said...

As an option, white paper writing services can be useful in case you want to receive a good white paper and sell its copies in the future. Use the white paper writing services and get the best paper!

Term Paper Writing Services said...

Online logistics research paper writing help has become very popular among students seeking Logistics Writing Services Online and logistics and supply management essay writing services.

Term Paper Writing Services said...

Online business and information system coursework writing services seekers find it easy to access Information Systems Writing Services and IT research paper writing services since most information system essay writing services companies offer them.

Term Paper Writing Services said...

Online political science essay writing help services are very common nowadays since there are very many students seeking Political Science Writing Services and political science research paper writing services.

Florahmelda said...

Social science coursework writing services are essential and it has become very popular for those seeking social science research paper writing services since most of them seek Social Science Writing Services.

meldaresearch said...

Finding the best online history research paper writing services and History Research Paper Services is not easy unless one is keen to establish a professional history assignment writing service provider & history coursework help online.

hookstefan said...

the understudies of school assignments, paper help, article making, and proposition creating organizations as per the school rules. Pay someone to do homework
best my essay writer

Kush Singh said...

Bulk SMS Service in Delhi is one of the cheapest and most effective of marketing for businesses that always wanted to be in touch with their customers. It helps them to keep updated their client about all the ongoing events. Also, you can use Bulk Transactional SMS to update your clients with any kind of monetary activity in their account.

dorcassmith said...

It is important to seek hotel & hospitality research paper writing services and hotel & hospitality assignment writing services since students find help when they visit Hotel & Hospitality Writing Services.

Jenifer said...

While investigating different online assignment help sites, you will be required to clarify your prerequisite and inquiries each time you associate with a client care individual. In any case, we at ABC Assignment Help distributed a devoted venture administrator for your undertaking making our administrations totally tweaked in nature. Your task supervisor is constantly refreshed about any questions or explanations and go about as a solitary purpose of contact for all updates. He guarantees editing everything about your works in progress guaranteeing getting rid of all mistakes in definite assignment arrangements. Your task supervisor will likewise guarantee that the work is conveyed simply after cautious editing and last altering with the goal that its prepared to submit. more - assignment help uk

meldaresearch said...

Custom psychology research writing services are very difficult to complete and many students are always searching for Developmental Psychology Writing Services to help them complete their psychology assignment writing services and developmental psychology essay writing services.

Term Paper Writing Services said...

There are many theology & religion coursework writing services and Religious Research Writing Services to choose from for those stuck with their religion assignment writing services and theology essay writing help services.

dorcassmith said...

Reliable religion & theology coursework writing services are not hard to come across for those in need of Religious Research Writing Services and theology & religion essay writing services.

unknown said...

thanks for sharing the information this is how it is used blogging tips are working
twitch how to enable bits

Term Paper Writing Services said...

There are many custom coursework writing services and Business Coursework Writing Services to choose from for those stuck with their custom paper writing services and custom college coursework writing services.

Somtoochukwu Benedict Ezioha said...

Backlinks.

Read online stories and poems.

Lucy_13 said...

I’m impressed, I must say. Genuinely rarely can i encounter a blog that’s both educative and entertaining, and without a doubt, you have hit the nail on the head. Your concept is outstanding; the issue is something that too little individuals are speaking intelligently about.
essay writing service
essay writer online

Retha said...

Essay Typer
Need Essay Typer online? Get help from expert writers for Top Quality and Plagiarism free work. 24x7 Live Help. Order Now! This kind of essay calls for debating skills where you need strong statement evidence to support your arguments. It is very difficult as proving one’s point takes powerful

Businessassignmenthelp said...

business assignment help

statanalytica said...

accounting essay help

codeavail said...

computer science assignment help

Java Assignment Help said...

Java Assignment Help

Best Assignment Help said...

Assignment help

buycollegeessay said...

Essay Writing Help

vivikhapnoi said...

It's really amazing to have many lists of will help to make thanks a lot for sharing

vé máy bay rẻ đi thượng hải

thời gian bay từ hà nội sang anh

đặt vé máy bay đi mỹ

combo quy nhơn tháng 7

combo khách sạn đà lạt

Jenifer said...

The greater part of our homework helpers hold thinker doctorate certificates in their separate fields of study. Accordingly, they advance your homework with appropriately explored, totally valid and solid substance. Mention that we lead thorough instructional meetings for our homework help specialists at ordinary stretches. These workshops effectively keep our homework helpers refreshed about the new improvements in the field of scholastic composition. Knowing about these progressions, empowers our homework specialists to get your work done as per the most recent patterns in the field of academic composition. Visit - cheap assignment help , write my assignment

Johnson said...
This comment has been removed by the author.
Calltutors Australia said...

Our online assignment help Australia service is an online assignment help service provided by experienced Australian assignment help expert at here.
Monash University Australia Assignment Help
Curtin University Assignment Help
RMIT UniversityAssignment Help
Wollongong University Assignment & Homework Help
Queensland University Of Technology Assignment Help
University Of South Australia Assignment Help
Western Australia University Assignment Help
Swinburne University Of Technology Assignment Help
James Cook University Assignment Help

Okseoabhinav said...

Thank you very much for giving space to us to express our feeling and thoughts about above information. I think you will keep updating and changing these information time to time if there is need to change. corporate auditing firms in India, auditing services in india , new company registration in delhi , top ca firms, gst registration for service provider in india, business advisory consulting services in india.

Assignment help said...

Contact My Assignment Help online website to get our assignment help service for all your academic tasks. Through a team of over 3000 subject experts we offer individual attention to every student making the assignment help experience completely unique and stress-free for students aiming to score high in every assignment.

abc assignment help said...

I am very impressed by this post; this site has always been pleasant news for everyone. Thank you very much for such an encouraging post. Keep sharing, great job!
R assignment help

AtoZAssignments said...

Very nice article, just what I needed.

https://www.atozassignments.com/cplus-programming-assignment-help
https://www.atozassignments.com/computer-science-assignment
https://www.atozassignments.com/php-programming-assignment-help
https://www.atozassignments.com/c-programming-assignment-help
https://www.atozassignments.com/java-programming-assignment-help
https://www.atozassignments.com/html-assignment-help
https://www.atozassignments.com/mechanical-assignment-help

Anonymous said...

Excellent thread, I have to thank you for this. It helps me a lot to enhance my knowledge. I truly like your way of blogging. I bookmarked it to my bookmark website list and will be checking back soon. Please check out my website plagiarism help as well and let me know what you think.
pathophysiology assignment
change assignment
mba accounting assignment
organizational development assignment

giftalworld news said...

It’s hard to find well-informed people for this topic, and from the way you sound, is like you really know what you’re talking about! Thanks a lot. I have just shared this post with my friends. Recommended: Nurse Practitioner Essay Examples

giftalworld news said...

It’s hard to find well-informed people for this topic, and from the way you sound, is like you really know what you’re talking about! Thanks a lot. I have just shared this post with my friends. Recommended: Nurse Practitioner Essay Examples

Does Trader Joe’s Accept EBT Card said...

Wow!! Very interesting discussion glad that I came across such an informative post. Keep up the good work friend. Also, check out Military Discounts.

Barbara Ray said...

Spot on with this write-up, I truly feel this website needs far more attention. I’ll probably be back again to read through more thanks for the information! See good morning text for him

Does Trader Joe’s Accept EBT Card said...

Wow!! Very interesting discussion glad that I came across such an informative post. Keep up the good work friend. Also, check out Military Discounts.

giftalworld news said...

It’s hard to find well-informed people for this topic, and from the way you sound, is like you really know what you’re talking about! Thanks a lot. I have just shared this post with my friends. Recommended: Nurse Practitioner Essay Examples

Barbara Ray said...

Spot on with this write-up, I truly feel this website needs far more attention. I’ll probably be back again to read through more thanks for the information! See good morning text for him

Sarah Winget said...

Criminal: - This is interesting and simultaneously trying for the students to acquire broad information on it. Here, the students will study about close to home injury law, violations, vengeance, and other criminal cases. It is difficult for individuals to compose dissertation on this subject of law. In any case, we are here to help you in finishing the dissertation on schedule and after broad exploration.
law assignment help
economics assignment help

baku said...


Nice post. I used to be checking constantly this blog and I am impressed! Extremely useful info particularly the ultimate section 🙂 I take care of such information a lot. I was seeking this certain information for a long time. Thank you and best of luck.
independence day speech for kids

How to get free laptops form government for low income families said...

When it comes to paying for the flat house or other essential services for living, it becomes tough to get a very low income single mother to cover rent for the flat. That is why single mothers finding for free apartments for single moms program. Having a secure, shelter for one’s own family is a fantasy everybody preserves. Being a single mum, purchasing an apartment house appears to be a distant dream. But not anymore.

Does Trader Joe’s Accept EBT Card said...

The post is quite informative and appears to be all-encompassing as I could derive a lot on the topic by reading through it. Also, check Zoosk Sign Up.

giftalworld news said...

Thanks for the information you shared!! I hope you will continue to have similar posts to share with everyone! I believe a lot of people will want to read this article!
Appreciation Message for Him

Does Trader Joe’s Accept EBT Card said...

Now I have found what I actually want. I check your blog every day and try to learn something from your blog. Thank you and waiting for your new post. Also, check Grants for Entrepreneurs.

giftalworld news said...

I admire your piece of work, regards for all the interesting posts. what is the r word

Adam July said...

Nearly two million beneficiaries of social minima received in December a Christmas bonus of at least 152 euros and can reach several hundred euros in the case of large families, christmas food giveaway near me gifts for daycare teachers when leaving for a total amount of 377 million, we have learned Friday from the Ministry of Solidarity and Social Cohesion.

Does Trader Joe’s Accept EBT Card said...

Wow!! Very interesting discussion glad that I came across such an informative post. Keep up the good work friend. Also, check out wellcare health plans.

Does Trader Joe’s Accept EBT Card said...

I quite like reading through a post that can make people think. Also, many thanks for allowing me to comment! Also, check out fred loya auto insurance review.

King Chris said...

Hi! I simply wish to offer a significant thumbs up for the fantastic information you have right here on this blog post. I will be returning to your blog for more soon. Also check famous valentine quotes

giftalworld news said...

Your points are authentic and your paragraph is excellent. You are indeed a professional content creator. Kudos!See this: New Year Wishes for Girlfriend

Does Trader Joe’s Accept EBT Card said...

Wow!! Very interesting discussion glad that I came across such an informative post. Keep up the good work friend. Also, check out firstmark student loans review.

ozpaperhelp said...

I seen your blog and I will read your all information you will mention on your article it’s really useful keep sharing this valuable blog.
thank you so much for share with us,ozpaperhelp.com
Arithmetic Assignment Help
Business Assignment Help
Employment Law Assignment Help
Cost Accounting Assignment Help
Solve My Accounting Paper
Managerial Accounting Assignment Help
MYOB Assignment Help
FOREX Market Assignment Help
Financial Services Assignment Help
Finance Planning Assignment Help
Capital Budgeting Assignment Help
Finance Assignment Help
Accounting Assignment Help
Corporate Finance Assignment Help
Financial Statement Analysis Assignment Help
Behavioral Finance Assignment Help
Nursing Assignment Help
Clinical Reasoning Cycle
Internet Law Assignment Help
Science Assignment Help
Civil Law Case Study Help
Financial Accounting Assignment Help
Trigonometry Assignment Help
Pharmaceutical Courses Help


giftalworld news said...

The Blog quality, theme, and format are excellent. And am glad for the terrific guidelines you served here, it is the best of its kind. Read: Coca-Cola Internship 2021

zarkazijar said...

Login Jamb Caps

Really a fantastic blog with quality write-ups, the contents is incredible and the information found here, really satisfied my thought and findings. Its really a great post, thanks for sharing. Login Jamb Caps.

Does Trader Joe’s Accept EBT Card said...

Wow!! Very interesting discussion glad that I came across such an informative post. Keep up the good work friend. Also, check out people giving away money.

vivikhapnoi said...

Took me time to read all the comments, but I really enjoyed the article. It proved to be Very helpful to me and I am sure to all the commenters here! It’s always nice when you can not only be informed, but also entertained
Vé máy bay từ Nhật về Việt Nam 2021

vé máy bay từ toronto về việt nam

vé máy bay từ san francisco về việt nam

vé máy bay từ los angeles về việt nam

đặt vé máy bay từ canada về việt nam

vé máy bay từ mỹ về việt nam giá rẻ

Essien said...

Its looks like you are professional in blog building. Thanks for sharing I have admire and learn alot from your post. Thanks for sharing. Click post utme past questions for uniben pdf

Linda smith said...

Use assignment help to connect with Australian academic writers in just a few minutes. Students can take online assignment writing services in Australia when they have no one to ask their queries and find it tough to write your academic papers.

Alex said...
This comment has been removed by the author.
Alex said...

Teknobuilt paves the way for safe worksites and enhances operational efficiency through turnkey solutions. With so many success stories, we put our expertise and knowledge to use and provide real-time constructions. If you have a project that needs professional support, give us a call on +91-11-41072395 or visit our website https://www.teknobuilt.com/ or reach out to us at info@teknobuilt.com

Goodtime said...

This is a very useful and important information, it was so useful to me and other readers, thank you for always feeding the readers with interesting and useful information, your blog is indeed doing very well, kudos, meanwhile you can checkout this richest musician in nigeria year 2021

Essien said...

Its amazing and inspiring writing. I'm new to this blog but with what I just read now I will like be checking back for newly updates. Thanks for sharing your ideas with us. Checkout this page easyinfo blog

seoaugment1@gmail.com said...

Biostatistics is an essential ability for knowledge development, and it is not limited to evaluations of public health policy. It also plays a key role in genetics, health policy, clinical medicine, health economics data analysis, advanced research in genomics, proteomics, and several other related disciplines. As a result, most countries across the world have set up a national consortium of high-ranking universities to train trained biostatisticians for data analysis and interpretation in response to the global shortage of biostatisticians. We are at assignment help . Assignment helps under our Biostatistics assignment help so that students can complete their assignment on time and score good marks.