https://florisera.com/how-to-use-interrupts-in-microcontrollers/
We're putting the 'robo' into mirobo with CHRP4 – a new education-focused beginner robotics board based on UBMP4. Follow our progress on @hackaday at: https://hackaday.io/project/190407-chrp4-usb-robotics-development-board
Please share with all of your teacher friends!
#electronics #DIYelectronics #robot #robotics #teaching #learning #programming #PIC16F1459 #PICmicrocontroller
CHRP4 (Common Hardware Robotics Project - version 4) is designed to help beginning computer technology learners quickly develop programming and interfacing skills while building simple line following, obstacle sensing, and Sumo robots. CHRP4 is a robotics-focused derivative of UBMP4 (https://hackaday.io/project/184126-ubmp4-usb-picmicro-development-board) – the reference to ‘Common Hardware’ in its name. CHRP4 features built-in pushbuttons, LEDs, a piezo speaker, and a motor driver IC so learners can start developing programs without wiring up or breadboarding any external circuits first. CHRP4 is programmed in C using Microchip's MPLAB X desktop IDE or the MPLAB Xpress cloud-based IDE. The on-board PIC16F1459 microcontroller can be pre-programmed with the USB µC bootloader (https://hackaday.io/project/63204-usb-c-usb-pic-bootloader) making programming as easy as dragging and dropping a compiled .hex file onto it!
Hey computer technology teachers – UBMP4 makes it easy to teach your students real C language microcontroller programming and hardware interfacing, as well as introduce them to GitHub. You can even do it all in a web browser if your school has a 1:1 Chromebook program! Check it out: https://youtu.be/tBupDRws2iQ
#electronics #microcontrollers #PICmicro #PICmicrocontroller #programming #DIYelectronics #ComputerTech
Some school boards have moved to 1:1 Chromebook programs. Did you know that students can learn to program a microcontroller, in C, using any computer – including Chromebooks? Here's how: https://youtu.be/tBupDRws2iQ
#PICmicro #PICmicrocontroller #electronics #DIYelectronics #microcontroller #programming
Taking Water Cooler UX Into Your Own Hands With Ghidra
Readers not aware of what Ghidra is might imagine some kind of aftermarket water cooler firmware or mainboard - a usual hacker practice with reflow ovens. What [Robbe Derks} did is no less impressive and inspiring: A water cooler firmware mod that adds hands-free water dispensing, without requiring any hardware mods or writing an alternative firmware from scratch.
Having disassembled the cooler, [Robbe] found a PIC18F6527 on the mainboard, and surprisingly, it didn't have firmware readback protection. Even lack of a PICkit didn't stop him - he just used an Arduino to dump the firmware, with the dumper code shared for us to reuse, and the resulting dumps available in the same repository.
From there, he involved Ghidra to disassemble the code, while documenting the process in a way we can all learn from, and showing off the nifty tricks Ghidra has up its sleeves. Careful planning had to be done to decide which functions to hook and when, where to locate all the extra logic so that there's no undesirable interference between it and the main firmware, and an extra step taken to decompile the freshly-patched binary to verify that it looks workable before actually flashing the cooler with it.
The end result is a water cooler that works exactly as it ought to have worked, perhaps, if the people defining its user interaction principles were allowed to make it complex enough. We could argue whether this should have been a stock function at all, but either way, it is nice to know that we the hackers still have some of the power to make our appliances friendly -- even when they don't come with an OS. Certainly, every single one of us can think of an appliance long overdue for a usability boost like this. What are your examples?
We've covered quite a few Ghidra-involving hacks, but it never feels like we've had enough. What about patching an air quality meter to use Fahrenheit? Or another highly educational write-up on cracking GBA games? Perhaps, liberating a Linux-powered 4G router to reconfigure it beyond vendor-defined boundaries? If you have your own goal in mind and are looking to start your firmware reverse-engineering journey, we can say with certainty that you can't go wrong with our HackadayU course on Ghidra.
#microcontrollers #ghidra #pic #pic18mcu #picmicrocontroller #pic18 #pickit3 #reverseengineering #watercooler