ceptimus
ceptimus
  • Видео 152
  • Просмотров 183 767
Sudoffle: a daily Sudoku puzzle, with a twist.
Here's a puzzle game I coded about three years ago, but I've not made a video about it until now. You can play it on your phone, or tablet or PC. Nothing to install, as it's web-based.
It's a bit like Wordle in that you get a fresh puzzle each day - everyone that plays gets the same daily puzzle, so you can share results with your friends on social media.
It's Sudoku, but with (yellow) clues for wrong numbers, along with regular (green) Sudoku clues. And it gets marked automatically as you proceed, whenever you complete a row, column, or block of nine numbers.
To play the puzzle of the day, just go to ceptimus.co.uk/sudoffle/Sudoffle.php There are instructions in the video about how to play ...
Просмотров: 26

Видео

VCCC24 My 'Snake' wild competition entry
Просмотров 8014 дней назад
This was my entry for Logiker's Vintage Computing Christmas Challenge 2024 logiker.com/Vintage-Computing-Christmas-Challenge-2024 It was the winner in the 'Wild' competition! 100% BASIC for the Commodore 64. A quick hack thrown together on Christmas Eve, when I had nothing better to do! If you want to try it out yourself, and have a Commodore 64 or an emulator, here is the download link: ceptim...
Flashing code to the octagonal star LED kit
Просмотров 25321 день назад
Shows how to use the (free) stcgal program to upload new code to an STC 8 chip - in this case, the one supplied with the octagonal star kit. (Similar approach works with all the other STC chips). Also shows how to install stcgal and the (free) sdcc C compiler on Windows. They're available for Linux and Mac too. Download the hex file here: ceptimus.co.uk/octagonalstar/octagonalstar.ihx If you wi...
Ferris Wheel Kit (colourful rotating LEDs)
Просмотров 437Месяц назад
Here's one place to buy one (link worked in December 2024, but just search for Ferris Wheel Kit if this one expires). www.aliexpress.com/item/1005002461297051.html It's based on an STC15W408AS microcontroller, which comes already programmed. There's no programming port on the board, but it would be easy to solder on a couple of wires to allow a serial programmer to be connected. It uses the two...
Different patterns on the 57-LED hourglass kits, and how to alter the clock speed
Просмотров 393Месяц назад
The version shown here requires the STC15W204 chip. If you have a 201 or 202 chip, then it won't have enough memory to hold all these patterns. See my earlier videos for other options. Download the source code from here: ceptimus.co.uk/hourglass/patterns.c The source code also contains documentation and instructions on how to upload the code to your board, and how to set the clock speed. If you...
Ripmax Trainer test flight
Просмотров 173Месяц назад
John Lawrence kindly gave me this old-school trainer back in the summer. Needed a few repairs, including a motor strip for bearing replacement. It was very nose heavy, so I moved the motor back as far as possible, and moved the battery right back, almost to the tail. Today, at last, the test flight, assisted by David filming on his phone, and Steve as pitman and safety supervisor. Weather was v...
Hourglass LED kit. Code to use as an actual timer, for (e.g.) boiling eggs.
Просмотров 3092 месяца назад
This video demonstrates alternative code for the 57-LED hourglass kits, available on Ali Express or eBay for a few pounds or dollars. These kits use the STC15W201S chip (or 202, 204, etc.) They come with a demo program already in the chip, but they're easily reprogrammable, just needing a USB to serial interface, or an Arduino board as the interface. Code can be downloaded from here: ceptimus.c...
Read Atmel AT89C2051 or AT89C4051 Flash using Arduino
Просмотров 2384 месяца назад
The sketch is here: ceptimus.co.uk/AT89Cx051read.zip You can use any normal Arduino: Uno, Nano, etc. Connection details are shown in the sketch description (up near the top). Serial monitor of Arduino IDE at 115200 baud (or you could use some other terminal program, such as PuTTY). Flash memory contents displayed in standard Intel HEX file format, which is the standard for storing these sorts o...
Allan's Bixler3. Onboard video of flight.
Просмотров 495 месяцев назад
Onboard Mobius Mini. Camera date wrong. Actual date of flight: 2024-Aug-04. Plane: Bixler 3 equipped with Matek F405-wing running Arduplane. Whole flight carried out in Fly-by-wire-A mode. Location: Studley flying field, Warwickshire, UK.
Commander X16 Sliding block puzzle games
Просмотров 967 месяцев назад
I ported my PUZZ program to the Commander X16. Download link: ceptimus.co.uk/X16/puzz.zip
Sliding block puzzles for my picocomputer RP6502
Просмотров 2279 месяцев назад
Talking about Rumbledethump's picocomputer design, and demonstrating my sliding block puzzle program for it. For details about the design, build and programming set-up for the picocomputer, watch Rumbledethump's videos: ruclips.net/video/SVZaSRUhIjo/видео.html&pp=iAQB PUZZ game including source code: github.com/ceptimus/RP6502PUZZ
Analog to digital PIC12F675
Просмотров 17011 месяцев назад
Quick demo of reading the ADC on the PIC12F675, and displaying the resulting 10-bit (0-1023) value in decimal on a TM1638 display module. Download example source code: ceptimus.co.uk/PIC12F675/adc/main.asm
PIC12F675 Assembly, with TM1638 display.
Просмотров 36311 месяцев назад
PIC12F675 Assembly, with TM1638 display.
AT89C2051 clock kits. Firmware and source code for three-button variety.
Просмотров 433Год назад
AT89C2051 clock kits. Firmware and source code for three-button variety.
Octagonal Star LED kit. Now with better tunes and LED patterns. Finished, for now...
Просмотров 158Год назад
Octagonal Star LED kit. Now with better tunes and LED patterns. Finished, for now...
Octagonal star kit. Work in progress.
Просмотров 100Год назад
Octagonal star kit. Work in progress.
Color LED Octagonal Star Kit
Просмотров 68Год назад
Color LED Octagonal Star Kit
Yamaha DSR-2000 keyboard in 2023
Просмотров 2,6 тыс.Год назад
Yamaha DSR-2000 keyboard in 2023
LEGO Mindstorms NXT Mindcuber, solving Rubik cube.
Просмотров 366Год назад
LEGO Mindstorms NXT Mindcuber, solving Rubik cube.
Rolling ball divert gate separator
Просмотров 1102 года назад
Rolling ball divert gate separator
Arduino sbus to ppm 12 channel
Просмотров 7982 года назад
Arduino sbus to ppm 12 channel
Cursor jumping bug of arduino-ide 2.0.0 under Linux Mint 21 Cinnamon
Просмотров 2902 года назад
Cursor jumping bug of arduino-ide 2.0.0 under Linux Mint 21 Cinnamon
Read AT89C2051 using Arduino (Nano, Uno, etc.)
Просмотров 5 тыс.2 года назад
Read AT89C2051 using Arduino (Nano, Uno, etc.)
Arduino Uno composite video output. 2400 baud dumb terminal.
Просмотров 9692 года назад
Arduino Uno composite video output. 2400 baud dumb terminal.
Battery tester demo including calibration procedure.
Просмотров 862 года назад
Battery tester demo including calibration procedure.
Using Arduino as ISP to program AT89S52
Просмотров 8122 года назад
Using Arduino as ISP to program AT89S52
Rotating LED Electronic Clock Kit EC1204B. Now with music!
Просмотров 1272 года назад
Rotating LED Electronic Clock Kit EC1204B. Now with music!
Radio control (four channel proportional) using two Arduinos with nRF24L01+modules .
Просмотров 2652 года назад
Radio control (four channel proportional) using two Arduinos with nRF24L01 modules .
Carrier Wave transmission test of the LGT8F RF-NANO
Просмотров 6892 года назад
Carrier Wave transmission test of the LGT8F RF-NANO
Using one LGT8F328P chip as an ISP SWD programmer to program another.
Просмотров 1,9 тыс.2 года назад
Using one LGT8F328P chip as an ISP SWD programmer to program another.

Комментарии

  • @ManAndTechOfficial
    @ManAndTechOfficial 11 дней назад

    Hi, can you pls make one for ELRS sbus to ppm out code

  • @DanielButucea
    @DanielButucea 18 дней назад

    Seems cool

  • @hangdog242
    @hangdog242 24 дня назад

    What are the pins for the Din Clk and CS

    • @ceptimus
      @ceptimus 23 дня назад

      CS is defined in the sketch. If you use my sketch unaltered, it defaults to D8. It's up near the top of the main sketch: #define CS D8 Beware that different versions of the 8266 boards confusingly mark the same pin with different labels. If you don't have documentation, or are unsure, it's best to modify a simple 'Blink' sketch (standard example) to blink the pin - then connect up a LED (with 470-ohm or similar resistor) or use a multimeter to check which pin is actually going high and low. The other pins are the standard SPI pins for the 8266 - and should be labelled on your board or in your board's documentation MOSI (master out slave in - connect to Din) and SCLK (serial clock, or maybe just CLK). 8266 numbering of the pins is confusing - there's a GPIO number, and then a D pin number. Sometimes the D number printed on the board is different to the one you use in your Arduino sketch. A blink sketch 'blinking' a selected pin is the surest way to find out. You should be able to rely on the MOSI and SCLK labels printed on a board, or the board's documentation, though. If you have an oscilloscope, you can also monitor the clock and data lines to see that they're changing rapidly.

    • @hangdog242
      @hangdog242 21 день назад

      @@ceptimus Thanks for the reply. I appreciate the help. Your display is great.

  • @erichanson420
    @erichanson420 24 дня назад

    Subscribed. I'm a beginner. Got a few projects in mind that won't really need code, (touch-sensor light up wearables, guitar stuff,) but I'm setting up to learn C & Python for more involved projects soon enough. Kindof hitting hurdles but I'm determined. 'No going back' type scenario.

  • @paulandrusyszyn9177
    @paulandrusyszyn9177 26 дней назад

    Did you have to do anything special to get all of those arrays to fit in memory? I'm working on my 8-bit picture library and was looking at your code for guidance. I had to break up the ~300 pictures into a few files since I can only put about 50 in at one time before I run out of "DSEG". It's probably not gonna matter in the long run since I most likely won't use that many at once and can just cut and paste the ones I want for my final programs, but I thought I'd ask.

    • @ceptimus
      @ceptimus 26 дней назад

      If the pictures don't have to change during run-time, then it's best to put them in __code memory. That way, they don't take up any RAM at all (they're stored with the program, in FLASH memory), and your program can still access them. That's the way I stored the tune data, etc. for this program. If the data does have to change at run time, you can still put it in FLASH memory - though of course, writing to that memory is much slower than to RAM, and if you do it too many times you can eventually wear out the FLASH memory, and then the chip is bricked. Some of the STC chips do this by treating part of the FLASH memory as EEPROM. You can partition the FLASH memory into a FLASH partition, which remains read only at run time, and an EEPROM partition which can be written and read. stcgal allows you to change the partition boundary, so you might have 16k FLASH and 1k EEPROM, or split the same 17k flash to, say, 8k FLASH and 9k EEPROM.

    • @paulandrusyszyn9177
      @paulandrusyszyn9177 26 дней назад

      @@ceptimus I'll have to look into that but it sounds like I might be out of my depth. I did use the __code memory like you suggest but I've been using the stc-isp software to upload the programs to the STC12C5A60S2. But I still need to get the buttons working and my stretch goal is some basic I2C so I can link up some of these project boards with each other or a RaspberryPi.

    • @paulandrusyszyn9177
      @paulandrusyszyn9177 24 дня назад

      Got my buttons working in the main section of the code but clearly need to try that interrupt loop that you used in the hourglass for them to be more useful. I also did some reading about the SDCC. Read through Chapter 3 and found out about the --model-large compile option. Not sure if this what you were talking about but it got rid of my DSEG problem and let me add more images. I also added a delay profile for each image so got rid of all of the hot spots when there is only one or two LEDs lit up in a given row. I got up to 70 images before it started acting weird and drawing weird stuff without warning.

  • @GrandadsOtherChannel
    @GrandadsOtherChannel 27 дней назад

    Fascinating video, thanks for explaining the details 😊👍

  • @ChristianDOUAUD-d8s
    @ChristianDOUAUD-d8s Месяц назад

    Nice hack !!! Could you give us some tips to do it ?

    • @ceptimus
      @ceptimus Месяц назад

      Yes. Will do. Stand by for a fresh video in the next couple of days.

    • @ChristianDOUAUD-d8s
      @ChristianDOUAUD-d8s Месяц назад

      @@ceptimus Thank you, no need to hurry, enjoy fully the end of 2024...

  • @paulandrusyszyn9177
    @paulandrusyszyn9177 Месяц назад

    Did you have to do anything special to get it running. I actually have not tried that feature yet on my Ferris wheel or the light balls. I did spend some time making some 8-bit art for my elevator kit after I switched out the MCU for a STC12C5A60S2.

    • @ceptimus
      @ceptimus Месяц назад

      I didn't do anything special, and my Ferris wheel is still on the standard firmware. Just connected the 3.5mm jack to the 'earphone' output on my sound recorder (I guess a phone or other MP3 player would work too), and selected the right mode using the remote control (press 4 or 7). Had to wind the volume up pretty high on the sound recorder to get the LEDs to light up right to the outer ring.

    • @paulandrusyszyn9177
      @paulandrusyszyn9177 Месяц назад

      @@ceptimus I'll give it a go and let you know how it works out. BTW If you have the elevator kit, or something similar, I'll happily share the image files I typed up.

  • @Inexpressable
    @Inexpressable Месяц назад

    you should get a brown sofa just like Ashens

  • @romanl2608
    @romanl2608 Месяц назад

    Elegancko zapraszam elektroda pl

  • @GrandadsOtherChannel
    @GrandadsOtherChannel Месяц назад

    They seem very well synchronised for self cycling LEDs 👍👍

    • @ceptimus
      @ceptimus Месяц назад

      There is a test mode that switches all the LEDs on at the same time. Then, they do get out of sync after a second or two. I think the code in the micro that cycles through the patterns has been written so that it never leaves any LED lit for very long (maybe it just briefly switches off a LED every second or so) - that keeps them synced pretty nicely. I'd like to get hold of some of the two-wire RGB LEDs that you can control exactly, by briefly (a few microseconds) removing power from them, and using that method to send them coded messages. But the only way to obtain them seems to be to buy a string of Christmas lights that use them, and harvest them from there - I've not found any online stores that sell packets of those LEDs to build into your own projects. It would be nice to substitute some of those LEDs in a gadget such as this, and reprogram the micro to send the appropriate pulse trains to them. But I don't think I'll do that on this Ferris wheel, even if I can obtain the LEDs - 180 LEDs are too many to solder!

    • @GrandadsOtherChannel
      @GrandadsOtherChannel Месяц назад

      @@ceptimus Yes, that would be quite a challenge and time consuming 👍👍

    • @paulandrusyszyn9177
      @paulandrusyszyn9177 Месяц назад

      @@ceptimus I swear youtube is deleting my comments or something. Anyway, you should have access to the files now. Once you get the timing down everything seems to work perfectly every time. I am noticing some differences between my 6 star kits. They don't all run the program at the exact same speed, might need to make some slight adjustments for my final project.

    • @ceptimus
      @ceptimus Месяц назад

      @@paulandrusyszyn9177 Thanks. Yes, I've got all the files now, and I've ordered what I think might be a compatible kit from Ali Express: www.aliexpress.com/item/1005005604090511.html Once the kit arrives, I'll investigate further, and probably post a video.

  • @snap_zsm
    @snap_zsm Месяц назад

    Is it still possible for the microcontroller to do other things while displaying the video or would that bring the whol sync out of the cycle?

    • @ceptimus
      @ceptimus Месяц назад

      It can do other stuff at the same time. The video output is all driven by interrupts, so it just works away in the background, without the main 'loop' program having to worry about it - and it doesn't go out of sync. However, the interrupts do occupy a lot of the processor's time, so your main program, if it's doing lots of work, will run slower than it would otherwise.

  • @paulandrusyszyn9177
    @paulandrusyszyn9177 Месяц назад

    This is great. I finally got my 8x8x8 LED cube reprogrammed and I've tried out all of yours and rick100 programs for the hourglass. I want to try reprogramming RGB star but having trouble compiling the code that was provided. Wondering if you might be able to help. (re-comment from earlier, without a link)

    • @ceptimus
      @ceptimus Месяц назад

      Happy to help. One thing that might be stopping it compiling is that the later versions of SDCC require you to put parentheses () around the interrupt and using parameters - the earlier version would compile with just the naked numbers.

    • @paulandrusyszyn9177
      @paulandrusyszyn9177 Месяц назад

      @@ceptimus I think it's something wrong with the code I got from the QR code that came with the kit instructions. I created my batch file as you showed: set PATH="C:\SDCCFILES\50RGBLEDStarMin\bin";%PATH% sdcc -mmcs51 --code-size 4088 --opt-code-size --verbose 50RGBLEDStar.c -o 50RGBLEDStar.ihx packihx 50RGBLEDStar.ihx > 50RGBLEDStar.hex pause but the errors are as follows: sdcc: Generating code... STC15F2K.h:21: warning 278: return type of function omitted, assuming int STC15F2K.h:21: error 1: Syntax error, declaration ignored at 'sfr' STC15F2K.h:21: syntax error: token -> 'P0' ; column 6 50RGBLEDStar.c:9: fatal error: when writing output to : Broken pipe I tried swapping out the STC15F2K.h with some other .h files unsuccessfully.

    • @paulandrusyszyn9177
      @paulandrusyszyn9177 Месяц назад

      @@ceptimus I couldn't get the header file that matched with the code I had so I started over with 8051.h and used the old .c file as a template. I worked out all of the sbits that correspond to all of the diode pairs except for the D29 and D30 pair. Which on a stc15w408as looks like it is pin 13 or P5.5 based on the schematics I've seen. Your thoughts on how to find the missing sbit?

    • @ceptimus
      @ceptimus Месяц назад

      @@paulandrusyszyn9177 I don't have that kit, and I've not got the source files. Can you send me a download link, or email the files to me, and I'll see if I can get them to compile. ceptimus@ceptimus.co.uk

    • @ceptimus
      @ceptimus Месяц назад

      @@paulandrusyszyn9177 __sfr __at (0xC8) P5; __sfr __at (0xC9) P5M0; __sfr __at (0xCA) P5M1; You can manipulate individual bits in the P5 register with the normal |= and &= to set or reset a bit or ^= to toggle. To set P5.5 it would be P5 |= (1 << 5); to clear P5.5 it would be P5 &= ~(1 << 5); I've not tried it, because I don't have the chip, but you may be able to get at P5.5 as an sbit, using: __sbit __at (0xCD); // note adding the bit (5) to the base address (C8) - should work with SFR registers that are divisible by 8

  • @GrandadsOtherChannel
    @GrandadsOtherChannel Месяц назад

    Lucky to find a good day for it with this recennt weather 😁👍

  • @fredforsythe8310
    @fredforsythe8310 Месяц назад

    Nice one Martin. Fred

  • @GrandadsOtherChannel
    @GrandadsOtherChannel 2 месяца назад

    Another excellent project. Your blog is very inspiring. Maybe I will have a go myself sometime, but for now I am happy to watch your work 👍

  • @rogierkraan
    @rogierkraan 2 месяца назад

    Great stuff. Any idea how long the hourglass timers run? And/or how I can delay them in your program. And then when done have it flash for a while? Id like to use this as an actual hourglass for my son.

    • @ceptimus
      @ceptimus 2 месяца назад

      The program shown here takes 2 mins 39 secs for the 'standard' hourglass to cycle. The faster options take respectively, 1 min 17 secs 38 secs 19 secs 9 secs 4.5 secs 2.5 secs 1.25 secs - You can see the time roughly halves with each button press. It would be easy to alter the code to cycle slower or faster - just editing a few numbers and recompiling. You've given me an idea to make a true egg timer version. It will start up flashing five rows, indicating 'five minutes'. Button presses will cycle the setting: 6, 7, 1, 2, 3, 4, 5, ... minutes. A long button press will start it showing the 'trickling hourglass' display until the set time has elapsed, when it will revert to the flashing rows time setting indication. I'll upload a fresh video demonstrating this alternative version - should be up soon (November 2024). The chip doesn't have a crystal controlled clock, so timings are not super-accurate, but should be within about 1%.

    • @rogierkraan
      @rogierkraan 2 месяца назад

      @@ceptimus sounds eggcellent, I’ll keep a track of your progress. Also I’ll be getting the usb converter and start some flashing of my own. You have any Idea where in the code I can edit the cycle time.

    • @ceptimus
      @ceptimus 2 месяца назад

      @@rogierkraan Easiest 'hack' change is to edit the value '804' in the line in the delayMillis() function - bigger values will make the display slower, smaller ones faster. You can put any value up to 65535 in place of the 804. If the number is bigger than 32767, then it's correct to put a U after it: like 40000U, though it will likely work without. For the new version, I'll probably change the delay to work more accurately, by having an interrupt-driven millisecond counter.

    • @rogierkraan
      @rogierkraan 2 месяца назад

      @ thanks, you are a great help!

  • @electronicsideas1361
    @electronicsideas1361 2 месяца назад

    exit status 1 vppinfra/types.h: No such file or directory

  • @electronicsideas1361
    @electronicsideas1361 2 месяца назад

    can u give me circuit diagram please

  • @CsotPet
    @CsotPet 3 месяца назад

    i'd be interested too how to make something like this. i was able to visualize my flight data in google earth pro, but i cant get the view of the plane

  • @DeametrioDamian
    @DeametrioDamian 3 месяца назад

    Disculpa lo vendes

    • @ceptimus
      @ceptimus 3 месяца назад

      No tengo pensado venderlo. Ahora mismo está en casa de mi hermana y sus hijos, nietos y otras personas lo ponen cuando la visitan.

    • @DeametrioDamian
      @DeametrioDamian 3 месяца назад

      @@ceptimus vendemelo

  • @samuelkarlsson1811
    @samuelkarlsson1811 4 месяца назад

    Nice work! I solved the jitter problem using an IJMP, offset with the number of jitter cycles into a bunch of NOPs. The more jitter cycles there are, the less NOPs get executed.

  • @AbdelkaderBenachit-pk8he
    @AbdelkaderBenachit-pk8he 4 месяца назад

    How to program at89c2051 with arduino

    • @ceptimus
      @ceptimus 4 месяца назад

      You can't do it with just an Arduino, because 12 volts is needed on one of the pins during programming. I did design a programmer based on an Arduino Mega, but it requires extra circuitry. You can find a video about it on my channel.

  • @yyyz-q8s
    @yyyz-q8s 4 месяца назад

    Great sharing:)wondering if our service(pcb/3dp/cnc) could contribute to your project! yes!we would like to have a partnership with u:)

  • @landroveraddict2457
    @landroveraddict2457 5 месяцев назад

    Hi I want to clone an AT89c4051-24pi. I am rebuilding some old stage lighting effects. I have various set of these lights. Some with damaged parts and some missing. I have rebuilt a control board but it is missing it's micro controller. I have a good working board with an AT89c4051 in a zip socket. Is it possible to clone this chip? ty

    • @ceptimus
      @ceptimus 4 месяца назад

      It is possible to clone an AT89C4051 chip, providing that when the original chip was programmed, the program lock bits, LB1 and LB2 weren't both set. If the lock bits are set, then even though the chip will still run its program, you can't read that memory to make a copy - the chip appears to be erased (full of FF bytes) when you read it. The only way to find out if your chip has its lock bits set is to attempt to read it. This won't harm the chip, and it will still contain its program and run afterwards. If you can read the chip then you can clone it, but if the chip appears empty when read, then there's no way I know of to recover the code from it.

    • @landroveraddict2457
      @landroveraddict2457 4 месяца назад

      @@ceptimus Thank you. that's really helpful. Is this Arduino set up you videoed able to read a 4051? Cheers

    • @ceptimus
      @ceptimus 4 месяца назад

      @@landroveraddict2457 Yes, you need to very slightly edit the code. The 4051 chip is pretty much the same as the 2051 except that it has twice as much Flash memory. The signature bytes for the 4051 are 1E 41 instead of 1E 21 for the 2051. I think I have some 4051 chips somewhere, so I'll set one up tomorrow and upload a new video showing it reading.

    • @ceptimus
      @ceptimus 4 месяца назад

      @landroveraddict2457 See modified sketch here, which will read both 2051 and 4051 chips: ruclips.net/video/tQbi8RlU6DM/видео.html

    • @landroveraddict2457
      @landroveraddict2457 4 месяца назад

      @@ceptimus You Sir are a god send, thank you

  • @ceptimus
    @ceptimus 5 месяцев назад

    Some Nsnos have the transmit and recieve pins swapped (D0 and D1) so try swapping the output pin (drain) of the inverting FET to the other pin. If that makes no difference, tell me the exact make amd model of receiver you're using, and I'll try to reproduce your setup and see if I can get it working. On a genuine Nano, connectionis to RX0. Make sure you have a common GND to the Nano, FET, and receiver. Some clone Nanos have the pins RX0 and TX1, mislabeled and/or swapped over compared to a genuine Nano.

  • @fdm225
    @fdm225 5 месяцев назад

    any suggestions on how to debug this if I do not have a oscilloscope? I have tried my reciever (FrSKY) plugged into an actual SBUS decoder and it works fine, when I plug it into the Arduino I am not seeing anything wrt movement when I plug the servo into D2 nor am I seeing the RX light on the arduino show any indication of activity. I am using a brand new OEM Nano along with 2n7000 transistors that I purchase on Amazon. Really want to get this working so that I can use it in other projects so any help would be greatly appreciated!

    • @ceptimus
      @ceptimus 5 месяцев назад

      Also, make sure you have a common gnd connection to the nano, FET, and receiver.

    • @fdm225
      @fdm225 5 месяцев назад

      @@ceptimus Thank you for the response. I checked all the connections with a multi-meter and it all comes out good. I have a common row for GND on my breadboard and everything is plugged into it (servo, arduino, receiver) as well as power. I have even tried to put the pull up resistor that you said was needed for other transistors with no luck on that as well.

    • @ceptimus
      @ceptimus 5 месяцев назад

      @@fdm225 What model of FrSky receiver are you using? I may have one, and if so, I can try some tests myself.

    • @fdm225
      @fdm225 5 месяцев назад

      @@ceptimus Archer RSPlus Mini, the interesting thing is I found a different library where using a soft serial port (and a serial adapter) I can print out the values and I got that to work; so I confirmed that my setup is correct from a hardware perspective. I am looking at the difference now between the two programs as the other project doesn't put the output to control servos and is only printing the values to the SoftSerial port.

    • @ceptimus
      @ceptimus 5 месяцев назад

      @@fdm225 Ah, I don't have any Archer receivers, nor a transmitter, so I can't test that. It does sound like a bug in my code, sensitive to some slight difference, perhaps in the timing, of the SBUS signal from the Archer, is stopping my sketch from working. I hope you have success in comparing the SBUS decode routine in the working project with mine, and fixing the faulty code in my project.

  • @AlejandroBornot
    @AlejandroBornot 6 месяцев назад

    hi bro, my respects to your knowledge, it will be possible to use that code to flash a PPM-encoder based on atmega 328p (the same as the arduino nano) evidently modifying the code in some aspects such as the number of channels only to 8 and the pins of input Output? Greetings, I hope you make a video about it!!!! 🙏🙏🙏🙏🙏

  • @Rc.pipesmoker
    @Rc.pipesmoker 6 месяцев назад

    Great video 👍

  • @orides5976
    @orides5976 7 месяцев назад

    Great content with PICs.

  • @SamyFliesFPV
    @SamyFliesFPV 7 месяцев назад

    hey, do you mind sharing the PCB files for the second "pro mini expansion" board you've shown? Is it available to purchase somewhere, or have you made it yourself?

    • @ceptimus
      @ceptimus 7 месяцев назад

      Just search on Ali Express for "diy more pro mini strong" or similar. I just did that and found this link: www.aliexpress.com/item/32842932841.html The links usually expire fairly quickly, but the search will usually turn up several sellers - and you can choose the one with the best price+shipping to your location.

  • @CodeDisease
    @CodeDisease 7 месяцев назад

    wow this is really interesting, i might even try to figure out how to read a video signal as well, so then i can add functionality to my cars reverse camera

  • @yunussenel
    @yunussenel 7 месяцев назад

    can u share the codes pls ?

  • @nathansmith7153
    @nathansmith7153 7 месяцев назад

    Galloping ghost

  • @Codeandpi
    @Codeandpi 8 месяцев назад

    Hi do you still have another one for sale, I live in Plymouth and happy to cover all costs of P&P , never used PCBWay before so would be easier to get one already made up from somebody in the UK. Looking forward to following the making of your game. Now I'm 74 I am going through a nostalgic period I think first computer ZX81 back in 82 but never followed the 6502 route went with Atari ST the PCs. Let us know if you do have one else I will go through PCB Way.

    • @ceptimus
      @ceptimus 8 месяцев назад

      I've got three bare PCBs, with green solder mask like the one in my video - the PCBs cost me about £6 each delivered. P&P to Plymouth is about £3 so you could have one for £9, or two for £15. At the other extreme, if you want a complete picocomputer RP6502 all built up and tested, complete with the Pi Picos, it owes me £72, so say £75 including P&P to Plymouth. I'm sure you could get the parts cheaper though, if you shopped around: I bought them all from Mouser UK, and their prices and delivery charges are pretty steep (though very convenient).

  • @İlaydaDede-e1j
    @İlaydaDede-e1j 8 месяцев назад

    Merhaba, PWM sinyallerini SBUS sinyallerine çevirdiğin kodları paylaşabilir misin?

    • @ceptimus
      @ceptimus 8 месяцев назад

      PWM to SBUS: ceptimus.co.uk/PWM2SBUS.zip PWM monitor (use with the Arduino IDE Serial Plotter tool (Ctrl-Shift-L) to get a real-time graph of all 18 PWM inputs (115200 baud): ceptimus.co.uk/PWM18channelMo... SBUS to PWM: ceptimus.co.uk/SBUS2PWM.zip

  • @aquilafasciata5781
    @aquilafasciata5781 8 месяцев назад

    As someone struggling to write a driver for the 1602 lcd, I’m very impressed

  • @jamesx7424
    @jamesx7424 9 месяцев назад

    I clicked subscribe when you said, “this little chap here.” 3:10 Thanks for the video, this answered the exact question I had about using an Arduino with sbus

  • @gaelchapuis2951
    @gaelchapuis2951 9 месяцев назад

    Hello. I use it on mega 2560, It's very good ! Good job !!! But I've a white line on the left edge (it's not my screen and the problem not occur on uno). A solution for me ??? Best regards

    • @gaelchapuis2951
      @gaelchapuis2951 9 месяцев назад

      I've a solution. You can change port 5 -> port 18. Change on main page #define PIN_SUPPRESS 5 to #define PIN_SUPPRESS 18. change to file outputChar.s #define Pin5 &PORTD, _BV(5) to #define Pin5 &PORTD, _BV(3) and #define UNSUPPRESS CBI DDRD, 5 #define SUPPRESS SBI DDRD, 5 to #define UNSUPPRESS CBI DDRD, 3 #define SUPPRESS SBI DDRD, 3 and the white line desepear

  • @xyzheng9672
    @xyzheng9672 9 месяцев назад

    Hi there! Really like you content, would like to collab with you, but cannot reach you. I was just wondering are you interested in some PCBs review? 😃

  • @miachristensen5444
    @miachristensen5444 10 месяцев назад

    this is lovely!

  • @sebastian19745
    @sebastian19745 10 месяцев назад

    Just Great! Now just add a keyboard and an MAX232 to have a dumb terminal. Can it be possible with 2560?

  • @Clarence_13x
    @Clarence_13x 10 месяцев назад

    We call those “RCA” connectors stateside.

  • @bugraarat3714
    @bugraarat3714 11 месяцев назад

    thnx its very helpfull im done with that but how can we take more example from this lib?

  • @manbox866
    @manbox866 11 месяцев назад

    sir can you pleas help me with my project i just made transmitter and receiver with arduino pro mini and NRF24LO1 module which has 16 channel and i want to create an sbus signal to communicate with my flight Controller of drone pleas help me i will share circuit diagram of it

    • @İlaydaDede-e1j
      @İlaydaDede-e1j 8 месяцев назад

      Merhaba pwm sinyallerini sbus sinyallerine çeviren alıcı ve verici kodunu bulabildin mi? Haftalardır arıyorum ama bulamadım. Uçağım da bulduğum kodlar çalışmıyor!

  • @Sysshad
    @Sysshad 11 месяцев назад

    Shouldn't you be able to completely skip the op amps? Thank you

    • @ceptimus
      @ceptimus 11 месяцев назад

      You could, providing you don't need a particularly accurate reading from the joystick. You'd run the two signals from the sensor to two analog channels, read them both, subtract one from the other to get the position. Without the, roughly, 50x amplification provided by the op-amp, you'd only get about ten or twenty counts when moving the sensor over the full range. That would probably be fine if you're just using the joystick as a game controller, but if you want to use it control a model aeroplane, then it's worth adding the op-amp and rail splitter to get a more stable signal with better resolution.

    • @Sysshad
      @Sysshad 11 месяцев назад

      @@ceptimus thank you for that informative reply. I was under the assumption the output signals was from gnd to vcc. But I haven't received the PS3 joysticks yet which i ordered, so couldn't test :) The project I am working on is retropie DIY joystick with an ADC to i2c IC. Will be interesting to try.

  • @RicardoBHubner
    @RicardoBHubner 11 месяцев назад

    Isso é um projeto muito raro de se encontrar, meus parabéns!

    • @ceptimus
      @ceptimus 11 месяцев назад

      Obrigado!

  • @philippesteelant1896
    @philippesteelant1896 11 месяцев назад

    Super...but please, where can i find the escape codes to clear the screen or moving the cursor ? I send text with another arduino , that works fine...only need to control the cursor and clears the screen . many thanks

    • @ceptimus
      @ceptimus 11 месяцев назад

      The sketch doesn't currently implement an escape code for clearing the screen, though it would be pretty easy to add - It would be Esc[2J The codes for cursor movement are standard VT100 escape sequences, sent by terminal emulators such as PuTTY. Search online for "VT100 escape codes" to find a list of them. I think the ones the sketch currently implements are: Home: Esc[1~ or Esc[H Del: Esc[3~ End: Esc[4~ or Esc[F Up: Esc[A Down: Esc[B Right: Esc[C Left: Esc[D Backspace: Ctrl-H or Ctrl-? Return: Ctrl-M Line Feed: Ctrl-J

    • @philippesteelant1896
      @philippesteelant1896 11 месяцев назад

      @@ceptimus ok...great...thanks.

  • @Anticitizen666
    @Anticitizen666 11 месяцев назад

    That's a nice tight piece of code - thanks for sharing! I'm going to try changing the pixel output loop to use a line-buffer, if there's time to generate this in the blanking area, as this may allow for sprite overlays. You might be interested in this guy's work - he's a demo coder and has made some interesting things with 8-bit MCUs - this one generates music, bitmapped graphics and colour on a smaller atmega88 (8.5Kb flash, 1Kb RAM) - pretty amazing! ruclips.net/video/sCN1bqRG-7o/видео.html

  • @Frisky0563
    @Frisky0563 Год назад

    Pretty nice, I like the colon flash option ❤