Showing posts with label Microcontroller. Show all posts
Showing posts with label Microcontroller. Show all posts

CAN BUS Interface With Microcontroller by SPI Circuit

CAN BUS Interface With Microcontroller by SPI Circuit



SYSTEM IMPLEMENTATION



MCP2515
Description
Microchip Technology’s MCP2515 is a stand-alone
Controller Area Network (CAN) controller that implements
the CAN specification, version 2.0B. It is capable
of transmitting and receiving both standard and
extended data and remote frames. The MCP2515 has
two acceptance masks and six acceptance filters that
are used to filter out unwanted messages, thereby
reducing the host MCUs overhead. The MCP2515
interfaces with microcontrollers (MCUs) via an industry
standard Serial Peripheral Interface (SPI).

Features
• Implements CAN V2.0B at 1 Mb/s:
- 0 – 8 byte length in the data field
- Standard and extended data and remote
frames
• Receive buffers, masks and filters:
- Two receive buffers with prioritized message
storage
- Six 29-bit filters
- Two 29-bit masks
• Data byte filtering on the first two data bytes
(applies to standard data frames)
• Three transmit buffers with prioritizaton and abort
features
• High-speed SPI™ Interface (10 MHz):
- SPI modes 0,0 and 1,1
• One-shot mode ensures message transmission is
attempted only one time
• Clock out pin with programmable prescaler:
- Can be used as a clock source for other
device(s)
• Start-of-Frame (SOF) signal is available for
monitoring the SOF signal:
- Can be used for time-slot-based protocols
and/or bus diagnostics to detect early bus
degredation
• Interrupt output pin with selectable enables
• Buffer Full output pins configurable as:
- Interrupt output for each receive buffer
- General purpose output
• Request-to-Send (RTS) input pins individually
configurable as:
- Control pins to request transmission for each
transmit buffer
- General purpose inputs
• Low-power CMOS technology:
- Operates from 2.7V – 5.5V
- 5 mA active current (typical)
- 1 µA standby current (typical) (Sleep mode)
• Temperature ranges supported:
- Industrial (I): -40°C to +85°C
- Extended (E): -40°C to +125°C

http://ww1.microchip.com/downloads/en/DeviceDoc/21801d.pdf

IAR Systems provides complete starter kit for high performance STM32 F-2 series of microcontrollers

IAR Systems today announced a complete starter kit for STMicroelectronics’ ARM Cortex-M3 based high performance STM32 F-2 series. The new leading-edge STM32F2xx series combines advanced 90nm process technology with the innovative adaptive real-time memory accelerator (ART accelerator) and the multi-layer bus matrix. IAR KickStart Kit for STM32F207 contains all the necessary hardware and software and allows embedded software applications to be designed, integrated and tested on hardware. It includes a feature-rich evaluation board, software tools, a debug probe, example projects and board support packages for several RTOSes. It is easy to use for evaluation and prototyping purposes thanks to a high level of integration between hardware, software and tools.

IAR KickStart Kit for STM32F207

The evaluation board is fitted with an STM32F207ZG microcontroller, color LCD, connectors for USB host, USB OTG, Ethernet and CAN, headphone jack, and many other peripherals. Debug connectors for ETM trace, SWD and JTAG are also included.

The included IAR J-Link Lite debug probe provides JTAG and SWD debug interfaces. Added debug capabilities can be enabled by separate debug probes. IAR J-Trace enables full instruction trace, and IAR J-Link Ultra enables power debugging features in IAR Embedded Workbench. Both probes are sold separately.

The kit is prepared for use with IAR Embedded Workbench, the most widely used tool chain for ARM based microcontrollers recognized for its efficient code generation, comprehensive debugger, and user friendly IDE.

IAR KickStart Kit for STM32F207 is in stock and available in IAR Systems’ e-shop. It is priced at EUR 209/USD 289. Part number is KSK-STM32F207ZG-JL.

iar.com

IAR Systems releases complete starter kit for NXP's LPC1780 microcontroller series

IAR Systems announced a complete starter kit for NXP’s ARM Cortex-M3 based LPC1780 microcontroller family. IAR KickStart Kit for LPC1788 includes a feature-rich evaluation board, software development tools, an IAR J-Link Lite debug probe, and software. A high level of integration between hardware, software and tools in combination with pre-configured example projects and board support packages from various RTOS vendors makes it very easy to use the kit and get started with evaluation and development.

IAR Systems releases complete starter kit for NXP's LPC1780 microcontroller series

The evaluation board is fitted with an LPC1788 microcontroller, a 3,5’’ color TFT touch screen, connectors for USB host, USB OTG, Ethernet and CAN, audio in and out, and many other peripherals. Debug connectors for ETM trace, SWD and JTAG are also included.

Features

  • Microcontroller
    • LPC1788FBD208 LQFP
  • User interfaces
    • 2x user buttons
    • LCD 3.5’’ 320x200 24bit color TFT with backlight and touch screen
  • Debug interfaces
    • JTAG/SWD connector - 20 pin 0.1’’
    • SWD connector - small 9 pin 0.05’’
    • ETMv3 connector - small 19 pin 0.05’’
  • Communication interfaces
    • RS232/ICSP
    • USB host and OTG
    • CAN driver and connector
    • IrDA
    • 100 Mbit Ethernet 12C routed to connector
    • UXT connector
    • EXT connector
    • QEI connector
  • Power functions
    • Multiple power supply options:
    • J-Link (pin 19)
    • Trace connector (pin 11&13)
    • External supply
    • Power supply LED
  • Additional features
    • Audio in and out
    • SD/MMC card connector
    • Trimpot
    • Accelerometer

The included IAR J-Link Lite debug probe provides JTAG and SWD debug interfaces. Added debug capabilities can be enabled by separate debug probes. IAR J-Trace enables full instruction trace, and IAR J-Link Ultra enables power debugging features in IAR Embedded Workbench. Both probes are sold separately.

IAR KickStart Kit for LPC1788 is prepared for use with IAR Embedded Workbench, the most widely used tool chain for ARM based microcontrollers recognized for its efficient code generation, comprehensive debugger, and user friendly IDE.

IAR KickStart Kit for LPC1788 is in stock and available in IAR Systems’ e-shop. It is priced at EUR 279/USD 399. Part number is KSK-LPC1788-JL.

AVR ATtiny10 is highly suitable for large volume market applications provide Six-pin Microcontroller

The latest AVR ATtiny10 is highly suitable for large volume market applications.

AVR ATtiny10 has 1kilobytes of programmable flash memory, 32 bytes of internal Static Ram, 8-bit Analog to Digital converter, a 16-bit timer with Pulse Width Modulation, 12 MIPS of processing throughput and an analog comparator.Using the AVR CPU, this device is supposed to give 6 times performance of any other similar size & cost device available in the market.

Atmel says “If your application needs higher processing power with lower current consumption, AVR ATtiny10 is the right soultion”

All tinyAVR microcontrollers use the standard AVR microcontroller development tools. The AVR Studio AVR integrated development environment is available free of charge on Atmel’s website. Samples of this microC is now available at a very small price of $0.35 for 10k units.


How AVR ATtiny10 ensures low power consumption?

This device with high processing efficiency reduces the time in active mode and more time will be spent in power saving sleep modes. In addition to this, Atmels picopower technology is used in this device which ensures low power consumption.

Key Parameters:

Flash (Kbytes) – 1
SRAM (Bytes) - 32
Max I/O Pins – 4
F.max (MHz) – 12
Vcc (V) – 1.8-5-5V
Analog Comparator – Yes

S:circuitstoday.com


New,PlayPIC to Learn PIC16F84A Microcontroller

This is a “PlayPIC to Learn PIC16F84A Microcontroller” new design of a tutorial board based on the popular PIC16F84A microcontroller. It features eight single leds, a 7-segment display, an LCD display and five push buttons. It is an ideal solution for the beginner to take his/her first programming steps in the world of microcontrollers. Having an in-circuit-programming (ICP) header, it can be easily reprogrammed without unplugging the microcontroller each time, provided that the programmer also supports this feature (like OziPic’er).

New,PlayPIC to Learn PIC16F84A Microcontroller

PIC16F84A Feature
RA0 JP2 – S3 – JP4
RA1 JP2 – S4 – JP4
RA2 JP2 – S5 – JP4
RA3 JP2 – S6 – JP4
RA4 JP2 – JP4

PIC16F84A Feature
RB0 JP2 – LED1 – 7 Seg (dp) – S7 Debounce – Buzzer
RB1 JP2 – LED2- 7 Seg (a) – LCD RS
RB2 JP2 – LED3- 7 Seg (b) – LCD R/W
RB3 JP2 – LED4- 7 Seg (c) – LCD E
RB4 JP2 – LED5- 7 Seg (d) – LCD DB4
RB5 JP2 – LED6- 7 Seg (e) – LCD DB5
RB6 JP2 – LED7- 7 Seg (f) – LCD DB6
RB7 JP2 – LED8- 7 Seg (g) – LCD DB7

Feature Description

  • S1 switches the board on and off. When on, the indicator led LED9 is lit.
  • S2 resets the microcontroller.
  • S8 switches the LCD display on and off
  • S9 switches the eight individual leds AND the 7-segment display on and off.
  • Push buttons S3 to S6 correspond to RA0-RA3 inputs. They are enabled or disabled by the SW2 dip switch.
  • The SW1 dip switch enables or disables the following features :
    • Connects RB0 (used as output) to LED1.
    • Connects RB0 (used as interrupt input) to S7.
    • Enables the debouncing circuit for interrupt switch S7.
    • Connects RB0 (used as output) to the buzzer.

This dip switch must be either 1000 or 0100 or 0110 or 0001.

  • The 7-segment display is always connected to the individual leds. Its seven segments correspond to LED2 to LED8 (RB1 to RB7) and the decimal dot to LED1 (RB0). This correspondence enables the 7-segment display to work together with the interrupt switch S7, which is connected to RB0.

Using V/F Techniques with COP8 Microcontrollers for 2-Way Multiplexed LCD Drive and Low Cost A/D Converter

2-Way Multiplexed LCD Drive and Low Cost A/D Converter Using V/F Techniques with COP8 Microcontrollers

Using V/F Techniques with COP8 Microcontrollers for 2-Way Multiplexed LCD Drive and Low Cost A/D Converter

This application note is intended to show a general solution for implementing a low cost A/D and a 2-way multiplexed LCD drive using National Semiconductor‘s COP840C 8-bit microcontroller. The implementation is demonstrated by means of a digital personal scale. Details and function of the weight sensor itself are not covered in this note. Also the algorithms used to calculate the weight from the measured frequency are not included, as they are too specific and depend on the kind of sensor used.

Typical Applications

  • Weighing scales
  • Sensors with voltage output
  • Capacitive or resistive sensors
  • All kinds of measuring equipment
  • Automotive test and control systems

Features

2-way multiplexed LCD drive capability up to 30 segments (4 digit and 2 dot points)
  • Precision frequency measurement
  • Low current consumption
  • Current saving HALT mode
  • Additional computing power for application specific tasks

S:electronicsuite.com

ATMEL 89C4051 CMOS MicroController based digi thermo (cute palm sized)

This is Digi Thermo Cute Palm-Sized using ATMEL 89C4051 CMOS MicroController, is a device specially designed for measuring and time and temperature in chemistry laboratory.

  • The MCU: ATMEL 89C4051 CMOS Microcontroller with 4kB code memory, 128 bytes On-chip RAM and 8-bit Port1 and Port3.
  • The A/D chip: HARRIS CA3162, 3-digit DVM.
  • The A/D converter employs dual-slope integrator providing 10Hz sampling rate, while Digital output sent to MCU will be multiplexing four bit BCD started from MSD, LSD and NSD respectively.
  • Integrating capacitor: 330nF Polyester.
  • The 10k POT that connected to Pin 13 is a gain adjustment, while 50k POT to pin 8 and 9 is for zero adjustment purpose.
  • Pin 11 for HI and Pin 10 for LO for differential the input of converter.
  • LM35D used for temperature measurement tool.
  • The output signal is 10mV/°C.
  • First order low-pass filter acts as front-end hardware filtering is forming by a 100k and 0.02uF.
  • The 16×1 line LCD is connects in 4-bit interfacing to P1.4-P1.7.

The +5V power supply uses a 78L05 TO92 case with an external +9V adapter.

ATMEL 89C4051 CMOS MicroController based digi thermo (cute palm sized)

S:electronicsuite.com

Advertisement