|
Forum Index : Microcontroller and PC projects : PicoMite Simple Oscilloscope using GUI and ADC Open, Start
| Author | Message | ||||
| Nobukun Newbie Joined: 16/06/2026 Location: JapanPosts: 8 |
2chSignalWatcher.zip Hello anyone, I learned about and started using PicoMite a few months ago. I think GUI is convenience for numerical input wihtout keyboard, but it was difficult for me at first. So, to understand it better, I created a simple oscilloscope using GUI. Now it is become usable so it release. Please try it for signal capture. MMBasic code is attached. Video sample can be shown as follows YouTube. https://www.youtube.com/shorts/eWiikj-vYpc In this case, changes some setting value and measurement, and make hard copy of screen image to bmp file, and show it in command mode. It runs from PicoGamer top level menu, and after return. The hardware is based on PicoGamer, and flash PicoMiteUSB firmware. This simple oscilloscope can controlls with buttons only. But follows OPTIONs are needed previously, OPTION GUI CONTROLS nmax ,nmax should be least 8 OPTION TOUCH GPIOno_cs GPIOno_int and after, execute GUI CALIBRATE command in your LCD system Also GP26,GP27 should be connected to external signal source. This simple oscilloscope features are follows: Terer are two screens,1'st is measurement condition screen and 2'nd is view waveform screen. Measurement condition GUI screen can operation as follows using GUI numerical inputs - Ch:channel counts for analog input 1 or 2, if 1 case, using ADC0(GP26) if 2 case, using ADC0(GP26) and ADC1(GP27) - Zoom: Zoom factor input, it can zoom in of time axis for dense waveform The value is used for plot pitch of each sampling data on x-axis. if 1 case, 320 points of sampling data shown a screen if 2 case, 160 points in a screen, and so on. - Ch*SampFreq: sampling frequency input, it should be set the within follows CPUSPEED/96/2 to CPUSPEED/96/65535/2 In case of Ch=2 , actual sampling frequency for each channel became half. - Time/div input for the time scale dashed line in screen - Push START button, go to (re)measurement - Puch Select button, go to PicoGamer Top Menu View waveform screen can operation as follows by buttons - Left or Right Button can move display area, if set 2 or more Zoom. - A button can make hard copy of waveform screen The file is "DD-MM-YYYY hh_mm_ss.bmp", it saved in current directory - Push START button, return to measurement screen - Puch Select button, go to PicoGamer Top Menu ps. I'm Japanese, so above may not be understandable. and if anyone ask me then I may not quick response. |
||||
| Volhout Guru Joined: 05/03/2018 Location: NetherlandsPosts: 5961 |
Hi nobukun, Thank you for sharing this. I looked at the code, and need to convert my Game*Mite (similar PicoGamer) back to old firmware to run it. The new MMBasic PicoMiteMINV60300 version does not support GUI anymore to save flash memory. But old versions still support GUI. I did see the video, and from that I think it works fine. Volhout PicomiteVGA PETSCII ROBOTS |
||||
| Nobukun Newbie Joined: 16/06/2026 Location: JapanPosts: 8 |
Hello Volhout-san, Thank you for the important notice. I hadn't noticed. I understand that the GUI isn't common because it has hardware requirements. I'm currently using version 6.02.00, so I'll be sure to pay attention to updates to 6.03 and later. Best Regards, Nobukun |
||||
| The Back Shed's forum code is written, and hosted, in Australia. | © JAQ Software 2026 |