Home › Magazines › 2000 › January › Controller area network (CAN) (5)

Controller area network (CAN) (5)

a CAN interface using BASIC537

Published in issue 284, January 2000

If you are new to the CAN bus, look forward to some hard work before seeing the first usable results. After all, at least two microcontroller systems have to be hooked up to CAN bus controllers, and a bus-based data link implemented based on the use of talk/listen programs. Once you have data travelling over the bus, all further expansion is really simple. This article attempts to make your first practical experiments with the CAN bus as easy as possible.The CAN bus interface described in Elektor Electronics November 1999 may be controlled using the BASIC537 higher programming language. BASIC537 is an EPROM version of the well-known Intel MCS51 BASIC, specially adapted and extended for the 80C537 microcontroller. Many of you will be familiar with MCS51 BASIC because it was the subject of several articles in Elektor Electronics. Originally, this BASIC interpreter was developed for the (now obsolete) 8052AH-BASIC microcontroller. When stored in an external (E)PROM, however, it is also great for other controllers from Intel’s 80xx series and second sources.

Components

Capacitors:
C1, C3 = 10µF 16V (radial)
C2, C4 = 100nF (ceramic)
Semiconductors:
D1 = 1N4001
IC1 = 7805
Miscellaneous:
K1 = 2-way PCB terminal block, raster 5mm
K2 = 2-way PCB terminal block, raster 5mm
K3 = boxheader, straight, 16 pins
K4 = pin header, 1 row, 4 pins
K5, K6 = pin header, one row, straight, 35 pins

Click below to download a PDF copy of this article from Elektor magazine.

 

Downloads 

PDF Article (e001046.pdf)
10 Elektor Credits
Please note. In view of the complexity of international markets, Elektor cannot guarantee the availability of components for this project.

Subscribe now

Free Newsletter!

News, tips, offers, videos and more. Take out a free membership to Elektor.POST. In your email inbox each Friday!

 

Enter your Email address:

Follow Elektor

      

Act now!

FAQ

Before submitting questions, review our FAQ section!

Package Deals

Elektor Bundles

Check our Package Deals and save money! Discounts up to 19% now available!

Price Slashed

Elektor OSPV

This Open Source People Vehicle is perfect for factory halls, warehouses, hospitals, colleges, schools etc.