Overview
It is commonly found on modern machine tools and as an automotive diagnostic bus.
Thanks to the CAN-BUS, makers are able to hack their cars!
It adopts MCP2515 CAN-BUS controller with SPI interface and MCP2551 CAN transceiver to give you Arduino CAN-BUS capability. Default pinout is OBD-II and CAN standard pinout can be selected by switching jumpers on DB9 interface.
Moreover, it has the TF card slot for data storage and the CS pin that can be set to D4 or D5.
The INT pin can also be set to D2 or D3 by switching jumpers on the back of the shield.
CAN-BUS Shield Works perfectly with Arduino UNO (ATmega328), Arduino Mega (ATmega1280/2560) as well as Arduino Leonardo (ATmega32U4).
Features:
-
Implements CAN V2.0B at up to 1 Mb/s
-
Industrial standard 9 pin sub-D connector
-
OBD-II and CAN standard pinout selectable.
-
Changeable chip select pin
-
Changeable CS pin for TF card slot
-
Changeable INT pin
-
Screw terminal that easily to connect CAN_H and CAN_L
-
Arduino Uno pin headers
-
2 Grove connectors (I2C and UART
-
SPI Interface up to 10 MHz
-
Standard (11 bit) and extended (29 bit) data and remote frames
-
Two receive buffers with prioritized message storage
Conformities
Get Inspired
As Jallson Suryo discusses in his project, adding voice controls to our appliances typically involves an internet connection and a smart assistant device such as Amazon Alexa or Google Assistant. This means extra latency, security concerns, and increased expenses due to the additional hardware and bandwidth requirements. This is why he created a prototype based on an Arduino Nicla Voice that can provide power for up to four outlets using just a voice command. Suryo gathered a dataset by repeating the words “one," “two," “three," “four," “on," and “off” into his phone and then uploaded the recordings to an Edge Impulse project. From here, he split the files into individual words before rebalancing his dataset to ensure each label was equally represented. The classifier model was trained for keyword spotting and used Syntiant NDP120-optimal settings for voice to yield an accuracy of around 80%. Apart from the Nicla Voice, Suryo incorporated a Pro Micro board to handle switching the bank of relays on or off. When the Nicla Voice detects the relay number, such as “one” or “three," it then waits until the follow-up “on” or “off” keyword is detected. With both the number and state now known, it sends an I2C transmission to the accompanying Pro Micro which decodes the command and switches the correct relay. To see more about this voice-controlled power strip, be sure to check out Suryo’s Edge Impulse tutorial.