Description: This is a slight redesign of a previously created board intended for an undisclosed purpose. It is an Arduino clone that communicates serially on one set of pins using NewSoftSerial and utilizes I2C on the standard pins. The board features an FTDI header for programming via bootloader and is designed to interface with a confidential serial-only device to the mbed through I2C. Although it may seem inefficient to use an AVR for this task, the microcontroller will also handle data processing and filtering. Existing code has already been developed for this board. While the more powerful mbed could be used for processing in a future revision, a previous incident resulted in the burnout of one of the mbed's UARTs, and acquiring a new one is not currently feasible. The serial device operates at 5V, while the mbed runs at 3.3V, leading to attempts at logic level shifting that were rushed and ultimately flawed. A uni-directional level shift is implemented on the SDA line, which is intended to be bidirectional. A simple solution involves replacing the diode with a current-limiting resistor and removing the pull-up resistor.
The redesigned board operates as an Arduino clone, utilizing an ATmega microcontroller, which is capable of handling serial communication through NewSoftSerial on designated pins. The integration of I2C on the standard pins allows for communication with the mbed platform, enabling efficient data transfer to and from the connected serial-only device.
The FTDI header facilitates programming through the bootloader, simplifying the process of uploading code to the microcontroller. The board's architecture allows for the execution of pre-written code, thereby streamlining development and testing processes.
The choice to incorporate data processing and filtering within the AVR microcontroller, despite the availability of a more powerful mbed platform, demonstrates an understanding of resource management and system design. The decision to utilize the AVR for these tasks is particularly relevant in scenarios where cost constraints limit the procurement of additional mbed units.
Logic level shifting is a critical aspect of interfacing devices operating at different voltage levels. In this case, the 5V serial device and the 3.3V mbed necessitate careful handling of signal integrity. The initial attempt at implementing bidirectional level shifting on the SDA line encountered issues due to hurried design choices. However, the proposed fix involving a current-limiting resistor instead of a diode, alongside the removal of the pull-up resistor, provides a straightforward solution to ensure proper communication between the devices.
Overall, this board serves as a versatile platform for various applications, particularly in scenarios where compact, efficient, and cost-effective solutions are required for serial communication and data processing tasks.It`s a slight redesign of a board I did before last year`s AVC. What`s it for Not telling yet. :) I can say this. It`s an Arduino clone that will speak serial on one set of pins via NewSoftSerial and I2C on the standard set of pins. It has an FTDI header for programming via bootloader. The board will interface a Top Secret serial-only device to the mbed via I2C. Which seems like a waste of an AVR, except the little processor will also be doing some data processing and filtering. I already have code written for the board on which this is based. Why not use the super-powerful mbed for this processing Maybe in a later revision I will but I burned out one of my mbed`s UARTs and have no more to spare. I don`t want to spend $60 on another one at the moment. The serial device is 5V and the mbed is 3. 3V so I attempted to do some logic level shifting but I was in a hurry and I botched it. I have a uni-directional level shift in place on the SDA line which is supposed to be bidirectional. Rats. Fortunately I have a simple fix; throw a current-limiting resistor in place of the diode and remove the pull-up resistor.
To drive a relay, a current greater than 20mA is required, which cannot be supplied by a single microcontroller pin. Therefore, a relay cannot be connected directly to a microcontroller pin. Instead, a simple amplifier circuit consisting of a single...
This instrument requires two precision components: A precision capacitor and a precision inductor. You only need to start with one precision component, either the reference capacitor or the reference inductor, and using this meter, you can select or adjust the...
Standard serial interfacing of a microcontroller (TTL) with a PC or any RS232C standard device requires a TTL to RS232 level converter. A MAX232 is used for this purpose. It provides a 2-channel RS232C port and requires external 10µF capacitors.
The...
This resource contains step-by-step information for creating an AVR microcontroller programmer, complete with a suitable circuit diagram. This programmer is capable of programming 8051, AT89XX, AT90XXXX, and 8031 family microcontrollers.
The AVR microcontroller programmer described is designed to facilitate the programming...
The ability to turn electrical devices ON or OFF using a remote control is a well-established concept, with numerous devices effectively performing this function.
To implement a remote control system for switching electrical devices, a typical schematic would include several key...
The schematic shows that the AccelR8 only uses 3 ICs. An AVR 8515 microcontroller does the calculation work and controls the other circuits. A MAX603 controls voltage and power-on/power-off. And the chip that makes it all possible, the ADXL202 from...
The I2C PIC Interfacing Tutorial circuit is relatively straightforward; however, it requires careful verification to ensure that all connections are correct before initial operation. The primary components utilized in this circuit include the PIC18F452 microcontroller, the 24LC02B EEPROM, and a...
I2C, pronounced "I squared C," stands for Inter-Integrated Circuit. This protocol was developed by Philips Semiconductors around 1992 to facilitate easy communication between components on the same circuit board, achieving transfer rates of up to 400 kbit/sec. It utilizes a...
Following a highly successful Kickstarter project and over a year of development, HexBright, described by its creator as the world's first open-source Arduino flashlight, is now in production with initial shipments planned for December. HexBright, which was discussed in detail...
We use cookies to enhance your experience, analyze traffic, and (if you allow) serve personalized ads.
By clicking Accept All, you agree to our use of cookies.
Learn more