Search the Community
Showing results for tags 'microcontroller'.
Found 6 results
Program Attiny13a With Arduino
Holy Hathaway posted a topic in Projects Q/AI'm programming ATtiny13A with arduino. I want to use "stepper.h" library but it seems it is only supported on arduino or atmega series but not on attiny. Is there any way I can fix it? Thank you!
Microcontrollers are known for its low power usage and limited resources thus often deemed unable to understand Python script as Python need interpretor to translate script into machine langauge and intepretor are usaully quite resource-consuming. However, MicroPython has arisen as a lean and efficiant Python 3 interpretor that can be run on ARM Cortex-M series microcontrollers. Ameba RTL8722 is an ARM Cortex-M33 microcontroller that has dual-band WiFi and BLE 5.0, other than that it is fully capable of running MicroPython and controls WiFi using Python script. In addition, its requirement for developing platform is also quite minimal-- only needs a serial port terminal like Tera term. Here is an example of RTL8722 controlling WiFi using just a few lines of Python code on Tera Term, from wireless import WLAN wifi = WLAN(mode = WLAN.STA) wifi.scan() Right after the last line, you will be able to see the result printed on the Tera term almost immediately, Hope this post give you some ideas of how easy it is to control microcontroller using MicroPython, stay tuned and happy coding!
What is RISC-V? RISC-V has in the recent past attracted the attention of major corporations across the globe like Google, NVIDIA, and Qualcomm among others. It has thrown developers into a frenzy. What exactly is RISC-V though? RISC-V is an instruction set architecture (ISA) that is open source and based on RISC principles. In essence, an ISA is an interface between software and hardware. ISA defines the supported registers, data type, main memory hardware support, and the I/O model of implementation of the ISA. RISC-V was developed at the University of California Berkeley in 2010. It is a simplified architecture thus is well adopted for speed and low power operation. RISC-V based chips are therefore good for commercial applications. Getting started with RISC-V The LoFive FE310 The best way to get hands-on experience with RISC-V is through development boards that are based on RISC-V processors. One such board is the LoFive FE 310 by GroupGets LLC. The board comes with a RISC-V processor that can run up to 320 MHz. It also has 8KB of one-time-programmable memory, 8KB of OTM, 16kb of SRAM, and 16KB of instruction cache. The FE310 also has 3 independent pulse width modulation controllers, UART, SPI, and I2C. The board either has headers soldered to it or it can be soldered onto the carrier board where it can be used as the processor. It has an onboard QSPI flash that is provided through the IS25LP128 module. The flash module is 128Mbit, 16KB module. It can operate at SPI bus speeds of up to 133MHz if used in quad I/O mode. This flash module can be used for storage thus ensuring that there is sufficient space for storing apps or run-time data. The development board also runs on 5 volts which is further converted to 3.3V by the onboard SPX3819M5 which provides up to 500 mA. The FE301 does not draw much current so it can support other devices and sensors. All the design details of the FE301 for instance the schematics and BOM are readily available on GitHub. Setting up the development board There are numerous toolchains available for use with RISC-V depending on the board you choose. RISC-v SDK is available for Linux, Windows, and macOS. There two versions of SDK available, the legacy SDK, and the latest version. Use the latest version as it has a prebuilt toolchain and has OpenOCD for debugging. You can program the development board using several different ways. You could use the standard JTAG on the processor. You can access this through the LoFive-R1 expansion connectors. You can use any programmer that supports JTAG like SEGGER J-LINK. If you can’t find such, you can use a low-cost USB-to-serial converter like the FT223H-56Q mini MDL. The converter hosts all the connections and breakouts needed to interface to the FE301. RISC-V SDK uses general purpose Input/output available on the FT2232H-56Q to come up with the necessary JTAG connection to program the microcontroller. Below are the connections that need to be made between the LoFive-R1 and the ST2232H-56Q You can make these connections directly or using a breadboard. If you are using the development board for the first time, it’s prudent to install a bootloader on board. The bootloader is installed once and could be used to implement upgrades later. Summary RISC-V is ideal for developers intending to use open-source hardware architecture. There are numerous development boards one could use. Setting it up is also not difficult. The only shortcoming with it is that its ecosystem is not as rich as that of other microcontroller platforms. RISC-V is very intriguing though.
Hi, I'm fairly new to microcontrollers and have read multiple guides, although still asking the question. I have used Arduino for quite a long time and have developed some product concept. I am only 14 years old though. I am currently developing a wearable project, therefore size, weight, and battery are huge constraints. My project will include; Touch OLED, Gyro, IR LED and receiver. As I have used Arduino, I am quite familiar with the Arduino offset of C++. It will be appreciated if the MCU has example codes/ others have used similar components. Could you please help me on both; hardware and software. Thankyou in advance.
leds Need help with a project
jknightandkarr posted a topic in Electronic Projects Design/IdeasI am trying to make this KITT's dash compass andi have the leds and using a microcontroller to power them but need help on how to wire them so i use the least amount of conponents possable. I thought of darlington transistor ic's but on the 4 10 led bargraph onesi think both anode n cathode will need darlington transistors. 4 1 for either common cathode or anode and 10 more for the other lead for make the patterns. I might be able to use 1 darlington transistor ic to make the yellow triangle leds work using just 4 i/o pins, but i think i need 14 for the red bargraps whats the best way to wire the bargraph leds up? Thanks. Joe
IR controlled DC motors using arduino
nanotechx posted a topic in Electronic Projects Design/Ideasinfrared signal is used as the "trigger" for the operation of dc motors(or any other appropriate devices eg:LEDs). i have used the arduino uno as the microcontroller as it simply does the job!also it's cheap too!! future application will ultimately lead to IR controlled robot,and perhaps controlling of human mind using nothing but a simple remote control and interfacing hardware with electrodes,so that the physically disabled can attain normal "motor" functions.thanks.