Ihechikara AbbaforfreeCodeCampfreecodecamp.org·Oct 8, 2024How to Use Switch Case in Arduino – Control LEDs With the Switch StatementYou can use a switch case statement to execute different blocks of code based on the value of a variable. It offers a more direct and cleaner approach to handling multiple conditions. In this article, you'll learn how to control LEDs using a switch c...Discussarduino
Harsh Agarwallinuxkernel.hashnode.dev·Oct 3, 2024Linux Kernel SchedulerThe point of this article is to give you a brief on how the Linux scheduler works. The Linux kernel scheduler may seem complex initially, partly due to its modular nature. It allows multiple scheduling algorithms to coexist to manage different classe...DiscussLinux
Sam Leesamlee.hashnode.dev·Sep 3, 2024Debugging -2 : Controlling Temperature Sensor Ds18b20 - part 4In the previous post, we examined the GPIO settings. The address for GPIO is 0x400010c00, and the pin is 1024. Is 0x400010c00 indeed PB, and is 1024 the position for PB10? Found it. GPIO B is indeed 0x4001 0C00. 1024 is 0100 0000 0000, which means ...Discuss/#ds18b20
Sam Leesamlee.hashnode.dev·Sep 1, 2024Timer & GPIO Configuration - Controlling Temperature Sensor Ds18b20 - part 2Now, looking at the README, we need to set up the timer. Considering that the onewire communication requires delays to perform different commands, we can see that this is essential. Configure the ds18b20Config.h file. Call Ds18b20(init) on app watch...Discuss/#ds18b20
Sam Leesamlee.hashnode.dev·Aug 28, 2024Controlling Temperature Sensor Ds18b20 - part 1The second device we want to control is a temperature sensor. The product is called Ds18B20, and it only has three wires: data, VCC, and ground. So, how does it communicate with just one wire? Unique 1-Wire® interface requires only one port pin for ...Discuss/#ds18b20
Sam Leesamlee.hashnode.dev·Aug 26, 2024Debugging: Controlling 7 Segment 4 Digit LCD - part 4Now that the code error has been resolved, the lights are coming on, but the desired numbers are not displayed. It seems the data transmission part is resolved, and we need to check if the correct data is being sent. First, the bit() function is only...Discussembedded systems
Mithilesh GaikwadforMithilesh's Blogesymith.hashnode.dev·Aug 25, 2024Converting Large Numbers to Words in CHandling and converting large numbers to words in programming is a challenging yet exciting task, especially in C where the typical data types can only store numbers up to a certain limit. In this article, we’ll walk through creating a C program that...Discuss·30 readsC
Sam Leesamlee.hashnode.dev·Aug 23, 2024STM32 Code : Controlling 7 Segment 4 Digit LCD - part 3Title: STM32 Code: Controlling 7 Segment 4 Digit LCD - Part 3 Now, the much-anticipated connection. We are using a program called STM32 Cube IDE. There are many tutorials and blog posts about how to use it, and covering its usage here would make this...Discussembedded systems
Sam Leesamlee.hashnode.dev·Aug 20, 2024Shift Register : Controlling 7 Segment 4 Digit LCD - part 2The datasheet for the 7-segment LCD starts with a diagram called the Shift Register. In the initial section, it shows that the Clock can go above 25MHz and that it uses SPI. The first diagram shows the basic structure of the Shift Register, with SCL...Discussembedded systems
Amber Yangambersileyang.hashnode.dev·Aug 18, 2024Pi-Hub PCBIntroduction This project is dedicated to the course 'Computer and Electrical Engineering Product Design Project' at Concordia University. The Pi-Hub PCB is designed so that the software team can easily integrate the Raspberry Pi Zero microcontroller...Discuss·62 readspcb