Українською
  In English
Збирач потоків
Making a FOSS racing datalogger
| | I'm making a FOSS racing datalogger after I got into kart racing a few years ago and saw how expensive dataloggers were I had to make the GPS laptiming Library, the datalogger itself, designed and printed the case, and recently started on a dataviewer Well all of that took a year to perfect, the laptiming is within 0.002s of the official laptiming, I can do track/course selection, laps, pace, and even split-timing on-device. Now sure, it logs data, but it's not a datalogger without more data. Most other sensors are easy to implement... Engine rpm tho... what a nightmare I'm a software guy, never made hardware before, barely have any idea what I'm doing but i'm making progress. Right now I'm dealing with SD cards being corrupted so I finally gave in and bought a scope to learn more, managed to build a drastically cleaner circuit than I had before and I got some hope. (Yes vibration kills, but this is a new problem with adding the tachometer, and I haven't even gotten to testing that on track yet) (I must do this weird capacitive dance like the "real" ones do, but I also don't have one to take apart so we're gonna just keep winging it baybe) No I don't want to talk about how much money I've spent at this point, I'm making an open source, and cheap, datalogger I probably should have went to school for this but hey, I've gotten this far on nothing but hopes and dreams 20 year SWE brute forcing myself into hardware [link] [comments] |
I am attempting to make a racing datalogger
| | I got into kart racing a few years ago and got pissed off at how expensive dataloggers were($500++), so I went to build one, only to find no ones ever really released many if any public libraries for gps lap timing. So I made one, and then I needed a logger for it, so I made that, then I needed a case, and made that too, and recently cive-coded a data-viewer but that's another rant (20yoe swe) Well all of that took a year to perfect, the laptiming is within 0.002s of the official laptiming, I can do track/course selection, laps, pace, and even split-timing on-device. Now sure, it logs data, but it's not a datalogger without more data. Most other sensors are piss easy to implement... Engine rpm tho... My god what a nightmare I'm a software guy, never made hardware before, barely have any idea what I'm doing but by God I'm making progress. Right now I'm dealing with SD cards being corrupted so I finally gave in and bought a scope to learn more, managed to build a drastically cleaner circuit than I had before and I got some hope. (Yes vibration kills, but this is a new problem with adding the tachometer, and I haven't even gotten to testing that on track yet) (I must do this weird capacitive dance like the commercial ones do, but I also don't have one to take apart so we're gonna just keep winging it baybe) No I don't want to talk about how much money I've spent at this point, I'm making a damned open source, and cheap, datalogger so help me God I've got GitHub links for everything but don't wanna get yelled at dropping links in a first post or something I probably should have went to school for this but hey, I've gotten this far on nothing but hopes and dreams [link] [comments] |
start of my fpga programing journey a 1 bit alu on t41 thinkpad
| submitted by /u/Green-Pie4963 [link] [comments] |
EEVblog 1729 - AC Basics Tutorial Part 7: AC Ohms Law
Electronic circuit simulation engine for education
| Hi Reddit, While reading the Charles Petzold's great vulgarization book CODE : The Hidden Language of Computer Hardware and Software I told myself that it would be a cool educational project to animate the book schemas to vulgarize how computers work down to the transistor level. So I created an electronic circuit engine to help discovering how electronics and computers work. You can check the demo here. This is a starting open source project and all comments and feedback are very welcomed ! [link] [comments] |
Weekly discussion, complaint, and rant thread
Open to anything, including discussions, complaints, and rants.
Sub rules do not apply, so don't bother reporting incivility, off-topic, or spam.
Reddit-wide rules do apply.
To see the newest posts, sort the comments by "new" (instead of "best" or "top").
[link] [comments]
Found this AI generated 20V to 12V converter on the internet. Still laughing my ass off.
| How the fuck would this even work lmao🤣. [link] [comments] |
Когенерація як частина інженерної освіти: у КПІ за участі RSE запускають навчальну програму в межах Energy Resilience Lab
У КПІ ім. Ігоря Сікорського з наступного семестру запроваджується навчальна дисципліна з когенерації, інтегрована в освітню програму підготовки інженерів-енергетиків. Програма розроблена у партнерстві з інженерною компанією RSE за підтримки GIZ та буде реалізована на базі лабораторії автономного та стійкого енергозабезпечення Energy Resilience Lab.
Perceptra secures €1.2m funding from PhotonDelta
Using a single MCU port pin to drive a multi-digit display
When we design a microcontroller (MCU) project, we normally leave a few port lines unused, so that last-minute requirements can be met. Invariably, even those lines also get utilized as the project progresses.
Imagine a situation where you have only one port line left out, and you are suddenly required to add a four-digit display. (Normally, you need 16 output port lines to drive four-digit displays or 8 port lines to drive multiplexed four-digit displays). In such a critical situation, the Figure 1 circuit will come in handy.
Figure 1 A MCU single port pin outputs a reset pulse first and then a number of count pulses equal to the number to be displayed.
Figure 1’s top left portion is a long pulse detector circuit, a Design Idea (DI) of mine published in October 2023. For the components selected, this circuit outputs a pulse only when its input pulse width is more than 1 millisecond (ms). For smaller pulses, its output is LOW.
Wow the engineering world with your unique design: Design Ideas Submission Guide
Figure 1’s circuit can be made as an add-on module to your MCU project. When a display update is needed, the MCU should send a 2-ms ON and 2-ms OFF reset pulse once. This long pulse resets the counter/ decoders.
Then, it sends 0.1-ms ON and 0.1-ms OFF count pulses, whose number equals to the four-digit number to be displayed. For example, if a number 4950 is to be displayed, the MCU will send one reset pulse followed by 4950 count pulses once. Then, the MCU can continue its other functions
The long pulse detector circuit with Q1, Q2, and U1A outputs a pulse for every input pulse, whose ON width is more than 1 ms. At the start, the MCU outputs a LOW. This turns Q1 OFF and allows Q2 to saturate, discharging C1.
When a 2-ms pulse comes, Q1 gets saturated, and Q2 turns OFF. During this period, C1 starts charging through R3, and its voltage goes to around 1.8 V. This is then sent to the positive input of the U1A comparator. Its negative input is kept at 1-V as decided by the R4, R5 divider. Hence, U1A comparator outputs HIGH, which resets all the counters.
For smaller pulses, this output remains LOW. So, when the MCU sends one reset pulse, U1A outputs a HIGH, which resets the U2,U3,U4, and U5 counter/decoders.
Then, these counters count the number of count pulses sent next and display it. U2 -U5 are counter / 7-segment decoders to drive common cathode LED seven-segment displays.
For a maximum count of 9999, the display update may take around 2 seconds. This time can be reduced by reducing the count pulse duration, depending upon the MCU and clock frequency selected.
I have used one resistor for each display for brightness control (R7, R8, R9, and R10). This will not give an equal brightness to all seven segments. Instead, you may use seven resistors per display or a resistor network per display to have equal brightness.
This idea can be extended to any number of displays driven by a single MCU port line. For more information, watch my video explaining this design:
Jayapal Ramalingam has over three decades of experience in designing electronics systems for power & process industries and is presently a freelance automation consultant.
Related Content
- A long pulse detector circuit
- How to design LED signage and LED matrix displays, Part 1
- DIY LED display provides extra functions and PWM
- Implementing Adaptive Brightness Control to Seven Segment LED Displays
- An LED display adapted for DIY projects
The post Using a single MCU port pin to drive a multi-digit display appeared first on EDN.




