3 ATtiny85 Pins Control of the – Nrf24L01 – التحكم بثلاثة دبابيس فى

بسم الله الرحمن الرحيم

Step 1: Introduction

The ATTiny85 is a high-performance, low-power Microchip 8-bit AVR RISC-based microcontroller that combines 8KB ISP flash memory, 512B EEPROM, 512-Byte SRAM, 6 general purpose I/O lines.

One I/O line is configured as a RESET pin. We are left with only 5 I/O lines.

On the other hand, The nRF24L01 is a single chip 2.4GHz transceiver. It is configured and operated through a Serial Peripheral Interface (SPI – 5 I/O lines).

Interfacing the ATTiny85 with nRF24L01 leaves no room to add even a simple switch.

This article revisits the “Nerd Ralph original article” – http://nerdralph.blogspot.com/2014/01/nrf24l01-con… – how to use just 3 pins of the ATTiny85 to control the transceiver.

This article gathers all the information spread over many articles treating the case in one place.

Step 2: PCB Design

Kicad is used to design this simple board.

Step 3: Coding

Two sketches are freely available for the tests.

  • Transmitter sketch : To be flashed to the ATTiny85 board
  • Receiver sketch : To be flashed to our ATMega328PB sniffer board

Step 4: Assembly

A simple board means easy assembly.

Step 5: TIP1 – ATTiny80 Board Configuration

The ATTiny85 should be configured with 1 MHZ internal frequency to achieve successful communication.

Slowing down the SPI bus, leaves enough time for the RC circuit to charge and discharge completely to mangage perfectly the CSN I/O line.

Step 6: TIP2 – MISO -> MOSI and MOSI -> MISO

When used as an SPI master

  • ATTINY85 MISO -> Nrf24L01 MOSI
  • ATTINY85 MOSI -> Nrf24L01 MISO

When used for ISP programming

  • ATTINY85 MISO -> Nrf24L01 MISO
  • ATTINY85 MOSI -> Nrf24L01 MOSI

Step 7: Enjoy

https://www.instructables.com/3-ATtiny85-Pins-Control-of-the-Nrf24L01-%D8%A7%D9%84%D8%AA%D8%AD%D9%83%D9%85-%D8%A8%D8%AB%D9%84/

الحمد لله رب العالمين

How to Build a PoC – “كيفية بناء “إثبات المفهوم

بسم الله الرحمن الرحيم

Step 1: Proof of Concept

A proof of concept is an approach to build a “THING” to check a certain idea in order to confirm that it is feasible, viable, applicable in practice and really meets a particular business need.

In a nutshell,

  • It addresses the following question: Can a product be built or not?
  • It describes the idea, functionality, and feasibility of a product.

Step 2: Prototyping

The prototype has the design, appearance, functions, and other components of the product theoretically visualized in the POC project.

Step 3: Learning

Step 4: Drawing Ideas and Playing With Scenes

The following tools help in making a rough drawing of the ideas or to create scenarios or scenes of the concept.

Step 5: High Level Tools

Step 6: From the Shelf (Limited Resources Platforms)

Step 7: From the Shelf (for Great Projects )

  • Pc equivalent board: https://projects.raspberrypi.org/en
  • Node-RED began as a proof-of-concept for visualising and manipulating mappings between MQTT topics, quickly became a much more general tool that could be easily extended in any direction. :https://nodered.org/about/

Step 8: Components Suppliers

Step 9: Open Hardware Designers

Step 10: Self Designed Prototypes

Step 11: Pcb Manufacturing

The best: https://jlcpcb.com/

Step 12: Pcb Assembly

for small batches up to 30 pcs: https://jlcpcb.com/smt-assembly

Step 13: For Lazy Guys

  • https://www.upwork.com/
  • https://www.freelancer.com/

Step 14: Enjoy

الحمد لله رب العالمين

Remotely Controlled Vehicule – مركبة تحكم عن بعد

بسم الله الرحمن الرحيم

Step 1: Introduction

This design is the complementary part of our Yet Another Remote Controller” Board at https://www.instructables.com/id/Yet-Another-Remot….

This article describes the design of a Remotely Controlled vehicle according to the following requirements:

  • Simple design
  • Sonars – Ultrasonic Sensor HC-SR04
  • Servo motor
  • Remotely controlled by RF 2.4 GHZ and Bluetooth
  • MPU6050 a 3-axis Gyroscope with Micro Electro Mechanical System(MEMS) technology
  • Oled display
  • 2 Potentiometers for parameters adjustments
  • Blue Led
  • Buzzer
  • Battery driven

Step 2: Schematics

Step 3: BOM ( Bill of Materials )

Step 4: Pcb

Step 5: 3D View

Step 6: Assembly

Step 7: Coding

Step 8: Enjoy

A 25 seconds video is embedded to show the use case.

الحمد لله رب العالمين

Antenna Design (Clone) – (تصميم الهوائي(نسخ

بسم الله الرحمن الرحيم

Step 1: Introduction

Antenna design is not an easy task.

To simplify things, we will CLONE the well known chineese module 2.4 GHZ nRF24L01+.

The nRF24L01+ is a single chip [2.400 – 2.4835GHz] transceiver suitable for ultra low power wireless applications.

Step 2: Documentation

Nordic semiconducteur provides a reference design for the nRF24L01+ chip. It prodives the recommended components too.

Cypress provides an extremely useful article to design a 2.4GHZ antenna.

Our PCB footprint is based on Cypress guidelines.

Step 3: PCB Antenna Footprint

I just followed the Cypress guidelines to draw the footprint. Becareful with dimensions (mils not mm).

Step 4: Schematics

I just reproduced the Nordic Semiconductor reference design in Kicad editor.

Step 5: PCB Design

Kicad is used to route this simple board.

Step 6: PCB Assembly

Becareful with the soldering iron.

Be patient.

Step 7: Enjoy

To test the newly designed Module with its integrated antenna, we used our “Yet Another Remote Controller Board“. Our module fits and replaces the totally cloned chineese equivalent.

الحمد لله رب العالمين

Digital Ruler – المسطرة الرقمية

بسم الله الرحمن الرحيم

This article is a demonstration of the use of the 128×32 pixels OLED.

OLED displays are bright, lightweight and visible under a wide range of lighting conditions.

We will show you how to hook up an OLED display to the ATTINY85 µController and build a Digital ruler.

Step 1: Components Sourcing

Just a few components are needed to build this simple gadget.

Step 2: Schematics

As always, Kicad is used to edit the schematics.

Step 3: Pcb Design

A simple board means easy routing with Kicad.

Step 4: Pcb Assembly

Becareful with the soldering iron. Be patient.

Step 5: Arduino Sketch

The code is simplified since it uses the open source library for OLEDs “Tiny4kOLED”.

Step 6: Enjoy

A 30 seconds video is embedded to test the gadget.

https://www.instructables.com/id/Digital-Ruler-%D8%A7%D9%84%D9%85%D8%B3%D8%B7%D8%B1%D8%A9-%D8%A7%D9%84%D8%B1%D9%82%D9%85%D9%8A%D8%A9/

الحمد لله رب العالمين