![]() ![]() I know what's fRTOS and idea is simple - Arduino - no multitasking and RTOS multitasking,better interfacing with services. There is no point for you being arrogant - you apparently assume a lot of stuff and base everything on your narrow opinions. ALL other pins of the mux just float.Īka, if you ask if you should use a mux or a shift register the only thing that will work is a shift register.Īrduino is a 'platform' based on Wiring and Processing (And you still need to provide input for that pin as well.) So no matter how fast you go over the pins, if you freeze time (aka, latch your display data) only ONE pin has a valid state. Disadvantage is you have to manage everything (which a RTOS does for you), advantage it's as fast as it gets (where with a RTOS you have more overhead).Īnd about multiplexers, only ONE pin is connected at a time. ![]() As you might have guessed from the stats, Grumpy_Mike has perfect knowledge about micro controllers and (digital) electronics.Īll you can do in RTOS can be done in Arduino. ![]() Heyy Deous, it's you who has NO CLUE about RTOS nor multiplexers. A simple library for controlling any length of chained 595 style shift registers over the built in SPI bus. At same time I am wondering what is the point of using SPI since on the schematics I saw over the internet requires to link the 595s chips via their Serial input pins (like when daisychaining). If you pertain to Arduino as Atmel (Mega)boards then I guess they run from bootloader with no OS and must do complex stuff through the firmware functions. Hello all, Ive been butting my head up against this for a bit and am feeling pretty clueless. I am planning to use shift registers (74HC595) to drive solenoids and I am wondering what is the difference between daisychaining the 595s ans using SPI. This is a 'Framework' - hope you will understand.ĩ0% of stuff I can easily do on rtos cannot be done with 'Arduino'. you better look at Arduino framework yourself and I mean deep in the code. The only difference is that you are in charge of what happens and when. If an RTOS can offer something then it stands to reason that the very same function can be written on an Arduino, because after all it is the Arduino that is running the RTOS. See you back here when you hit that one then. Nothing is floating once bits are set what are you talking about? For this purpose we need the Data (MOSI), Clock (SLCK) and Latch (Slave Select) pins connected. The Arduino is the Master and the shift register is the Slave. I am not sure if you are familiar with clocking concepts. Step 1: Wiring the Arduino, the 74HC595 shift register and the LCD The Arduino Uno communicates with the shift register using SPI. You can go as fast as you like, once the strobe line is fired all the inputs will be latched into your TFT, that means there will only be one valid one and all the rest the floating values. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |