An Open-Source platform to create digital devices and interactive objects that sense and control physical devices. | Arduino Tutorials | |
Arduino Projects |
Congratulations to vimarsh_ for Automating Industries ! You are the winner of the Arduino Engineering Kit!
We sent out MKR 1010 WiFi Boards and MKR CAN Shields to karthickiot , skd , contactdy14 , station240 , vimarsh_ , and palliser in order to demonstrate how engineers would ! We wanted you to show us what you could do with the MKR CAN shield or the MKR 1010 WiFi Board (you need a board to go along with the shield).
The Grand Prize, an Arduino Engineering Kit, was open for anyone who submitted a project in Arduino Projects or on the element14 community using the tag MKR_Auto_Hacks!
Anyone that submits a completed Arduino MKR WAN 1300 project by the deadline can win the grand prize.
Finalists:
Automating Industries by vimarsh_:
Fires in Industries have the most devastating effects. Just due to a flammable gas and a spark, a fire can occur causing a huge damage.
Also now its necessary to monitor the status of the industry from anywhere. Be it home, for fire or police department or anywhere. I have an idea and that is to monitor the gases of these industries and also we can control exhaust or temperature to evacuate the gases or bring them to non-reactive state.
To get these readings from anywhere I plan to use MKR Wifi 1010 board which has WiFi as most of the industries nowadays do have a decent WiFi and so the data can be sent over to a server and also read. Also to control the exhaust fans and AC or any such atmosphere or something else I plan to use CAN shield. Although I don't know much about it I had found out that most of the instruments in refining or manufacturing industries use CAN Interface only! We can also detect motion going on at some places and of course Temp, Humidity and Air pressure...
I also want the connected machines/devices to be controlled via web and the Conditions changing based on the phase of operation making it great and easy for automated operation of the machines...
Header 1 | Header 2 |
---|---|
Vidor4000 CAN-Bus Project by alisterw :
Plug a CAN-Bus MKR Shield onto Arduino 4000 and read car's OBD-II data so it could be displayed on an HDMI screen in graphical form. What could be simpler, it should only take 10 minutes to bolt together one of the many CAN-bus examples to a graphical HDMI driver. The FPGA section could be used to scroll the graphical section of the screen horizontally, at high speed, in the same manner as done on an oscilloscope. So the graphs of engine speed, mass air flow, throttle position etc would be displayed in real time. Additionally an accelerometer could be added.
First problem to solve was to regenerate the FPGA file as required by TEXT-DEMO, so it could be modified. I used Quartus-II v18.1 on a Windows 10 PC. It would build the output file but that file would not run for some weird reason. After plenty of mucking about, I installed v18.0, and that generated a functional file, so I could run the TEXT-DEMO and get an HDMI text display on my HDMI monitor. Giacko also did some tests and had no problems using v18.0 and v18.1, but the subtle difference was his O.S. was Linux. Incidentally, some of the Vidor 4000 instructions state that a patch is required for v18.0, and that is supplied as shell scripts what Windows does not seem to like at all, so I didn't add these patches. I did try to run an old 32-bit laptop with Lubuntu to get round this problem, but many tools just don't play 32-bit mode any more, so I gave up on Linux.
As an experiment, it seemed a fun idea to use the FPGA's soft SPI ports, but I couldn't get any data from the MISO pin. Besides, the 'VidorPeripheral' FPGA code is not the same as the TEXT-DEMO FPGA code so I would have probably had to cut and paste some Verilog over. But the SAMD21's SPI port fired up immediately and I could get data in and out of the MKR CAN Shield. I tried the VidorPeripheral UART code as an experiment and that did work.
The next problem was that TEXT-DEMO now refused to display anything when the CAN Shield was plugged in. That was because both the MCP2515 CAN interface and FPGA text interface use the same SPI port and also some control lines e.g. INT and FPGA_CS (chip select) on the same pin. Because the Shield is hard-wired I had to move the FPGA_CS signal from Pin 7, to Pin 6, and that was very easy to do: in the Pin Assignment editor, change SPI_CS's pin from F16 to G16. The SPI port can talk to multiple devices provided chip selects are separated. To make debug easier, I soldered a 28-pin IC socket onto a piece of strip board and soldered in some pins on useful tracks viz. 0V, MISO, MOSI, SCLK and Pin 3 (CAN_CS). The switch was from a previous project! An HDMI converter is plugged in.
Experimenting with Arduino MKR WiFi 1010 and CAN shield. by station240 :
The software (and firmware) for the MKR Wifi 1010 and MKR CAN shield needs a lot more polishing and testing.
Several times the process of programming the device resulted in it vanishing or malfunctioning as a USB device.
Thus requiring unplugging the USB cable and sometimes the CAN shield to get it into a state which it would boot enough to be reprogrammed correctly.
The CAN libraries come with pitiful examples, which aren't complete enough to use in practical projects where errors and the process of getting data in and out of packets matter.
PCB on the MKR CAN shield needs some minor revision.
The top writing to label the CAN/power connections on the PCB is too small, and partially covered by the terminal block.
On the board I have, its clearly an earlier version where the text is even less clear, and also contradicts if you compare top and bottom.
MKR WiFi 1010 - Enable BLE Support by jomoenginer :
I was lucky enough to get a MKR WiFi 1010 to add to my Robot ARM project I am modifying for the Arduino MKR Giveaway contest and the first thing I wanted to do was to get it connected to the local network. With the MKR1000 I have been using, I have used WiFi101 from the Arduino IDE for WiFi network examples. However, I found with the MKR WiFI 1010, the WiFi101 library is not valid and the WiFiNINA libraries should be used when using this device. In order to use the WiFiNINA libraries with the MKR WiFi 1010, the firmware on the board for the U-BLOX (ESP32) device has to be upgrade to a minimum of v1.2.0. The main issue I found was that the current downloadable version of the Arduino IDE from the Arduino site does not have the proper tools to perform the firmware update on the MKR WiFi 1010. After some further searching, I found this post on the Arduino MKRWIFI1010 forum site that describes how to perform the firmware update on this board.
Released on Arduino Day 2018, Arduino MKR Wifi 1010 board provides low-power energy consumption and simplifies prototyping of WiFi based IoT applications. It features a Microchip AT SAMD21, 48 Mhz 32 bit MO+ ARM Cortex low power processor. Its the same SAMD21 as the MKR 1000, MKR Zero, and Arduino/Genuino Zero boards. A unique feature of the SAMD21 chip is SERCOM, a set of six configurable serial interfaces. These can be turned into either a UART, I2C master, I2C slave, SPI master, and SPI slave. The MKR WiFi 1010 adds an ESP32 module by u-blox which is a notable improvement from the MKR1000 Wifi. The NINA-W102 Module provides low power 2.4 Ghz 802.11 b/g/n WiFi, dual-mode bluetooth v. 4.2, and RF communication through an internal PIFA antenna. The ESP32-W10 module has applications for automotive, smart cities, autonomous vehicles, medical technology, home and building automation. Another key feature of the MKR WiFi 1010 is that it has an integrated Cryptochip, Microchip ECC508, for secure communication using SHA 256 encryption. Finally, its Li-Po charging battery circuit allows it to run on battery power or an external 5V source. When plugged into an external source, the LiPo battery will charge, and then switch from one source to the other automatically.
The Arduino MKR CAN shield uses a Microchip MCP2515 Chip to connect to a CAN bus through its SPI interface. The chip is an industry standard, add this shield to any MKR board so that it can easily connect to a Controller Area Network (CAN). Most people associate CAN with automotive, but it has a number of industries including aerospace, factory automation, networking solution companies, medical technology, and building automation. These industries rely on it due to the fact that its a reliable and robust vehicle standard in automotive where safety and reliability is critical. It can also be used for drones, automomous cars, and smart vehicles. The MKR CAN shield simplifies the connection between your MKR board and any number of industrial grade sensors, motors, and displays. This challenge allows you to combine multiple ways of connecting devices using a variety of technologies. The first combination of boards and shields is the Arduino MKR Wifi Board and the Arduino MKR CAN Shield.
Auto Hacks and Beyond with the MKR WiFi 1010 Board and CAN Shield | ||
---|---|---|
Arduino MKR WiFi 1010 Board | Arduino MKR CAN Shield | |
Buy NowBuy Now | Buy NowBuy Now | |
The MKR WIFI 1010 is equipped with an ESP32 module from U-BLOX. It speeds up and simplifies prototyping of WiFi based IoT It aims to speed up and simplify the prototyping of WiFi based IoT applications using the ESP32 module and low power consumption. The board is composed of three main blocks:
The MKR WIFI 1010 includes 32-bit computational power, a rich set of I/O interfaces, and low power Wi-Fi with a Cryptochip for secure communication using SHA-256 encryption.
The Arduino Software (IDE) simplifies code development and programming. Ideal for IoT battery-powered projects in a compact form.
Its USB port can be used to supply power (5V) to the board. It has a Li-Po charging circuit that allows the Arduino MKR WIFI 1010 to run on battery power or an external 5 volt source, charging the Li-Po battery while running on external power. Switching from one source to the other is done automatically. | With this shield you can easily connect to a CAN (Controller Area Network) Bus. Discover new possibilities of interaction between your Arduino MKR Board and the CAN ecosystem.
The MKR CAN shield can simplify the connection of the MKR boards with industrial systems and especially with automotive applications.
This shield opens a new set of possible applications like smart vehicles, autonomous cars and drones. A CAN connection also provides the possibility to connect a MKR board directly with several types of industrial grade sensors, motors and displays.
The MKR CAN shield allows a MKR board to connect to the CAN bus using the MCP2515 SPI to CAN chip.
The Arduino MKR CAN Shield uses the MCP2515 chip by Microchip. This chip is an industry standard.
The switch close to the CAN bus connector allows to enable or disable the termination resistor. | |
|
| |
|
Arduino Library for Sending or Receiving data using CAN bus: https://github.com/sandeepmistry/arduino-CAN
MCP2525 Library on Github: https://github.com/coryjfowler/MCP_CAN_lib
Compatible with any shield or CAN interface that uses a MCP2525 protocol.
Did You Know?
The Americas lead the world in connected car IoT projects with 54% of them worldwide.
The Grand Prize
After all the the MKR boards and shields have been sent out we'll be awarding an Arduino Engineering Kit to the best project that shows how an engineer would use the MKR line to repurpose an existing project or a new project.
Arduino Engineering Kit - MATLAB/SIMULINK | ||
---|---|---|
Buy NowBuy Now | ||
Each Arduino Engineering Kit includes:
BOARDS
ELECTRICAL COMPONENTS
| COMPONENTS
| |
The Arduino Engineering Kit is the ideal solution for university students, providing a state-of-the-art, hands-on incorporation of Arduino technology in an educational setting.
The kit is primarily for three types of users:
The Arduino Engineering Kit covers fundamental engineering concepts, key aspects of mechatronics, and MATLAB and Simulink programming.Included projects challenges students intellectually and helps develop physical engineering skills — and they’re just fun to do.
The kit is sold in a hard plastic, stackable tool box for storage and years of reuse. Inside the box is an easy-to-use Arduino MKR1000 board, several customized parts, and a complete set of electrical and mechanical components needed to assemble all three projects |
Ask Questions to Arduino, during a Series of Livestreams on the Commercial uses of Arduino:
Massimo Banzi, co-founder of Arduino, and Dominic Pajak, a project person and retro computing geek from Arduino, will be giving a 5 part series of livestreams on the commercial uses of Arduino. The next livestreams will be on October 26th and will cover Arduino MKR Vidor 4000 – Democratizing FPGA . Be sure to tune in to ask Massimo any questions you have about commercial uses of Arduino!
Click on the "Enroll Now" buttons below to ask your questions and learn more:
Livestream Discussion | Date and Time | Sign Up! |
---|---|---|
Commercial IoT Applications with Arduino MKR | 14th November 2018 13:00 (CDT)/19:00 (GMT) | |
Industrial IoT Applications with Arduino MKR | 28th November 2018 13:00 (CDT)/19:00 (GMT) |
Previous Livestreams:
Recorded Live Stream: Massimo Banzi and Dominic Pajak: Arduino MKR: IoT Prototype to Production!
Recorded Live Stream: Massimo Banzi and Dominic Pajak: Arduino MKR and Wireless IoT Connectivity!
Recorded Live Stream: Arduino MKR VIDOR 4000 - Democratizing FPGA!
You're all familiar with WiFi and what it does. Its omnipresent in our modern lives and used to stream data such as videos and music, interact with others anywhere in the world, instantly consume news and information with connect smart devices such as laptops, smart phones that we carry in our pockets, tablets, televisions, and game consoles. It's a technology that allows you to connect to the Internet. But what exactly is it? It's a protocol for transmitting data to a network.
While WiFi makes many of our devices "smarter", the Controller Area Network (CAN) in your car allows the all the electronic modules to listen for and send signals to one another in real time without a host controller. These electronics modules are known as electronic control units (ECU) and they are used for electronic control unit, transmission, airbags, power steering, power windows, cruise controls, and more. There are as many as 70-80 electronic control units (ECU) in a modern vehicle and they can talk or listen to each other at anytime thanks to the Controller Area Network. Using this shield you can connect your MKR WiFi board to a number of sensors, It's applications however extend far beyond automotive. It is used in building automation, medical technology, aerospace, factory automation, and more. It can also be used for drones, automomous cars, and smart vehicles. The MKR CAN shield simplifies the connection between your MKR board and any number of industrial grade sensors, motors, and displays. This makes CAN ideal for more than just auto hacks.
Industrial Applications and Beyond
While effective for small, embedded applications and automotive, using CAN in many other applications such as industrial or medical technology requires a higher layer. Higher-layer protocols exist that to software on top of the CAN physical layer. Notably, CANopen for industrial automation and SAE J1938 for off-road vehicle.
CANopen
- ideal for embedded, industrial applications
- designed for motion control
- developed and maintained by the CAN-in-Automation (CiA) User Group
SAE J1938
- defines communication networks for trucks, buses, agricultural equipment, eic.
- CAN of choice for machines in construction, material handling, forestry applications
Derivatives of SAE J138
- NMEA 2000 for marine applications
- ISOBUS (ISO 11783) for agricultural applications
- MilCAN for military applications
Do you have an idea for a project that uses the Arduino MKR Board and MKR Arduino CAN Shield?
You're Free to Repurpose an Existing Project or Propose something new! We'll send out a board and shield for the best ideas so you can get started on your project!
The goal of this giveaway is to demonstrate the commercial uses of Arduino.
Directions:
Step 1: Log in or register on element14, it's easy and free.
Step 2: Post in the comments section: Show Arduino How You would use the Arduino MKR Line.
Videos, pictures and text are all welcomed forms of submission.
Step 3: Post Your Project: After you receive your board and shield you'll have a month to post your project anywhere on the community using the MKR_giveaway_projects tag or post it in Arduino Projects !
You have until October 18th, 11:59AM (noon) CDT to enter.
Top Comments